PrepGo

AP PreCalculus Practice Quiz: Matrices as Functions

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Test your understanding with short quizzes. This quiz has 16 questions to check your progress.

Question 1 of 16

Which of the following best describes the relationship between a linear transformation and a matrix?

All Questions (16)

Which of the following best describes the relationship between a linear transformation and a matrix?

A) Every linear transformation can be associated with a unique matrix that performs the transformation on a vector.

B) A matrix is a visual representation of a vector, not a transformation.

C) Only rotation transformations can be represented by a matrix.

D) The determinant of a matrix is the linear transformation itself.

Correct Answer: A

Based on the provided content, there is a direct association between a linear transformation and a matrix. Specifically, a linear transformation L can be represented as L(v) = Av, where A is the matrix associated with the transformation.

Which matrix represents a linear transformation that rotates a vector 90 degrees counterclockwise about the origin?

A) $\begin{pmatrix} 1 & 0 \ 0 & 1 \end{pmatrix}$

B) $\begin{pmatrix} 0 & -1 \ 1 & 0 \end{pmatrix}$

C) $\begin{pmatrix} 0 & 1 \ -1 & 0 \end{pmatrix}$

D) $\begin{pmatrix} -1 & 0 \ 0 & -1 \end{pmatrix}$

Correct Answer: B

The general matrix for a counterclockwise rotation by an angle θ is given by $\begin{pmatrix} \\cos \\theta & -\\sin \\theta \\ \\sin \\theta & \\cos \\theta \end{pmatrix}$. For a 90-degree rotation, θ = 90°. Since cos(90°) = 0 and sin(90°) = 1, the matrix becomes $\begin{pmatrix} 0 & -1 \ 1 & 0 \end{pmatrix}$.

A linear transformation is represented by the matrix $A = \begin{pmatrix} 3 & 0 \ 0 & 2 \end{pmatrix}$. If this transformation is applied to a square region in $R^2$ with an area of 5, what will be the area of the resulting region?

A) 5

B) 6

C) 25

D) 30

Correct Answer: D

The magnitude of the dilation of regions is given by the absolute value of the determinant of the transformation matrix. The determinant of matrix A is (3)(2) - (0)(0) = 6. The new area is the original area multiplied by this dilation factor: 5 * |6| = 30.

Let $L_1$ be a linear transformation associated with matrix $A$, and $L_2$ be a linear transformation associated with matrix $B$. What is the matrix associated with the composition of transformations $L_2(L_1(\vec{v}))$?

A) A + B

B) A B

C) B A

D) A^{-1} B

Correct Answer: C

The content states that the matrix associated with the composition of two linear transformations is the product of the matrices. Since $L_1$ is applied first, followed by $L_2$, the corresponding matrix multiplication is $B \\times A$. The transformation is $L_2(L_1(\vec{v})) = L_2(A\vec{v}) = B(A\vec{v}) = (BA)\vec{v}$.

If a linear transformation $L$ is represented by an invertible matrix $A$, how is its inverse transformation, $L^{-1}$, represented?

A) By the transpose of A, $A^T$.

B) By the inverse of A, $A^{-1}$.

C) By the negative of A, $-A$.

D) By the determinant of A, det(A).

Correct Answer: B

According to the provided content, if a linear transformation, $L$, is given by $L(\vec{v}) = A\vec{v}$, then its inverse transformation is given by $L^{-1}(\vec{v}) = A^{-1}\vec{v}$. The inverse transformation is associated with the inverse of the matrix.

What is the inverse of the linear transformation that rotates every vector 45 degrees counterclockwise about the origin?

A) A rotation of 45 degrees clockwise.

B) A rotation of 135 degrees counterclockwise.

C) A scaling transformation that doubles the vector's length.

D) The identity transformation, which does not change the vector.

Correct Answer: A

The inverse of a linear transformation undoes the original transformation. The inverse of rotating a vector by an angle θ counterclockwise is to rotate it by θ clockwise (or by -θ counterclockwise). Therefore, the inverse of a 45-degree counterclockwise rotation is a 45-degree clockwise rotation.

What quantity derived from a $2 \\times 2$ transformation matrix indicates the factor by which the area of a region is scaled under the transformation?

A) The trace of the matrix.

B) The sum of the diagonal elements.

C) The absolute value of the determinant of the matrix.

D) The product of the elements on the main diagonal.

Correct Answer: C

The content explicitly states that 'The absolute value of the determinant of a 2x2 transformation matrix gives the magnitude of the dilation of regions in R^2 under the transformation.' This is the scaling factor for area.

A transformation $T_1$ rotates vectors 90 degrees counterclockwise, and a transformation $T_2$ is represented by the matrix $B = \begin{pmatrix} 2 & 0 \ 0 & 2 \end{pmatrix}$. What is the matrix for the composite transformation of first rotating by $T_1$, then applying $T_2$?

A) $\begin{pmatrix} 0 & -2 \ 2 & 0 \end{pmatrix}$

B) $\begin{pmatrix} 0 & 2 \ -2 & 0 \end{pmatrix}$

C) $\begin{pmatrix} 2 & -1 \ 1 & 2 \end{pmatrix}$

D) $\begin{pmatrix} 2 & 0 \ 0 & -2 \end{pmatrix}$

Correct Answer: A

The matrix for $T_1$ (90-degree counterclockwise rotation) is $A = \begin{pmatrix} 0 & -1 \ 1 & 0 \end{pmatrix}$. The composite transformation is $T_2(T_1(\vec{v}))$, which corresponds to the matrix product $BA$. So, we calculate $BA = \begin{pmatrix} 2 & 0 \ 0 & 2 \end{pmatrix} \begin{pmatrix} 0 & -1 \ 1 & 0 \end{pmatrix} = \begin{pmatrix} (2)(0)+(0)(1) & (2)(-1)+(0)(0) \ (0)(0)+(2)(1) & (0)(-1)+(2)(0) \end{pmatrix} = \begin{pmatrix} 0 & -2 \ 2 & 0 \end{pmatrix}$.

A linear transformation represented by the matrix $M = \begin{pmatrix} 4 & -1 \ -3 & 1 \end{pmatrix}$ is applied to a vector $\vec{w}$. If the resulting vector is $\begin{pmatrix} 2 \ 1 \end{pmatrix}$, what was the original vector $\vec{w}$?

A) $\begin{pmatrix} 7 \ 26 \end{pmatrix}$

B) $\begin{pmatrix} 3 \ 10 \end{pmatrix}$

C) $\begin{pmatrix} 1 \ 2 \end{pmatrix}$

D) $\begin{pmatrix} 9 \ 5 \end{pmatrix}$

Correct Answer: B

We are given $M\vec{w} = \begin{pmatrix} 2 \ 1 \end{pmatrix}$. To find $\vec{w}$, we must apply the inverse transformation, so $\vec{w} = M^{-1}\begin{pmatrix} 2 \ 1 \end{pmatrix}$. First, find $M^{-1}$. The determinant of M is (4)(1) - (-1)(-3) = 4 - 3 = 1. The inverse is $M^{-1} = \\frac{1}{1} \begin{pmatrix} 1 & 1 \ 3 & 4 \end{pmatrix} = \begin{pmatrix} 1 & 1 \ 3 & 4 \end{pmatrix}$. Now, calculate $\vec{w} = \begin{pmatrix} 1 & 1 \ 3 & 4 \end{pmatrix} \begin{pmatrix} 2 \ 1 \end{pmatrix} = \begin{pmatrix} (1)(2)+(1)(1) \ (3)(2)+(4)(1) \end{pmatrix} = \begin{pmatrix} 3 \ 10 \end{pmatrix}$.

The matrix $\begin{pmatrix} -1 & 0 \ 0 & -1 \end{pmatrix}$ corresponds to a counterclockwise rotation about the origin. What is the angle of rotation, θ?

A) 45 degrees

B) 90 degrees

C) 180 degrees

D) 270 degrees

Correct Answer: C

We compare the given matrix to the general rotation matrix $\begin{pmatrix} \\cos \\theta & -\\sin \\theta \\ \\sin \\theta & \\cos \\theta \end{pmatrix}$. We need $\\cos \\theta = -1$ and $\\sin \\theta = 0$. This occurs when the angle θ is 180 degrees (or π radians).

Let $L_\\theta$ be the linear transformation that rotates a vector by an angle $\\theta$ counterclockwise. What is the matrix associated with the composition $L_{60°}(L_{30°}(\vec{v}))$?

A) The matrix for a 30° counterclockwise rotation.

B) The matrix for a 90° counterclockwise rotation.

C) The matrix product of the 30° rotation matrix and the 60° rotation matrix.

D) The identity matrix.

Correct Answer: B

The composition of two rotations is another rotation where the angles add. A rotation of 30° followed by a rotation of 60° results in a total rotation of 30° + 60° = 90°. The resulting matrix is the one for a 90° counterclockwise rotation, $\begin{pmatrix} 0 & -1 \ 1 & 0 \end{pmatrix}$. This is consistent with the rule that the matrix of the composition is the product of the individual matrices.

A linear transformation is represented by the matrix $A = \begin{pmatrix} 2 & 4 \ 1 & 2 \end{pmatrix}$. What is the effect of this transformation on the area of any region in $R^2$?

A) The area is doubled.

B) The area is quadrupled.

C) The area remains unchanged.

D) The area is reduced to zero.

Correct Answer: D

The scaling factor for the area is the absolute value of the determinant of the transformation matrix. The determinant of A is det(A) = (2)(2) - (4)(1) = 4 - 4 = 0. Since the determinant is 0, the area of any transformed region will be the original area multiplied by |0|, which is 0. This means the transformation collapses the 2D space onto a line.

Which matrix represents the inverse of a linear transformation that rotates vectors by an angle $\\theta$ counterclockwise?

A) $\begin{pmatrix} \\cos \\theta & \\sin \\theta \\ -\\sin \\theta & \\cos \\theta \end{pmatrix}$

B) $\begin{pmatrix} -\\cos \\theta & \\sin \\theta \\ -\\sin \\theta & -\\cos \\theta \end{pmatrix}$

C) $\begin{pmatrix} \\sin \\theta & -\\cos \\theta \\ \\cos \\theta & \\sin \\theta \end{pmatrix}$

D) $\begin{pmatrix} 1/\\cos \\theta & -1/\\sin \\theta \\ 1/\\sin \\theta & 1/\\cos \\theta \end{pmatrix}$

Correct Answer: A

The original rotation matrix is $A = \begin{pmatrix} \\cos \\theta & -\\sin \\theta \\ \\sin \\theta & \\cos \\theta \end{pmatrix}$. The inverse transformation corresponds to the inverse matrix, $A^{-1}$. The determinant is $\\cos^2\\theta - (-\\sin^2\\theta) = \\cos^2\\theta + \\sin^2\\theta = 1$. The inverse is $A^{-1} = \\frac{1}{1} \begin{pmatrix} \\cos \\theta & \\sin \\theta \\ -\\sin \\theta & \\cos \\theta \end{pmatrix}$. This matrix also corresponds to a rotation by angle $-\\theta$.

If $L_A$ and $L_B$ are linear transformations with associated matrices A and B respectively, the action of applying $L_A$ and then $L_B$ to a vector $\vec{v}$ is represented by which matrix-vector product?

A) $(A+B)\vec{v}$

B) $(AB)\vec{v}$

C) $(BA)\vec{v}$

D) $(A^{-1}B)\vec{v}$

Correct Answer: C

The content states that the matrix for a composition is the product of the individual matrices. Applying $L_A$ first gives $A\vec{v}$. Then applying $L_B$ to this result gives $B(A\vec{v})$. By associativity of matrix multiplication, this is equivalent to $(BA)\vec{v}$. The matrix for the composite transformation is $BA$.

A transformation maps a parallelogram with an area of 10 to a new region with an area of 5. Which of the following could be the determinant of the transformation matrix?

A) 2

B) 10

C) -0.5

D) 5

Correct Answer: C

The new area is the original area multiplied by the absolute value of the determinant. So, $5 = 10 \\times |\det(A)|$. This implies $|\det(A)| = 5/10 = 0.5$. The determinant itself could be 0.5 or -0.5. Of the options provided, -0.5 is a possible value for the determinant.

Consider two linear transformations: $L_1$, a counterclockwise rotation by 90°, and $L_2$, a reflection across the x-axis, represented by the matrix $\begin{pmatrix} 1 & 0 \ 0 & -1 \end{pmatrix}$. What is the resulting matrix if you first apply the reflection ($L_2$) and then the rotation ($L_1$)?

A) $\begin{pmatrix} 0 & 1 \ 1 & 0 \end{pmatrix}$

B) $\begin{pmatrix} 0 & -1 \ -1 & 0 \end{pmatrix}$

C) $\begin{pmatrix} 1 & 0 \ 0 & 1 \end{pmatrix}$

D) $\begin{pmatrix} 0 & -1 \ 1 & 0 \end{pmatrix}$

Correct Answer: A

The matrix for $L_1$ (90° rotation) is $A = \begin{pmatrix} 0 & -1 \ 1 & 0 \end{pmatrix}$. The matrix for $L_2$ (reflection) is $B = \begin{pmatrix} 1 & 0 \ 0 & -1 \end{pmatrix}$. The composition of applying $L_2$ first, then $L_1$, is represented by the matrix product $AB$. So we calculate $AB = \begin{pmatrix} 0 & -1 \ 1 & 0 \end{pmatrix} \begin{pmatrix} 1 & 0 \ 0 & -1 \end{pmatrix} = \begin{pmatrix} (0)(1)+(-1)(0) & (0)(0)+(-1)(-1) \ (1)(1)+(0)(0) & (1)(0)+(0)(-1) \end{pmatrix} = \begin{pmatrix} 0 & 1 \ 1 & 0 \end{pmatrix}$.