Matrix Columns as Vectors


Matrix Columns as Vectors

Maria
Today we’re looking at a geometric meaning of the determinant of a two-by-two matrix. Write the matrix as two columns: the first is v1, with coordinates a and c, and the second is v2, with coordinates b and d. So v1 is the vector (a, c), and v2 is (b, d).

Corey
And if we draw both vectors starting at the origin, they form two sides of a parallelogram. The other sides are parallel to those vectors, so the parallelogram is completely determined by v1 and v2. The question is: how can we find its area from the matrix entries?

Maria
For any parallelogram, area is base times height. We can use the length of v1 as the base. Then the height is the perpendicular distance from the tip of v2 to the line through v1. The tricky part is expressing that height using the vectors.

Corey
Let’s call that line l, the line spanned by v1. The projection of v2 onto l gives the part of v2 that lies along the base. That projection, together with the perpendicular height, makes a right triangle whose hypotenuse is v2.

Maria
So the Pythagorean theorem says height squared plus the length of the projection squared equals the length of v2 squared. Rearranging, height squared is the length of v2 squared minus the projection’s length squared. We can write the squared length of a vector as its dot product with itself.

Corey
That gives us the first term: v2 dot v2. For the projection, the formula is the dot product of v2 with v1, divided by v1 dot v1, and then multiplied by v1. In symbols, the projection is ((v2 dot v1)/(v1 dot v1)) times v1.

Maria
The fraction there is a scalar, and multiplying v1 by it gives a vector along the line l. To get the projection’s squared length, we dot that projected vector with itself. Because the scalar appears twice, the result simplifies to (v2 dot v1) squared divided by v1 dot v1.

Corey
So now we have height squared equal to v2 dot v2 minus (v2 dot v1) squared over v1 dot v1. The area is base times height, and the base is the length of v1. Squaring the area lets us use squared lengths and avoid taking square roots in the middle of the calculation.

Maria
The base squared is v1 dot v1. Multiply that by the expression for height squared, and the v1 dot v1 in the denominator cancels with the base-squared factor in the second term. We get area squared equals (v1 dot v1)(v2 dot v2) minus (v2 dot v1) squared.

Corey
Now put in the coordinates. Since v1 is (a, c), v1 dot v1 is a squared plus c squared. Since v2 is (b, d), v2 dot v2 is b squared plus d squared. And v2 dot v1 is ab plus cd.

Maria
That means area squared is (a squared plus c squared) times (b squared plus d squared), minus (ab plus cd) squared. If we expand both products, the a-squared-b-squared terms cancel, and so do the c-squared-d-squared terms.

Corey
What remains is a squared d squared, minus two a b c d, plus c squared b squared. That’s the same pattern as x squared minus two x y plus y squared, if we let x equal ad and y equal bc.

Maria
And that pattern is (x minus y) squared. So area squared equals (ad minus bc) squared. But ad minus bc is exactly the determinant of the original matrix with columns (a, c) and (b, d).

Corey
Therefore, the area squared equals the determinant squared, and the area itself is the absolute value of the determinant. We take the absolute value because an area can’t be negative, even though the determinant can be.

Maria
That sign difference also makes sense if we switch the order of the two column vectors. The same two vectors still form the same parallelogram, so its area stays the same, but the determinant changes sign when the columns are swapped.

Corey
So the useful takeaway is simple: for a two-by-two matrix, the area of the parallelogram generated by its column vectors is the absolute value of its determinant. A calculation that began with base times height ends with a direct geometric interpretation of ad minus bc.

Ask anything
We've read this whole study set, so questions about it get the best answers.