AP Precalculus · Unit 4 · Topics 4.10–4.14
Matrices
Start with rows and columns. Then use the same multiplication rule to solve a system, rotate a triangle and predict how two groups change over time.
Read a matrix by rows and columns
A matrix organizes numbers in a rectangular array. Its dimensions are written rows first, columns second. In an matrix , the entry is in row , column .
This matrix has dimensions . For instance, because the second row's third entry is .
| Term | How to recognize it |
|---|---|
| Square matrix | , with the same number of rows and columns |
| Row matrix | , with one row |
| Column matrix | , with one column |
| Zero matrix | Every entry is . Any dimensions are possible. |
| Main diagonal | Entries |
Choose the identity of the correct size
An identity matrix is square, with on the main diagonal and elsewhere. It acts like a multiplicative identity.
For an matrix, . A matrix uses on the left and on the right. For a square matrix the two identity sizes agree.
Course scope. Topics 4.10–4.14 are optional AP Precalculus classroom material. The AP exam assesses Units 1–3. The hand calculations below focus on the products, inverses, determinants, plane transformations and two-state models in the framework. The original methods are included as extensions.
Add, subtract and scale entries
Add or subtract corresponding entries only when both matrices have the same dimensions. A matrix and a matrix both contain six numbers, but their dimensions are different.
Worked example · Add corresponding positions
Multiply every entry by a scalar
A scalar is a single number. If a matrix is multiplied by , the dimensions stay the same and .
Worked example · Scale by three
Worked example · Find a linear combination
Scale each matrix first.
Then subtract by position.
Multiply one row by one column
Start with the dimensions. The number of columns in the first matrix must equal the number of rows in the second. The two outer dimensions give the product's size.
To find the entry in row , column of , pair row from with column from . Multiply along the pairs and add.
Worked example · Trace the four entries of a product
Choose an output entry. Its row in the first matrix, column in the second matrix, and position in the result are shaded.
In reverse order, the first row starts with . The full reverse product is
Here . For rectangular matrices, the reverse product may even be undefined.
Worked example · Multiply a rectangular matrix by a vector
A matrix times a column vector gives a result.
The reverse product is undefined because the inner dimensions would be and .
Use the properties that preserve order
| Property | Rule |
|---|---|
| Addition order | |
| Addition grouping | |
| Multiplication grouping | |
| Distribution | and |
| Identity | for matrix |
| Transpose of a product |
The transpose turns rows of into columns. The transpose of an matrix has size . Transposing a product reverses the order of its factors.
Use the determinant to find an inverse
The determinant is a single number defined for a square matrix. To compute it for a matrix, multiply down the main diagonal, then subtract the product along the other diagonal.
Worked example · Find a determinant and an area
As column vectors, and span a parallelogram with area square units. Swapping the columns changes the determinant to and leaves the area at .
In the plane, gives the area scale factor of the transformation. If the determinant is zero, the columns are linearly dependent. They lie on the same line through the origin, or one or both are the zero vector. The parallelogram has area .
The inverse takes you back to the input
When it exists, satisfies . A square matrix has an inverse exactly when its determinant is nonzero. A square matrix with determinant zero is called singular.
- Compute and check that the result is nonzero.
- Swap and , then change the signs of and .
- Multiply the whole matrix by and check that the product with is the identity.
Worked example · Invert a matrix with a negative determinant
Multiplying in either order gives . The negative determinant is nonzero, so the inverse exists.
On a graphing calculator, enter the matrix with its row and column sizes, then use the determinant function or apply the inverse operation to the stored matrix. Multiply back by the original matrix to check the result.
Extension · Determinants and inverses for
You can expand a determinant along any row or column. Delete the entry's row and column and take the determinant of the remaining matrix to find its minor. The cofactor signs across the first row are .
Combine the signed products , , and . They sum to .
Since , this is singular. You can also use Sarrus' rule for a determinant by repeating the first two columns and subtracting the sum of upward diagonal products from the sum of downward diagonal products.
For an invertible square matrix of this size, , where the adjugate is the transpose of the signed cofactor matrix. In three dimensions, gives the volume scale factor.
Solve a system with an inverse matrix
Write the coefficients of each equation as a row of , the unknowns as a column , and the right-hand constants as a column . In , multiply both sides on the left by , when it exists.
Worked example · Solve two equations together
The coefficient matrix has determinant , so its inverse is .
Check and in both original equations. They give and , respectively.
If is singular, a square system may be inconsistent or have infinitely many solutions. Use elimination to distinguish these cases. For a matrix equation in the order with invertible , multiply on the right to obtain .
Transform points and shapes with matrices
A matrix defines a linear transformation of vectors in the plane. Each output coordinate is a sum of multiples of the input coordinates, so the origin maps to the origin.
To build from a transformation, transform and . Their images become the first and second columns of . With a polygon, place the vertex coordinates in the columns of a matrix. Each column of the product then gives one transformed vertex.
| Transformation | Matrix | Image of |
|---|---|---|
| Reflect across the -axis | ||
| Reflect across the -axis | ||
| Reflect across | ||
| Scale about the origin by | ||
| Rotate counterclockwise by | Read the two row-by-column products. | |
| Rotate counterclockwise |
Worked example · Rotate a point counterclockwise
The first basis vector maps to , and the second to . Put those images in the columns of , then multiply the column vector for .
The inverse uses the opposite turn. It maps back to .
Compose transformations in the order they happen
If rotates and reflects across the -axis, rotating first and reflecting second gives . The rightmost matrix acts first. From , this order gives . Applying first and then gives .
When is invertible, the reverse transformation is . Composition with in either order maps every vector back to itself.
Predict changes with a two-state model
Suppose a group of students uses two study rooms. Each day, of Room A's students switch to B and of Room B's students switch to A. Assume the same group and transition rates each day. Write the counts in a state vector with Room A first.
Column one describes students starting in Room A and column two describes students starting in Room B. Each column adds to . The first row collects everyone expected in A at the next step. The second row collects everyone expected in B.
Worked example · Move forward, backward and toward a steady state
Start with . Multiply by to obtain the next expected counts.
A second step gives . Decimal counts are model estimates. The total remains at each step.
For a steady state , the distribution stays fixed after another step. The expected flow from A to B equals the flow from B to A.
Thus , so and . The model approaches these counts from the starting distribution. Since , you can also multiply a later vector by to recover the previous state in the exact model. For example, .
Check the context. If reverse multiplication applied to rounded or measured counts yields a negative value, that vector cannot describe actual groups. Check the initial assumptions and input data.
Quick reference
| Task | Check or formula |
|---|---|
| Add or subtract | Both dimensions agree. |
| Multiply | Inner dimensions match. The outer dimensions give the result size. |
| Find a determinant | |
| Invert a matrix | , with |
| Solve | , when is invertible |
| Apply two transformations | With column vectors, the rightmost matrix acts first. |
| Predict a state |
Nine practice problems
Write the dimensions or operation before you calculate. Open each solution to check your work.
-
Find the dimensions and the entry of the matrix below.
Show solution 1
There are two rows and three columns, so it is . Row two, column three is .
-
Find for these matrices.
Show solution 2
Double , then subtract by position.
-
Compute and decide whether is defined.
Show solution 3
The product is . Compute and , giving . For , the inner dimensions are and , so that order is undefined.
-
Find the area spanned by the two columns of .
Show solution 4
The determinant is . Its absolute value gives square units.
-
Find the inverse of .
Show solution 5
The determinant is . Swap the diagonal entries, change the off-diagonal signs and scale by .
-
Solve the system and using an inverse.
Show solution 6
The coefficient determinant is .
Multiplying the constants column gives , . Substitution gives and in the two equations.
-
Reflect across the -axis, then rotate counterclockwise.
Show solution 7
The reflection gives . The rotation sends that point to . With column vectors, the reflection matrix is on the right in the product.
-
Use the study-room transition matrix above. Starting with in A and in B, find the next state and the steady state.
Show solution 8
At the next step the counts are and . The steady state is in A and in B, since the rates and total are the same as in the worked example.
-
For what value of is singular?
Show solution 9
The determinant is . Set it equal to zero to get . The columns are then and , so one is twice the other.
Course framework and related exam practice
Use the College Board framework and the exercises here for the matrix topics in Unit 4. For assessed work on related function ideas, 2026 Free-Response Question 1 asks you to evaluate a composition and justify invertibility from a graph.
- College Board course framework · Topic 4.10
- 2026 AP Precalculus FRQ 1 · Function concepts
- 2026 FRQ 1 scoring guidelines
Want to check your matrix setup or work through a transformation? A NUM8ERS tutor can help with your class examples.
Book Free ConsultationLesson by NUM8ERS.