# The inverse and determinant of a matrix

> AP Precalculus · Functions Involving Parameters, Vectors, and Matrices
> Source: https://www.owlsprep.com/study/ap-precalculus-u4-the-inverse-and-determinant-of/

This aligned AP Precalculus study guide covers determinants and inverses of 2×2 matrices, singular/non-singular classification, invertibility checks, and solving 2×2 linear systems using inverse matrices.

**Prerequisites:** [Basic matrix notation and 2×2 matrix multiplication](https://www.owlsprep.com/study/ap-precalculus-u4-basic-matrix-operations/); Systems of two linear equations in two variables; Solving quadratic equations for parameter problems

## Learning objectives

- Calculate the determinant of any 2×2 matrix
- Classify 2×2 matrices as singular or non-singular based on determinant value
- Find the inverse of an invertible 2×2 matrix
- Write 2-variable linear systems in matrix form
- Solve 2-variable linear systems using the inverse matrix method

## Core Concepts Overview

This topic is part of Unit 4, which is not assessed on the AP Precalculus Exam — the College Board Course and Exam Description limits the exam to Units 1–3. Determinants and inverses are taught at teacher discretion for enrichment and as a foundation for later STEM courses; the treatment here is limited to 2×2 matrices.

**Determinant** — A scalar value derived exclusively from square matrices that encodes two key pieces of information: the signed area of the parallelogram formed by the matrix's column vectors, and whether the matrix is invertible.

*Notation:* $\det(A)$ or $|A|$

**Inverse of a square matrix** — The unique matrix such that the product $A A^{-1} = A^{-1} A = I$, where $I$ is the 2×2 identity matrix. The inverse undoes the linear transformation represented by $A$.

*Notation:* $A^{-1}$

**2×2 Identity Matrix** — The multiplicative identity for 2×2 matrices, where any matrix multiplied by $I$ equals itself.

*Notation:* $I$

*Example:* $I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$

## Determinant of a 2×2 Matrix

For any general 2×2 matrix $A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}$, the determinant is calculated with a simple formula. Geometrically, the determinant equals the signed area of the parallelogram formed by the two column vectors of $A$ as adjacent sides.

$$\det(A) = ad - bc$$

The most important use of the determinant for AP Precalculus is classifying matrices by invertibility:

- If $\det(A) = 0$: The area is zero, so column vectors are linearly dependent. The matrix is **singular** and has no inverse.
- If $\det(A) \neq 0$: The matrix is **non-singular** and has exactly one inverse.

**Worked example:** Calculate the determinant of $A = \begin{bmatrix} 3 & -2 \\ 4 & 1 \end{bmatrix}$, and state whether $A$ is invertible.

1. Identify entries matching the general 2×2 form:
2. $$a=3,\ b=-2,\ c=4,\ d=1$$
3. Write the determinant formula:
4. $$\det(A) = ad - bc$$
5. Substitute values and simplify, expanding the double negative explicitly:
6. $$\det(A) = (3)(1) - (-2)(4) = 3 + 8 = 11$$
7. Check if determinant is non-zero to confirm invertibility: Since $\det(A) = 11 \neq 0$, $A$ is invertible.

> **Exam tip:** When calculating determinants with negative entries, always explicitly expand the double negative from the $-bc$ term—this is the most common careless error on inverse classification problems.

## Inverse of a 2×2 Matrix

If a 2×2 matrix $A$ is non-singular ($\det(A) \neq 0$), we can calculate its inverse using a formula derived from the determinant. The formula uses the adjugate matrix, constructed by swapping main diagonal entries and flipping the sign of off-diagonal entries.

$$A^{-1} = \frac{1}{\det(A)} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}$$

> **mnemonic**
>
> Swap main diagonal, flip off-diagonal signs, then scale by reciprocal of determinant.

**Worked example:** Find the inverse of $B = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}$, and verify your result.

1. First calculate the determinant to confirm an inverse exists:
2. $$\det(B) = (2)(4) - (3)(1) = 8 - 3 = 5 \neq 0, so inverse exists$$
3. Construct the adjugate matrix by swapping main diagonal entries and flipping off-diagonal signs:
4. $$\text{adj}(B) = \begin{bmatrix} 4 & -3 \\ -1 & 2 \end{bmatrix}$$
5. Scale the adjugate by the reciprocal of the determinant to get the inverse:
6. $$B^{-1} = \begin{bmatrix} \frac{4}{5} & -\frac{3}{5} \\ -\frac{1}{5} & \frac{2}{5} \end{bmatrix}$$
7. Verification: Multiplying $B B^{-1}$ gives the identity matrix $\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$, confirming the result is correct.

> **Exam tip:** When finding an inverse, check the determinant first — confirming invertibility is a discrete step you can get right even if an arithmetic slip creeps in later, so don't skip it.

## Solving Linear Systems with Inverse Matrices

Any system of two linear equations in two variables can be written in compact matrix form $A\vec{x} = \vec{b}$, where:

- $A$ = 2×2 coefficient matrix of variable coefficients
- $\vec{x} = \begin{bmatrix} x \\ y \end{bmatrix}$ = column vector of unknown variables
- $\vec{b}$ = column vector of constant right-hand side terms

If $A$ is invertible, we can solve for $\vec{x}$ by multiplying both sides on the left by $A^{-1}$:

$$A^{-1}A\vec{x} = A^{-1}\vec{b} \implies I\vec{x} = A^{-1}\vec{b} \implies \vec{x} = A^{-1}\vec{b}$$

If $A$ is singular, the system has either no solution or infinitely many solutions, which can be checked with substitution or elimination.

**Worked example:** Solve the system below using the inverse matrix method:
$$\begin{cases} 2x + 5y = 11 \\ 3x - y = -5 \end{cases}$$

1. Write the system in matrix form $A\vec{x} = \vec{b}$:
2. $$A = \begin{bmatrix} 2 & 5 \\ 3 & -1 \end{bmatrix}, \quad \vec{x} = \begin{bmatrix} x \\ y \end{bmatrix}, \quad \vec{b} = \begin{bmatrix} 11 \\ -5 \end{bmatrix}$$
3. Calculate the determinant to confirm invertibility:
4. $$\det(A) = (2)(-1) - (5)(3) = -2 - 15 = -17 \neq 0$$
5. Calculate the inverse of $A$:
6. $$A^{-1} = \frac{1}{-17} \begin{bmatrix} -1 & -5 \\ -3 & 2 \end{bmatrix} = \frac{1}{17} \begin{bmatrix} 1 & 5 \\ 3 & -2 \end{bmatrix}$$
7. Multiply $A^{-1}$ by $\vec{b}$ to get the solution:
8. $$\vec{x} = \frac{1}{17} \begin{bmatrix} 1 & 5 \\ 3 & -2 \end{bmatrix} \begin{bmatrix} 11 \\ -5 \end{bmatrix} = \begin{bmatrix} -\frac{14}{17} \\ \frac{43}{17} \end{bmatrix}$$
9. Final solution: $x = -\frac{14}{17}$, $y = \frac{43}{17}$

> **Exam tip:** Always confirm that the order of variables in the coefficient matrix matches across both equations—if you swap $x$ and $y$ entries, you will get the wrong solution.

## Additional AP-Style Worked Examples

**Worked example:** What is the determinant of $C = \begin{bmatrix} -2 & 4 \\ -3 & -1 \end{bmatrix}$, and is $C$ invertible?
A: $\det(C) = -14$, $C$ is not invertible
B: $\det(C) = 14$, $C$ is invertible
C: $\det(C) = 10$, $C$ is invertible
D: $\det(C) = -10$, $C$ is not invertible

1. Use the 2×2 determinant formula $\det(C) = ad - bc$, with $a=-2$, $d=-1$, $b=4$, $c=-3$:
2. $$\det(C) = (-2)(-1) - (4)(-3) = 2 + 12 = 14$$
3. Since $\det(C) = 14 \neq 0$, $C$ is invertible. The correct answer is B.

**Worked example:** Given matrix $D = \begin{bmatrix} k & 2 \\ 4 & k-3 \end{bmatrix}$, where $k$ is a real parameter:
(a) Find $\det(D)$ in terms of $k$
(b) Find all $k$ for which $D$ is singular
(c) For $k=1$, find $D^{-1}$

1. (a) Apply the determinant formula:
2. $$\det(D) = k(k-3) - (2)(4) = k^2 - 3k - 8$$
3. (b) $D$ is singular when $\det(D) = 0$. Solve with quadratic formula:
4. $$k = \frac{3 \pm \sqrt{9 + 32}}{2} = \frac{3 \pm \sqrt{41}}{2}$$
5. (c) Substitute $k=1$ and calculate inverse:
6. $$D = \begin{bmatrix} 1 & 2 \\ 4 & -2 \end{bmatrix}, \quad \det(D) = -10 \\ D^{-1} = \frac{1}{-10} \begin{bmatrix} -2 & -2 \\ -4 & 1 \end{bmatrix} = \begin{bmatrix} \frac{1}{5} & \frac{1}{5} \\ \frac{2}{5} & -\frac{1}{10} \end{bmatrix}$$

**Worked example:** A bakery produces croissants ($c$) and muffins ($m$). Each croissant needs 2 cups flour + 1 egg, each muffin needs 1 cup flour + 2 eggs. A shift uses 22 cups flour and 20 eggs. Set up a matrix equation and use inverse matrix to find $c$ and $m$.

1. Translate to matrix form $A\vec{x} = \vec{b}$:
2. $$A = \begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}, \quad \vec{x} = \begin{bmatrix} c \\ m \end{bmatrix}, \quad \vec{b} = \begin{bmatrix} 22 \\ 20 \end{bmatrix}$$
3. Calculate determinant and inverse:
4. $$\det(A) = 4 - 1 = 3, \quad A^{-1} = \frac{1}{3}\begin{bmatrix} 2 & -1 \\ -1 & 2 \end{bmatrix}$$
5. Solve for $\vec{x}$:
6. $$\vec{x} = \frac{1}{3}\begin{bmatrix} 2 & -1 \\ -1 & 2 \end{bmatrix} \begin{bmatrix} 22 \\ 20 \end{bmatrix} = \begin{bmatrix} 8 \\ 6 \end{bmatrix}$$
7. Result: 8 croissants and 6 muffins were baked.

## Common pitfalls

- **Wrong:** Calculating $\det\left(\begin{bmatrix}a & b \\ c & d\end{bmatrix}\right)$ as $bc - ad$ instead of $ad - bc$.
  - Why it fails: Students mix up the order of terms after swapping entries for the inverse.
  - Correct: Always state the rule 'main diagonal product minus off-diagonal product' before substituting values.
- **Wrong:** Flipping the sign of the main diagonal entries instead of the off-diagonal entries when finding the inverse.
  - Why it fails: Students misremember the inverse formula.
  - Correct: Recite 'swap main diagonal, flip off-diagonal signs' to yourself before starting calculation.
- **Wrong:** Forgetting to scale all entries of the adjugate matrix by $\frac{1}{\det(A)}$, only scaling one or two entries.
  - Why it fails: Students rush after constructing the adjugate and drop the scalar multiple.
  - Correct: Write the scalar multiple outside the adjugate matrix before calculating any entries.
- **Wrong:** Trying to compute an inverse for a matrix with $\det(A) = 0$.
  - Why it fails: Students forget that determinant zero means no inverse exists, and blindly apply the inverse formula.
  - Correct: Check $\det(A)$ first; if it equals zero, state 'matrix is singular, no inverse exists' and stop.
- **Wrong:** Multiplying $A^{-1}\vec{b}$ as $\vec{b}A^{-1}$ (right multiplication) instead of left multiplication.
  - Why it fails: Students forget matrix multiplication is not commutative, and order matters.
  - Correct: Always multiply the n×n inverse on the left of the n×1 constant vector to get a valid solution.
- **Wrong:** Putting constant terms from the right-hand side of the system into the coefficient matrix $A$.
  - Why it fails: Students confuse coefficients and constants when transcribing the system.
  - Correct: Separate variable terms (left of equals) and constant terms (right of equals) before building matrices.

## Cheatsheet

| Category | Formula | Notes |
| --- | --- | --- |
| Determinant of 2×2 Matrix | $\det\left(\begin{bmatrix}a & b \\ c & d\end{bmatrix}\right) = ad - bc = \|A\|$ | Only for square matrices; $\|A\|=0$ = singular |
| Inverse of 2×2 Matrix | $A^{-1} = \frac{1}{\det(A)}\begin{bmatrix}d & -b \\ -c & a\end{bmatrix}$ | Only exists if $\det(A) \neq 0$; $AA^{-1} = I$ |
| 2×2 Identity Matrix | $I = \begin{bmatrix}1 & 0 \\ 0 & 1\end{bmatrix}$ | Multiplicative identity: $AI = IA = A$ |
| Linear System Matrix Form | $A\vec{x} = \vec{b}$ | $A$ = coefficients, $\vec{x}$ = variables, $\vec{b}$ = constants |
| Solve with Inverse | $\vec{x} = A^{-1}\vec{b}$ | Only for invertible $A$, gives unique solution |
| Singular Matrix | $\det(A) = 0$ | No inverse; system has 0 or infinitely many solutions |
| Non-Singular Matrix | $\det(A) \neq 0$ | Unique inverse; system has one unique solution |

## What's next

This topic is the foundation for all further work with linear systems and matrix transformations in AP Precalculus Unit 4. Immediately after mastering determinants and inverses, you will learn to solve larger systems of linear equations using row operations, and interpret solutions to parameter-dependent systems in context. Without understanding how determinants indicate invertibility, you will struggle to determine when a system has a unique solution, and will not be able to apply inverse methods efficiently. This topic also connects to linear transformations, a core Unit 4 topic: the determinant describes how a transformation scales area, and the inverse lets you reverse a transformation to map outputs back to inputs.

- [Linear transformations and matrices](https://www.owlsprep.com/study/ap-precalculus-u4-linear-transformations-and-matrices/)
- [Matrices as functions](https://www.owlsprep.com/study/ap-precalculus-u4-matrices-as-functions/)
- [Matrices Modeling Contexts](https://www.owlsprep.com/study/ap-precalculus-u4-matrices-modeling-contexts/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-precalculus-u4-the-inverse-and-determinant-of/
