4.5.24 · D1Linear Algebra (Full)

Foundations — Cramer's rule

2,506 words11 min readBack to topic

Every letter and squiggle in that sentence — the ingredients, the target, the "box", the "volume" — is a symbol we will now build from zero. This page assumes nothing; every notation used by the parent note is constructed here, in an order where each idea leans only on the ones before it.


0. What is a "system of equations", really?

Before any symbols, a picture. Two straight lines drawn on paper. Each line is one equation — every point on that line is a pair that makes that equation true. Where the two lines cross is the single pair that makes both true. That crossing point is "the solution".

Figure s01 below draws exactly this: the orange line is one equation, the teal line another, and the plum dot marks the one point that sits on both — that is what "solving the system" means.

Figure — Cramer's rule

Why "linear" matters for us: straightness is what makes the whole determinant/volume machinery work. Curved equations would break every step.


1. The unknowns and the vector

The little numbers we are solving for are the unknowns. We write them . The subscript is just a name-tag: is "the first unknown", "the second". In a 2D problem you may see them as plain and .

The letter just means "however many unknowns there are". If we have two unknowns, if we have three.


2. Columns of a matrix, and

Read a matrix column by column: each vertical strip is itself a vector — an arrow. This is the single most important way to look at for Cramer's rule.

Figure s02 takes a grid and redraws its two vertical strips as two arrows from the origin: the orange arrow is column , the teal arrow is column . The picture says "a matrix is just a bundle of arrows standing side by side."

Figure — Cramer's rule

Why the topic needs columns: Cramer's rule is entirely about swapping one column of . If you don't see as a row of arrows, the whole rule looks like magic.


3. The product — a mix of columns

Now the crucial reinterpretation. School often teaches "multiply row by column." True — but for us the honest picture is different and far more useful:

Figure s03 shows this "tip-to-tail" recipe: the orange arrow is , then starting from its tip we draw the teal arrow ; the plum arrow from the origin to the final tip is the whole product . That plum arrow is what the mix produces.

Figure — Cramer's rule

This is why Cramer swaps a column and never a row: is literally built out of columns.


4. The target vector , and the equation

Putting it together:

This compact line is the entire problem. Every worked example in the parent note is one instance of it.


5. What is a determinant? — signed area/volume

Here is the engine. The parent note keeps saying " measures volume." Let's earn that picture.

Figure s04 shades the parallelogram spanned by two column-arrows (orange) and (teal); the shaded plum area is . Widen or tilt the arrows and the shaded area — the determinant — changes with them.

Figure — Cramer's rule

Three facts about this volume are all Cramer needs — the parent note names them multilinear and alternating:

Fact 3 gives the golden test: means the columns are squashed flat (they don't span full volume), so you cannot mix them uniquely to reach a general . That's exactly when Cramer's rule is forbidden.

For hands-on formulas of these volumes see Determinants and Cofactor Expansion; the deeper properties live in Multilinear and Alternating Maps.


6. The identity matrix and basis vectors

The proof in the parent builds a "clever matrix" from . So we need .

Two properties the proof uses:

  • — multiplying by the pure axis-arrow picks out column of .
  • — the unit box has volume (our measuring stick).

7. The clever matrix — built from and

The parent note's proof introduces a matrix it calls . It is not magic — we build it here so nothing is used before it is defined.


8. The swapped matrix , and the identity

Now multiply by our clever . Matrix multiplication acts column by column: column of the product is times column of .

  • For every wall column (), that column of is , and — the original column of comes straight back.
  • For the special column , that column of is , and (that is our system!).

So the product keeps every original column of except the -th, which becomes — that is precisely :


9. Taking determinants, and the ratio

Now every ingredient is on the table. Take the determinant of both sides of and use the multiplicativity rule.

Applying it to :

Why this move works: the left side is a single product , so multiplicativity splits its determinant into . We already earned in §7, so the factor is the unknown we want. Substituting:

Finally divide by (allowed only when ): Top: volume of the swapped box. Bottom: volume of the original box. Divide → the pour-amount. Division demands — you can never divide by a flat box.


Prerequisite map

Linear system straight lines

Vector as arrow

Matrix as columns

Ax mixes columns

Target vector b

Determinant signed volume

Multilinear alternating rules

Identity and basis vectors

Clever matrix X_i det = x_i

Swapped matrix A_i

A X_i = A_i

det MN = det M det N

Cramer x_i = det A_i / det A

See also the practical alternative Gaussian Elimination, the reformulation via Matrix Inverse, and the equivalence " iff unique solution" in the Invertible Matrix Theorem.


Equipment checklist

I can draw a vector as an arrow from a list of numbers
Yes — = 3 right, 2 up.
I can read a matrix as a row of column-arrows
Yes — .
I know is a mix of columns, not rows
.
I know what is geometrically
The target arrow we build by mixing columns.
I can state the three column-rules of
Scaling, adding (split), alternating (equal cols → 0).
I know what means
Columns are squashed flat; no unique mix; Cramer forbidden.
I know what signed volume means in dimension
The signed -volume of the box (parallelepiped) the columns span.
I know and
Basis column picks out column ; unit box has volume 1.
I can build and say why
with column replaced by ; walls are a unit cube, only survives.
I know why
Multiplication reproduces walls as and turns the -column into .
I know
Volume of a product = product of volumes; splits .
I can read the final formula symbol by symbol
: swapped-box volume ÷ original-box volume.