Loading

Formulas · Mathematics

Determinants

2 formulas, each with worked examples. Revision sheet · Practise these formulas

Class 12

Determinant of a 2 × 2 matrix

What each letter means
the determinant of the matrix with rows (a, b) and (c, d)
the top-left entry
the top-right entry
the bottom-left entry
the bottom-right entry

The determinant of a 2 × 2 matrix is the product of the leading diagonal minus the product of the other diagonal: ad − bc.

Why it works

Solving ax + by = p and cx + dy = q by elimination gives (ad − bc)x = pd − bq. The number ad − bc decides everything: if it is not 0 there is exactly one solution. It is also the area of the parallelogram on the rows (a, b) and (c, d), with a sign.

When to use it

Checking whether a matrix has an inverse (determinant not 0), solving pairs of equations, and areas of parallelograms and triangles.

How to use it

  1. Multiply down the leading diagonal: a × d.
  2. Multiply up the other diagonal: b × c.
  3. Take the second from the first.

To remember: Down-right product minus up-right product.

Other forms

  • Special caseWhen the matrix is diagonal (b = c = 0).
  • To remember itA matrix whose determinant is 0 is singular: it has no inverse.

Worked examples

Story

A shop sets 3x + y = 7 and x + 2y = 4 for the prices x and y of two items. The pair has exactly one solution when the determinant of the coefficients is not 0. Check it.

  1. The determinant is 5, not 0, so the prices are fixed by the two equations.

Answer: 5

Picture

The parallelogram on the vectors (4, 0) and (1, 3) has area equal to the size of the determinant with those rows. Find it.

  1. Base 4 and height 3 give the same area, 12.

Answer: 12

Direct

Evaluate the determinant with rows (2, 4) and (−5, −1).

Answer: 18

Reverse

The determinant with rows (x, 2) and (3, 4) is 2. Find x.

Try it first, then show the working

Answer: 2

Exam

Find x if the determinant with rows (2, 4) and (5, 1) equals the determinant with rows (2x, 4) and (6, x).

Try it first, then show the working
  1. The left side is 2 − 20 = −18; the right side is 2x² − 24.
  2. So 2x² = 6 and x² = 3. With x² = 3 the right side is:

Answer: x = √3 or x = −√3

Common mistake: Adding the two products, or taking them away in the wrong order (bc − ad).

Class 12

Area of a triangle from its corners

What each letter means
the area of the triangle
the x-coordinate of the first corner
the y-coordinate of the first corner
the x-coordinate of the second corner
the y-coordinate of the second corner
the x-coordinate of the third corner
the y-coordinate of the third corner

The area of a triangle with corners (x₁, y₁), (x₂, y₂), (x₃, y₃) is half the size of the determinant with rows (x₁, y₁, 1), (x₂, y₂, 1), (x₃, y₃, 1).

Why it works

Drop perpendiculars from the corners to the x-axis: the triangle is two trapeziums minus a third. Adding and taking away their areas gives ½[x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)], which is exactly the expansion of that determinant. The bars make the area positive whatever order the corners come in.

When to use it

Areas of triangles from coordinates, testing whether three points lie on one line (area 0), and the equation of a line through two points.

How to use it

  1. Write the three corners in any order.
  2. Work out x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂).
  3. Drop the sign and halve.

To remember: Each x times the difference of the other two y's, in turn; add, halve, drop the sign.

Other forms

  • Same formula, another formThe determinant form in the book.
  • To remember itIf the area comes out 0, the three points lie on one line.

Worked examples

Story

A triangular plot of land has corners at (0, 0), (40, 0) and (10, 30), in metres. Find its area.

Answer: 600

Picture

Show that (1, 2), (3, 6) and (5, 10) lie on one line.

  1. The area is 0, so the points lie on one line.

Answer: 0

Direct

Find the area of the triangle with corners (3, 8), (−4, 2) and (5, 1).

Answer: 30.5

Reverse

The triangle with corners (k, 0), (4, 0) and (0, 2) has area 4. Find k.

Try it first, then show the working
  1. The rule gives ½|−2k + 8| = 4, so 8 − 2k = 8 or 8 − 2k = −8, which gives k = 0 or k = 8.
  2. Check with k = 8:

Answer: k = 0 or k = 8

Exam

Use areas to find the equation of the line through (1, 2) and (3, 6).

Try it first, then show the working
  1. A point (x, y) is on the line when the triangle it makes with (1, 2) and (3, 6) has area 0.
  2. That gives x(2 − 6) + 1(6 − y) + 3(y − 2) = 0, which is 2y − 4x = 0: the line y = 2x. Check with the point (2, 4):

Answer: y = 2x

Common mistake: Forgetting the ½, or keeping a negative answer: an area is never negative.