Unit 4 · Topic 4.11 · about 30 minutes · 7 parts · 14 scored checks, 2 of them multiple choice
AP Precalculus 4.11: The Inverse and Determinant of a Matrix
Not assessed on the AP Exam. Unit 4 is part of the course, but nothing in it is on the exam.
Part 1 Think first Can Leo read the message?
Guess before you learn. A wrong guess still makes the answer stick.
Predict first
Maya sends Leo pairs of secret numbers. She writes each pair as a column and multiplies it by the matrix , then sends the result. Leo knows the matrix she used. Can he always work out the pair she started with?
In short. The inverse of a square matrix is the matrix whose product with is the identity matrix , and a matrix has one exactly when its determinant, , is not 0.
- The identity matrix has 1s on the diagonal from the top left to the bottom right and 0s everywhere else, and for a square matrix .
- For with , , and .
- With two vectors from in its columns or rows, is the area of the parallelogram they span when it is not 0, and means the vectors are parallel.
Part 2 Learn it Undoing a matrix
2a. The matrix that changes nothing
Multiplying a number by 1 leaves it alone. Matrices have their own version of 1. The identity matrix, , is a square matrix with 1s on the diagonal that runs from the top left to the bottom right and 0s everywhere else:
The first is the identity and the second the one. You use the one that matches the size of the square matrix it meets.
Multiply a square matrix by its identity, on either side, and you get the matrix you started with. Take . Row 1 of times column 1 of is , and row 1 times column 2 is . Row 2 works the same way, so . In the other order, too.
The 1s have to sit on that diagonal. The matrix has them on the other one, and multiplying by it on the right swaps the two columns of instead of keeping them.
Quick check · Sort it
Let . Each card is a product. Tap a card, then tap whether the product equals .
Equals
Does not equal
2b. One number from four components
Every matrix has a number attached to it called its determinant. For ,
Multiply along the diagonal from the top left, then subtract the product along the other diagonal. For that is .
Negative components are where the slips happen. In the second product is , and subtracting it adds 12: . Write each product in parentheses before you subtract.
A graphing calculator can find a determinant too, which is a good way to check your arithmetic. Still, a determinant by hand takes a few seconds, and you will want it that fast in the rest of this lesson.
Quick check · Multiple choice
What is for ?
2c. The inverse, and when there is one
The inverse of a square matrix , written , is the matrix whose product with is the identity:
For , swap and , change the signs of and , and divide every component by the determinant:
Take . Its determinant is , so . Check one component: row 1 of times column 1 of is . The other three components come out 0, 0 and 1, so the product is .
The formula divides by , and nothing can be divided by 0. A square matrix has an inverse exactly when its determinant is not 0. Maya's matrix has determinant , which is why Leo could not undo it. A calculator's inverse command gives the same matrix as the formula, and gives an error for a determinant of 0.
Quick check · Spot the error
A student finds the inverse of . Tap the first line that goes wrong.
2d. Area and parallel vectors
A matrix can hold two vectors from , one in each column. The matrix holds in its first column and in its second. Draw both from the origin and complete the parallelogram, as in the left picture in the diagram.
When the determinant is not 0, its absolute value is the area of that parallelogram. Here , so the area is 10 square units. Put the same vectors in the rows, , and the determinant is again.
The order of the vectors can flip the sign. With the columns swapped, has determinant . An area is never negative, so take the absolute value.
When the determinant is 0, the vectors are parallel. and give , with determinant . The second vector is 2 times the first, so the parallelogram flattens onto a line, as in the right picture. Maya's columns, and , are parallel for the same reason.
Quick check · Calculate
What is the area, in square units, of the parallelogram spanned by the vectors and ?
Part 3 Watch it done Find an inverse and check it
Watch each step, then do the last one yourself.
Find the inverse of , then check that .
Step 1 · Find the determinant
. It is not 0, so has an inverse.
Why this step?
Why find the determinant before anything else?
The last step divides by it. If it were 0 there would be no inverse, and the swapping and sign changes would be wasted work. Here it is 2, so the inverse exists.
Step 2 · Swap and change signs
Swap and , and change the signs of and : .
Step 3 · Divide by the determinant
Multiply that matrix by , which divides each component by 2. The top left component becomes , and the other three are divided the same way.
Your step · Calculate
Finish it. For , . What is the component in row 1, column 2 of ?
Now check the product. . Row 1 times column 1 is , and row 1 times column 2 is . Row 2 gives and . The product is , so the inverse is right.
Part 4 Try it Choose a key the club can decode
A robotics club sends messages in a number code. Each letter becomes its place in the alphabet (A is 1, B is 2, and so on), the numbers are taken in pairs, and each pair is written as a column and multiplied by a key matrix. The receiver multiplies each coded column by the inverse of the key to get the letters back. Two keys were proposed. Work on paper.
| Key | Matrix |
|---|---|
Try it · Decide and justify
A code multiplies each pair of numbers, written as a column, by a key matrix, and the receiver decodes with the inverse of the key. Can be used as a key that can always be decoded?
Which reason supports your answer?
Try it · Calculate
A code multiplies each pair of numbers, written as a column, by the key . A coded column arrives as . Decode it by multiplying by . What is the top component of the decoded column, the first number of the original pair?
Part 5 Explain it Put it in writing
Nothing you type leaves this page. Check your answer against the model and each point on the list.
Unit 4 is not on the AP Exam, so this is written practice for the course.
Written practice
Let and .
(i) Determine and explain how it shows that has an inverse.
(ii) Determine , and justify your answer by showing that .
(iii) Determine . Describe what it tells you about the column vectors of , and explain whether has an inverse.
Model answer
(i) . A matrix has an inverse exactly when its determinant is not 0, and . (ii) Swapping 3 and 2, changing the signs of and 4, and dividing by 10 gives . In , row 1 times column 1 is , row 1 times column 2 is , row 2 times column 1 is , and row 2 times column 2 is . So . (iii) . So the column vectors and are parallel; in fact , and the parallelogram they span has no area. has no inverse, because the formula would divide by .
Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.
Part 6 Check yourself Three matrices
The three case questions use the same table of three matrices. Answer them from its components.
Three matrices, , and , are given in the table.
| Name | Matrix |
|---|---|
Case question 1 · Multiple choice
Which matrix is , the inverse of ?
Case question 2 · Calculate
The rows of are the vectors and . What is the area, in square units, of the parallelogram they span?
Case question 3 · Decide and justify
The columns of are the vectors and . Are the two vectors parallel?
Which reason supports your answer?
The rest stand on their own and do not use the case.
Check yourself · Select all
Which two of these matrices have an inverse? Pick two.
Select 2 answers, then check.
Check yourself · Fill the statement
Let and . Multiply by , then complete the statement. Tap a blank, then tap an answer.
= , so = .
Part 7 Keep it Bring back earlier ideas
Pulling an older idea back up is what makes it last.
From 4.10 Matrices · Calculate
Let and . What is the component in row 2, column 2 of ?
From 2.8 Inverse Functions · Put it in order
Put the steps for finding the inverse of in order. Tap them in sequence.
In three lines
- The identity matrix has 1s on the diagonal from the top left to the bottom right and 0s elsewhere, and .
- , and exists exactly when ; then .
- With two vectors in its columns or rows, is the area of the parallelogram they span, and means they are parallel.
Vocabulary
- Square matrix
- A matrix with as many rows as columns, such as a matrix; identity matrices and inverses are square.
- Identity matrix
- The square matrix with 1s on the diagonal from the top left to the bottom right and 0s everywhere else, so that for a square matrix of the same size.
- Inverse of a matrix
- For a square matrix , the matrix with ; it exists exactly when .
- Determinant
- For , the number .
- Parallelogram spanned by two vectors
- The parallelogram that has the two vectors, drawn from one point, as adjacent sides; its area is for the matrix that holds the vectors in its columns or rows.
Course alignment, for teachers
AP Precalculus topic 4.11, Unit 4: Functions Involving Parameters, Vectors, and Matrices.
- Skill 1.B: Express functions, equations, or expressions in analytically equivalent forms that are useful in a given mathematical or applied context.
- Skill 3.B: Apply numerical results in a given mathematical or applied context.
This lesson maps all 7 essential knowledge statements of the topic to the part that teaches each one: 7 are checked by a scored question. The map is in the lesson file.