Lesson 1 of 8 · 16 min

Determinants beyond 2 × 2

Expand a 3 × 3 determinant along any row or column using minors and cofactors, find larger determinants with technology, and use the determinant to decide whether a matrix is singular.

What you will be able to do

  • Find the minor and cofactor of any element of a 3×33 \times 3 matrix.
  • Calculate a 3×33 \times 3 determinant by cofactor expansion along any row or column.
  • Find determinants of 3×33 \times 3 and larger matrices with technology.
  • Decide whether a square matrix is singular, and find the values of a parameter that make it singular.

In Unit 1 one number told you almost everything about a 2×22 \times 2 matrix: the determinant ad−bcad - bc. If it was zero, the matrix had no inverse and a system of two equations had no unique solution.

Every square matrix has a determinant, whatever its size, and it does the same job. The question is how to calculate it when the matrix is 3×33 \times 3 or bigger. The answer is to break it into 2×22 \times 2 determinants you already know.

Definition

Minors and cofactors

For an element aija_{ij} of a square matrix A\bm{A}:

  • the minor MijM_{ij} is the determinant of the matrix left when you delete row ii and column jj;
  • the cofactor is the minor with a sign attached: Cij=(−1)i+jMijC_{ij} = (-1)^{i + j}M_{ij}.

The signs follow a chessboard pattern, starting with ++ in the top left:

[+−+−+−+−+]\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix}

For example, in

A=[2−13104−251]\bm{A} = \begin{bmatrix} 2 & -1 & 3 \\ 1 & 0 & 4 \\ -2 & 5 & 1 \end{bmatrix}

delete row 1 and column 2 to get the minor of a12=−1a_{12} = -1:

M12=∣14−21∣=1−(−8)=9M_{12} = \begin{vmatrix} 1 & 4 \\ -2 & 1 \end{vmatrix} = 1 - (-8) = 9

Position (1,2)(1, 2) has a −- sign, so the cofactor is C12=−9C_{12} = -9.

In a 3×33 \times 3 matrix, the minor of the element a23a_{23} is M23=7M_{23} = 7. What is the cofactor C23C_{23}?

Key idea

Cofactor expansion

The determinant of a square matrix is found by choosing any one row or column, multiplying each element in it by its cofactor, and adding:

det⁡(A)=ai1Ci1+ai2Ci2+ai3Ci3(along row i)\det(\bm{A}) = a_{i1}C_{i1} + a_{i2}C_{i2} + a_{i3}C_{i3} \quad \text{(along row } i\text{)}

Along the first row of a 3×33 \times 3 matrix this is

∣abcdefghi∣=a∣efhi∣−b∣dfgi∣+c∣degh∣\begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix} = a\begin{vmatrix} e & f \\ h & i \end{vmatrix} - b\begin{vmatrix} d & f \\ g & i \end{vmatrix} + c\begin{vmatrix} d & e \\ g & h \end{vmatrix}

Every row and every column gives the same answer.

Interactive

Expand along any row or column

Choose a row or column to expand along, and tap an element to see its minor. Every choice gives det⁡(A)=−16\det(\bm{A}) = -16. Which row or column needs the least work?

Worked example

Find a 3×33 \times 3 determinant by cofactor expansion

  • Simple familiar
  • Technology free

Without technology, find the determinant of

A=[2−13104−251]\bm{A} = \begin{bmatrix} 2 & -1 & 3 \\ 1 & 0 & 4 \\ -2 & 5 & 1 \end{bmatrix}
5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Pick the row or column with the most zeros.

  2. Attach the signs from the pattern +−++ - +, −+−- + -, +−++ - +.

  3. Multiply each element by its cofactor and add.

Watch out for

  • Using +  +  ++ \; + \; + along row 2: the middle row starts with a minus sign.

  • Dropping the bracket in −(−1)-(-1) for the middle term of a first-row expansion.

Tip

Let the zeros work for you

An element that is 00 contributes nothing, so expand along the row or column with the most zeros.

If a matrix is triangular (all zeros below, or all zeros above, the leading diagonal), expanding down the first column again and again leaves only the diagonal: the determinant is the product of the diagonal elements.

Find det⁡[4−2703500−1]\det\begin{bmatrix} 4 & -2 & 7 \\ 0 & 3 & 5 \\ 0 & 0 & -1 \end{bmatrix}.

Without technology

3×33 \times 3 determinants by cofactor expansion: three 2×22 \times 2 determinants, fewer if you pick a row or column with zeros. You need this whenever the matrix contains a letter, such as kk, because a graphics calculator cannot handle it.

With technology

The syllabus expects 3×33 \times 3 and larger determinants with technology. Enter the matrix in the calculator's matrix editor and use det⁡( )\det(\,). A 4×44 \times 4 determinant by hand would need four 3×33 \times 3 determinants, which is twelve 2×22 \times 2 ones.

The determinant still decides whether a matrix can be inverted. In three dimensions it is the factor by which the matrix scales volume. A determinant of 00 means the matrix squashes space flat, onto a plane, a line or a point, and that cannot be undone.

Key idea

Singular and non-singular

A square matrix A\bm{A} of any order is

  • singular if det⁡(A)=0\det(\bm{A}) = 0: it has no inverse;
  • non-singular if det⁡(A)≠0\det(\bm{A}) \neq 0: it has an inverse.

A matrix is always singular when one row (or column) is a multiple of another, or a combination of the others, such as R3=R1+R2R_3 = R_1 + R_2.

Worked example

Find the values of kk that make a matrix singular

  • Complex familiar
  • Technology free

Find the values of kk for which the matrix

M=[k231k1111]\bm{M} = \begin{bmatrix} k & 2 & 3 \\ 1 & k & 1 \\ 1 & 1 & 1 \end{bmatrix}

has no inverse.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write det⁡(M)\det(\bm{M}) as a polynomial in kk by cofactor expansion.

  2. Set it equal to zero and solve.

  3. Check a value by looking for equal or proportional rows or columns.

Watch out for

  • Trying to use a calculator: it cannot find the determinant of a matrix with a letter in it.

  • Stopping at k2−4k+3k^2 - 4k + 3 without solving, or giving only one of the two values.

Find all values of kk for which [11k1k1k11]\begin{bmatrix} 1 & 1 & k \\ 1 & k & 1 \\ k & 1 & 1 \end{bmatrix} is singular.

k =

Press Enter or type a comma after each value.

Common mistake

det(2A) is not 2 det(A)

Multiplying a 3×33 \times 3 matrix by kk multiplies each of its three rows by kk, and each row multiplies the determinant by kk. So det⁡(kA)=k3det⁡(A)\det(k\bm{A}) = k^3\det(\bm{A}), and for an n×nn \times n matrix, kndet⁡(A)k^n\det(\bm{A}).

Two other facts worth knowing: det⁡(AB)=det⁡(A)det⁡(B)\det(\bm{AB}) = \det(\bm{A})\det(\bm{B}), and swapping two rows changes the sign of the determinant.

Exam tip

In the exam

Write the expansion before you evaluate it, with brackets around negative entries: 2(0−20)−(−1)(1+8)+3(5−0)2(0 - 20) - (-1)(1 + 8) + 3(5 - 0). Most lost marks in 3×33 \times 3 determinants are sign slips in the middle term.

Summary

  • The minor MijM_{ij} is the determinant left after deleting row ii and column jj; the cofactor is Cij=(−1)i+jMijC_{ij} = (-1)^{i+j}M_{ij}.

  • Expand along any row or column: multiply each element by its cofactor and add. Choose the row or column with the most zeros.

  • A triangular matrix has determinant equal to the product of its diagonal.

  • Use technology for 3×33 \times 3 and larger determinants of numbers; expand by hand when the matrix has a parameter.

  • A matrix is singular when det⁡=0\det = 0 and has no inverse; non-singular when det⁡≠0\det \neq 0.

  • det⁡(kA)=kndet⁡(A)\det(k\bm{A}) = k^n\det(\bm{A}) for an n×nn \times n matrix.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 1 of 80% read

Save your progress with a free account