You are on page 1of 41

Matrices, determinants and linear systems -II

Radu MICULESCU

Transilvania University of Braşov

octomber 2020

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 1 / 41
Row (column) expansion of a determinant
(i.e. recursive de…nition of the determinant)

Proposition.

a11 ... a1n


. ... .
. . = ai 1 Ai 1 + ... + ain Ain ,
. .
an1 ... ann

for each i 2 N , where


Aij = ( 1)i +j Dij
and Dij is the determinant of order n 1 obtained by deleting the ith row
a11 ... a1n
. ... .
and the jth column of . . for every i, j 2 f1, ..., ng.
. .
an1 ... ann
R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 2 / 41
The equality
a11 ... a1n
. ... .
. . = ai 1 Ai 1 + ... + ain Ain
. .
an1 ... ann
a11 ... a1n
. ... .
is called the expansion of . . on the ith row.
. .
an1 ... ann

a11 ... a1n


. ... .
In a similar way we can consider the expansion of . . on a
. .
an1 ... ann
column.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 3 / 41
Properties of the determinants I

1.
det(A) = det(t A),
for every A 2 Mn .

Therefore every property which is stated for rows is also true for columns.

2.
det(A) = 0,
for every A 2 Mn whose entries of a row are 0.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 4 / 41
Properties of the determinants II

3.
0
det(A) = det(A ),
0
for every A 2 Mn , where A is obtained by interchanging two rows of A.

4.
det(A) = 0,
for every A 2 Mn having two identical rows.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 5 / 41
Properties of the determinants III

5.
0
det(A ) = λ det(A),
0
for every A 2 Mn , where A is obtained by multiplying by λ a row of A.

6.
det(A) = 0
for every A 2 Mn having two proportional rows (i.e. one row is obtained
by multiplication with some scalar the entries of another row).

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 6 / 41
Properties of the determinants IV

7. 00
0
det(A) = det(A ) + det(A ),
0 00
for every A, A , A 2 Mn such that they are identical except for the ith
0 00
row and the ith row of A is the sum of ith rows of A and A .

8.
0
det(A) = det(A ),
0
for every A 2 Mn , where A is obtained by adding a row of A multiplied
by a scalar to another row of A.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 7 / 41
Properties of the determinants V

9.
det(AB ) = det(A) det(B ),
for every A, B 2 Mn .

A word of warning

In general, the equality

det(A + B ) = det(A) + det(B )

is not valid.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 8 / 41
Homework I

1. Prove that
1 1 ... 1
a1 a2 ... an
a12
.
a22
.
... an2
. .
= ∏ ( ai aj ) ,
.. .. .. .. i ,j 2f1,...,n g,i >j
a1n 1
a2n 1
... ann 1

for every n 2 N, n 2 and every a1 , ..., an 2 C.

2. Prove that
a2 (a + 1)2 (a + 2)2
b 2 (b + 1)2 (b + 2)2 = 8(b a)(c a)(b c ).
c 2 (c + 1)2 (c + 2)2

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 9 / 41
Homework II

3. Compute
sin a cos a sin(a + x )
sin b cos b sin(b + x ) .
sin c cos c sin(c + x )

4. Compute det(A), where A 2 Mn is such that A = t A.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 10 / 41
Homework III

5. Prove that
det(A) = det(A),
for every A = (aij ) 2 Mn with complex entries, where A = (aij ).

6. Prove that
det(A2 + B 2 ) 0,
for every A, B 2 Mn , with real entries, such that AB = BA.
Hint. Use the relation

A2 + B 2 = (A + iB )(A iB )

and the previous exercise.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 11 / 41
The concept of invertible matrix

De…nition. A matrix A 2 Mn is called invertible if there exists


A 1 2 Mn such that
AA 1 = A 1 A = In .

A 1 is called the inverse of A.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 12 / 41
Some properties of invertible matrices

Proposition. Let A, B 2 Mn be invertible matrices.


Then:
i) A 1 is invertible and
(A 1 ) 1 = A.
ii) AB is invertible and
1 1 1
(AB ) =B A .

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 13 / 41
How to compute the inverse of an invertible matrix I

a11 ... a1n


. ... .
De…nition. Let us consider A = ( . . ) = (aij ) 2 Mn and
. .
an1 ... ann

Aij = ( 1)i +j Γij ,

where Γij is the determinant of the matrix obtained by deleting the ith
row and the jth column of A.
The matrix
A11 ... An1
. ... .
A =( . . ) 2 Mn
. .
A1n ... Ann
is called the adjoint of A.
R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 14 / 41
How to compute the inverse of an invertible matrix II

Proposition. For A 2 Mn , we have

AA = A A = det(A)In .

Theorem. For A 2 Mn the following statements are equivalent:


i) A is invertible
ii)
det(A) 6= 0.

Moreover, when A is invertible, we have

1 1
A = A .
det(A)

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 15 / 41
An example

Let us consider
1 2 0
A = ( 0 1 2 ).
2 0 1
Since
det(A) = 9 6= 0,
the matrix A is invertible.
We have
1 2 4
A =( 4 1 2 ),
2 4 1
so
1 2 4
9 9 9
1 4 1 2
A =( 9 9 9 ).
2 4 1
9 9 9
R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 16 / 41
Homework

0 1 1
1. Prove that the matrix ( 1 0 1 ) is invertible and …nd its inverse.
1 1 0

1 1 m
2. Find m such that ( 2 3 1 ) is invertible.
1 0 1

3. Let us consider A 2 Mn such that A2 = 0. Prove that A + In and


A In are invertible.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 17 / 41
The concept of a minor of a matrix

De…nition. Let us consider A 2 Mm,n and k 2 N , k minfm, ng.


The determinant of a matrix from Mk obtained by crossing out m k
rows and n k columns of A is called a minor of A of order k.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 18 / 41
The rank of a matrix I

De…nition. The maximum order of a non-zero minor of a matrix A is


called the rank of A and it is denoted by rank (A).

So rank (A) = r if:


α) there exists a non-zero minor of A of order r
and
β) all minors of A of order greater or equal to r + 1 (if there exist) are zero.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 19 / 41
The rank of a matrix II

Remark. For A 2 Mm,n and k 2 N , k minfm, ng, the following


statements are equivalent:

i) rank (A) = r ;

ii)
α) there exists a non-zero minor of A of order r
and
β) all the minors of order r + 1 (if there exist) obtained by adding to the
non-zero minor of order r a row and a column of A are zero.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 20 / 41
Example

Let
1 2 5 3 4
A=( 0 4 2 6 1 ).
2 4 10 6 6

1 2
Since = 4 6= 0 and all minors of order 3 are zero (since their …rst
0 4
and third rows are proportional), we conclude that rank (A) = 2.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 21 / 41
Homework

1 2 3
1. Find the rank of the matrix ( 2 3 4 ).
3 4 5

1 2 2
2. Find a and b such the the matrices ( 3 1 a ) and
3 1 1
1 2 2 4
( 3 1 a 4 ) have the same rank.
3 1 1 b

1 1
3. Let us consider A 2 M2 such that A2 = ( ). Find rank (A).
0 1
1 1
Consider also the case A2 = ( ).
1 1
R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 22 / 41
The notion of system of linear equations

We shall consider systems of linear equations, i.e. systems having the


following form:

a11 x1 + ... + a1n xn = b1


f ... . (S)
am1 x1 + ... + amn xn = bm

Here the unknowns are x1 , ..., xn .

The matrix A = (aij ) 2 Mm,n is called the matrix of the system.

b1
.
The matrix B = ( . ) 2 Mm,1 is called the column of the free terms of
.
bm
the system.
R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 23 / 41
Cramer’s rule

Let us consider a system of linear equations

a11 x1 + ... + a1n xn = b1


f ...
an1 x1 + ... + ann xn = bn

such that
a11 ... a1n
. ... .
∆= . . 6= 0.
. .
an1 ... ann
So:
- the number of equations is the same with the number of the unknowns
- the determinant of the matrix of the system is non-zero.
R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 24 / 41
Cramer’s rule - continuation

Then
∆j
xj = ,

for every j 2 f1, ..., ng, where

a11 ... a1j 1 b1 a1j +1 ... a1n


. . . . . . .
∆j = . . . . . . .
. . . . . . .
an1 ... anj 1 bn anj +1 ... ann

is obtained by replacing the jth column of ∆ with the column of the free
terms of the system.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 25 / 41
An example

Solve the system


x y +z = 2
f 2x y +z = 2 .
x +z = 1

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 26 / 41
We have
1 1 1
∆= 2 1 1 =1
1 0 1
and
2 1 1
∆x = 2 1 1 = 0,
1 0 1
1 2 1
∆y = 2 2 1 = 1
1 1 1
and
1 1 2
∆z = 2 1 2 = 1.
1 0 1
Hence
x = 0, y = 1 and z = 1.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 27 / 41
The notion of a principal minor of a system of linear equations

De…nition. A principal minor of the system S is a minor having the order


equal with the rank of the matrix of the system.

Remark. The principal minor of the system S is not unique.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 28 / 41
The notion of main equations and side equations
of a system of linear equations

Let us suppose that we …xed a principal minor of the system S.

De…nition. The equations of S corresponding to the rows of the principal


minor are called the main equations. The other ones are called the side
equations of S.

Remark. The main equations and side equations of S depend on the


chosen principal minor.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 29 / 41
The notion of characteristic determinant
of a system of linear equations

Let us suppose that we …xed a principal minor of the system S.

De…nition. A characteristic determinant of the system S is a determinant


obtained by adding to the principal minor a row with corresponding
coe¢ cients from a side equation and a column consisting of the free terms
situated on the chosen rows.

Remark. A characteristic determinant of the system S depends on the


chosen principal minor.

Remark. If there are no side equations, then the system has no


characteristic determinants.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 30 / 41
How to solve a system of linear equations I

Let us suppose that we …xed a principal minor of the system S.

If there exists a non-zero characteristic determinant of the system S, then


the system has no solutions.

In the opposite case (i.e. there are no characteristic determinants or all of


them are zero), the system has at least one solution.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 31 / 41
How to solve a system of linear equations II

In the latter case, we get a Cramer system in the following way:


- cross out the side equations
- move the side unknowns to the column of free terms.

By solving this Cramer system (note that its number of equations is the
same with the number of unknowns and that its deteminant is non-zero -
being the principal minor of S -) we obtain the solutions of S (the
principal unknowns being presented as functions of the side unknowns).

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 32 / 41
Terminology

Remark. A system of linear equations may have zero, one or in…nite


solutions.

De…nition. A system of linear equations which has at least one solution is


called consistent.

De…nition. The number of side unknowns is called the degree of freedom


of the system of linear equations.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 33 / 41
Homogenous systems of linear equations

De…nition. The system of linear equations S is called homogenous if


b1 = ... = bm = 0.

Remark. All homogenous systems of linear equations are consistent (one


solution being x1 = ... = xn = 0).

Remark. A homogenous system of linear equations has other solutions


besides the trivial one if and only if rank (A) < n.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 34 / 41
Examples

1. Solve the system


x +y +z = 1
f .
2x + 3y + 5z = 3

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 35 / 41
1 1
We can chose as principal minor .
2 3
As we do not have characteristic determinants, the system is consistent.
The main equations are the …rst two.
The main unknowns are x and y , and z is the side unknown.
Using Cramer’s rule to solve the system

x +y = 1 z
f
2x + 3y = 3 5z

we get the solutions x = 2α, y = 1 3α and z = α, where α 2 R.


The degree of freedom of this system is 1.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 36 / 41
2. Solve the system

2x y + 3z + t = 0
f x + y + 2z 2t = 2 .
7x + y + 12z 4t = 6

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 37 / 41
2 1
We can chose as principal minor .
1 1
2 1 0
We have just one characteristic determinant, namely 1 1 2 = 0,
7 1 6
so the system is consistent.
The main equations are the …rst two.
The main unknowns are x and y ; z and t are the side unknowns.
Using Cramer’s rule to solve the system

2x y = 3z t
f
x +y = 2 2z + 2t
5α+ β+2 α+5β+4
we get the solutions x = 3 , y= 3 and z = α, t = β where
α, β 2 R.
The degree of freedom of this system is 2.

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 38 / 41
3. Solve the system
x +y +z = 1
2x y + 3z = 2
f .
x + 5y 6z = 4
4x + 5y 2z = 5

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 39 / 41
1 1 1
We can chose as principal minor 2 1 3 .
1 5 6
We have just one characteristic determinant, namely
1 1 1 1
2 1 3 2
= 34 6= 0, so the system is not consistent.
1 5 6 4
4 5 2 5

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 40 / 41
Homework

Solve the systems:


2x + y = 2
f 3x y = 3 ,
x +y = 1
2x y + z + t = 1
f 3x + y + 5t = 3
x + 7y 4z + 11t = 1
and
x 2y + 4z 7t =0
2x + 3y z + 5t =0
f .
3x y + 2z 7t =0
4x + y 3z + 6t =0

R. Miculescu (Institute) Matrices, determinants and linear systems -II octomber 2020 41 / 41

You might also like