5. Inverses and Determinants

Determinants Of Small Matrices

Determinants of Small Matrices

students, imagine you are checking whether a matrix can “stretch space” or “collapse” it into something smaller 📐. That idea is exactly what determinants help measure. In this lesson, you will learn how to find determinants of small matrices, why they matter, and how they connect to inverses and the bigger picture of linear algebra.

Learning goals:

  • Explain what a determinant is and what it tells us.
  • Compute determinants of $2\times 2$ and $3\times 3$ matrices.
  • Use determinants to understand when a matrix has an inverse.
  • Connect determinants to geometry, real-world problems, and other linear algebra ideas.

What a Determinant Means

A determinant is a single number assigned to a square matrix. For a matrix $A$, the determinant is written as $\det(A)$ or $|A|$. It gives useful information about the matrix, especially whether the matrix is invertible.

For small matrices, determinants are often introduced as a computational tool, but they have a deeper meaning. One important idea is that the determinant measures how a matrix changes area in $2$ dimensions or volume in $3$ dimensions. For example, if $\det(A)=2$, then the transformation represented by $A$ doubles areas. If $\det(A)=0$, the transformation collapses space in some way, like flattening a shape into a line or a point.

This matters because if a matrix collapses space, then it cannot be reversed. That is why determinants are directly linked to inverses.

A matrix has an inverse only if its determinant is not zero. In symbols, a square matrix $A$ is invertible if and only if $\det(A)\neq 0$.

Determinants of $2\times 2$ Matrices

The simplest useful case is a $2\times 2$ matrix:

$$

$A=\begin{pmatrix}$

a & b \\

c & d

$\end{pmatrix}$

$$

Its determinant is

$$

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

$$

This formula is easy to remember: multiply the main diagonal, then subtract the product of the other diagonal.

Example 1

Find the determinant of

$$

$A=\begin{pmatrix}$

3 & 4 \\

2 & 5

$\end{pmatrix}.$

$$

Using the formula,

$$

$\det(A)=(3)(5)-(4)(2)=15-8=7.$

$$

Since $\det(A)=7\neq 0$, the matrix is invertible.

Example 2

Find the determinant of

$$

$B=\begin{pmatrix}$

1 & 6 \\

2 & 12

$\end{pmatrix}.$

$$

Then

$$

$\det(B)=(1)(12)-(6)(2)=12-12=0.$

$$

Because the determinant is $0$, the matrix is not invertible.

A common pattern appears here: the second row of $B$ is exactly $2$ times the first row. That means the rows are dependent, and the matrix cannot produce a reversible transformation. Determinants detect this situation quickly.

Why the formula works

For a $2\times 2$ matrix, the determinant captures the signed area-scaling factor of the transformation. A positive determinant keeps orientation the same, while a negative determinant flips orientation. For example, $\det(A)=-3$ means the transformation multiplies area by $3$ and flips the figure over in some way.

Determinants of $3\times 3$ Matrices

For a $3\times 3$ matrix, the determinant is more complex, but the idea is similar. One standard method is expansion by minors along a row or column.

For

$$

$A=\begin{pmatrix}$

a & b & c \\

d & e & f \\

g & h & i

$\end{pmatrix},$

$$

the determinant is

$$

$\det($A)=a$\begin{vmatrix}$ e & f \ h & i $\end{vmatrix}$-b$\begin{vmatrix}$ d & f \ g & i $\end{vmatrix}$+c$\begin{vmatrix}$ d & e \ g & h $\end{vmatrix}$.

$$

Each $2\times 2$ determinant inside is called a minor. The signs alternate $+$, $-$, $+$ across the first row.

Example 3

Find the determinant of

$$

$A=\begin{pmatrix}$

1 & 2 & 3 \\

0 & 4 & 5 \\

0 & 0 & 6

$\end{pmatrix}.$

$$

Since this is an upper triangular matrix, the determinant is the product of the diagonal entries:

$$

$\det(A)=(1)(4)(6)=24.$

$$

This is a very useful shortcut for triangular matrices.

Example 4

Find the determinant of

$$

$B=\begin{pmatrix}$

2 & 1 & 0 \\

3 & 4 & 1 \\

0 & 5 & 2

$\end{pmatrix}.$

$$

Expand along the first row:

$$

$\det($B)=$2\begin{vmatrix}4$ & 1\\5 & $2\end{vmatrix}$-$1\begin{vmatrix}3$ & 1\\0 & $2\end{vmatrix}$+$0\begin{vmatrix}3$ & 4\\0 & $5\end{vmatrix}$.

$$

Now compute each $2\times 2$ determinant:

$$

$\begin{vmatrix}4 & 1\\5 & 2\end{vmatrix}=(4)(2)-(1)(5)=8-5=3,$

$$

$$

$\begin{vmatrix}3 & 1\\0 & 2\end{vmatrix}=(3)(2)-(1)(0)=6.$

$$

So,

$$

$\det(B)=2(3)-1(6)+0=6-6=0.$

$$

This matrix is not invertible.

Notice how a determinant can be $0$ even when the rows are not obviously multiples of each other. That is why determinants are powerful: they reveal hidden dependence among rows or columns.

Fast Facts About Small Determinants

students, here are several important facts that help you reason about determinants:

  1. If a matrix has a row of all zeros, then its determinant is $0$.
  2. If two rows are equal, then the determinant is $0$.
  3. If one row is a multiple of another row, then the determinant is $0$.
  4. Swapping two rows changes the sign of the determinant.
  5. Multiplying one row by a number $k$ multiplies the determinant by $k$.
  6. Adding a multiple of one row to another row does not change the determinant.

These rules are useful for simplifying matrices before calculating determinants. For example, if you can use row operations to turn a matrix into triangular form, finding the determinant becomes much easier. However, not every row operation changes the determinant in the same way, so it is important to keep track carefully.

Connection to Inverses

Determinants are one of the fastest ways to determine whether a square matrix has an inverse.

For a $2\times 2$ matrix

$$

$A=\begin{pmatrix}$

a & b \\

c & d

$\end{pmatrix},$

$$

an inverse exists only when

$$

$ad-bc\neq 0.$

$$

If the determinant is nonzero, then the inverse is

$$

$A^{-1}=\frac{1}{ad-bc}\begin{pmatrix}$

d & -b \\

-c & a

$\end{pmatrix}.$

$$

This formula shows why the determinant matters so much. If $ad-bc=0$, then the fraction would require division by $0$, which is not allowed. So the determinant acts like a gatekeeper for invertibility.

For larger square matrices, the same rule remains true: if $\det(A)=0$, then $A$ has no inverse; if $\det(A)\neq 0$, then $A$ is invertible.

Real-world meaning

Suppose a graphics program uses a matrix to transform an image. If the determinant is $0$, the image may be squashed into a line or flattened so badly that the original picture cannot be recovered. If the determinant is nonzero, the transformation can be undone.

This is why determinants are important in computer graphics, engineering, and science. They help describe whether a system preserves enough information to be reversed.

Common Mistakes to Avoid

Here are some common errors students make with small determinants:

  • Forgetting the minus sign in the $2\times 2$ formula.
  • Mixing up row and column entries in a $3\times 3$ expansion.
  • Forgetting the alternating signs $+$, $-$, $+$ in cofactor expansion.
  • Assuming a determinant is just the sum of the entries. It is not.
  • Concluding a matrix is invertible without checking whether $\det(A)\neq 0$.

A helpful habit is to write each step clearly, especially when using $3\times 3$ expansion. Accuracy matters because one sign mistake can change the final answer.

Conclusion

Determinants of small matrices give a compact but powerful summary of a matrix’s behavior. For $2\times 2$ matrices, the formula $ad-bc$ is quick and direct. For $3\times 3$ matrices, expansion by minors and shortcuts for triangular matrices make calculation manageable. Most importantly, determinants connect directly to inverses: a square matrix has an inverse exactly when its determinant is not zero.

students, this lesson is a foundation for later topics in linear algebra. As matrices get larger and applications become more complex, the determinant remains one of the clearest tools for understanding whether a transformation can be reversed and how it changes space.

Study Notes

  • A determinant is a single number associated with a square matrix.
  • For $A=\begin{pmatrix}a & b\\ c & d\end{pmatrix}$, $\det(A)=ad-bc$.
  • For a $3\times 3$ matrix, determinants can be found using expansion by minors.
  • For triangular matrices, the determinant is the product of the diagonal entries.
  • If $\det(A)=0$, the matrix is not invertible.
  • If $\det(A)\neq 0$, the matrix is invertible.
  • Swapping two rows changes the sign of the determinant.
  • A zero row, equal rows, or one row being a multiple of another row makes the determinant $0$.
  • Determinants measure area scaling in $2$D and volume scaling in $3$D.
  • Determinants help identify whether a matrix can be reversed and are central to inverses and determinants in linear algebra.

Practice Quiz

5 questions to test your understanding