Linear AlgebraDeterminants

Determinants as Area and Volume

|det A| is the factor by which A scales area or volume.

Not started Jump to practice

The rules for determinants have a picture behind them. For a $2 \times 2$ matrix, $|\det A|$ is the area of the parallelogram spanned by its columns; for $3 \times 3$, the volume of the slanted box. And the map $\mathbf{x} \mapsto A\mathbf{x}$ multiplies every area (or volume) by that same factor.

Key idea

$|\det A|$ is the factor by which $\mathbf{x} \mapsto A\mathbf{x}$ scales area (in $\mathbb{R}^2$) or volume (in $\mathbb{R}^3$). The sign of $\det A$ says whether the map keeps or reverses orientation.
The unit square (area 1) becomes the parallelogram spanned by the columns, with area $|\det A|$. A red parallelogram means the map flipped the plane.

Why it works

Why area? The unit square has area $1$ and goes to the parallelogram spanned by the columns. Now follow the row-operation rules geometrically. A shear (replacement) slides the parallelogram along a side without changing its base or height, so the area stays; scaling a side by $k$ scales the area by $|k|$; and a triangular (or diagonal) matrix gives a parallelogram with base $|a_{11}|$ and height $|a_{22}|$. These match the rules for $\det$ step by step, so $|\det A|$ and the area must agree. Any other region is (nearly) a union of tiny grid squares, each scaled by the same factor, so every area scales by $|\det A|$.

Worked example: Area of a parallelogram

Find the area of the parallelogram with sides $\mathbf{u} = (3, 1)$ and $\mathbf{v} = (1, 2)$.
  1. $\det\begin{bmatrix} 3 & 1 \\ 1 & 2 \end{bmatrix}$ $= (3)(2) - (1)(1)$ $= 5$.
  2. Area $= |5| = 5$.

Answer: $5$

Worked example: Area of a triangle

Find the area of the triangle with vertices $(1, 1)$, $(4, 2)$ and $(2, 5)$.
  1. Move one vertex to the origin. Edge vectors from $(1, 1)$: $\mathbf{a} = (3, 1)$ and $\mathbf{b} = (1, 4)$.
  2. They span a parallelogram of area $\left|\det\begin{bmatrix} 3 & 1 \\ 1 & 4 \end{bmatrix}\right|$ $= |12 - 1|$ $= 11$.
  3. The triangle is half of it: $\frac{11}{2}$.

Answer: $\frac{11}{2}$

Worked example: The image of a disk

$A = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix}$ maps the unit disk to an ellipse. What is the ellipse's area?
  1. $\det A = 6$, so every area is multiplied by $6$.
  2. The unit disk has area $\pi$, so the ellipse has area $6\pi$.

Answer: $6\pi$

Worked example: Volume of a parallelepiped

Find the volume of the box with edges $(1, 2, 0)$, $(0, 1, 3)$ and $(2, 0, 1)$.
  1. Put the edges in the columns: $A = \begin{bmatrix} 1 & 0 & 2 \\ 2 & 1 & 0 \\ 0 & 3 & 1 \end{bmatrix}$.
  2. Expand along row 1: $1\begin{vmatrix} 1 & 0 \\ 3 & 1 \end{vmatrix} - 0 + 2\begin{vmatrix} 2 & 1 \\ 0 & 3 \end{vmatrix}$ $= 1(1) + 2(6)$ $= 13$.
  3. Volume $= 13$.

Answer: $13$

A negative determinant means the map is orientation-reversing: it turns counterclockwise order into clockwise, like a mirror. A zero determinant means the map squashes the plane onto a line (or a point), so all areas become $0$, and the matrix cannot be invertible.

Common mistake

Reporting a negative area. Area and volume are $|\det A|$; the sign is extra information about orientation. Also remember the triangle is half the parallelogram.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 2 XP.

Loading practice…

Builds on

Leads to

This is one of the top rungs of Linear Algebra.

Sources and further reading

  • Margalit and Rabinoff, Interactive Linear Algebra (Georgia Tech), §4.3 Determinants and Volumes
  • MIT OpenCourseWare 18.06 Linear Algebra (Gilbert Strang, Spring 2010), Lecture 20: Cramer's Rule, Inverse Matrix, and Volume
@teddyrookbook GitHub