Educerie · AP · Precalculus
Unit 4 Functions Involving Parameters, Vectors, and Matrices · 4.11 The Inverse and Determinant of a Matrix
This unit is not on the AP exam. The exam covers Units 1 to 3 only; Unit 4 is taught here for the course and for what comes after it.
Big ideas: A matrix that undoes another; one number, the determinant, that says whether the undoing is possible and measures an area.
Where it is examined: Not on the AP Precalculus exam. The College Board lists Unit 4 as an additional topic available to schools. If your school teaches it, the work is finding inverses and determinants by hand or with a calculator and using the determinant to decide invertibility.
The question this unit answers: When can a matrix be undone, and what does the number that decides it measure?
AP Precalculus 4.11
The Inverse and Determinant of a Matrix
When can a matrix be undone, and what does the number that decides it measure?
What you will learn
- Understand the identity matrix and the inverse as the matrix that undoes another
- Know that a 2 by 2 matrix is invertible exactly when its determinant is not zero
- Know that the absolute determinant is a parallelogram area and zero means parallel columns
You must be able to
- Find the determinant of a 2 by 2 matrix
- Build and check the inverse of a 2 by 2 matrix
- Solve a pair of linear equations with the inverse
- Find values of k that make a matrix non-invertible
- Find the area of a parallelogram from a determinant
- Explain why parallel columns give no inverse
1The identity matrix
The identity matrix is a square matrix with s on the diagonal from top left to bottom right, and s everywhere else.
Multiplying a square matrix by the identity matrix of the same size gives back the original matrix:
Example: .
The identity plays the part of the number in multiplication.
2The inverse
The inverse of a square matrix , when it exists, is the matrix for which
The product of a square matrix and its inverse is the identity matrix of the same size.
For numbers, the inverse of is , because . The matrix inverse does the same job.
Be careful with the notation. is the inverse matrix. It is not and it is not the matrix of reciprocals of the entries.
3The determinant
The determinant of the matrix is
Multiply along the main diagonal, then subtract the product along the other diagonal.
Worked example 1. Find for .
A calculator can find a determinant too. Use the determinant command on the stored matrix.
4The inverse of a matrix
When , the inverse of is
To build it: swap and , change the signs of and , and divide every entry by the determinant.
The inverse can also be found with a calculator. The formula is the quick way by hand.
Worked example 2. Find the inverse of .
The determinant is . Swap and , and negate and :
Check by multiplying:
Always check an inverse by multiplying. It takes a minute and catches sign errors.
Using an inverse to solve. The system and is . Multiply both sides on the left by :
Check: and .
5When there is no inverse
If , the formula would divide by zero, and there is no inverse.
Worked example 3. has . So has no inverse.
A square matrix has an inverse if and only if .
Worked example 4. For which values of does have no inverse?
For every other , the matrix has an inverse.
6The determinant as an area
Take the two columns of a matrix as vectors from the origin. They span a parallelogram.
The absolute value of the determinant equals the area of that parallelogram. The same is true for the rows.
Figure 1 shows . Read it in this order:
- The teal arrow is the first column, . The amber arrow is the second, .
- The shaded parallelogram has these two vectors as sides. Its fourth vertex is .
- Its area is , which is .
A check by another route: the vertices , , , give area by the shoelace formula.
If the determinant is zero, the parallelogram has no area. The two vectors lie along one line: they are parallel.
Example: for , the columns and are multiples of each other, so they are parallel. A flat "parallelogram" has area zero.
This gives the reason for the rule in section 6. A matrix with parallel columns squashes the whole plane onto a line, and you cannot recover the original vector from the squashed one. So there is no inverse.
The sign of the determinant tells you about orientation. The area is the absolute value.