LINEAR ALGEBRA • DETERMINANTS

Determinant & Invertibility — Determinant and Invertibility

A single number called the determinant tells you whether a matrix can be reversed.

Historical Context & Motivation

For centuries, mathematicians have tried to solve systems of equations — situations where you have several unknowns and several clues about them. Imagine you know that two quantities add up to 10 and one is twice the other. You could guess and check, but wouldn't it be wonderful if a single number could tell you right away whether a unique solution even exists? That is exactly the role the determinant plays. It is a special value computed from a square grid of numbers (called a matrix), and it instantly reveals whether the system has a unique answer.

~300 BCE
Chinese Nine Chapters
Ancient Chinese mathematicians solved systems of equations using methods similar to row reduction. The idea that a grid of numbers holds hidden information was already forming.
1683
Seki Takakazu in Japan
Japanese mathematician Seki Takakazu independently developed a method for computing determinants to solve systems of equations, years before European mathematicians.
1693
Leibniz's Formalization
Gottfried Wilhelm Leibniz, the co-inventor of calculus, formally described determinants as a tool for checking whether a system of linear equations has solutions.
1750
Cramer's Rule
Gabriel Cramer published a famous formula that uses determinants to find the exact solution of a system, cementing the determinant's place in algebra.
1850s
Cayley & Modern Matrix Theory
Arthur Cayley introduced the modern idea of a matrix and showed that the determinant decides whether a matrix can be 'undone' — that is, whether it is invertible.

The central question this lesson answers is simple but powerful: How can you tell, quickly and reliably, whether a matrix can be reversed? The answer lies in one number — the determinant.

Core Principles & Definitions

Before you can understand why determinants matter, you need a few building blocks. A matrix is a rectangular array of numbers arranged in rows and columns, like a spreadsheet. A square matrix has the same number of rows as columns (for example, 2 × 2 or 3 × 3). Only square matrices have determinants.

1

Determinant

A single number computed from a square matrix. Written as det(A) or |A|. It summarizes important properties of the matrix in one value.
2

Invertible Matrix

A matrix that can be 'undone' by another matrix (its inverse). If A × A⁻¹ = I (the identity matrix), then A is invertible. Also called a non-singular matrix.
3

Singular Matrix

A matrix whose determinant equals zero. It has no inverse, meaning you cannot undo its transformation. The system it represents has either no solution or infinitely many.
4

Identity Matrix

A special square matrix with 1s on the diagonal and 0s everywhere else. It acts like the number 1 in multiplication: A × I = A. Written as I.
5

The Key Rule

A square matrix A is invertible if and only if det(A) ≠ 0. This is the single most important fact of this lesson.
KEY TAKEAWAY
Think of a matrix like a lock. The determinant tells you whether a matching key (the inverse) exists. If the determinant is zero, the lock is jammed — there is no key that can open it. If the determinant is any other number, a key exists and the lock can be opened.

Visual Explanation

One of the most powerful ways to understand the determinant is to see what a matrix does geometrically. A 2 × 2 matrix transforms the unit square (a 1 × 1 square sitting at the origin) into a parallelogram. The determinant equals the signed area of that parallelogram. When the determinant is zero, the parallelogram collapses to a line or a point — it has zero area. That collapse is exactly why the matrix cannot be reversed: you lose dimension, and information is destroyed.

On the left, the two column vectors of the matrix span a parallelogram with nonzero area — the determinant is not zero, and the matrix is invertible. On the right, the column vectors point in the same (or exactly opposite) direction, so everything squishes down to a line. The area is zero, the determinant is zero, and the matrix is singular (not invertible).

This geometric picture is the secret behind the entire lesson. The determinant measures how much a matrix stretches or compresses space. A nonzero determinant means the transformation preserves dimension — nothing collapses. A zero determinant means the transformation flattens space by at least one dimension, destroying information that can never be recovered.

Mathematical Framework

Let's start with the simplest case: a 2 × 2 matrix. The formula for its determinant is short and elegant.

2 × 2 DETERMINANT
det(A) = ad − bc
For the matrix A = [[a, b], [c, d]], the determinant is the product of the main diagonal (a × d) minus the product of the other diagonal (b × c).

Now here comes the critical connection. If det(A) ≠ 0, then A has an inverse. The formula for the inverse of a 2 × 2 matrix makes this crystal clear:

2 × 2 INVERSE
A⁻¹ = (1 / det(A)) × [[d, −b], [−c, a]]
Notice that you divide by det(A). If det(A) = 0, you would be dividing by zero — which is impossible! That is why a zero determinant means no inverse exists.

For a 3 × 3 matrix, the determinant formula is longer, but the same principle holds. You expand along a row or column:

3 × 3 DETERMINANT (EXPANSION ALONG ROW 1)
det(A) = a₁₁(a₂₂a₃₃ − a₂₃a₃₂) − a₁₂(a₂₁a₃₃ − a₂₃a₃₁) + a₁₃(a₂₁a₃₂ − a₂₂a₃₁)
Each term involves an element from the first row multiplied by a smaller 2 × 2 determinant called a minor. The signs alternate: +, −, +.
📌 The Big Theorem
A square matrix A is invertible if and only if det(A) ≠ 0. This works for 2 × 2, 3 × 3, or any n × n matrix. No exceptions.

Invertibility Decision Flowchart

When you are faced with a matrix and need to decide whether it is invertible, you can follow a simple flowchart. The diagram below walks you through the entire decision process for any square matrix.

This flowchart summarizes the entire decision process. Start at the top: check if the matrix is square, compute the determinant, and the result tells you whether the matrix is invertible or singular. The dashed box at the bottom lists four equivalent statements that are always true or false together.

Notice the dashed box at the bottom of the flowchart. It lists four statements that are all logically equivalent. This means if any one of them is true, all the others are true too. For example, if you know the columns of a matrix are linearly independent (meaning no column is a combination of the others), then you automatically know the determinant is nonzero and the matrix is invertible.

Worked Example

Let's put the formula to work with two matrices — one that is invertible and one that is not.

Example 1: Is A = [[3, 1], [2, 5]] invertible?
1
Step 1 — Identify the entriesThe matrix is A = [[3, 1], [2, 5]]. Here, a = 3, b = 1, c = 2, and d = 5.
2
Step 2 — Apply the determinant formulaUse det(A) = ad − bc. Substitute the values: det(A) = (3)(5) − (1)(2).
3
Step 3 — Calculatedet(A) = 15 − 2 = 13.
det(A) = 13
4
Step 4 — ConcludeSince 13 ≠ 0, the matrix A is invertible. Its inverse can be found using the formula A⁻¹ = (1/13) × [[5, −1], [−2, 3]].
Example 2: Is B = [[4, 6], [2, 3]] invertible?
1
Step 1 — Identify the entriesThe matrix is B = [[4, 6], [2, 3]]. Here, a = 4, b = 6, c = 2, and d = 3.
2
Step 2 — Apply the determinant formuladet(B) = ad − bc = (4)(3) − (6)(2).
3
Step 3 — Calculatedet(B) = 12 − 12 = 0.
det(B) = 0
4
Step 4 — ConcludeSince det(B) = 0, the matrix B is singular (not invertible). No inverse exists. Notice that the second row [2, 3] is exactly half of the first row [4, 6]. The rows are proportional, which is why the determinant is zero.

Invertible vs. Singular — Side by Side

To make the distinction really clear, let's place invertible and singular matrices side by side and compare their properties.

Complete comparison of invertible and singular matrices
PropertyInvertible (det ≠ 0)Singular (det = 0)
DeterminantAny nonzero number (positive or negative)Exactly zero
InverseExists — A⁻¹ can be computedDoes not exist
System Ax = bHas exactly one solution for every bHas zero or infinitely many solutions
Geometric EffectStretches/rotates space, preserves dimensionCollapses space by at least one dimension
ColumnsLinearly independent (no column is a combo of others)Linearly dependent (at least one column is redundant)
Row ReductionReduces to the identity matrixProduces at least one row of all zeros
KEY TAKEAWAY
Think of an invertible matrix like a reversible recipe: if you know the result, you can figure out the ingredients. A singular matrix is like a recipe that says 'mix everything together and blend.' Once it's blended, you can't un-blend it — the information about individual ingredients is lost forever.

Connection to Larger Matrices & Advanced Ideas

Everything you have learned about 2 × 2 matrices extends to larger sizes. The rule never changes: det(A) ≠ 0 means invertible, det(A) = 0 means singular. What does change is how you compute the determinant. For a 3 × 3 matrix, you use cofactor expansion (breaking it into 2 × 2 pieces). For even bigger matrices, you might use row reduction or computer algorithms.

How determinant computation scales with matrix size
Matrix SizeDeterminant MethodNumber of Operations
2 × 2ad − bc (direct formula)3 operations
3 × 3Cofactor expansion along a row or column~12 operations
4 × 4 and largerRow reduction to upper triangular form, then multiply diagonal entriesGrows with matrix size

In more advanced courses, you will discover that the determinant connects to many other ideas. The eigenvalues of a matrix (special numbers that reveal its behavior) are found by setting det(A − λI) = 0 and solving for λ. In multivariable calculus, the Jacobian determinant measures how a transformation stretches volumes. The simple rule you learned today — check if the determinant is zero — remains the foundation for all of these advanced applications.

🔭 Looking Ahead
As you continue in math, the determinant will appear again and again. It is used in calculus (change of variables), physics (cross products and torque), computer graphics (transformations), and data science (solving systems with thousands of variables). Mastering this concept now gives you a head start in all of those fields.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain why a matrix with a determinant of zero cannot have an inverse. Hint: think about the inverse formula for a 2 × 2 matrix.
PROBLEM 2BASIC CALCULATION
Find the determinant of the matrix A = [[5, 3], [2, 4]]. Is A invertible?
PROBLEM 3INTERMEDIATE
For what value of k is the matrix M = [[k, 4], [3, 6]] singular (not invertible)?
PROBLEM 4APPLIED
A store sells apples and bananas. On Monday, 2 apples and 3 bananas cost $7. On Tuesday, 4 apples and 6 bananas cost $14. Set up the coefficient matrix and use its determinant to decide whether you can find a unique price for each fruit.
PROBLEM 5CRITICAL THINKING
Suppose A and B are both invertible 2 × 2 matrices. Is the product AB always invertible? Use determinants to justify your answer.

Lesson Summary

The determinant is a single number computed from a square matrix. For a 2 × 2 matrix [[a, b], [c, d]], the formula is det = ad − bc. Geometrically, it represents the signed area of the parallelogram formed by the matrix's column vectors. When this area is nonzero, the transformation preserves dimension and can be reversed.

The central theorem of this lesson is straightforward: a matrix is invertible if and only if its determinant is not zero. When the determinant equals zero, the matrix is singular — it collapses space, destroys information, and has no inverse. Equivalent conditions include the columns being linearly independent and the system Ax = b having a unique solution for every b. This one test — check the determinant — unlocks all of these conclusions at once.

Varsity Tutors • Linear Algebra • Determinant & Invertibility