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 matrix.
- Calculate a determinant by cofactor expansion along any row or column.
- Find determinants of 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 matrix: the determinant . 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 or bigger. The answer is to break it into determinants you already know.
Definition
Minors and cofactors
For an element of a square matrix :
- the minor is the determinant of the matrix left when you delete row and column ;
- the cofactor is the minor with a sign attached: .
The signs follow a chessboard pattern, starting with in the top left:
For example, in
delete row 1 and column 2 to get the minor of :
Position has a sign, so the cofactor is .
In a matrix, the minor of the element is . What is the cofactor ?
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:
Along the first row of a matrix this is
Every row and every column gives the same answer.
Choose a row or column to expand along, and tap an element to see its minor. Every choice gives . Which row or column needs the least work?
Worked example
Find a determinant by cofactor expansion
Without technology, find the determinant of
Step 1: Choose a row or column with a zero
Row 2 contains a , so expanding along it needs only two determinants. Its signs are .
Every row and column gives the same determinant. A element contributes , so you can skip its minor.
Step 2: Find the cofactor of
Delete row 2 and column 1: .
Step 3: Find the cofactor of
Delete row 2 and column 3: .
Step 4: Multiply and add
.
Step 5: Check along the first row
. The two expansions agree.
Try it yourself first, then check the working one step at a time.
Answer
. Since it is non-zero, is non-singular.
Method
Pick the row or column with the most zeros.
Attach the signs from the pattern , , .
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 for the middle term of a first-row expansion.
Tip
Let the zeros work for you
An element that is 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 .
Without technology
determinants by cofactor expansion: three determinants, fewer if you pick a row or column with zeros. You need this whenever the matrix contains a letter, such as , because a graphics calculator cannot handle it.
With technology
The syllabus expects and larger determinants with technology. Enter the matrix in the calculator's matrix editor and use . A determinant by hand would need four determinants, which is twelve 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 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 of any order is
- singular if : it has no inverse;
- non-singular if : 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 .
Worked example
Find the values of that make a matrix singular
Find the values of for which the matrix
has no inverse.
Step 1: Translate the question
has no inverse exactly when it is singular, that is, .
Step 2: Expand along the first row
The first row holds both appearances of that matter, and the middle minor turns out to be .
Step 3: Simplify and factorise
.
Step 4: Solve
, so or .
Step 5: Check
When , rows 2 and 3 are both . When , columns 1 and 3 are both . Either way the matrix is clearly singular.
Try it yourself first, then check the working one step at a time.
Answer
has no inverse when or (and is invertible for every other real ).
Method
Write as a polynomial in by cofactor expansion.
Set it equal to zero and solve.
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 without solving, or giving only one of the two values.
Find all values of for which is singular.
Common mistake
det(2A) is not 2 det(A)
Multiplying a matrix by multiplies each of its three rows by , and each row multiplies the determinant by . So , and for an matrix, .
Two other facts worth knowing: , 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: . Most lost marks in determinants are sign slips in the middle term.
Summary
The minor is the determinant left after deleting row and column ; the cofactor is .
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 and larger determinants of numbers; expand by hand when the matrix has a parameter.
A matrix is singular when and has no inverse; non-singular when .
for an matrix.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.