Determinant Determinant of A 2x2 Matrix: A B C D
Determinant Determinant of A 2x2 Matrix: A B C D
a b
For a 2 2 matrix A = , the determinant of A, denoted as det(A) or A is given by
c d
a b
det ( A ) = = ad − bc .
c d
Example
1 2
= (1)(4) − (2)(3) = −2
3 4
where M ij is the minor of aij which is the determinant of the submatrix of A obtained from
A by deleting the ith row and the jth column, as shown at below:
Remark
When evaluating a determinant, you can expand it across any row or down any column you
choose.
Example
1 −1 4
For A = 5 −2 −3 , compute det(A) by expanding it across the
1 3 −6
Solution
1 −1 4
−2 −3 5 −3 5 −2
(a) det ( A ) = 5 −2 −3 = (1) − ( −1) + ( 4)
3 −6 1 −6 1 3
1 3 −6
= (12 + 9 ) + ( −30 + 3) + 4 (15 + 2 )
= 62
1 −1 4
(b) det ( A ) = 5 −2 −3
1 3 −6
−1 4 1 4 1 −1
= (1) − ( 3) + ( −6 )
−2 −3 5 −3 5 −2
= 62
(c) Do It Yourself.
Cramer’s Rule
Let Ax = b be an n n linear system, with det ( A ) 0 . Let A i be the matrix obtained from
A by replacing the ith column of A by the vector b, then
det( Ai )
xi = , i = 1, 2, ,n
det( A)
Example
2 x1 − x2 + x3 = 8
−2 x1 + 3x2 + x3 = −4
4 x1 + 2 x2 − 3x3 = −3
Solution
2 −1 1 8 −1 1
det( A) = −2 3 1 det( A1 ) = −4 3 1 = −72
4 2 −3 −3 2 −3
3 1 −2 1 −2 3
= ( 2) − (−1) + (1)
2 −3 4 −3 4 2
= −36
2 8 1 2 −1 8
det( A 2 ) = −2 −4 1 = 36 det( A3 ) = −2 3 −4 = −108
4 −3 −3 4 2 −3
By Cramer’s rue,
det( A1 ) −72
x1 = = = 2,
det( A) −36
det( A 2 ) 36
x2 = = = −1 ,
det( A) −36
det( A3 ) −108
x3 = = = 3.
det( A) −36
Determinant of Triangular Matrices
Theorem
Let A be any triangular matrix with the main diagonal elements a11 , a22 , , ann , then the
determinant of A is given by,
Example
2 22 222
(a) 0 4 44 = 2 4 6 = 48
0 0 6
9 99 999 9999
0 8 88 888
(b) = 98 0 6 = 0
0 0 0 77
0 0 0 6
where k is a correction factor which can be easily figured out by tracking the operations used
in reducing A to E.
In order to figure out the correction factor k, we need to know the effect of ERO on
determinants.
(1) If matrix B is obtained from matrix A by interchanging two rows (or two columns) of
A, i.e.,
det ( B ) = − det ( A )
R R
A ⎯⎯⎯→
i j
B then,
det ( B ) = m det ( A )
R →mR
A ⎯⎯⎯⎯
i i
→B then,
(3) If matrix B is obtained from matrix A by adding to a row (or column) of A a multiple
of any other row (or column, respectively) of A, i.e.,
det ( B ) = det ( A )
R →R + mR
A ⎯⎯⎯⎯⎯
i i j
→B then,
Example
3 5 −2 6 3 2 0 0 2 0 −4 6
1 2 −1 1 6 8 0 0 4 5 1 0
(a) A = (b) A = (c) A =
2 4 1 5 0 0 4 7 0 2 6 −1
3 7 5 3 0 0 2 5 −3 8 9 1
Solution
3 5 −2 6 1 2 −1 1 R2 → R2 −3 R1 1 2 −1 1
1 2 −1 1 R1 R2 3 5 −2 6 R3 → R3 −2 R1 0 −1 1 3
(a) A= ⎯⎯⎯→ ⎯⎯⎯⎯→
2 4 1 5 2 4 1 5 R2 → R2 −3 R1 0 0 3 3
3 7 5 3 3 7 5 3 0 1 8 0
1 2 −1 1 1 2 −1 1
0 −1 1 3 R4 → R4 − R3 0 −1 1 3
R3 →3 R3
⎯⎯⎯⎯ → ⎯⎯⎯⎯→ =B
R4 → R4 + R2
0 0 9 9 0 0 9 9
0 0 9 3 0 0 0 −6
(c) We may use ERO to reduce a determinant to lower order, instead of carrying out the
ERO until a triangular form is achieved, as illustrate below:
2 0 −4 6 2 0 −4 6
4 5 1 0 R2 → R2 − 2 R1 0 5 9 −12
A= ⎯⎯⎯⎯⎯ → =B
0 2 6 −1 R4 → R4 +1.5 R1 0 2 6 −1
−3 8 9 1 0 8 3 10
Exercise
a b c
1. Let A = p q r . If det(A) = 18, find the det(B) where
x y z
1 1 1
−5 p − q
5
− r
5
B = 2a 2b 2c .
1 1 1
x + a y + b z + c
3 3 3
3 1 0 5p 4p −2 p
2. Given −2 −4 3 = −1 . Find 2 4 −3 .
5 4 −2 3 − 5q 1 − 4q 2q
1 1 1 1
r 1 1 1
3. Show that = (1 − r )3
r r 1 1
r r r 1
a+b c c
4. Show that a b+c a = 4abc .
b b c+a
Answers
1. 36/5
2. −p
• det(AT) = det(A).
• det(cA) = cn det(A).
Example
1 −2 5 4
2 3 6 −6
A= .
3 −4 7 8
4 1 8 −2
Solution
det ( A ) = 0 because the 2nd column and the 4th column are proportional.
Example
Suppose A and B are 3 3 matrices where det ( A ) = 3 and det ( B ) = 9 . Find det ( 2A2B−1 ) .
Solution
Exercise
1 1 1
1. Show that a b c = 0 by applying one step of ERO.
b+c a+c a+b
1 2 3 4
5 6 7 8
A= .
9 10 11 12
13 14 15 16
Theorem:
For an n n matrix A,
For homogeneous linear systems, consistency is never an issue, because homogeneous linear
system always consistent. There exists at least a solution, x1 = 0, x2 = 0, , xn = 0 which is
called the trivial solution for every homogeneous linear system.
Now, the issue is, in what conditions will the system has not only the trivial solution but also
the non-trivial solutions.
Theorem
• If rank ( A ) n , then the system has non-trivial solutions as well as the trivial solution.
Example
Find the value(s) of k such that the following homogeneous linear system has non-trivial
solutions.
2x + k y + z = 0
(k − 1) x − y + 2z = 0
4x + y + 4z = 0
Solution
2 k 1
k − 1 −1 2 = 0
4 1 4
−1 2 k −1 2 k − 1 −1
2 −k +1 =0
1 4 4 4 4 1
2 ( −4 − 2 ) − k ( 4k − 4 − 8 ) + ( k − 1 + 4 ) = 0
−4k 2 + 13k − 9 = 0
( −4k + 9 )( k − 1) = 0
k = 9 / 4 or k = 1
Exercise
2x − y + 5z = 0
3x − y + 7z = 0
4x − 2 y + z = 0
(a) Find the value(s) of such that the system has non-trivial solutions exist.
(b) Solve the system for this value of .
(c) If = 5 , write down the solution of the linear system without any calculations. Give
your reason.
Answer
(a) = 10
x −2
(b) y = k 1 , k
z 1
x 0
(c) As long as 10 , the system has only the trivial solution, i.e., y = 0 .
z 0