4. Functions Involving Parameters, Vectors, and Matrices

The Inverse And Determinant Of A Matrix

The Inverse and Determinant of a Matrix

students, in this lesson you will explore two powerful ideas in matrix algebra: the inverse of a matrix and the determinant of a matrix 📘. These ideas help us understand when a matrix can “undo” a transformation, when a system has a unique solution, and how matrices connect to geometry. By the end of this lesson, you should be able to explain the meaning of these ideas, compute simple examples, and connect them to the larger AP Precalculus topic of functions involving parameters, vectors, and matrices.

Introduction: Why do inverses and determinants matter?

Matrices can represent many real-world situations, such as changing coordinates on a map, transforming an image, or solving a system of equations. A matrix can take an input vector and produce an output vector. In some cases, there is a reverse process that gets you back to the original input. That reverse process is called the inverse ✨.

The determinant is a number attached to a square matrix. It tells us important information about the matrix, especially whether the inverse exists and how the matrix changes area or volume. If the determinant is $0$, the matrix does not have an inverse. If the determinant is not $0$, the matrix is invertible.

Objectives

  • Explain what the inverse and determinant of a matrix mean.
  • Compute a determinant for a $2 \times 2$ matrix.
  • Find the inverse of a $2 \times 2$ matrix when it exists.
  • Use inverse and determinant ideas to connect matrices to solving systems and transformations.

What is the inverse of a matrix?

For a square matrix $A$, the inverse is a matrix written as $A^{-1}$ such that

$$AA^{-1} = A^{-1}A = I,$$

where $I$ is the identity matrix. The identity matrix acts like $1$ does in ordinary multiplication. For example, for a $2 \times 2$ matrix,

$$I = \begin{pmatrix}1 & 0\\0 & 1\end{pmatrix}.$$

If $A$ has an inverse, then we call $A$ invertible or nonsingular. If $A$ does not have an inverse, it is singular.

Think of a school lock and key 🔑. The matrix is like a process that changes something, and the inverse is the key that reverses that change. If the change is reversible, the inverse exists. If information gets lost, the inverse does not exist.

Example: checking the idea of an inverse

Suppose

$$A = \begin{pmatrix}2 & 0\\0 & 3\end{pmatrix}.$$

This matrix stretches a vector by a factor of $2$ in the first direction and $3$ in the second direction. The inverse should reverse those stretches, so

$$A^{-1} = \begin{pmatrix}\frac{1}{2} & 0\\0 & \frac{1}{3}\end{pmatrix}.$$

If you multiply them, you get

$$A A^{-1} = \begin{pmatrix}2 & 0\\0 & 3\end{pmatrix}\begin{pmatrix}\frac{1}{2} & 0\\0 & \frac{1}{3}\end{pmatrix} = \begin{pmatrix}1 & 0\\0 & 1\end{pmatrix} = I.$$

This shows that the inverse undoes the original matrix.

How to find the inverse of a $2 \times 2$ matrix

A very important fact is that a $2 \times 2$ matrix

$$A = \begin{pmatrix}a & b\c & d\end{pmatrix}$$

has an inverse only when its determinant is not $0$. When the determinant is not $0$, the inverse is

$$A^{-1} = \frac{1}{ad-bc}\begin{pmatrix}d & -b\\-c & a\end{pmatrix}.$$

The quantity

$$ad-bc$$

is the determinant of the matrix.

Example: finding an inverse

Let

$$A = \begin{pmatrix}4 & 1\\2 & 3\end{pmatrix}.$$

First, find the determinant:

$$\det(A) = (4)(3) - (1)(2) = 12 - 2 = 10.$$

Since $10 \neq 0$, the inverse exists. Now use the formula:

$$A^{-1} = \frac{1}{10}\begin{pmatrix}3 & -1\\-2 & 4\end{pmatrix}.$$

So,

$$A^{-1} = \begin{pmatrix}\frac{3}{10} & -\frac{1}{10}\\-\frac{1}{5} & \frac{2}{5}\end{pmatrix}.$$

You can check this by multiplying $A$ and $A^{-1}$ to see that the product is $I$.

Why this matters

In AP Precalculus, matrices often represent transformations or systems of equations. If a matrix has an inverse, then you can “undo” the transformation or solve the system more directly. That makes inverses a powerful tool for reasoning about structure and solution behavior.

What is the determinant?

The determinant is a number that summarizes important information about a square matrix. For a $2 \times 2$ matrix

$$A = \begin{pmatrix}a & b\c & d\end{pmatrix},$$

the determinant is

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

The determinant has several important meanings:

  • If $\det(A) \neq 0$, then $A$ is invertible.
  • If $\det(A) = 0$, then $A$ is not invertible.
  • The determinant tells how area changes under the transformation represented by the matrix.

Geometric meaning

Suppose a matrix transforms a square in the coordinate plane. The absolute value of the determinant tells the scale factor of the area. For example, if $\det(A)=3$, then the transformed area is $3$ times the original area. If $\det(A)=-3$, the area is still scaled by a factor of $3$, but the negative sign means the transformation also reverses orientation.

Imagine stretching a rubber sheet 🧩. If the matrix makes shapes larger, the determinant’s absolute value is greater than $1$. If it shrinks shapes, the absolute value is between $0$ and $1$. If the determinant is $0$, the shape is flattened into a line or a point, so area collapses to nothing.

Example: determinant as area scale

Let

$$A = \begin{pmatrix}2 & 1\\0 & 2\end{pmatrix}.$$

Then

$$\det(A) = (2)(2) - (1)(0) = 4.$$

This means areas are multiplied by $4$. A triangle with area $5$ square units would map to a triangle with area $20$ square units, assuming the transformation is applied to the whole region.

Determinant, invertibility, and systems of equations

Matrices often represent systems like

$$\begin{cases}

$ax + by = e\\$

$cx + dy = f$

$\end{cases}$$$

which can be written as

$$\begin{pmatrix}a & b\c & d\end{pmatrix}\begin{pmatrix}x\y\end{pmatrix} = \begin{pmatrix}e\f\end{pmatrix}.$$

If the coefficient matrix has a nonzero determinant, then it is invertible, and the system has exactly one solution. If the determinant is $0$, the system may have no solution or infinitely many solutions.

Example: solving with an inverse idea

Consider the system

$$\begin{cases}

$4x+y=7\\$

$2x+3y=11$

$\end{cases}$$$

This is the matrix equation

$$\begin{pmatrix}4 & 1\\2 & 3\end{pmatrix}\begin{pmatrix}x\y\end{pmatrix}=\begin{pmatrix}7\\11\end{pmatrix}.$$

Since the matrix inverse is

$$\begin{pmatrix}\frac{3}{10} & -\frac{1}{10}\\-\frac{1}{5} & \frac{2}{5}\end{pmatrix},$$

you can multiply both sides by the inverse to isolate the variables:

$$\begin{pmatrix}x\y\end{pmatrix}=\begin{pmatrix}\frac{3}{10} & -\frac{1}{10}\\-\frac{1}{5} & \frac{2}{5}\end{pmatrix}\begin{pmatrix}7\\11\end{pmatrix}.$$

Carrying out the multiplication gives

$$x=2, \quad y=3.$$

This shows how inverse matrices can help solve systems efficiently.

Connecting to vectors, parameters, and transformations

In the broader AP Precalculus topic of functions involving parameters, vectors, and matrices, matrices are tools for describing how vectors change. A matrix can send a vector

$$\begin{pmatrix}x\y\end{pmatrix}$$

to another vector. Parameters inside a matrix, such as

$$\begin{pmatrix}p & 1\\2 & q\end{pmatrix},$$

can change whether the matrix is invertible.

For this matrix, the determinant is

$$\det(A)=pq-2.$$

This means:

  • if $pq-2 \neq 0$, then the matrix has an inverse;
  • if $pq-2 = 0$, then the matrix does not have an inverse.

So the values of $p$ and $q$ affect the behavior of the matrix and the transformation it represents. This is a key reason matrices fit naturally into the study of functions involving parameters. The parameters control the output behavior, just as constants in a function can change a graph.

Real-world example

Imagine a navigation app that changes coordinates based on a map transformation. If the transformation matrix is invertible, the app can move from local coordinates to map coordinates and then reverse the process. If the matrix is not invertible, some locations might collapse onto the same image, and the original position cannot be recovered exactly.

Conclusion

students, the inverse and determinant of a matrix are closely connected ideas. The inverse tells you whether a matrix can be undone, and the determinant tells you whether the inverse exists. For $2 \times 2$ matrices, the determinant is found with $\det(A)=ad-bc$, and the inverse exists only when $\det(A)\neq 0$. These ideas are important for solving systems, understanding transformations, and connecting matrices to parameters and vectors. Even though this lesson is not assessed on the AP Exam, it builds mathematical understanding that supports the larger AP Precalculus course 📚.

Study Notes

  • The inverse of a square matrix $A$ is written as $A^{-1}$ and satisfies $AA^{-1}=A^{-1}A=I$.
  • A matrix is invertible if and only if its determinant is not $0$.
  • For a $2 \times 2$ matrix $\begin{pmatrix}a & b\c & d\end{pmatrix}$, the determinant is $\det(A)=ad-bc$.
  • If $\det(A)=0$, the matrix is singular and has no inverse.
  • For a $2 \times 2$ matrix with $\det(A)\neq 0$, the inverse is

$$A^{-1}=\frac{1}{ad-bc}\begin{pmatrix}d & -b\\-c & a\end{pmatrix}.$$

  • The absolute value of the determinant tells the area scale factor of a matrix transformation.
  • A negative determinant means the transformation reverses orientation.
  • Inverse matrices are useful for solving systems of equations and reversing transformations.
  • Parameters in matrices can change whether a matrix is invertible, which connects this lesson to functions involving parameters, vectors, and matrices.

Practice Quiz

5 questions to test your understanding