Lesson Co-factoring the determinant of a 3x3 matrix

Algebra ->  Matrices-and-determiminant -> Lesson Co-factoring the determinant of a 3x3 matrix      Log On


   


This Lesson (Co-factoring the determinant of a 3x3 matrix) was created by by ikleyn(52747) About Me : View Source, Show
About ikleyn:

Co-factoring the determinant of a 3x3 matrix


The definition of the determinant of a  3x3 matrix was introduced in the lesson  Determinant of a 3x3 matrix  under the current topic in this site.
According to the definition,  the determinant of a 3x3 matrix is expressed by a quite long formula.
Co-factoring the determinant is expanding of it into the  (alternate)  sum of products of its elements and the determinants of smaller  2x2 complementary sub-matrices.
Co-factoring explains how the determinant of a  nxn  matrix is connected with the determinants of smaller sub-matrixes.  Sometimes co-factoring facilitates calculations of determinants.  Let us start with reminding the definition of the determinant of a 3x3 matrix from the referred lesson.

Definition

Let us consider a  3x3-matrix  A =
 
 comprised of numbers  a%5B11%5D,  a%5B12%5D,  a%5B13%5D,  a%5B21%5D,  a%5B22%5D,  a%5B23%5D,  a%5B31%5D,  a%5B32%5D,  and  a%5B33%5D.

The  determinant  of the matrix  A  =
 
 is the number   d = a%5B11%5Da%5B22%5Da%5B33%5D + a%5B12%5Da%5B23%5Da%5B31%5D + a%5B13%5Da%5B21%5Da%5B32%5D - a%5B13%5Da%5B22%5Da%5B31%5D - a%5B12%5Da%5B21%5Da%5B33%5D - a%5B11%5Da%5B32%5Da%5B23%5D.

Thus the determinant is defined for any square matrix with  3  rows and  3  columns.

Sometimes the determinant of a matrix
  
 is denoted as  det
   or
   .

So,   det

=
  
= a%5B11%5Da%5B22%5Da%5B33%5D + a%5B12%5Da%5B23%5Da%5B31%5D + a%5B13%5Da%5B21%5Da%5B32%5D - a%5B13%5Da%5B22%5Da%5B31%5D - a%5B12%5Da%5B21%5Da%5B33%5D - a%5B11%5Da%5B32%5Da%5B23%5D.

Notice the patterns for calculation the determinant terms in  Figure 1a  and  1b. .
The major matrix diagonal and two triangles in the  Figure 1a  that have the sides parallel to the major matrix      
diagonal each contributes the product of three matrix elements with the sign  "as is"  to the determinant.
The auxiliary diagonal and two triangles in the  Figure 1b  that have the sides parallel to the auxiliary diagonal
each contributes the product of three matrix elements with the opposite sign to the determinant.

    

Fig. 1a. (+)-Patterns      
for the determinant
    

Fig. 1b. (-)-Patterns
for the determinant
Figures  2a - 2f  represent each term of the determinant visually.

Also notice that each term of a determinant (additive or subtrahend) is the product of elements that are located in different rows and different columns of a matrix.
No one single term of a determinant contains two elements from the same row.  No one single term of a determinant contains two elements from the same column.

    

Fig. 2a. The term      
    a%5B11%5Da%5B22%5Da%5B33%5D
    

Fig. 2b. The term      
    a%5B12%5Da%5B23%5Da%5B31%5D
    

Fig. 2c. The term      
    a%5B13%5Da%5B21%5Da%5B32%5D
    

Fig. 2d. The term      
    a%5B13%5Da%5B22%5Da%5B31%5D
    

Fig. 2e. The term      
    a%5B12%5Da%5B21%5Da%5B33%5D
    

Fig. 2f. The term
    a%5B11%5Da%5B32%5Da%5B23%5D

Theorem (co-factoring determinant along the row)

The determinant of a  3x3  matrix  A =
   is equal to   det%28A%29 = a%5B11%5D%2Adet%28A%5B11%5D%29 - a%5B12%5D%2Adet%28A%5B12%5D%29 + a%5B13%5D%2Adet%28A%5B13%5D%29,
where  A%5B11%5D,  A%5B12%5D  and  A%5B13%5D  are complementary  2x2  sub-matrices to the elements  a%5B11%5D,  a%5B12%5D  and  a%5B13%5D  in the matrix  A,  respectively.

Complementary sub-matrix  A%5Bij%5D  to an element  a%5Bij%5D  of a matrix  A  is        
the matrix which is obtained from the original matrix  A  after deleting
the  i-th row and  j-th column where the element  a%5Bij%5D  is located.
Figures  3a,  3b  and  3c  show the complementary sub-matrices to the
elements  a%5B11%5D,  a%5B12%5D  and  a%5B13%5D  of the first row of the  3x3  matrix  A.
      

Figure 3a. Complementary    
      sub-matrix A%5B11%5D
      

Figure 3b. Complementary    
     sub-matrix A%5B12%5D
      

Figure 3c. Complementary
      sub-matrix A%5B13%5D
Proof

The proof is straight-forward.  Simply re-group the terms in the determinant definition by grouping the pairs of additives that have the common factors  a%5B11%5D,  a%5B12%5D  and  a%5B13%5D.
     det

= a%5B11%5Da%5B22%5Da%5B33%5D + a%5B12%5Da%5B23%5Da%5B31%5D + a%5B13%5Da%5B21%5Da%5B32%5D - a%5B13%5Da%5B22%5Da%5B31%5D - a%5B12%5Da%5B21%5Da%5B33%5D - a%5B11%5Da%5B32%5Da%5B23%5D =
                                      = (a%5B11%5Da%5B22%5Da%5B33%5D - a%5B11%5Da%5B32%5Da%5B23%5D)   +   (a%5B12%5Da%5B23%5Da%5B31%5D - a%5B12%5Da%5B21%5Da%5B33%5D)   +   (a%5B13%5Da%5B21%5Da%5B32%5D - a%5B13%5Da%5B22%5Da%5B31%5D) =

                                      = a%5B11%5D.(a%5B22%5Da%5B33%5D - a%5B32%5Da%5B23%5D)        -   a%5B12%5D.(a%5B21%5Da%5B33%5D - a%5B31%5Da%5B23%5D)        +   a%5B13%5D.(a%5B21%5Da%5B32%5D - a%5B31%5Da%5B22%5D)  =  a%5B11%5D%2Adet%28A%5B11%5D%29 - a%5B12%5D%2Adet%28A%5B12%5D%29 + a%5B13%5D%2Adet%28A%5B13%5D%29.

It is what has to be proved.
The same proof is shown in  Figures  4a - 4c  visually.              










  Combination of
Fig.2a  and  Fig.2f

    

Fig. 4a. The terms                  
a%5B11%5Da%5B22%5Da%5B33%5D-a%5B11%5Da%5B32%5Da%5B23%5D
=a%5B11%5D.(a%5B22%5Da%5B33%5D+-+a%5B32%5Da%5B23%5D)

  Combination of
Fig.2b  and  Fig.2e

    

Fig. 4b. The terms                  
a%5B12%5Da%5B23%5Da%5B31%5D-a%5B12%5Da%5B21%5Da%5B33%5D
=-a%5B12%5D.(a%5B21%5Da%5B33%5D+-+a%5B31%5Da%5B23%5D)

  Combination of
Fig.2c  and  Fig.2d

    

Fig. 4c. The terms
a%5B13%5Da%5B21%5Da%5B32%5D-a%5B13%5Da%5B31%5Da%5B22%5D)
= a%5B13%5D.(a%5B21%5Da%5B32%5D+-+a%5B31%5Da%5B22%5D)

Expansion in the  Theorem  is co-factoring the determinant along the first row.  Similarly to that there are formulas for co-factoring the determinant along other rows.
For example,  co-factoring along the second row is   det%28A%29 = -a%5B21%5D%2Adet%28A%5B21%5D%29 + a%5B22%5D%2Adet%28A%5B22%5D%29 - a%5B23%5D%2Adet%28A%5B23%5D%29   (notice the signs in this expansion).
Co-factoring along the third row is                           det%28A%29 =   a%5B31%5D%2Adet%28A%5B31%5D%29 - a%5B32%5D%2Adet%28A%5B32%5D%29 + a%5B33%5D%2Adet%28A%5B33%5D%29   (again, notice the signs).
Here  A%5Bij%5D  are complementary  2x2  sub-matrices to the elements  a%5Bij%5D  in the matrix  A.

The rule of signs in co-factoring the  3x3  determinants is given by the matrix in the  Figure 5.              
These are the signs to put them before each expansion term.


      
Fig. 5. The rule of signs

Example 1

Calculate the determinant of the matrix A =

 
using co-factoring along the first line.

Solution
det

 

=   1*det%28matrix%282%2C2%2C5%2C6%2C8%2C9%29%29 - 2*det%28matrix%282%2C2%2C4%2C6%2C7%2C9%29%29 + 3*%28matrix%282%2C2%2C4%2C5%2C7%2C8%29%29 = 1*(5*9 - 8*6) - 2*(4*9 - 7*6) + 3*(4*8 - 7*5) = (45 - 48) - 2*(36 - 42) + 3*(32 - 35) =
= -3 - 2*(-6) + 3*(-3) = -3 + 12 - 9 = 0.


Example 2

Calculate the determinant of the matrix A =

 
using co-factoring along the first line.

Solution
det

 

=   1*det%28matrix%282%2C2%2C5%2C4%2C8%2C7%29%29 - 2*det%28matrix%282%2C2%2C6%2C4%2C7%2C7%29%29 + 3*%28matrix%282%2C2%2C6%2C5%2C7%2C8%29%29 = 1*(5*7 - 8*4) - 2*(6*7 - 7*4) + 3*(6*8 - 7*5) = (35 - 32) - 2*(42 - 28) + 3*(48 - 35) =
= 3 - 2*14 + 3*13 = 3 - 28 + 39 = 14.


There are formulas for co-factoring the determinant along the columns.
For example,  co-factoring along the first column is   det%28A%29 =     a%5B11%5D%2Adet%28A%5B11%5D%29 - a%5B21%5D%2Adet%28A%5B21%5D%29 + a%5B31%5D%2Adet%28A%5B31%5D%29.
Co-factoring along the second column is                      det%28A%29 = -  a%5B12%5D%2Adet%28A%5B12%5D%29 + a%5B22%5D%2Adet%28A%5B22%5D%29 - a%5B32%5D%2Adet%28A%5B32%5D%29.
Co-factoring along the third column is                        det%28A%29 =     a%5B13%5D%2Adet%28A%5B13%5D%29 - a%5B23%5D%2Adet%28A%5B23%5D%29 + a%5B33%5D%2Adet%28A%5B33%5D%29.

Again,  the signs before the individual terms are ruled by the matrix in the  Figure 5.


There is very convenient  solver for calculating determinants of  3x3  matrices  in this site.

My other lessons on determinants of 3x3 matrices and using determinants to solve systems of linear equations in three unknowns are
    - Determinant of a 3x3 matrix
    - HOW TO solve system of linear equations in three unknowns using determinant (Cramer's rule)
    - Solving systems of linear equations in three unknowns using determinant (Cramer's rule)
    - Solving word problems by reducing to systems of linear equations in three unknowns
    - The tricks to solve some word problems with three and more unknowns using mental math
    - Solving systems of non-linear equations in three unknowns using Cramer's rule
    - Sometime two equations are enough to find three unknowns by an UNIQUE way
    - Two very different approaches to one word problem
    - Solving word problems in three unknowns by the backward method
    - Solving system of linear equation in 17 unknowns
    - Solving system of linear equation in 19 unknowns
    - OVERVIEW of LESSONS on determinants of 3x3-matrices and Cramer's rule for systems in 3 unknowns
under the current topic  Matrices, determinant, Cramer rule  of the section  Algebra-II.


Use this file/link  ALGEBRA-II - YOUR ONLINE TEXTBOOK  to navigate over all topics and lessons of the online textbook  ALGEBRA-II.


This lesson has been accessed 4131 times.