AP® Precalculus review sheet from Aim for Five (aimforfive.com/precalc/units/4/4-11)
Unit 4 · Topic 4.11
4.11 The Inverse and Determinant of a Matrix
The identity matrix acts like the number 1 for matrix multiplication, and a matrix's inverse undoes it. For a 2 × 2 matrix, the determinant ad − bc tells you whether an inverse exists, and its absolute value is the area of the parallelogram formed by the matrix's rows or columns.
Key terms
- determinant
- identity matrix
- inverse matrix
- invertible
- parallelogram area
The identity matrix
The identity matrix I is square, with 1s on the main diagonal (top left to bottom right) and 0s everywhere else. The 2 × 2 identity is [1 0; 0 1].
Multiplying a square matrix by the identity of the same size leaves it unchanged: AI = IA = A.
The determinant
For A = [a b; c d], the determinant is det(A) = ad − bc. Multiply down the main diagonal and subtract the product of the other diagonal.
If the two columns (or the two rows) of A are vectors in the plane, the absolute value of det(A), when it isn't 0, is the area of the parallelogram they span.
If det(A) = 0, the two vectors lie on the same line through the origin (or one of them is the zero vector), so they don't span any area.
The sign of the determinant tells you the order of the two vectors: positive if the second column is counterclockwise from the first (turning less than half a turn), negative if it's clockwise. The area is the absolute value either way.
The inverse
The inverse of a square matrix A, written A⁻¹, satisfies AA⁻¹ = A⁻¹A = I. A has an inverse exactly when det(A) ≠ 0.
For a 2 × 2 matrix A = [a b; c d] with ad − bc ≠ 0: A⁻¹ = (1/(ad − bc)) [d −b; −c a]. Swap the diagonal entries, change the signs of the other two, and divide every entry by the determinant.
For larger matrices, use technology. You can always check an inverse by multiplying: the product should be I.
Why inverses are useful
Just as dividing undoes multiplying, multiplying by A⁻¹ undoes multiplying by A. If Ax = b, then x = A⁻¹b. This is how you work backward, as in topics 4.13 and 4.14.
For example, the system 4x + 7y = 5 and 2x + 6y = 0 can be written as A[x; y] = [5; 0] with A = [4 7; 2 6]. Using A⁻¹ = [0.6 −0.7; −0.2 0.4] from the first worked example, [x; y] = A⁻¹[5; 0] = [0.6(5) − 0.7(0); −0.2(5) + 0.4(0)] = [3; −1]. Check: 4(3) + 7(−1) = 5 and 2(3) + 6(−1) = 0.
Worked examples
Try each one yourself first, then open the solution.
- Example 1
Finding and checking an inverse
Find the inverse of A = [4 7; 2 6] and check it.
Show the solutionHide the solution
- Step 1: det(A) = 4(6) − 7(2) = 24 − 14 = 10, which isn't 0, so A has an inverse.
- Step 2: Swap 4 and 6, negate 7 and 2: [6 −7; −2 4]. Divide by 10: A⁻¹ = [0.6 −0.7; −0.2 0.4].
- Step 3: Check: row 1 of A times column 1 of A⁻¹ is 4(0.6) + 7(−0.2) = 2.4 − 1.4 = 1, and row 1 times column 2 is 4(−0.7) + 7(0.4) = 0. The second row gives 0 and 1 the same way, so AA⁻¹ = I.
Answer: A⁻¹ = (1/10)[6 −7; −2 4] = [0.6 −0.7; −0.2 0.4].
- Example 2
Area of a parallelogram
Find the area of the parallelogram spanned by ⟨3, 1⟩ and ⟨1, 4⟩.
Show the solutionHide the solution
- Step 1: Put the vectors in as columns: [3 1; 1 4].
- Step 2: det = 3(4) − 1(1) = 12 − 1 = 11.
- Step 3: Area = |11| = 11 square units.
Answer: 11 square units.
- Example 3
Trap: a matrix with no inverse
Find the inverse of B = [2 6; 1 3], if it exists.
Show the solutionHide the solution
- Step 1: det(B) = 2(3) − 6(1) = 0.
- Step 2: The formula would divide by 0, so B has no inverse.
- Step 3: Geometrically, the columns ⟨2, 1⟩ and ⟨6, 3⟩ are parallel (the second is 3 times the first), so they span no area.
Answer: B has no inverse, because det(B) = 0.
Common mistakes
- Swapping the wrong pair of entries in the inverse formula. Swap the main-diagonal entries a and d; negate b and c.
- Forgetting to divide by the determinant.
- Reporting a negative area. The area is the absolute value of the determinant.
On the exam
- Unit 4 is not on the AP Precalculus Exam, so you'll see this topic on class tests rather than in May.
- Expect to compute 2 × 2 determinants and inverses by hand, decide whether an inverse exists, and find parallelogram areas.
Connected topics
Videos
Check yourself
3 questions on 4.11 The Inverse and Determinant of a Matrix. Pick an answer to see if you got it, and why.
Matrices are written row by row, with rows separated by semicolons, so [a b; c d] has first row a, b and second row c, d. What is the inverse of M = [3 5; 1 2]?
What is the area of the parallelogram formed by the vectors ⟨4, 1⟩ and ⟨2, 3⟩?
Two grocery stores, A and B, compete for the same 1000 customers. Each week, 80% of store A's customers stay with A and 20% switch to B. Also, 70% of store B's customers stay with B and 30% switch to A.
The transition matrix T = [0.8 0.3; 0.2 0.7] models these changes. (Rows are separated by semicolons. Column 1 describes A's customers and column 2 describes B's.) If the column vector s = ⟨a, b⟩ gives the numbers of customers at A and B this week, then Ts gives the numbers next week.
This week, each store has 500 customers.
Invented scenario
According to the model, how many customers did store A have last week?
0 of 3 answered