Matrix Algebra
Unit 1
1 / 17
Abstract
Determinant of a matrix
Rank of a matrix
Inverse of a matrix
Unit 1
2 / 17
1 4 2
2 is a matrix of order 3 3. (3 rows and 3
B= 3 0
1 1
3
columns). The entries of this matrix are
b11 = 1, b12 = 4, b13 = 2,
b21 = 3, b22 = 0, b23 = 2,
b31 = 1, b32 = 1, b33 = 3
If the number of rows equals the number of columns we say that the
matrix is a square matrix. So, B is a square matrix. In short, we say that
B is a square matrix of order 3.
Unit 1
3 / 17
Unit 1
4 / 17
Unit 1
5 / 17
2. Determinat of a matrix
This operation is only for square matrices. Its denoted by det(A) or |A|.
a11 a12
Matrix of order 2. If A =
then
a21 a22
3 1
det(A) = a11 a22 a12 a21 . Example. If A =
then
4
2
det(A) = 10.
Matrix of order 3. To obtain
the determinat
use the so-called Sarruss
2 0
1
rule. Example. If A = 1 3 2 then using the Sarruss rule
3 4 4
one can obtain that det(A) = 3.
Unit 1
6 / 17
3. Rank of a matrix
Definition
Any determinant of order k formed from any arbitrary k rows and k
columns of a matrix A is called a minor of order k of the matrix A.
1 1
1
Example. Give a minor of order two of A = 0 0 2 .
2 2 1
1
0 1
Example. Obtain all minors of A =
0 2 3
Definition
The rank of a matrix is the order of the greatest minor different from zero.
Unit 1
7 / 17
Example.- Obtain the rank of the matrix A =
3 2
1
0
0 2
Solution. rank(A)=2
Exercise 8.
Obtain the rank of thefollowing matrices.
1 0
0 2 2
3 1 1 4
0
(h) H =
2 1 1 6 2
6 2 2 1
0
Solution. rank(H)=3
Unit 1
8 / 17
4. Inverse of a matrix
Suppose that A is a square matrix of order n.
The inverse matrix of A is another matrix denoted by A1 such that
AA1 = A1 A = I, where I is the identity matrix of order n.
Not all square matrices have an inverse. If A has inverse then is called
regular or invertible, in other case is called singular.
A is invertible if and only if det(A) 6= 0.
It holds (A1 )1 = A and (AB)1 = B 1 A1 .
The adjoint
is another matrix given by
matrix of A denoted by Adj(A)
Adj(A)=
..
.. where Aij = (1)i+j ij ,
.
.
Am1 Am2 . . . Amn
and ij is the complentary minor of A.
Unit 1
9 / 17
3 0
3 3 3
Example.- If B =
then B t = 3 1
0
1 2
3 2
A matrix A is said to be symmetric if At = A.
1
If det(A) 6= 0 then A1 =
(Adj(A))t
det(A)
Exercise 9.
Obtain, ifpossible, the inverse of the followig matrices.
1 0 3
(e) E = 2 1 4
0 1 3
Solution.- E 1
1/5
3/5 3/5
3/5
2/5
= 6/5
2/5 1/5
1/5
Unit 1
10 / 17
A=
..
..
.
.
am1 am2 . . . amn
{z
|
coefficients matrix
, x =
x1
x2
..
.
, b =
xm
| {z }
vector of
unknowns
Unit 1
b1
b2
..
.
bm
{z }
vector of
independent terms
11 / 17
the following
systems as a matrix equation.
= 11
= 6
= 1
Solution.- x = 2, y = 1, z = 1.
Some definitions. We say that a linear system is
incompatible if there is no solution.
a determinate system if there is a unique solution.
an indeterminate system if there are infinitely many solutions.
Unit 1
12 / 17
Rouche-Frobenius theorem
Consider a system of linear equations Ax = b. Let A+ be the augmented
matrix. It holds,
1
x 3y + z = 2
2x + 2z = 0
c)
x 3y + 3z = 8
Solution.- rank(A)=2, rank(A+ )=3 incompatible system: there is no
solution.
Unit 1
13 / 17
Cramers rule
Consider a system Ax = b, of n linear equations with the same number n
of unknowns. Suppose that det(A) 6= 0. Then, we know that there exists a
unique solution. Cramers rule states that the solution is given by
xi =
det(Ai )
det(A)
i = 1, . . . , n,
x 3y + 2z = 1
2x + 4z = 6
c)
x 2y + z = 0
Solution.- rank(A)=rank(A+ )=3 = number of unknowns determinate
system: unique solution. The solution is: x = 1, y = 0, z = 1.
Unit 1
14 / 17
We have seen in the last point how to obtain by Cramers rule the solution
of a determinate system. Cramers rule can be extended to obtain the
solution of any indeterminate system. Next, we give an example.
3x + y z = 2
e) 2x + y z = 1
x + 2y 2z = 3
Solution.- rank(A)=rank(A+ )=3 < number of unknowns indeterminate
system: infinitely many solutions. By Cramers rule one can obtain that the
1
5 + 7
solutions are: x = , y =
, z = , for any R.
5
5
Unit 1
15 / 17
x+yz = m
2x + 3y 4z = 1
a) mx + 2y z = 3m
d) 4x + 6y kz = 2
2x + my z = 6
x + y + kz = 10
Solution.a)
If m 6= 0 and m 6= 2 rank(A)=rank(A+ )=3=number of unknowns
determined system: there is a unique solution.
3m
m2 m 6
2m + 3
, y=
, z=
The solution is x =
m
m
m
If m = 0 rank(A)=26= rank(A+ )=3 incompatible system: there
is no solution.
If m = 2 rank(A)=rank(A+ )=2 < number of unknowns
indeterminate system: there are infinitely many solutions.
The solutions are x = 4 , y = , z = 2, for any R.
Unit 1
16 / 17
d)
If k 6= 8 rank(A)=rank(A+ )=3=number of unknowns
determined system: there is a unique solution.
29k + 232
19k 152
, y=
, z = 0.
The solution is x =
k + 8
k + 8
If k = 8 rank(A)=2=rank(A+ ) < number of unknowns
indetermined system: there are infinitely many solutions.
The solutions are x = 29 28, y = 19 + 20, z = for any R
Unit 1
17 / 17