Determinants give you exact formulas where row reduction gives only an algorithm: a formula for each variable in a system Ax=b, a formula for every entry of A−1, and a formula for the area or volume of a parallelogram or parallelepiped. The last one explains the claim from the start of the unit that detA is the factor by which A scales area.
Cramer's rule
For an n×n matrix A and a vector b in Rn, write Ai(b) for the matrix you get by replacing column i of A with b.
Cramer's rule
If A is an invertible n×n matrix, then for every b in Rn the unique solution of Ax=b has entries
xi=detAdetAi(b),i=1,2,…,n.
The proof is short and worth seeing. Let Ii(x) be the identity matrix with column i replaced by x. Multiplying by A acts column by column: Aej=aj for j=i, and Ax=b in column i. So
AIi(x)=Ai(b).
Expanding detIi(x) across row i shows it equals xi. Taking determinants and using the multiplicative property, (detA)xi=detAi(b). Divide by detA=0 and you're done.
So x1=1414=1, x2=1428=2, x3=14−14=−1, and the solution is (1,2,−1).
Common mistake
Cramer's rule applies only when detA=0. If detA=0, the system has either no solution or infinitely many, and Cramer's rule says nothing about which; use row reduction. Also, for anything bigger than 3×3, Cramer's rule is far slower than row reduction. Its value is theoretical: it shows exactly how the solution depends on the entries of A and b.
A formula for the inverse
Column j of A−1 is the solution of Ax=ej. Apply Cramer's rule to that system and expand detAi(ej) down column i: the only nonzero entry is the 1 in row j, which leaves the cofactor Cji. So the (i,j) entry of A−1 is Cji/detA.
Definition
Adjugate
The adjugate of A, written adjA, is the transpose of the matrix of cofactors: its (i,j) entry is Cji. If A is invertible,
A−1=detA1adjA.
Notice the index swap: the (i,j) entry of the inverse uses the cofactor from position (j,i). For a 2×2 matrix this formula is the familiar ad−bc1[d−c−ba]. For larger matrices it's mainly useful when you need just one entry of A−1.
Area of a parallelogram
Area and volume
If A is 2×2, the area of the parallelogram spanned by the columns of A is ∣detA∣.
If A is 3×3, the volume of the parallelepiped spanned by the columns of A is ∣detA∣.
Here is why. For a diagonal matrix [a00d] the parallelogram is a rectangle with area ∣a∣∣d∣=∣detA∣. Any other matrix can be reduced to diagonal form by column interchanges and column replacements. An interchange just relabels the two edges (same parallelogram, sign of the determinant flips, absolute value unchanged). A replacement a1→a1+ca2 slides one edge along a line parallel to the other: that's a shear, which keeps the same base and height, so the area stays the same, and so does the determinant. The same argument works in three dimensions with base area times height.
Because the determinant doesn't care whether you use rows or columns, you can put the vectors in as rows or as columns.
Worked example: A parallelogram not at the origin
Find the area of the parallelogram with vertices (−1,1), (3,2), (0,4) and (4,5).
First translate so a vertex sits at the origin; translation doesn't change area. The two edges leaving (−1,1) are
(3,2)−(−1,1)=(4,1),(0,4)−(−1,1)=(1,3).
(Check: (−1,1)+(4,1)+(1,3)=(4,5), the fourth vertex.)
The parallelogram with edges (4, 1) and (1, 3) leaving the vertex (-1, 1).Open in grapher →Area=4113=∣12−1∣=11.
A triangle with the same three vertices (−1,1), (3,2), (0,4) is half of this parallelogram, so its area is 211.
In three dimensions it works the same way: the parallelepiped spanned by (2,0,1), (1,3,0) and (0,1,4) has volume
201130014=∣2(12−0)−1(0−1)+0∣=25.
Linear transformations scale area by ∣detA∣
Now the big picture. Let T(x)=Ax with A a 2×2 matrix. A parallelogram spanned by p and q is carried to the parallelogram spanned by Ap and Aq, whose area is
det[ApAq]=det(A[pq])=∣detA∣⋅det[pq].
So every parallelogram's area is multiplied by the same factor ∣detA∣. Any reasonable region can be approximated by tiny squares, so the same holds for all of them.
Scaling by a linear transformation
If T(x)=Ax with A a 2×2 matrix and S is a region of finite area in R2, then
area of T(S)=∣detA∣⋅area of S.
The same holds for volume in R3 with A a 3×3 matrix.
Worked example: The area of an ellipse
Find the area enclosed by the ellipse 9x2+4y2=1.
The matrix A=[3002] sends the unit disk u2+v2≤1 to this ellipse region: if (x,y)=(3u,2v), then 9x2+4y2=u2+v2. The unit disk has area π, and detA=6, so the ellipse encloses area 6π. In general, the ellipse with semi-axes a and b has area πab.
Tip
A negative determinant is not a mistake. Its sign tells you the transformation reverses orientation (like a reflection). Area is always the absolute value.
Practice
Practice 1
Use Cramer's rule to solve 3x1+2x25x1+4x2=7=13.
Enter a point like (2, -3)
Practice 2
Use Cramer's rule to solve 2x1−x23x1+4x2=4=1.
Enter a point like (2, -3)
Practice 3
Use Cramer's rule to find only x2 for the system
2x1+x2−x3x1+3x2+2x3x1+x3=3=1=4
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 4
Let A=132210041. Use the adjugate formula to find the (1,3) entry of A−1 without computing the rest of the inverse.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 5
Find the area of the parallelogram with vertices (2,−1), (7,0), (4,2) and (9,3).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 6
Find the area of the triangle with vertices (1,−1), (7,0) and (3,4).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 7
Find the volume of the parallelepiped with one vertex at the origin and adjacent vertices at (1,0,2), (3,1,−1) and (0,4,1).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 8
Let T(x)=Ax with A=[2−113], and let S be the disk of radius 2 centered at the origin. Find the area of T(S).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.