How is a matrix a function that takes a vector to a vector, and what do composition and inverse mean for it?
Topic 4.13 Matrices as Functions: interpret a matrix as a function from vectors to vectors, and relate matrix multiplication to composition and the inverse matrix to the inverse function.
A focused answer to AP Precalculus Topic 4.13, covering how a matrix is a function from input vectors to output vectors, how matrix multiplication corresponds to composing these functions, and how the inverse matrix undoes the transformation.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this topic is asking
The College Board (Topic 4.13) wants you to view a matrix as a function whose input is a vector and whose output is a vector. In this view, matrix multiplication is composition of functions, the identity matrix is the do-nothing function, and the inverse matrix is the inverse function that undoes the transformation.
A matrix as a function on vectors
So the domain and range are sets of vectors, and the matrix is the rule, exactly the function structure of Unit 2 with vectors in place of numbers.
Multiplication is composition
Composition of matrix functions is the geometric "do one transformation then another", and it is computed by multiplying the matrices in the right order.
The identity and the inverse
Why this view unifies the unit
A point worth stating once is that the function lens turns every matrix fact into a familiar function fact. Multiplication is composition (Topic 2.7), the identity matrix is , the inverse matrix is (Topic 2.8), and the invertibility condition is the matrix form of one-to-one. Even non-commutativity becomes intuitive: composing functions in a different order generally gives a different function. Reading matrices as functions on vectors lets you transfer all the reasoning you built in Unit 2 to the geometry of the plane, which is the conceptual payoff of the whole matrix sequence and the basis for the modelling applications of Topic 4.14.
Try this
Q1. What does the identity matrix do to a vector? [1 point]
- Cue. Nothing: , leaving the vector unchanged.
Q2. If "apply first, then " is wanted, which product do you compute? [1 point]
- Cue. : the rightmost matrix acts first, so on the right.
Exam-style practice questions
Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AP 2025 (style)1 marksSection I, Part A (multiple choice, no calculator). A matrix is viewed as a function on vectors. Applying then to a vector gives which result? (A) (B) (C) (D) Show worked answer →
The correct answer is (B), .
The inverse matrix undoes the original transformation, so . Composing a function with its inverse returns the input unchanged, exactly as for ordinary inverse functions.
AP 2025 (style)4 marksSection II (free response, no calculator). Let (a rotation) and (a reflection over the -axis), viewed as functions on vectors. (a) Find the matrix that applies first, then . (b) Apply it to .Show worked answer →
A 4-point question on composing matrix functions.
(a) Composition (2 points): "apply first, then " is the product (rightmost acts first): .
(b) Apply (2 points): . The vector is rotated to point up, then reflected to point down.
Related dot points
- Topic 4.12 Linear Transformations and Matrices: represent a linear transformation of the plane by a matrix, and identify the matrices for scalings, reflections and rotations.
A focused answer to AP Precalculus Topic 4.12, covering how a 2x2 matrix represents a linear transformation, how the columns are the images of the basis vectors, and the standard matrices for scalings, reflections and rotations.
- Topic 4.10 Matrices: represent data with a matrix, and add, subtract, scale and multiply matrices, including multiplying a matrix by a vector.
A focused answer to AP Precalculus Topic 4.10, covering matrices as rectangular arrays, matrix addition and scalar multiplication, the row-by-column rule for matrix multiplication, and multiplying a matrix by a vector.
- Topic 4.11 The Inverse and Determinant of a Matrix: compute the determinant and inverse of a 2x2 matrix, and use them to determine invertibility and solve matrix equations.
A focused answer to AP Precalculus Topic 4.11, covering the determinant of a 2x2 matrix, what it measures, the inverse formula, when a matrix is invertible, and using the inverse to solve a matrix equation.
- Topic 2.7 Composition of Functions: form the composition of two functions, evaluate it, decompose a composite function, and determine the domain of a composition.
A focused answer to AP Precalculus Topic 2.7, covering how to form and evaluate the composition of two functions, decompose a composite into inner and outer functions, and find the domain of a composition.
- Topic 2.8 Inverse Functions: determine whether a function has an inverse, find the inverse by swapping input and output, and verify an inverse using composition and the reflection over the line y = x.
A focused answer to AP Precalculus Topic 2.8, covering one-to-one functions and the horizontal line test, finding an inverse by swapping variables, verifying with composition, and the reflection over y = x.
Sources & how we know this
- AP Precalculus Course and Exam Description — College Board (2023)