1 of 54

Determinants

Prepared by:

Joey F. Valdriz

2 of 54

Recall:

Inverse of a Matrix

3 of 54

SUB-TOPICS

Determinant of a Square Matrix Minors and Cofactors

Properties of Determinants Applications of Determinants Area of a Triangle

Condition of Collinearity of Three Points Solution of System of Linear Equations

(Cramer’s Rule)

4 of 54

DETERMINANT

Every square matrix has associated with it a scalar called its determinant.

Given a matrix A, we use det(A) or |A| to designate its

determinant.

We can also designate the determinant of matrix A by replacing the brackets by vertical straight lines. For

example,

3

0

1

A = 2

2 1

0 3

det(A) =

Definition 1: The determinant of a 1×1 matrix [a] is the scalar

is the

a.

Definition 2: The determinant of a 2×2 matrix

scalar ad-bc.

For higher order matrices, we will use a recursive procedure to compute determinants.

c d

a b

5 of 54

Example

Evaluate the determinant : 4

- 3

2 5

Solution : 4

- 3 = 4 × 5 - 2 × (-3) = 20 + 6 = 26

2 5

6 of 54

Solution

The determinant of a 3 × 3 matrix A,

where

21 22 23

13

12

11

a31 a32 a33

a

a a a

A = a a

is a real number defined as

det A = a11a22a33

+ a12a23a31 + a13a21a32

(a31a22a13 + a32a23a11 + a33a21a12 ) .

7 of 54

Solution

If A =

is a square matrix of order 3, then

a

a11

a23

a31

a12 a13

21 a22

a32 a33

22 23 21 23 21 22

a a

a a a a

| A |= a21

a11 a12 a13

a22 a23

31 32 33

= a11 - a12 + a13

a32 a33 a31 a33 a31 a32

a

a a

[Expanding along first row]

= a11 (a22a33 - a32a23 ) - a12 (a21a33 - a31a23 ) + a13 (a21a32 - a31a22 )

= (a11a22a33 + a12a31a23 + a13a21a32 ) (a11a23a32 + a12a21a33 + a13a31a22 )

8 of 54

Example

= 2 4

1 - 2 - 3 7

1 -3

- 2 + (-5) 7 1

1 -3 4

2

3

- 5

7

1

- 2

-3

4

1

[Expanding along first row]

= 2 (1 + 8) - 3 (7 - 6) - 5 (28 + 3)

= 18 - 3 - 155

= -140

2

3

- 5

Evaluate the determinant : 7

1

- 2

-3

4

1

Solution :

9 of 54

Properties of Determinants

1. The value of a determinant remains unchanged, if its rows and columns are interchanged.

a1 b1 c1 a1 a2 a3 a2 b2 c2 = b1 b2 b3 a3 b3 c3 c1 c2 c3

i.e. A = A '

2. If any two rows (or columns) of a determinant are interchanged, then the value of the determinant is changed by minus sign.

a1 b1 c1

a2 b2 c2

a3 b3 c3

a2 b2 c2

= - a1 b1 c1

a3 b3 c3

[Applying R2 R1 ]

10 of 54

Properties

3. If all the elements of a row (or column) is multiplied by a non-zero number k, then the value of the new determinant is k times the value of the original determinant.

ka1 kb1 kc1 a1 b1 c1 a2 b2 c2 = k a2 b2 c2 a3 b3 c3 a3 b3 c3

which also implies

a1 b1 c1 1 ma1 mb1 mc1 a2 b2 c2 = m a2 b2 c2 a3 b3 c3 a3 b3 c3

11 of 54

Properties

4. If each element of any row (or column) consists of two or more terms, then the determinant can be expressed as the sum of two or more determinants.

a1 + x a2 + y a3 + z

b1 c1 a1 b2 c2 = a2 b3 c3 a3

b1 c1 x b1 c1 b2 c2 + y b2 c2 b3 c3 z b3 c3

5. The value of a determinant is unchanged, if any row (or column) is multiplied by a number and then added to any other row (or column).

= a2 + mb2 - nc2

a1 b1 c1 a1 + mb1 - nc1 a2 b2 c2

a3 b3 c3

a3 + mb3 - nc3

b1 c1

b2 c2

b3 c3

[Applying C1 C1 + mC2 - nC3 ]

12 of 54

Properties

6. If any two rows (or columns) of a determinant are identical, then its value is zero.

7. If each element of a row (or column) of a determinant is zero, then its value is zero.

0 0 0

a2 b2 c2 = 0 a3 b3 c3

c2 = 0

a1 b1 c1 a2 b2

a1 b1 c1

13 of 54

Properties

(8)

a

0

Let A = 0

0

b 0 be a diagonal matrix, then 0

0

c

a 0 0

A = 0 b 0 = abc

0 0 c

14 of 54

The Minor of an Element

Copyright © 2011 Pearson Education, Inc.

Slide 7.5-14

  • The determinant of each 3 × 3 matrix is called a minor of the associated element.
  • The symbol Mij represents the minor when the

ith row and jth column are eliminated.

15 of 54

The Cofactor of an Element

Copyright © 2011 Pearson Education, Inc.

Slide 7.5-15

  • To find the determinant of a 3 × 3 or larger square matrix:
    1. Choose any row or column,
    2. Multiply the minor of each element in that row or column by a +1 or –1, depending on whether the sum of i + j is even or odd,
    3. Then, multiply each cofactor by its corresponding element in the matrix and find the sum of these products. This sum is the determinant of the matrix.

Let Mij be the minor for element aij in an n × n matrix.

The cofactor of aij, written Aij, is

ij

ij

A = ( )

i + j

1 M .

16 of 54

Finding the Determinant

Copyright © 2011 Pearson Education, Inc.

Slide 7.5-16

Example

3 2

  • 4 3, expanding

0 2⎥⎦

by the second column.

Solution First find the minors of each element in the second column.

⎢⎣1

2

Evaluate det ⎢−1

1 3

2 = 2(3) (1)(2) = 8

= det2

1 2

2 = 2(2) (1)(2) = 2

= det2

M 32

M 22

12

1 2

3 = 1(2) (1)(3) = 5

M = det⎡−1

17 of 54

Finding the Determinant

Copyright © 2011 Pearson Education, Inc.

Slide 7.5-17

Now, find the cofactor.

The determinant is found by multiplying each cofactor by its corresponding element in the matrix and finding the sum of these products.

32 32

22

22

12 12

A = (1)3+2 M = (1)5 (8) = 8

A = (1)2+2 M = (1)4 (2) = 2

A = (1)1+2 M = (1)3 (5) = 5

3 2

4 3 = a12 A12 + a22 A22 + a32 A32

0 2⎥⎦

= 3(5) + (4)(2) + (0)(8)

= 23

2

det1

⎢⎣1

18 of 54

VALUE OF DETERMINANT IN TERMS OF MINORS AND COFACTORS

a11

If A = a21

a23 , then

a12 a13

a22

a31 a32 a33

3 3

A = (1)i+ j aijMij = aijCij j=1 j=1

= ai1Ci1 + ai2Ci2 + ai3Ci3 , for i =1 or i = 2 or i = 3

19 of 54

ROW (COLUMN) OPERATIONS

Following are the notations to evaluate a determinant:

(i) Ri to denote ith row

  1. RiRi + λRj to denote the addition of λ times the elements of jth row to the corresponding elements of ith row.
  2. λRi to denote the multiplication of all elements of ith row by λ.

Similar notations can be used to denote column operations by replacing R with C.

(ii) Ri Rj

rows.

to denote the interchange of ith and jth

20 of 54

EVALUATION OF DETERMINANTS

If a determinant becomes zero on putting

x = α, then (x - α)is the factor of the determinant.

For example, if Δ = x2

x3

x 5 2

9 4 , then at x = 2

16 8

Δ = 0, because C1 and C2 are identical at x = 2

Hence, (x – 2) is a factor of determinant .

Δ

21 of 54

SIGN SYSTEM FOR EXPANSION OF DETERMINANT

Sign System for order 2 and order 3 are given by

+ – +

+ –

+ , – + –

+ – +

22 of 54

EXAMPLE - 1

42

1

6

6×7

1

6

(i)

28

7

4 =

4×7

7

4

14

3

2

2×7

3

2

6 1 6

= 7 4 7 4 [Taking out 7 common from C1 ]

2 3 2

6 -3 2

2 -1 2

-10 5 2

42 1 6

28 7 4

14 3 2

Find the value of the following determinants

(i)

(ii)

Solution :

= 7 × 0

=0

C1 and C3 are identical

23 of 54

EXAMPLE –1 (II)

6 -3 2

2 -1 2

-10 5 2

(ii)

3 × (2) 3 2

= 1× (2) 1 2 5 × (2) 5 2

Taking out 2 common from C1

3 3 2

= (2) 1 1 2

5 5 2

C1 and C2 are identical

= (2) × 0

= 0

24 of 54

EXAMPLE - 2

Evaluate the determinant

1 a b+c

1 b c+a

1 c a+b

Solution :

[ Applying c3 c2 +c3 ]

1 a b+c 1 1 b c+a = 1

1 c a+b 1

a a+b+c b a+b+c c a+b+c

1 a 1

= (a+b+c) 1 b 1

1 c 1

Taking (a+b+ c) common from C3

= (a + b + c) × 0

=0

C1 and C3 are identical

25 of 54

EXAMPLE - 3

We have a2

a b c

b2 c2

bc ca ab

[Applying C1 C1 -C2 and C2 C2 - C3 ]

b- c c

(b- c)(b+c) c2

-a(b- c) ab

(a-b)

= (a-b)(a+b)

-c(a-b)

1

1 c

=(a-b)(b- c) a+b b+ c c2

-c -a ab

Taking (a-b) and (b- c) common

from C1 and C2 respectively

a b c

a2 b2 c2

bc ca ab

Evaluate the determinant:

Solution:

26 of 54

SOLUTION CONT.

0

=(a-b)(b- c) -(c- a)

-(c- a)

=-(a-b)(b- c)(c- a) 1

0

1 c

b+ c c2 [Applying c c - c ]

1 1 2

-a ab

  1. 1 c b+ c c2
  2. -a ab

1

= -(a-b)(b- c)(c- a) 0

c a+b+ c c2 - ab

1 -a ab

[Applying R2 R2 -R3 ]

Now expanding along C1 , we get

(a-b) (b-c) (c-a) [- (c2 – ab – ac – bc – c2)]

= (a-b) (b-c) (c-a) (ab + bc + ac)

27 of 54

EXAMPLE - 4

Without expanding the determinant,

prove that

3x = x3

3x+y 2x x 4x+3y 3x 5x+6y 4x 6x

3x+y

2x x 3x 3x 3x = 4x 4x 6x 5x

2x x y 2x x 3x 3x + 3y 3x 3x 4x 6x 6y 4x 6x

L.H.S= 4x+3y

5x+6y

3 2 1 1 2 1

= x3 4 3 3 + x2y 3 3 3

5 4 6 6 4 6

Solution :

[

C1 and C2

are identical in II determinant]

3 2 1

= x3 4 3 3 + x2y×0

5 4 6

28 of 54

SOLUTION CONT.

1

1

2

1

2

1

= x3

1

3

3

[Applying C

C - C

]

1

4

6

= x3 0

1 2 1

1 2 [Applying R2 R2 -R1 and R3 R3 -R2 ]

0 1 3

1

[Expanding along C ]

= x3 ×(3-2)

=x3 = R.H.S.

3 2 1

= x3 4 3 3

5 4 6

29 of 54

EXAMPLE - 5

= 0 , where ω is cube root of unity.

ω3 ω5

1 ω4

ω5 1

1

Prove that : ω3

ω5

L.H.S= ω3

ω5

1 ω3 ω5 1 ω3 ω32

1 ω4 = ω3 1 ω3

ω5 1 ω32 ω32 1

[

ω2

1 1 ω2

= 1 1 ω

ω2 1

= 0 = R.H.S.

C1 and C2 are identical]

ω3 =1

Solution :

30 of 54

EXAMPLE - 6

x+a

b

c

Prove that :

a

x+b

c = x2(x+a+b+c)

a

b

x+C

Solution :

x+a b c

a x+b c = x+a+b+c a b x+C

L.H.S=

x+a+b+c

x+a+b+c b c

x+b c b x+c

[Applying C1 C1 +C2 +C3 ]

1 b c

= (x+a+b+c) 1 x+b c

1 b x+c

Taking (x+a+b+c) commonfrom C1

31 of 54

SOLUTION CONT.

1 b c

=(x+a+b+c) 0 x 0

0 0 x

[Applying R2 R2 -R1 and R3 R3 -R1 ]

Expanding along C1 , we get

(x + a + b + c) [1(x2)] = x2 (x + a + b + c)

= R.H.S

32 of 54

EXAMPLE - 7

2(a+b+c)

= c+a a+b

2(a+b+c) a+b b+c

2(a+b+c) b+c c+a

[Applying R1 R1 +R2 +R3 ]

1

=2(a+b+c) c+a

1 1

a+b b+c a+b b+c c+a

Solution :

Using properties of determinants, prove that

b+ c =2(a+b+ c)(ab +bc + ca- a2 - b2 - c2 ).

b+ c c+ a a+b c+ a a+b

a+b b+ c c+ a

L.H.S= c+a

b+c c+a a+b

a+b b+c a+b b+c c+a

33 of 54

SOLUTION CONT.

[Applying C1 C1 - C2 and C2 C2 - C3 ]

0

0 1

(a- c) b+ c

(b- a) c+ a

= 2(a+b+ c) (c-b)

(a- c)

Now expanding along R1 , we get

2(a+b+c)(c -b)(b- a)-(a- c)2

=2(a+b+c)bc -b2 - ac+ab-(a2 +c2 - 2ac)

=2(a+b+c)ab+bc+ac- a2 -b2 - c2

=R.H.S

34 of 54

EXAMPLE - 8

Using properties of determinants prove that

x+4

2x

2x

2x

2x

x+4

2x

2x

x+4

=(5x+4)(4- x)2

1 2x 2x

=(5x+ 4) 1 x+ 4 2x

1 2x x+ 4

Solution :

[Applying C1 C1 +C2 +C3 ]

L.H.S=

= 5x+ 4

5x+ 4

x+ 4 2x 2x 5x+ 4 2x 2x 2x x+ 4 2x x+ 4 2x

2x 2x x+ 4 2x x+ 4

35 of 54

SOLUTION CONT.

[Applying R2 R2 -R1

and R3 R3 -R2 ]

=(5x+ 4) 0

1 2x 2x

-(x - 4) 0

0 x - 4

-(x - 4)

Now expanding along C1 , we get

(5x+4)1(x - 4)2 - 0

=(5x+4)(4- x)2

=R.H.S

36 of 54

EXAMPLE - 9

Using properties of determinants, prove that

x+9

x

x

x

x+9

x

=243 (x+3)

x

x

x+9

x+9 x x x x+9 x x x x+9

L.H.S=

= 3x+9

3x+9

3x+9 x x x+9 x

x x+9

[Applying C1 C1 +C2 +C3 ]

Solution :

37 of 54

SOLUTION CONT.

[Expanding along C1 ]

= 3(x+3)×81

=243(x+3)

= R.H.S.

1 x x

=(3x+9) 1 x+9 x

1 x x+9

1 x x

= 3(x+3) 0 9 0

0 -9 9

Applying R2 R2 -R1

and R3 R3 -R2

38 of 54

SOLUTION CONT.

[Applying R2 R2 -R1 and R3 R3 -R2 ]

1

=(a2 +b2 +c2) 0

a2

(b- a)(b+a)

0 (c-b)(c+b)

bc c(a-b)

a(b- c)

1

=(a2 +b2 +c2 )(a-b)(b- c)(-ab- a2 +bc+c2 ) [Expanding along C ]

=(a2 +b2 +c2 )(a-b)(b- c)b(c - a)+(c- a)(c+a)

=(a2 +b2 +c2 )(a-b)(b- c)(c- a)(a+b+c)=R.H.S.

1

=(a2 +b2 +c2 )(a-b)(b- c) 0

a2

-(b+a)

bc

c

0

-(b+c)

a

39 of 54

EXAMPLE - 10

Solution :

(b+ c)2

a2 b2 c2

bc b2 + c2 ca = c2 + a2 ab a2 +b2

a2 b2 c2

L.H.S.= (c+ a)2

bc

ca Applying C1 C1 - 2C3 ab

(a+b)2

a2 +b2 + c2

a2 +b2 + c2

a2 b2 c2

= a2 +b2 + c2

bc

ca [Applying C1 C1 +C2 ] ab

1

=(a2 +b2 +c2 ) 1

1

a2 b2 c2

bc ca ab

(b + c)2

a2 b2 c2

Show that (c + a)2

ca = (a2 +b2 + c2 )(a- b)(b - c)(c - a)(a+b + c)

(a+b)2

bc

ab

40 of 54

Applications of Determinants (Area of a Triangle)

The area of a triangle whose vertices are

(x1, y1), (x2, y2) and (x3, y3) is given by the expression

x1 y1 1

Δ = 1 x y 1

2 2 2

x3 y3 1

1

= 2[x1 (y2 - y3 ) + x2 (y3 - y1 ) + x3 (y1 - y2 )]

41 of 54

Example

Find the area of a triangle whose vertices are (-1, 8), (-2, -3)

and (3, 2).

Solution :

Area of triangle = 2 x2

1 = 2 -2

x1 y1 1 -1 8 1

1 y 1 -3 1

2

x3 y3 1 3 2 1

= 1 [-1(-3- 2)- 8(-2 - 3)+1(-4+9)]

2

= 1 [5+ 40+5]= 25 sq.units

2

42 of 54

Condition of Collinearity of Three Points

If A (x1, y1 ), B (x2 , y2 ) and C (x3, y3 ) are three points,

then A, B, C are collinear

Area of triangle ABC = 0

2 x2

x1 y1 1 x1 y1 1

1 y2 1 = 0 x2 y2 1 = 0

x3 y3 1 x3 y3 1

43 of 54

Example

If the points (x, -2) , (5, 2), (8, 8) are collinear, find x , using determinants.

Solution :

Since the given points are collinear.

x -2 1

5 2 1 = 0

8 8 1

x(2- 8)- (-2)(5- 8)+1(40-16)= 0

-6x- 6+24=0

6x=18 x=3

44 of 54

Solution of System of 2 Linear

Equations (Cramer’s Rule)

Let the system of linear equations be

a2x +b2y = c2

...(ii)

a1x +b1y = c1

...(i)

Then x = D1 , y = D2

D D

provided D 0,

1

1

2

where D = a1

, D =

and D

b1

a2 b2

c b1

c2 b2

= a1 c1

a2 c2

45 of 54

Cramer’s Rule

then the system is inconsistent and has no solution.

Note :

(1) If D 0,

then the system is consistent and has unique solution.

(2) If D = 0 and D1 = D2 = 0,

then the system is consistent and has infinitely many solutions.

(3)

If D = 0 and one of D1, D2 0,

46 of 54

Example

1

D = 7 -3 =7+15=22

5 1

2

D = 2 7 =10-21=-11

3 5

D 0

By Cramer's Rule x = D1 = 22 = 2 and y = D2 = -11 =-1

D 11 D 11

Using Cramer's rule , solve the following system of equations 2x-3y=7, 3x+y=5

Solution :

D= 2 -3 = 2+9 =11 0

3 1

47 of 54

Solution of System of 3 Linear

Equations (Cramer’s Rule)

Let the system of linear equations be

a1x +b1y + c1z = d1

a2x +b2y + c2z = d2

a3x +b3y + c3z = d3

...(i)

...(ii)

...(iii)

z = D3

D

Then x = D1 , y = D2 ,

D D

provided D 0,

where D = a2

d1 b1 c1

b2 c2 , D2 = a2

d3 b3 c3

a1 d1 c1

d2 c2

a3 d3 c3

and D3 = a2

a1 b1 c1

b2 c2 , D1 = d2

a3 b3 c3

a1 b1 d1

b2 d2

a3 b3 d3

48 of 54

Cramer’s Rule

Note:

  1. If D 0, then the system is consistent and has a unique

solution.

  1. If D=0 and D1 = D2 = D3 = 0, then the system has infinite solutions or no solution.

  • If D = 0 and one of D1, D2, D3 0, then the system is inconsistent and has no solution.

  • If d1 = d2 = d3 = 0, then the system is called the system of homogeneous linear equations.

  1. If D 0, then the system has only trivial solution x = y = z = 0.

  • If D = 0, then the system has infinite solutions.

49 of 54

Example

Using Cramer's rule , solve the following system of equations

5x - y+ 4z = 5 2x + 3y+ 5z = 2 5x - 2y + 6z = -1

Solution :

5 -1 4

D= 2 3 5

5 -2 6

5 -1 4

D1 = 2 3 5

-1 -2 6

= 5(18+10)+1(12+5)+4(-4 +3)

= 140 +17 –4

= 153

= 5(18+10) + 1(12-25)+4(-4 -15)

= 140 –13 –76 =140 - 89

= 51 0

50 of 54

Solution

5 -1 5

D3 = 2 3 2

5 -2 -1

= 5(-3 +4)+1(-2 - 10)+5(-4-15)

= 5 – 12 – 95 = 5 - 107

= - 102

D 0

By Cramer's Rule x = D1 = 153 = 3, y = D2 = 102 = 2

D 51 D 51

and z = D3 = -102 =-2

D 51

5 5 4

D2 = 2 2 5

5 -1 6

= 5(12 +5)+5(12 - 25)+ 4(-2 - 10)

= 85 + 65 – 48 = 150 - 48

= 102

51 of 54

Example

Solve the following system of homogeneous linear equations: x + y – z = 0, x – 2y + z = 0, 3x + 6y + -5z = 0

Solution:

1

- 1

We have D = 1

3

1

- 2 1 = 1 (10 - 6) - 1 (-5 - 3) - 1 (6 + 6)

6 - 5

= 4 + 8 - 12 = 0

The system has infinitely many solutions.

Putting z = k, in first two equations, we get

x + y = k, x – 2y = -k

52 of 54

k

1

x = D1 = -k

- 2 = -2k + k = k D 1 1 -2 - 1 3

1 - 2

By Cramer's rule

1

k

y = D2

= 1

D

- k = -k - k = 2k

1 1 -2 - 1 3

1 - 2

x = k , y = 2k , z = k , 3 3

where k R

These values of x, y and z = k satisfy (iii) equation.

53 of 54

Seatwork

Find the determinant of each matrix.

1

4

6

6

-3

2

42

1

6

2

3

2

-1

2

28

7

4

0

2

-10

5

2

14

3

2

2

5

3

11

8 2 1 4

5 3

0 4

2 7

0

0

2

1

54 of 54

Thank you