Class 12 MathsAll 13 chaptersQuick lessonWorked solutionsPast papersPast papersGet updates

Determinants.
One number that decides.

Every square matrix hides a single number: its determinant. It tells you whether a system of equations has exactly one solution, how much a matrix stretches areas, whether three points lie on a line, and whether a matrix can be undone.

Solve a₁x + b₁y = c₁ and a₂x + b₂y = c₂ by elimination and the same number appears under every answer: a₁b₂ − a₂b₁. If it is not 0, the lines cross at exactly one point. That number is the determinant of the coefficient matrix.
Part 1 · Sections 4.1–4.2.2

A determinant turns a square matrix into one number.

Every square matrix has one special number attached to it: its determinant.

Order 2
a₁₁a₁₂a₂₁a₂₂ = a₁₁a₂₂ − a₂₁a₁₂

Down-diagonal product minus up-diagonal product. For order 1 it is even simpler: |[a]| = a.

Names
|A|  ·  det A  ·  Δ

To every square matrix A we attach a number, its determinant, written in any of these ways. Only square matrices have determinants.

Not a modulus
|A| can be negative

The bars do not mean “modulus” (absolute value) here.

Parallelogram labThe columns of A are two arrows. Slide the entries: the determinant is the area of the parallelogram they make (the dashed square has area 1). A negative sign means the arrows are in clockwise order.
|A|
Example 1

Evaluate |2 4; −1 2|.

  1. Down-diagonal: 2 × 2 = 4.
  2. Up-diagonal: (−1) × 4 = −4.
4 − (−4) = 8.
Example 2

Evaluate |x x + 1; x − 1 x|.

  1. x·x − (x + 1)(x − 1) = x² − (x² − 1).
= 1, whatever x is.
Part 2 · Section 4.2.3

A 3 × 3 determinant is three 2 × 2 determinants.

A 3 × 3 determinant breaks into three 2 × 2 determinants, one for each entry of a row or column you choose.

Signs
+−+−+−+−+
(−1)i + j

Every place has a sign, in a checkerboard: + − +. The sign of row i, column j is (−1)i + j.

Any line works
any row or column → same Δ

All six choices (three rows, three columns) give the same value, so choose the one with the most zeros.

How to expand

  1. Choose any row or column, best the one with the most zeros.
  2. For each of its three entries, delete the entry’s row and column. Work out the 2 × 2 determinant that is left.
  3. Multiply that 2 × 2 determinant by the entry and by its sign.
  4. Add the three terms.
Expansion explorerType any 3 × 3 matrix and pick a row or column to expand along. The three terms change, the total never does.
Remark

Pick the zeros

Every 0 in the chosen line wipes out a whole term.

Remark

Sign by parity

Instead of (−1)^(i+j), use + when i + j is even and − when it is odd.

Remark

|kA| = kⁿ|A|

A = [2 2; 4 0] = 2B with B = [1 1; 2 0]: |A| = −8 = 2²(−2) = 4|B|. Scaling every entry by k scales each of the n factors in every product.

Example 3

Evaluate |1 2 4; −1 3 0; 4 1 0|.

  1. Column 3 has two zeros: expand along C₃.
  2. 4 × |−1 3; 4 1| = 4(−1 − 12).
Δ = −52.
Example 4

Evaluate |0 sin α −cos α; −sin α 0 sin β; cos α −sin β 0|.

  1. Expand along R₁: the first term is 0.
  2. The two remaining terms are equal and opposite.
Δ = 0.
Example 5

Find x if |3 x; x 1| = |3 2; 4 1|.

  1. 3 − x² = 3 − 8.
  2. x² = 8.
x = ±2√2.
Part 3 · Section 4.3

Half a determinant is the area of a triangle.

Put the three corners of a triangle into a 3 × 3 determinant. Half of it is the area.

The formula
Δ = 12 x₁y₁1x₂y₂1x₃y₃1

The area of the triangle with vertices (x₁, y₁), (x₂, y₂), (x₃, y₃).

Written out
12 [ x₁(y₂ − y₃)
+ x₂(y₃ − y₁)
+ x₃(y₁ − y₂) ]

This is the textbook formula. The determinant is the same thing in compact form.

Signs and zero
area 0  ⇔  collinear

Area is positive, so take the absolute value. If the area is given, use both signs. Three collinear points (on one line) give area 0.

Drag the triangleDrag any corner. Watch the determinant change sign when the corners go clockwise, and reach 0 when they line up.
Determinant
Area = ½ |det|
Example 6

Area of the triangle with vertices (3, 8), (−4, 2), (5, 1).

  1. ½[3(2 − 1) − 8(−4 − 5) + 1(−4 − 10)] = ½(3 + 72 − 14).
61/2 square units.
Example 7

Line through A(1, 3) and B(0, 0); find k if D(k, 0) makes area ABD = 3.

  1. P(x, y) on AB ⇔ area ABP = 0 ⇔ y = 3x.
  2. ½|1 3 1; 0 0 1; k 0 1| = ±3 ⇒ −3k/2 = ±3.
y = 3x; k = ∓2.
Part 4 · Section 4.4

Minors and cofactors package the expansion.

Cross out an entry’s row and column: the small determinant left is its minor. Give it its sign and you have its cofactor.

Minor
M₂₃ = 1278 = −6

The minor Mᵢⱼ of an entry is the determinant left after deleting its row i and column j. Here: the minor of 6 in Example 8.

Cofactor
Aᵢⱼ = (−1)i + j Mᵢⱼ

The cofactor is the minor with its checkerboard sign.

Expansion
Δ = a₁₁A₁₁ + a₁₂A₁₂ + a₁₃A₁₃

Entries of any row or column times their own cofactors, added up, give Δ. Shown here for row 1.

Wrong row gives 0
a₁₁A₃₁ + a₁₂A₃₂ + a₁₃A₃₃ = 0

Entries of one row times the cofactors of a different row always add to 0. Example 11 checks this one.

Minor finderTap any entry. Its row and column are crossed out, the minor is computed, and the cofactor sign is applied. Then mix rows to see the zero.
Selected entry
Tap an entry
Example 8

Minor of 6 in |1 2 3; 4 5 6; 7 8 9|.

  1. 6 is in R₂, C₃: delete them.
M₂₃ = |1 2; 7 8| = −6.
Example 9

Minors and cofactors of |1 −2; 4 3|.

  1. M₁₁ = 3, M₁₂ = 4, M₂₁ = −2, M₂₂ = 1.
A₁₁ = 3, A₁₂ = −4, A₂₁ = 2, A₂₂ = 1.
Example 10

M₁₁, A₁₁, M₂₁, A₂₁ of a general 3 × 3 determinant.

  1. M₁₁ = a₂₂a₃₃ − a₂₃a₃₂ = A₁₁.
  2. M₂₁ = a₁₂a₃₃ − a₁₃a₃₂, A₂₁ = −M₂₁.
Signs follow (−1)^(i+j).
Example 11

All minors and cofactors of |2 −3 5; 6 0 4; 1 5 −7|; show a₁₁A₃₁ + a₁₂A₃₂ + a₁₃A₃₃ = 0.

  1. A₃₁ = −12, A₃₂ = 22, A₃₃ = 18.
  2. 2(−12) − 3(22) + 5(18) = 0.
Row 1 with row 3’s cofactors gives 0.
Part 5 · Section 4.5.1

The adjoint: cofactors, flipped.

The adjoint is built from cofactors. Put each cofactor in its entry’s place, then turn rows into columns.

The recipe
adj A = [Aᵢⱼ]′

adj A is the transpose of the matrix of cofactors.

2 × 2 shortcut
adj 2314 = 4−3−12

Swap the two diagonal entries and change the sign of the other two (Example 12).

Theorem 1
A(adj A) = (adj A)A = |A| I

Each row meets its own cofactors on the diagonal (giving |A|) and other rows’ cofactors elsewhere (giving 0).

Basics for thistransposerow × column
Singular

|A| = 0

For example [1 2; 4 8]: its rows are proportional. It squashes the plane onto a line.

Non-singular

|A| ≠ 0

For example [1 2; 3 4], with |A| = −2. Theorem 2: products of non-singular matrices are non-singular.

Example 12

adj A for A = [2 3; 1 4].

  1. Swap 2 and 4; negate 3 and 1.
adj A = [4 −3; −1 2].
Part 6 · Section 4.5

A⁻¹ = adj A ÷ |A|, exactly when |A| ≠ 0.

Divide the adjoint by the determinant and you have the inverse. It works exactly when |A| ≠ 0.

The formula
A⁻¹ = 1|A| adj A

Divide Theorem 1 by the number |A|: A · (adj A / |A|) = I.

Only when
|A| ≠ 0

Theorem 4: A is invertible if and only if it is non-singular.

Two more facts
|AB| = |A| |B|
|adj A| = |A|ⁿ⁻¹

The first is Theorem 3. The second holds for an n × n matrix.

This continues the idea of inverses from Chapter 3 and inverse functions from Chapter 1.

Inverse builderType a 2 × 2 or 3 × 3 matrix. See |A|, the cofactor matrix, adj A, A⁻¹, and the check A·A⁻¹ = I.
Example 13

A = [1 3 3; 1 4 3; 1 3 4]: verify A adj A = |A| I and find A⁻¹.

  1. |A| = 1; adj A = [7 −3 −3; −1 1 0; −1 0 1].
A⁻¹ = adj A.
Example 14

A = [2 3; 1 −4], B = [1 −2; −1 3]: verify (AB)⁻¹ = B⁻¹A⁻¹.

  1. AB = [−1 5; 5 −14], |AB| = −11.
(AB)⁻¹ = (1/11)[14 5; 5 1] = B⁻¹A⁻¹.
Example 15

A = [2 3; 1 2] satisfies A² − 4A + I = O; find A⁻¹.

  1. Multiply by A⁻¹: A − 4I + A⁻¹ = O.
A⁻¹ = 4I − A = [2 −3; −1 2].
Part 7 · Section 4.6

AX = B has exactly one solution when |A| ≠ 0.

Write the equations as one matrix equation. The determinant of A tells you whether there is exactly one solution.

The idea
AX = B

A system is consistent if it has a solution and inconsistent if it has none.

Case I: |A| ≠ 0
X = A⁻¹B

A⁻¹ exists, so this is the unique solution (the matrix method).

Case II: |A| = 0
(adj A)B ≠ O

Then there is no solution.

Case II: |A| = 0
(adj A)B = O

Then there may be infinitely many solutions, or none.

Two linesEach equation a x + b y = c is a line. Change the coefficients: when |A| = 0 the lines become parallel (no solution) or the same line (infinitely many).
System
Example 16

Solve 2x + 5y = 1, 3x + 2y = 7.

  1. |A| = −11 ≠ 0.
  2. X = A⁻¹B.
x = 3, y = −1.
Example 17

Solve 3x − 2y + 3z = 8, 2x + y − z = 1, 4x − 3y + 2z = 4.

  1. |A| = −17.
x = 1, y = 2, z = 3.
Example 18

Three numbers: sum 6; second + 3 × third = 11; first + third = 2 × second.

  1. |A| = 9, adj A = [7 −3 2; 3 0 −3; −1 3 1].
1, 2 and 3.
Example 19

Use the product [1 −1 2; 0 2 −3; 3 −2 4][−2 0 1; 9 2 −3; 6 1 −2] to solve a system.

  1. The product is I, so the second matrix is the inverse.
x = 0, y = 5, z = 3.
Self-check

The seven multiple-choice questions.

Every multiple-choice question from the exercises, in one place. Tap an option to check it and see the reasoning.

The questions come from Exercises 4.1–4.4 and the miscellaneous exercise.

Score0 / 77 left to answer
Summary

Remember this.

|[a]| = a; |a₁₁ a₁₂; a₂₁ a₂₂| = a₁₁a₂₂ − a₁₂a₂₁; a 3 × 3 determinant expands along any row or column with signs (−1)^(i+j).

Area of a triangle = ½ |x₁ y₁ 1; x₂ y₂ 1; x₃ y₃ 1| (absolute value). Zero area ⇔ collinear.

Minor Mᵢⱼ: delete row i and column j. Cofactor Aᵢⱼ = (−1)^(i+j) Mᵢⱼ. |A| = Σ (entries of a row) × (their cofactors); with another row’s cofactors the sum is 0.

adj A = (cofactor matrix)′; A(adj A) = (adj A)A = |A| I. Singular: |A| = 0; non-singular: |A| ≠ 0.

A⁻¹ exists ⇔ |A| ≠ 0, and A⁻¹ = (1/|A|) adj A. |AB| = |A||B|, |adj A| = |A|ⁿ⁻¹.

AX = B: |A| ≠ 0 ⇒ unique solution X = A⁻¹B; |A| = 0 and (adj A)B ≠ O ⇒ no solution; |A| = 0 and (adj A)B = O ⇒ infinitely many or none.

Historical note

From counting rods to "determinant".

Ancient ChinaCounting rods

Coefficients of equations were laid out on a counting board in exactly the pattern of a determinant, and rows and columns were subtracted to eliminate unknowns.

1683Seki Kowa

In Japan, his work on eliminating a quantity from equations contains the idea of determinants and their expansion.

1772–1801Vandermonde, Laplace, Lagrange, Gauss

Vandermonde treated determinants as functions in their own right; Laplace gave expansion by minors; Gauss used them in number theory.

1812Binet and Cauchy

Both proved the product rule |AB| = |A||B|; Cauchy gave the word "determinant" its present meaning. Jacobi then made it standard.

Finished Chapter 4? Hear when the next one is ready

Leave your email and we will write when a new chapter or a new set of worked solutions is ready. That is all we use it for, and you can ask to be taken off the list at any time.

You are on the list. We will email you when new chapters are added, and for nothing else.