Chapter 2. Determinants
Chapter 2. Determinants
DETERMINANTS
CONTENTS
= a11 det A11 − a12 det A12 + + (−1)1+ n a1n det A1n
Example. Compute the determinant of
1 5 0
A = 2 4 −1
0 −2 0
Solution.
det A = a11 det A11 − a12 det A12 + a13 det A13
4 −1 2 −1 2 4
= 1 det − 5 det + 0 det
−2 0 0 0 0 −2
= 1( 0 – 2 ) – 5 ( 0 – 0 ) + 0 ( −4 – 0 ) = − 2
Another common notation for the determinant of a matrix
uses a pair of vertical lines in place of brackets.
Thus the calculation in Example 1 can be written as
4 −1 2 −1 2 4
det A = 1 − 5 +0 = −2
−2 0 0 0 0 −2
= a31 (−1)3+1 det A31 + a32 (−1)3+ 2 det A32 + a33 (−1)3+3 det A33
5 0 1 0 1 5
= 0 −(−2) + 0
4 −1 2 −1 2 4
= −2
Example. Compute det A if
3 −2 7 2 1
0 2 2 1 8
A = 0 0 1 5 0
0 0 2 4 1
0 0 0 −2 0
Result: detA=12
−3 0 0 0 2 7 −3 8 3
2 −2 0 0 0 −3 7 5 1
5 2 4 0 0 0 1 7 6
10 1 −1 5 0 0 0 2 8
0 0 0 0 4
10
2.2. PROPERTIES
OF DETERMINANTS
Theorem 3. Let A be a square matrix
➢ If two rows of A are interchanged to produce B, then
det B = - det A.
➢ If one row of A is multiplied by k to produce B, then
det B = k · det A
➢ If a multiple of one row of A is added to another row
to produce a matrix B, then det B = det A.
➢ If row ith of A is the sum of r' and r", and B' and B"
are obtained from A by replacing row ith by r' and r"
respectively, then
det(A) = det(B' ) + det(B" )
1 −4 2
Example. Compute det A, where 𝐴 = −2 8 −9
−1 7 0
Solution. The strategy is to reduce A to echelon form and
then to use the fact that the determinant of a triangular
matrix is the product of the diagonal entries.
1 −4 2 1 −4 2 1 −4 2
−2 8 −9 = 0 0 −5 = 0 0 −5
−1 7 0 −1 7 0 0 3 2
An interchange of rows 2 and 3 reverses the sign of the
determinant, so
1 −4 2
𝑑𝑒𝑡𝐴 = − 0 3 2 = − 1 3 −5 = 15
0 0 −5
Example. Using row reduction to evaluate
3 5 -2 6
0 1 5
1 2 -1 1
3 -6 9 2 4 1 5
2 6 1 3 7 5 3
1 2 3 1 1
4 1 3 2 3
2 1 −3 1 3
1 3 1 2 2
3 −2 4 3 2
➢ Suppose a square matrix A has been reduced to an echelon
form U by row replacements and row interchanges
➢ If there are r interchanges, then Theorem 3 shows that
det A = (-1)r det U
➢ Since U is in echelon form, it’s triangular, and so det U is
the product of the diagonal entries u11, …, unn.
➢ If A is invertible, the entries uii are all pivots
• Because A ~ In
• det A = (-1)r (product of pivots in U)
➢ Otherwise, at least uii is zero, and the product u11…unn is
zero
Theorem 4. A square matrix A is invertible if and only if
det A ≠ 0.
Example. Compute det A, where
3 −1 2 −5
0 5 −3 −6
𝐴=
−6 7 −7 4
−5 −8 0 9
Solution. Add 2 times row 1 to row 3 to obtain
3 −1 2 −5
0 5 −3 −6
𝑑𝑒𝑡𝐴 = 𝑑𝑒𝑡 =0
0 5 −3 −6
−5 −8 0 9
because the second and third rows of the second matrix are
equal.
1 2 −1
Example. Let A = 2 3 1
2 3 m
Find all values of m for which A is invertible.
1 2 −2 2 3 −3
A = 1 2 4 and B = 1 2 −1
2 3 4 2 3 5
Compute
a) detA, det B
x1 + + 2 x3 = 6
−3 x1 + 4 x2 + 6 x3 = 30
− x1 − 2 x2 + 3x3 = 8
Solution.
1 0 2 6 0 2
A = −3 4 6 , A1 (b) = 30 4 ,
6
− 1 − 2 3 8 −2
3
1 6 2 1 0 6
A2 (b) = − 3 30 6 , A3 (b) = − 3 4 30
−1 8 3 − 1 − 2 8
−10 18 38
x1 = , x2 = , x3 =
11 11 11
26
Example. Determine the values of s for which the
following system has a unique solution, and use Cramer’s
rule to describe the solution.
0 2 1
2 4 A = 2 4 2
A=
5 7 3 4 3