Matrices — AP Precalculus
1. Matrix Basics: Definition and Notation ★☆☆☆☆ ⏱ 3 min
A matrix is a rectangular array of numbers (called entries or elements) arranged in ordered rows and columns. The dimension (size) of a matrix is written as $m \times n$, where $m$ is the number of rows and $n$ the number of columns.
An individual entry is written as $a_{ij}$, where $i$ is the row number and $j$ is the column number of the entry. For example, $a_{23}$ refers to the entry in the second row, third column. Matrices are used to compactly organize data, represent linear systems, and describe linear transformations, core topics in AP Precalculus Unit 4.
2. Entry-Wise Operations: Addition and Scalar Multiplication ★★☆☆☆ ⏱ 4 min
The simplest matrix operations are entry-wise: addition, subtraction, and scalar multiplication. Matrix addition is only defined for two matrices of the same dimension (same number of rows and columns). To add two matrices, you add corresponding entries: $(A + B)_{ij} = a_{ij} + b_{ij}$. Subtraction follows the same rule: $(A - B)_{ij} = a_{ij} - b_{ij}$.
Scalar multiplication involves multiplying an entire matrix by a single constant (called a scalar). To perform scalar multiplication, multiply every entry in the matrix by the scalar: $(kA)_{ij} = k \cdot a_{ij}$ for any scalar $k$ and any matrix $A$.
These operations follow most familiar rules of real number algebra: addition is commutative and associative, and scalar multiplication distributes over matrix addition.
Exam tip: Always check matrix dimensions before performing any operation. AP exam questions often include "undefined" as a multiple-choice option to test whether you know addition is only allowed for same-dimension matrices.
3. Matrix Multiplication and 2×2 Determinants ★★★☆☆ ⏱ 4 min
Matrix multiplication is *not* entry-wise, and follows different rules. To multiply matrix $A$ by matrix $B$ to get $AB$, the number of columns in $A$ must equal the number of rows in $B$. If $A$ is $m \times n$ and $B$ is $n \times p$, the product $AB$ will be $m \times p$.
The entry at position $(i,j)$ in $AB$ is the dot product of the $i$-th row of $A$ and the $j$-th column of $B$:
(AB)_{ij} = \sum_{k=1}^n a_{ik}b_{kj}
For a square matrix (equal number of rows and columns, e.g. $2 \times 2$), we calculate a determinant, a single scalar value that tells us whether the matrix has an inverse. For a $2 \times 2$ matrix, the determinant is:
\det(A) = ad - bc \quad \text{for} \quad A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}
If $\det(A) = 0$, the matrix is called singular and has no inverse. If $\det(A) \neq 0$, the matrix is invertible.
Exam tip: Always remember the "row-first, column-second" rule for matrix multiplication: the (i,j) entry comes from the i-th row of the first matrix and j-th column of the second. Swapping these gives incorrect entries.
4. Inverse Matrices and Solving 2×2 Linear Systems ★★★★☆ ⏱ 3 min
For an invertible $2 \times 2$ matrix $A$, the inverse matrix $A^{-1}$ satisfies the property $AA^{-1} = A^{-1}A = I$, where $I$ is the 2×2 identity matrix:
I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}
The identity matrix acts as the multiplicative identity for matrices, just like 1 does for real numbers. The formula for the inverse of a $2 \times 2$ matrix is:
A^{-1} = \frac{1}{\det(A)} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix} \quad \text{for} \quad A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}
One of the most common exam applications of inverse matrices is solving 2×2 systems of linear equations. Any linear system can be rewritten in compact matrix form:
A\vec{x} = \vec{b}, \quad A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, \quad \vec{x} = \begin{bmatrix} x \\ y \end{bmatrix}, \quad \vec{b} = \begin{bmatrix} e \\ f \end{bmatrix}
If $A$ is invertible, we can multiply both sides by $A^{-1}$ on the left to get $\vec{x} = A^{-1}\vec{b}$, which directly gives the solution for $x$ and $y$.
Exam tip: When writing the inverse matrix, don't forget the negative signs on $b$ and $c$ after swapping $a$ and $d$ — this is the most commonly tested error on AP exams.
Common Pitfalls
Why: Students confuse matrix addition with matrix multiplication (which only requires matching inner dimensions) and assume any addition is allowed if rows match
Why: Students incorrectly transfer the commutative property of real number multiplication to matrices
Why: Students misremember the sign conventions for determinant and inverse formulas
Why: Students are used to commutativity of real numbers and don't prioritize order for inverse multiplication
Why: Students forget what the determinant tells us about invertibility