Chapter Two Determinants
Chapter Two Determinants
Chapter Two Determinants
DETERMINANTS
Determinant is a scalar associated with every square matrix .Their usefulness follows from
two of their properties. First they can be used to compute areas and volumes, and secondly ,
that a zero determinant characterizes singular matrices. Computing areas and volumes brings
determinants in to the formulas for changing variables in multiple integrals .One of the most
important uses of determinants within linear algebra is the study of eigenvalues.
Determinants also occur in Cramer’s rule for solving linear equations and can be used to
give a formula for the inverse of an invertible matrix. In the calculus of several variables, the
Jacobians used in transforming a multiple integral uses determinant. This use arises from
the fact that determinant is the volume of the parallelepiped. Determinants are also useful in
various other subjects like Physics, Astronomy and Statistics.
Objectives:
• Define determinant
• Find the determinant of a square matrix by using the
definition and its properties.
• Find inverse of a square matrix using determinant
• Solve systems of linear equation
• Calculate area of a parallelogram
• Calculate volume of a parallelepiped
Definition of determinants
Every square matrix A= aij[ ] nxn
; has a number associated to it is called its determinant. In
this section we will define the determinant of a square matrix inductively and derive its
properties. The determinant of a matrix A will be denoted by det A or |A|
Definition
Example
x 6
Find x if = −4
2 x
Solution:
x 6
= 4 ⇒ x 2 - 12 = 4 ⇒ x 2 = 16 ⇒ x = 4 or x = -4
2 x
Activity
1 − 6
1) If A= then find det A.
4 − 1
x 2
2) Find x if =4
2x 3
The determinant of an nxn matrix can be computed in terms of (n-1) x (n-1) determinants .
This expansion allows us to give a recursive definition of the determinant function.
Let A be an nxn matrix and let Aij denote the (n-1)x(n-1) matrix obtained by crossing out
the ith row and the jth column of A.
a n1 a n 2 a nn
is called expansion along the ith row.
1 0 − 1
Example : Find the determinant of the matrix A = 3 4 2
2 1 5
Solution
n
∑ (−1)
j =1
i+ j
aij | Aij || ( 1 ≤ i ≤ n)
n n
Let i = 1. Then ∑ (−1)
j =1
i+ j
aij | Aij || = ∑ (−1)
j =1
1+ j
a1 j | A1 j |
4 2
A11 = , |A11| = 18
1 5
3 2
A12 = , |A12| = 11
2 5
3 4
A13 = , |A13| = -5
2 1
Activity
2 −1 4
Find the determinant of A = − 1 4 3
7 1 − 1
−1 − 2 0 1
0 1 −2 0
Example: Calculate the determinant
3 1 −1 − 3
0 −1 1 3
Solution
n
Det A = ∑ (−1)
j =1
i+ j
aij | Aij | ( 1 ≤ i ≤ n)
−1 0 1 −1 − 2 1
A22 = 3 − 1 − 3 and A23 = 3 1 − 3 . Then |A22| = 3 and |A23| = 15
0 1 3 0 −1 3
As we can see from the above examples, it is a little lengthy to calculate the determinant of
a matrix. Next we state some properties which we can help us in calculating the determinant
of a square matrix quickly.
Properties of determinants
The following properties are true
Let A and B be square matrices of order n.
1. det I = 1
Example
1 0 0 0
0 1 0 0
Let I = . Then det I = 1
0 0 1 0
0 0 0 1
1
3. If A is invertible, then det A-1 =
det A
Example
4 2 5 −2
Let A = . Then A-1 = 18 18 .
1 5 −1 4
18 18
|A| = 18 and |A-1 | = 1
18
t
4. det A = det A
Zelalem Teshome, Department of Mathematics, Addis Ababa University 64
Applied mathematics I , : Chapter 2
Example
4 − 2 4 1
A = At =
1 5 − 2 5
|A| = 22 , | At| = 22
5. det(kA) = kndet(A)
Example 3.2.5
4 − 2 − 12 6
A = , -3A =
1 5 − 3 − 15
|A| = 22 , |-3A| = 198 = (-3) 2 (22)
6. The determinant vanishes if every entry of some row (or column) is 0
Example :
1 7 8 3
6 − 7 2 − 1
Let A = . Then |A| = 0 .
0 0 0 0
2
11 16 13
1 0 8 3
6 0 2 − 1
Let A = . Then |A| =0
9 0 5 6
2
0 16 13
7. The determinant vanishes if two rows (or columns) are equal or if one row (or
column) is a scalar multiple of the other.
Example:
−1 2 3 5
6 − 7 2 − 1
Let A = . Then |A| =0 .
−1 2 3 5
2 11 16 13
( the first row is equal the third row)
1 3 8 3
6 − 1 2 − 1
Let A = . Then |A| =0
9 6 5 6
2 13 16 13
Example
1 − 2 −1 3
2 − 1 − 4 − 1
Let A = . Then |A| =0 ( the third row is equal to 3 times the first row)
3 −6 −3 9
− 3 13 6 13
1 3 −2 3
2 − 1 − 4 − 1
Let A = . Then |A| =0 (the third column is equal to -2 times the first
0 6 0 6
− 3 13 6 13
column)
8. Interchanging two rows (or columns) multiplies the determinant by -1.
Example
−1 0 1
Let A = 3 − 1 − 3 . Then |A| = 3.
0 1 3
0 1 3
Suppose B = 3 − 1 − 3 . det B =- 3 ( B is obtained by interchanging the first row and
−1 0 1
the third row of the matrix A)
Example
−1 − 2 1
A = 3 1 − 3 . Then A = 15.
0 −1 3
1 − 2 1
Let B = − 3 1 3 . Then |B| = -15. ( B is obtained by interchanging the first column
3 −1 0
and the third column of the matrix A)
9. If B is obtained from A by adding the elements of ith row(column) a scalar multiple of the
corresponding elements of another row (or column), then det(A) = det(B) .
Example
1 −1 2 1 − 1 2
Let A = − 2 1 − 1 . det A = det B where B = 0 − 1 3 (Because B is obtained from
0 1 2 0 1 2
A by adding two times the first row of A to its second row.)
1 − 1 2
det B = det C where C = 0 1 − 3 (Because C is obtained from B by adding one time
0 0 5
the second row of B to its third row.)
Activity
Show that
0 3 1 7
0 3 4 6
det = 102
2 5 9 − 7
0 0
2 5
1 − 2 1
Example : Let A= − 3 1 3
3 −1 0
1 3
Then A11= : A|11 = (-1)1+1 detA11= detA11= 3
−1 0
− 2 1
A2 1= : A|21 = (-1)2+1 detA21= (-1)detA21= 1
−1 0
1 1
A3 2= : A|3 2 = (-1)3+2 detA3 2= (-1)detA3 2= -6
− 3 3
[ ]
Definition: Let A = aij be an nxn matrix. The nxn matrix adj A, called the
adjoint of A, is the transpose of the matrix whose (i, j)th element is the cofactor A| ij
of aij.
Thus
A|11 A| 21 A| n1
|
A 12 A| 22 A| n 2
Adj A = (A ij) That is adjA =
| t.
| |
A 1n A 2 n A nn
|
1 1
Example: - Let A = . Compute adj A.
− 3 3
Solution:
The cofactor of A are A| ij of aij where 1 ≤ i, j ≤ 2
A11= (3) : A|11 = (-1)1+1 detA11 = detA11= 3
A2 1= (1) : A|21 = (-1)2+1 detA21 = (-1)detA21= -1
A12 = (-3) : A|12 = (-1)1+2 detA12 = (-1)detA12= 3
A2 2= (1) : A|22 = (-1)2+2 detA22 = detA2= 1
A|11 A| 21 3 3
adj A =( A| ij)t = | =
− 1 1
|
A 12 A 22
Activity
2 1
Let A = . Compute adj A
1 5
2 −1 4
Example: - Let A = − 1 4 3 . Compute adj A.
7 1 − 1
4 3
A11= : A|11=(-1)1+1 detA11= detA11= -7
1 −1
−1 4
A2 1= : A|21=(-1)2+1 detA21= (-1) detA21= 3
1 − 1
−1 4
A3 1= : A|3 1=(-1)3+1 detA3 1= detA3 1= -19
4 3
−1 3
A12= : A|12=(-1)1+2 detA12=(-1) detA12= 20
7 − 1
2 4
A2 2= : A|22=(-1)2+2 detA22= detA22= - 30
7 −1
2 4
A3 2= : A|3 2=(-1)3+2 detA3 2= (-1) detA3 2 = -10
−1 3
−1 4
A13= : A|13=(-1)1+3 detA13= detA13= -29
7 1
2 − 1
A2 3= : A|23=(-1)2+3 detA23= (-1) detA23= -9
7 1
2 − 1
A3 3= : A|33=(-1)3+3 detA3 3= detA3 3 = 7
−1 4
A|11 A| 21 A| 31 − 7 3 − 19
adj A = A|12 A| 22 A 32 = 20 − 30 − 10
|
A|
13 A| 23 A| 33 − 29 − 9 7
adjA
Theorem : If A is an nxn matrix and det A ≠ 0, then A −1 =
det A
Example : Consider the Preceding examples
2 1 5 − 1
1. Let A = . Then adj A = and det A = 9.
1 5 −1 2
5 − 1
− 1 2 5 −1
9
= 9
−1 adjA
A = =
det A 9 − 1 2
9 9
2 1 5 9 − 19 1 0
=
1 5 − 19 2 9 0 1
2 −1 4 −7 3 − 19
2. Let A = − 1 4 3 . Then adj A= 20 − 30 − 10 and det A= -136.
7 1 − 1 − 29 − 9 7
− 19 7 136 −3 19
−7 3 136 136
adj A −
20 − 30 − 10 = − 20136 − 30136 − 10136
1
A-1= =
det A 136
− 29 − 9 7 29 9 −7
136 136 136
Activity
1 3
Using Adjoint, find the inverse of A =
2 −1
Theorem : A matrix A is invertible if and only if det(A) ≠ 0.
CRAMER’S RULE
Let
a11 x1 + a12 x 2 + + a1n x n = b1
a 21 x1 + a 22 x 2 + + a 2 n x n = b2
a n1 x1 + a n 2 x 2 + + a nn x n = bn
[ ]
be a linear system of n equations in n unknowns and let A = aij be the coefficient
matrix so that we can write the above equation as AX = b where
a11 a12 . . . a1n
a 21 a 22 . . . a 2 n x1 b1
. . . . . . x b
A= , X = 2 and b = 2 .
. . . . . .
.
. . . . . xn bn
a
1n a 2 n . . . a nn
If det (A) ≠ 0, then the system has the unique solution. Let Bi be a matrix obtained from
det Bi
A by replacing the ith column of A by b. Then x i =
det A
To solve systems of linear equations by using determinants
x – 3y = 2
2x + 7 y = 11
Solution
1 − 3 x 2
Step 1. A = , X = and b = .
2 7 y 11
Step 2. det A = 13.
2 −3 1 2
11 7 47 2 11 7
Step 3: x = = , y= =
13 13 13 13
47 7
Therefore x = and y =
13 13
Activity Solve the following systems of linear equation by using Cramer’s rule
3x + y = 5
x - 4y = 3
Example: Solve the following systems of linear equation by using Cramer’s rule.
x1 − x 2 + 2 x3 = 1
− 2 x1 + x 2 − x3 = 4
x 2 + 2 x3 = −3
Solution
1 −1 2 x1 1
Step 1. A = − 2 1 − 1 , X = x 2 , b = 4
0 2 x − 3
1 3
Step 2. det A = -5.
1 −1 2 1 1 2
4 1 −1 −2 4 −1
−3 1 2 − 22 0 −3 2 − 21
Step 3. x 1 = = , x2 = =
det A 5 det A 5
1 −1 1
−2 1 4
0 1 −3 3
x3 = =
det A 5
− 22 − 21 3
Therefore , x 1 = x2 = and x 3 =
5 5 5
Activity
Solve the following systems of linear equation by using Cramer’s rule
-2x + 3y- z = 1
x + 2y –z = 4
-2x –y + z =-3
Activity
Solve the following systems of linear equation by using Cramer’s rule.
2x + y+ z = 6
3x + 2y –2z = -2
x + y + 2z = 4
Solution
If a and b are parallel, then one is a scalar multiple of the other.
Let a =αb .Hence (a1,a2 ,a3 ) = α(b1,b2,b3 ) = (αb1 ,αb2, αb3 )
i j k i j k
A x B = a1 a2 a3 = αb1 αb2 αb3 = 0
b1 b2 b3 b1 b2 b3
Activity
Show that
1. i × i = j × j = k × k = 0;
2. i × j = k,j ×k =i, k × i = j
Area of a parallelogram
|| a x b || is the area of the parallelogram formed by the vectors a and b.
Example : Let P = (2,-1,3), Q = (5,8,2) and R = (0,-1,3). Find the area of the triangle
formed by P.Q and R.
PQ = (3,9,-1) PR = (-2,0,0)
i j k
|| PQ x PR || = 3 9 − 1 =
−2 0 0
= i(9.0–0.(-1))–j(3.0 –(-1)(-2))+(3.0 –(-2)9)k
= 0i + 2j + 18k
1
Area of the triangle = 1/2 0 2 + 2 2 + 18 2 = 328 square units
2
Example :
Find the area of a triangle with adjacent vectors a = (2, 3, -1) and b = (1, 2, 2)
Solution:
i j k
a × b = 2 3 − 1 = (2(3)+2(1))i - (2(2)+1(1))j + (2(2)-1(3))k = 8i -5j +k
1 2 2
1 1 1
Area of a triangle =|| a × b || = 64 + 25 + 1 = 90
2 2 2
Volume of a parallelpiped
The volume of the parallelepiped formed by the vectors a, b and c is |a.(b x c)|
|| b x c || = Area of the base of the parallelepiped
θ is the angle between a and b x c
Example : Find the volume of the parallelepiped formed by the vectors a = 3i+j-k,
b = -i+2j + 4k and c = 2i-5j +3k.
Solution
First let us find b x c
i j k
b x c = −1 2 4 = i(2.3–4.(-5)) –j((-1).3–4.2)+( (-1)(-5) – 2.2) k = 26j + 11j +1k
2 −5 3
a.(b x c) = 3.26 + 1.11+(-1)1 = 88
Volume = |a.(b x c)|= |88| cubic units = 88 cubic units
1 2 − 1 3 0 0
2. . Let A = 0 3 6 and B = 5 − 2 0
0 0 − 1 1 4 − 1
3
Find a. det A
b. detAB
c. det (B t A t )
d . det A −1
e. det(A t ) −1
1 −1 a 2
3 c 3 6
3. Suppose = 2.
4 1 −1 3
2 2 5 8
1 −1 a 2 1 −1 a 2
4 1 −1 3 7 c +1 2 9
Find a. b.
2 2 5 8 2 2 5 8
3 c 3 6 3 c 3 6
− 1 3
4. Let A = . Then find adj A.
2 1
x 1
5. Let A = . In the set of real numbers, find all values of x for which the
1 x
matrix is invertible?
6. Let A be a 3x3 matrix and det A = -2. Then find
(a) det 4A
(b) detA-1
(c) detA5
(d) det(adjA)
13. Let a = 2i + j + k and b = j + 2k. Then find the area of the parallelogram formed by the
vectors a and b.
14. Let a = i + j + k and b =2i - j + 2k and c = i - j - k
Find a. The volume of the parallelepiped formed by the vectors a,b and c.
b. The total surface area of the parallelepiped formed by the vectors a,b and c.
15. Show that for any invertible matrix nxn matrix A we have det(adj(A)) = (det(A))n-1
16. Show that for any invertible matrix nxn matrix A the matrix adj(A) is also invertible and
satisfies (adj(A)) -1 = adj(A-1) .
2 1 2
17.Let A = 1 1 1 . Without expanding the determinant,find the value of a for which det(A) = 0
a 2 3
x −1 2
18. Find the value of x for which =0
2 x +1
1 2 1
19. Let A = 0 1 2
−1 3 2
Find a. adj(A)
b. A. adj(A)
c. A-1