AP Precalculus · Unit 4 · Topic 4.10

    4.10 Matrices

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    Not on the AP Exam. Unit 4 is part of the AP Precalculus course, but College Board does not test it on the AP Exam. Learn it for your school tests and as preparation for calculus; for the exam itself, Units 1–3 are what count.

    In short

    A matrix is a rectangular array of numbers; an m×nm \times n matrix has mm rows and nn columns, and aija_{ij} is the entry in row ii, column jj. Matrices of the same size add entry by entry and are scaled by multiplying every entry. The product ABAB is defined when AA has as many columns as BB has rows; each entry is a row of AA times a column of BB (a dot product). In general AB≠BAAB \ne BA. This unit is not tested on the AP Exam.

    What you need to know

    • State the dimensions of a matrix and read its entries.
    • Add, subtract and scale matrices.
    • Multiply 2 × 2 matrices and a matrix by a vector.
    • Explain why matrix multiplication is not commutative.

    Size, entries and simple operations

    A matrix organises numbers in rows and columns, like a small table. The matrix below has 2 rows and 3 columns, so it is 2×32 \times 3, and a23=7a_{23} = 7 is the entry in row 2, column 3.

    A=[10−4257]A = \begin{bmatrix} 1 & 0 & -4 \\ 2 & 5 & 7 \end{bmatrix}

    Two matrices of the same size add entry by entry. Multiplying by a number (a scalar) multiplies every entry: 3[1−204]=[3−6012]3\begin{bmatrix} 1 & -2 \\ 0 & 4\end{bmatrix} = \begin{bmatrix} 3 & -6 \\ 0 & 12\end{bmatrix}. A shop recording sales of two products in two weeks might store them in a 2×22 \times 2 matrix; adding the matrices for two branches gives the combined sales.

    Multiplying matrices: row times column

    Matrix multiplication is not entry by entry. Each entry of ABAB comes from a row of AA and a column of BB: multiply matching numbers and add, exactly the dot product of Topic 4.8.

    [2103][1−142]=[2(1)+1(4)2(−1)+1(2)0(1)+3(4)0(−1)+3(2)]=[60126]\begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix}\begin{bmatrix} 1 & -1 \\ 4 & 2 \end{bmatrix} = \begin{bmatrix} 2(1) + 1(4) & 2(-1) + 1(2) \\ 0(1) + 3(4) & 0(-1) + 3(2) \end{bmatrix} = \begin{bmatrix} 6 & 0 \\ 12 & 6 \end{bmatrix}

    The size rule: an m×nm \times n matrix times an n×pn \times p matrix gives an m×pm \times p matrix. The inner numbers must match. So a 2×22 \times 2 matrix times a 2×12 \times 1 column vector is a 2×12 \times 1 vector: [2103][5−1]=[9−3]\begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix}\begin{bmatrix} 5 \\ -1 \end{bmatrix} = \begin{bmatrix} 9 \\ -3 \end{bmatrix}. This matrix-times-vector product is how matrices act as functions in Topics 4.12 and 4.13.

    Order matters

    Multiply the same two matrices the other way round:

    [1−142][2103]=[2−2810]≠[60126]\begin{bmatrix} 1 & -1 \\ 4 & 2 \end{bmatrix}\begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} = \begin{bmatrix} 2 & -2 \\ 8 & 10 \end{bmatrix} \ne \begin{bmatrix} 6 & 0 \\ 12 & 6 \end{bmatrix}

    Unlike multiplying numbers, ABAB and BABA are usually different. Matrix multiplication is still associative, (AB)C=A(BC)(AB)C = A(BC), and the identity matrix I=[1001]I = \begin{bmatrix} 1 & 0 \\ 0 & 1\end{bmatrix} plays the role of 1: AI=IA=AAI = IA = A. When you meet matrices as transformations, the order will match the order in which the transformations are applied, which is why it matters so much.

    Key terms

    Matrix
    A rectangular array of numbers arranged in rows and columns.
    Dimensions
    m × n: m rows by n columns.
    Matrix product
    Entry (i, j) of AB is row i of A dotted with column j of B.
    Identity matrix
    I, with 1s on the main diagonal and 0s elsewhere; AI = IA = A.

    Common mistakes

    • Multiplying matrices entry by entry.

      Use row-times-column sums.

    • Assuming AB = BA.

      Order matters; compute the product in the order given.

    • Writing a 2 × 3 matrix as 3 × 2.

      Rows first, then columns.

    How this topic is tested

    • Write the size of each matrix above it before multiplying.
    • Use one finger on the row and one on the column to avoid mixing entries.
    • Unit 4 is not on the AP Exam; graphing calculators multiply matrices if your school test allows them.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 2 · Multiple Representations

      What are the dimensions of [3102−54]\begin{bmatrix} 3 & 1 \\ 0 & 2 \\ -5 & 4 \end{bmatrix}?

    2. Question 2 · MP 1 · Procedural and Symbolic Fluency

      What is [1234][0110]\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}?

    3. Question 3 · MP 1 · Procedural and Symbolic Fluency

      What is [3−125][24]\begin{bmatrix} 3 & -1 \\ 2 & 5 \end{bmatrix}\begin{bmatrix} 2 \\ 4 \end{bmatrix}?

    4. Question 4 · MP 3 · Communication and Reasoning

      AA is 2×32 \times 3 and BB is 3×43 \times 4. What can you say about ABAB and BABA?

    5. Question 5 · MP 1 · Procedural and Symbolic Fluency

      What is 2[10−32]−[4105]2\begin{bmatrix} 1 & 0 \\ -3 & 2 \end{bmatrix} - \begin{bmatrix} 4 & 1 \\ 0 & 5 \end{bmatrix}?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Class-test practice (Unit 4 is not on the AP Exam) · 4 points

    Let A=[12−10]A = \begin{bmatrix} 1 & 2 \\ -1 & 0 \end{bmatrix} and B=[3014]B = \begin{bmatrix} 3 & 0 \\ 1 & 4 \end{bmatrix}.

    1. (a) Find ABAB and BABA.
    2. (b) Explain what your answers to part (a) show, and find A[4−1]A\begin{bmatrix} 4 \\ -1 \end{bmatrix}.

    Connected topics

    Frequently asked questions

    Are matrices on the AP Precalculus Exam?

    No. Unit 4 is taught but not assessed on the AP Exam.

    Why is multiplication defined in such a strange way?

    Because it matches composing transformations and combining systems of equations. Entry-by-entry multiplication would not do either job.

    Do I need matrices bigger than 2 × 2?

    The AP course works mainly with 2 × 2 matrices and 2 × 1 vectors, but the row-times-column rule works for any compatible sizes.

    How this shows up on the exam42 multiple-choice questions (29 without a calculator) and 4 free-response questions of 6 points. See what each one asks you to do.Full-length AP Precalculus practice examsTwo timed exams in the 2027 format (42 MCQ + 4 FRQ, calculator and no-calculator parts), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 4: Functions Involving Parameters, Vectors, and Matrices

    1. 4.1 Parametric Functions
    2. 4.2 Parametric Functions Modeling Planar Motion
    3. 4.3 Parametric Functions and Rates of Change
    4. 4.4 Parametrically Defined Circles and Lines
    5. 4.5 Implicitly Defined Functions
    6. 4.6 Conic Sections
    7. 4.7 Parametrization of Implicitly Defined Functions
    8. 4.8 Vectors
    9. 4.9 Vector-Valued Functions
    10. 4.10 Matrices
    11. 4.11 The Inverse and Determinant of a Matrix
    12. 4.12 Linear Transformations and Matrices
    13. 4.13 Matrices as Functions
    14. 4.14 Matrices Modeling Contexts

    Other units in AP Precalculus

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.