Why Is the Determinant an Area or a Volume?

— Derivation for the lecture notes “(16) What does a zero or nonzero determinant mean?” (in Japanese)

The determinant is a quantity that is often taught as a computational procedure to be memorized. But in truth it can be said in a single phrase — the determinant is the “size” of the figure spanned by the vectors. In two dimensions that is an area, and in three dimensions a volume. Seen this way, det = 0, linear independence, rank, and the form of the solutions of simultaneous equations all turn out to be different ways of describing one and the same picture.

The path of this derivation ① Check by direct computation that the 2×2 determinant is the area of a parallelogram. ② Write down the three properties that an “area” must satisfy, and see that they alone fix the form of the determinant. ③ Lift the same three properties to three dimensions, and the result is a volume. ④ Count what happens when the figure is flattened (det = 0) in terms of rank and degrees of freedom.

1. 2×2 — Let’s Start by Computing Directly

We follow the example in the lecture notes exactly. Take a= (21), b= (24) and arrange them as columns to form the matrix

(1) A= [ 22 14 ] , |A|= 2·4−2·1=6

On the other hand, let us find the area of the parallelogram spanned by these two vectors geometrically. Subtracting the two surrounding rectangles (4 in total) and the four triangles (10 in total) from the enclosing rectangle (4 wide, 5 tall) gives

(2) S1=20− (4+10)=6

(1) = (2). The determinant was exactly the area of the parallelogram.

What holds in general

Let a=(ax,ay), b=(bx,by) be our vectors, and let us do the same thing. The area of a parallelogram is “base × height” = |a| |b| sin⁡θ. Here, using sin2θ=1−cos2θ and a·b= |a| |b|cos⁡θ, we find

(area)2 =|a|2 |b|2 −(a·b)2 = (ax2+ay2) (bx2+by2) −(axbx +ayby)2

On expanding, ax2bx2 and ay2by2 cancel, leaving

(3) (area)2 =(axby −aybx)2 ⟹ area= |axby −aybx|
This is Lagrange’s identity |a|2 |b|2 −(a·b)2 =|a×b|2. In other words, the 2D determinant turned out to be the (one and only) component of the cross product itself.

Fig. 1. Subtracting the leftovers from a rectangle leaves the determinant. This is a drawing of the counting method used in the lecture notes, exactly as it is. Subtracting the surrounding triangles and rectangles from the outer rectangle gives the area of the parallelogram, and this equals axby −aybx.

2. Three Properties That an Area Must Satisfy

In fact, the form of the determinant is fixed even without any computation. All we have to do is write down the properties that an “area” obviously ought to have.

PropertyFormulaWhy this is obvious for an area
Linearity D(ka,b) =kD(a,b)
D(a+a′,b) =D(a,b) +D(a′,b)
(the same holds for b)
Stretch the base to twice its length and the area doubles. Split the base into two vectors and the area is the sum of the two areas.
Alternating property D(a,a)=0 Two vectors pointing in the same direction flatten the parallelogram
Normalization D(e1,e2)=1 The area of the unit square is 1

These three alone are enough. Write a=axe1 +aye2, b=bxe1 +bye2 and substitute them. Splitting by linearity gives four terms, but thanks to the alternating property D(e1,e1) and D(e2,e2) vanish, and, using the relation that also follows from the alternating property, D(e2,e1) =−D(e1,e2) (see the box below), we can collect the terms and get

(4) D(a,b) =(axby −aybx) D(e1,e2) =axby −aybx
The determinant is not an “invention” but a “necessity” Merely demanding three area-like properties makes the formula for the determinant come out uniquely. Conversely, then — the determinant is nothing other than area (volume) written in algebra.

The alternating property also gives “swapping two columns changes the sign” (expand D(a+b, a+b)=0 to see this). This sign expresses the orientation (in 2D, whether the figure is flipped over; in 3D, right-handed or left-handed).

3. 3×3 — It Becomes a Volume

Extending the same three properties to three vectors, what comes out is

(5) D(f,g,h) =(f×g) ·h

This form is the very definition of volume. |f×g| is the area of the base parallelogram, and f×g is perpendicular to the base, so the length of the projection of h onto that direction is the height. Multiplying them gives base area × height = volume. Note, however, that (f × g)·h is a signed quantity; the volume itself is its absolute value, |(f × g)·h|. The sign indicates whether the system is right-handed or left-handed.

Let us check this with the example in the lecture notes. f=(1,2,3), g=(2,−1,1), h=(1,1,2):

(6) |C|= −2+6+2 +3−8−1=0
Volume 0 = the three vectors lie in the same plane Indeed, f×g= (5,5,−5), and h·(5,5,−5) =5+5−10=0. h is perpendicular to the normal of the base — in other words, h lies in the plane of the base. To put it more explicitly, h = 0.6 f + 0.2 g. Since h brings in no new direction, no height arises and the volume is 0. This is what the lecture notes mean when they write “These f, g, h all lie on the plane S! → They are linearly dependent.”

4. det = 0 Means “Flattened”

Putting together what we have so far, the following restatements all mean the same thing (the geometry column is for n = 3, that is, three dimensions. In two dimensions, read “plane” as “line” and “line” as “origin”).

GeometryAlgebraSimultaneous equations
Area (volume) is nonzerodet ≠ 0, linearly independent, rank = nThe only solution is the origin (trivial solution only)
Flattened to a planedet = 0, rank = n − 1The solutions form a line (1 degree of freedom)
Flattened to a linedet = 0, rank = n − 2The solutions form a plane (2 degrees of freedom)
Counting “how far it has been flattened” is the job of the rank The det only tells us whether it has been flattened (zero or nonzero). To distinguish whether it has been flattened to a plane or all the way to a line, we need the rank. The rank is “the number of nonzero rows when the matrix is brought to echelon form by elementary row operations” = the number of equations that really count (independent directions).

5. Degrees of Freedom = n − rank

Consider the homogeneous system Mx = 0. Example ② of the lecture notes:

{ x1+2x2−x3=0 2x1−x2+3x3=0 4x1+3x2+x3=0 ⟶ [ 12−1 0−11 000 ] rank = 2

The third equation can be built from the first and second (eliminating gives 0 = 0). In other words, only two equations really count. Since there are three unknowns,

(7) degrees of freedom=n−rank M =3−2=1

Setting x3=k gives x2=k, x1=−k. The solution is x = k(−1, 1, 1) — an entire line through the origin. In Example ③ (write the coefficient matrix as M′), all three equations are constant multiples of the same equation, so rank = 1 and there are 2 degrees of freedom, and the solution is the plane 2x1 − x2 + x3 = 0.

It helps to think of it as the intersection of three planes ax1 + bx2 + cx3 = 0 is a plane through the origin. If the three normals are linearly independent — that is, if there are three independent orientations among the planes — the only common point is the origin (0 degrees of freedom). If there are only two independent orientations, the intersection is a line (1 degree of freedom). If there is only one, the intersection is an entire plane (2 degrees of freedom). The rank is “the number of independent orientations.”

6. det(AB) = det A · det B

If we view a matrix as a “transformation,” then |det| is the factor by which area is multiplied. So if we apply two transformations in succession, the area factors multiply, and whether the orientation is flipped combines multiplicatively too — that is det(AB) =detA·detB. It can also be proved by brute force from the definition of the matrix product, but if you think of it as a factor of area, it is obvious.

Fig. 2. A matrix is “the factor by which it multiplies area.” The yellow unit square (area 1) is mapped by B to the blue parallelogram, and then by A to the green parallelogram. The area changes in two steps: first by a factor of |detB|, then by a factor of |detA|, for a total factor of |detA| ·|detB|.

7. Why Do We Set “Determinant = 0” in Quantum Chemistry?

Having come this far, the meaning of the secular equation can be read off directly. In molecular-orbital problems we encounter

(8) (H−εS) c=0

which is a homogeneous system of equations. Since c = 0 would make the wave function vanish, we need a nontrivial solution. For that, the space must be “flattened” — that is,

(9) det(H−εS) =0

This condition determines ε (the energy level). It turns out that “setting the determinant to 0” is not a computational incantation, but the geometric requirement to “deliberately flatten the space so that the solutions do not reduce to the origin alone.” If you would like to run it and check for yourself, please visit the page on the method of Lagrange multipliers.

8. Checking with Numbers

These are the results of running the very code that is included in the simulator (32 items, all passed).

What was checkedResult
(1), (2): does |A| = 6 from the lecture notes agree with the area 6 counted geometrically? Both are 6.000000000000
(3): |det| = base × height (500 random pairs of vectors) Maximum difference 1.8×10−15
(5): |det| = base area × height (3D, 500 random triples) Maximum difference 1.4×10−14
(6): |C| = 0, rank = 2, and h = 0.6f + 0.2g from the lecture notes det = 0; all three vectors perpendicular to the normal (5, 5, −5)
(4): sign flips when columns are swapped, 0 for identical columns, 1 for the identity matrix, 1 for a rotation All hold exactly
§6: det(AB) = det A · det B 5 = 5 × 1 (exact)
(7): Example ② rank 2 → solution x = k(−1, 1, 1), M·x = 0 Residual 0 (exact)
Example ③ rank 1 → 2 degrees of freedom; the solution is the plane 2x₁ − x₂ + x₃ = 0 Both basis vectors satisfy M′·v = 0
An example with det ≠ 0: rank 3, solution space of dimension 0 Only x = 0
Dimension theorem (rank–nullity): rank + degrees of freedom = 3 (300 random cases) 0 mismatches
det = 0 ⟺ rank < 3 (400 cases with det = 0 examples mixed in; 220 of them have det = 0) 0 discrepancies

9. Summary

  1. The 2×2 determinant is the area of a parallelogram, and the 3×3 determinant is the volume of a parallelepiped (3), (5). The sign expresses the orientation (flipped or not; right-handed or left-handed).
  2. If we require only the three “area-like” properties linearity, the alternating property, and area 1 for the unit square, the formula for the determinant is uniquely fixed (4). The determinant is a necessity, not an invention.
  3. det = 0 = flattened = linearly dependent. In two dimensions the two vectors lie on one line; in three dimensions the three vectors lie on one plane (or one line).
  4. The rank counts how far the figure has been flattened. Degrees of freedom = n − rank, and this decides whether the solutions of a homogeneous system form a point, a line, or a plane (7).
  5. |det| is the area scaling factor. Therefore det(AB) =detA·detB is merely “multiplication of scaling factors.”
  6. The secular equation det(H − εS) = 0 of quantum chemistry is “the condition for keeping a nontrivial solution so that the wave function does not vanish” — it was a geometric requirement (8), (9).

Mochizuki Research Group, Tokyo University of Science / From the lecture notes “(16) What does a zero or nonzero determinant mean?” (in Japanese). The “uniquely determined by the three properties” discussion in §2 and det(AB) in §6 are supplements beyond what is in the notes. The numerical checks use direct double-precision computation and Gaussian elimination with partial pivoting. To run it and check for yourself, go to the simulator. The formulas are typeset with the browser’s built-in MathML (no external libraries or network access whatsoever).