20. Cramer's Rule, Inverse Matrix, and Volume
Overview
The lecture derives the inverse formula A⁻¹ = Cᵀ/det(A), where C is the cofactor matrix, and uses it to obtain Cramer's Rule: each solution component xⱼ equals det(Bⱼ)/det(A), with column j of A replaced by b. It then interprets determinants geometrically as signed areas and volumes, using parallelepipeds, orthogonal matrices, and the 2D formula ad − bc to connect determinant properties with geometric scaling.
Key takeaways
- For an invertible matrix A, the cofactor formula gives A⁻¹ = Cᵀ/det(A); the transpose places each cofactor in the position needed for A Cᵀ to equal det(A)I.
- Cramer's Rule follows from the inverse formula: xⱼ = det(Bⱼ)/det(A), where Bⱼ replaces column j of A with the right-hand side b.
- Cramer's Rule is valuable as a symbolic formula but inefficient for computation because it requires n + 1 determinants; Gaussian elimination is the practical approach.
- The absolute determinant is the volume of the parallelepiped formed by a matrix's vectors, while its sign records orientation.
- Orthogonal matrices preserve the unit cube's volume because QᵀQ = I implies det(Q)² = 1.
- In two dimensions, the determinant ad − bc gives parallelogram area, and half its absolute value gives the area of the triangle formed with the origin.
Chapters
- The 2×2 inverse formula divides by det(A), matching the condition that A is invertible exactly when det(A) is nonzero.
- For a 2×2 matrix, the inverse entries d, −b, −c, and a correspond to cofactors arranged in transposed positions.
- The general candidate is A⁻¹ = Cᵀ/det(A), where C contains the cofactors of A.
- The inverse formula is verified by checking A Cᵀ = det(A)I.
- Each diagonal entry of A Cᵀ is a row of A multiplied by the cofactors from that same row, giving det(A) by cofactor expansion.
- Each off-diagonal entry is zero because it corresponds to a determinant with two identical rows.
- The determinant uses products of n matrix entries, while each cofactor uses products of n − 1 entries.
- For Ax = b, the unique solution is x = A⁻¹b when det(A) is nonzero.
- The jth component of Cᵀb is the determinant of Bⱼ, formed by replacing column j of A with b.
- Cramer's Rule gives xⱼ = det(Bⱼ)/det(A), expressing every solution component as a ratio of determinants.
- Computing a solution through Cramer's Rule requires finding det(A) and n additional determinants.
- For practical numerical work, Gaussian elimination is far more efficient than repeatedly computing determinants.
- The explicit inverse and Cramer's Rule remain useful as algebraic formulas, but software such as MATLAB uses elimination rather than Cramer's Rule.
- For a 3×3 matrix, its three row vectors can be drawn as edges from the origin to define a parallelepiped.
- The determinant gives the shape's signed volume, while the ordinary nonnegative volume is |det(A)|.
- Changing the sign of the determinant distinguishes orientation, such as a right-handed versus left-handed arrangement of edges.
- The identity matrix defines the unit cube, whose volume and determinant are both 1.
- An orthogonal matrix Q has perpendicular unit-length columns, so it rotates or reflects the unit cube without changing its volume.
- Taking determinants of QᵀQ = I gives det(Q)² = 1, so det(Q) is 1 or −1, consistent with unit volume and orientation.
- Doubling one edge of a rectangular box doubles its volume.
- Doubling a row of a matrix doubles its determinant, by the determinant's row-scaling property.
- The comparison with determinant properties builds the proof that determinant magnitude measures volume, including the need to account for row addition and non-right angles.
- Two vectors (a, b) and (c, d) define a parallelogram in the plane.
- Its signed area is ad − bc, the determinant of the matrix with those vectors as rows.
- This coordinate formula avoids separately finding a base length, a perpendicular height, or angles.
- A triangle with vertices (0, 0), (a, b), and (c, d) occupies half the parallelogram formed by the two nonzero vertices.
- Its area is ½|ad − bc|, using the same 2×2 determinant as the parallelogram formula.
- The determinant method is especially useful when vertex coordinates are known but base lengths and heights are not.
- For arbitrary vertices (x₁, y₁), (x₂, y₂), and (x₃, y₃), the signed area is half the determinant of the matrix with rows (xᵢ, yᵢ, 1).
- Subtracting one vertex row from the other two reduces the expression to a triangle based at the origin, showing how the formula encodes translation.
- The lecture concludes with determinants as a compact coordinate-based formula for area and volume, before moving on to eigenvalues.
Transcript excerpt
0:00 OK, this is lecture twenty. And this is the final lecture on determinants. And it's about the applications. So we worked hard in the last two lectures to get a formula for the determinant and the properties of the determinant. Now to use the determinant and, and always this determinant packs all this information into a single number. And that number can give us formulas for all sorts of, things that we've been calculating already
0:50 without formulas. Now what was A inverse? So, so I'm beginning with the formula for A inverse. Two, two by two formula we know, right? The two by two formula for A inverse, the inverse of a b c d inverse is one over the determinant times d a -b -c. Somehow I want to see what's going on for three by three and n by n. And actually maybe you can see what's going on from this two by two case.
1:38 So there's a formula for the inverse, and what did I divide by? The determinant. So what I'm looking for is a formula where it has one over the determinant and, and you remember why that makes good sense, because then that's perfect as long as the determinant isn't zero, and that's exactly when there is an inverse. But now I have to ask can we recognize any of this stuff? Do you recognize what that number d is from the past? From last, from the last lecture? My hint is think cofactors. Because my formula is going to be, my formula for the inverse
2:28 is going to be one over the determinant times a matrix of cofactors. So you remember that D? What's that the cofactor of? Remember cofactors? If -- that's the one one cofactor, because if I strike out row and column one, I'm left with d.
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, MIT OpenCourseWare.