1. Home
  2. Explore
  3. Mathematics
  4. Matrix Columns as Vectors

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Matrix Columns as Vectors

The Determinant as Parallelogram Area

A determinant is more than a number calculated from a matrix: in two dimensions, it measures the area formed by the matrix’s columns. To see why, begin by thinking of each column as a vector.

Two columns form a parallelogram

Consider the matrix

A=[abcd].A= \begin{bmatrix} a & b\\ c & d \end{bmatrix}.A=[ac​bd​].

Its columns are the vectors

v1=[ac],v2=[bd].\mathbf{v}_1= \begin{bmatrix} a\\ c \end{bmatrix}, \qquad \mathbf{v}_2= \begin{bmatrix} b\\ d \end{bmatrix}.v1​=[ac​],v2​=[bd​].

Each vector starts at the origin. Together, the two vectors form adjacent sides of a parallelogram: the other sides are parallel copies of these vectors. The question is how to find the parallelogram’s area from the vectors’ coordinates.

A parallelogram’s area is its base multiplied by its perpendicular height. Taking v1\mathbf{v}_1v1​ as the base, the base length is ∥v1∥\|\mathbf{v}_1\|∥v1​∥. The height is the perpendicular distance from the tip of v2\mathbf{v}_2v2​ to the line spanned by v1\mathbf{v}_1v1​.

The area depends on the part of v2\mathbf{v}_2v2​ that points perpendicular to v1\mathbf{v}_1v1​, not on the part that runs alongside it.

Think About It: If v2\mathbf{v}_2v2​ points entirely along the same line as v1\mathbf{v}_1v1​, what would happen to the parallelogram’s height?

Finding the height with a projection

The projection of v2\mathbf{v}_2v2​ onto the line spanned by v1\mathbf{v}_1v1​ is the component of v2\mathbf{v}_2v2​ that runs in the direction of v1\mathbf{v}_1v1​. The remaining component is perpendicular to that line, and its length is the parallelogram’s height, hhh.

These three lengths form a right triangle: the projection length and hhh are the two perpendicular sides, while ∥v2∥\|\mathbf{v}_2\|∥v2​∥ is the hypotenuse. By the Pythagorean theorem,

h2+∥proj⁡v1v2∥2=∥v2∥2.h^2+\|\operatorname{proj}_{\mathbf{v}_1}\mathbf{v}_2\|^2 =\|\mathbf{v}_2\|^2.h2+∥projv1​​v2​∥2=∥v2​∥2.

Rearranging gives

h2=∥v2∥2−∥proj⁡v1v2∥2.h^2 = \|\mathbf{v}_2\|^2 - \|\operatorname{proj}_{\mathbf{v}_1}\mathbf{v}_2\|^2.h2=∥v2​∥2−∥projv1​​v2​∥2.

The dot product gives a convenient way to express each term. A vector dotted with itself equals its length squared:

∥v∥2=v⋅v.\|\mathbf{v}\|^2=\mathbf{v}\cdot\mathbf{v}.∥v∥2=v⋅v.

The projection formula is

proj⁡v1v2=v2⋅v1v1⋅v1v1.\operatorname{proj}_{\mathbf{v}_1}\mathbf{v}_2 = \frac{\mathbf{v}_2\cdot\mathbf{v}_1} {\mathbf{v}_1\cdot\mathbf{v}_1}\mathbf{v}_1.projv1​​v2​=v1​⋅v1​v2​⋅v1​​v1​.

The fraction gives the amount of v1\mathbf{v}_1v1​ needed to represent the along-the-line component of v2\mathbf{v}_2v2​. Multiplying that scalar by v1\mathbf{v}_1v1​ produces the projection vector.

The projection’s squared length is therefore

∥proj⁡v1v2∥2=(v2⋅v1v1⋅v1v1)⋅(v2⋅v1v1⋅v1v1)=(v2⋅v1)2v1⋅v1.\begin{aligned} \|\operatorname{proj}_{\mathbf{v}_1}\mathbf{v}_2\|^2 &= \left( \frac{\mathbf{v}_2\cdot\mathbf{v}_1} {\mathbf{v}_1\cdot\mathbf{v}_1}\mathbf{v}_1 \right) \cdot \left( \frac{\mathbf{v}_2\cdot\mathbf{v}_1} {\mathbf{v}_1\cdot\mathbf{v}_1}\mathbf{v}_1 \right)\\ &= \frac{(\mathbf{v}_2\cdot\mathbf{v}_1)^2} {\mathbf{v}_1\cdot\mathbf{v}_1}. \end{aligned}∥projv1​​v2​∥2​=(v1​⋅v1​v2​⋅v1​​v1​)⋅(v1​⋅v1​v2​⋅v1​​v1​)=v1​⋅v1​(v2​⋅v1​)2​.​

Substituting this and ∥v2∥2=v2⋅v2\|\mathbf{v}_2\|^2=\mathbf{v}_2\cdot\mathbf{v}_2∥v2​∥2=v2​⋅v2​ into the height equation gives

h2=v2⋅v2−(v2⋅v1)2v1⋅v1.h^2 = \mathbf{v}_2\cdot\mathbf{v}_2 - \frac{(\mathbf{v}_2\cdot\mathbf{v}_1)^2} {\mathbf{v}_1\cdot\mathbf{v}_1}.h2=v2​⋅v2​−v1​⋅v1​(v2​⋅v1​)2​.

Think About It: Why does subtracting the squared projection length from ∥v2∥2\|\mathbf{v}_2\|^2∥v2​∥2 leave the squared perpendicular length?

From base and height to area

The area is the base length times the height:

Area=∥v1∥h.\text{Area}=\|\mathbf{v}_1\|h.Area=∥v1​∥h.

Squaring both sides makes it possible to use the expression for h2h^2h2 directly:

Area2=∥v1∥2h2=(v1⋅v1)(v2⋅v2−(v2⋅v1)2v1⋅v1)=(v1⋅v1)(v2⋅v2)−(v2⋅v1)2.\begin{aligned} \text{Area}^2 &=\|\mathbf{v}_1\|^2h^2\\ &=(\mathbf{v}_1\cdot\mathbf{v}_1) \left( \mathbf{v}_2\cdot\mathbf{v}_2 - \frac{(\mathbf{v}_2\cdot\mathbf{v}_1)^2} {\mathbf{v}_1\cdot\mathbf{v}_1} \right)\\ &=(\mathbf{v}_1\cdot\mathbf{v}_1) (\mathbf{v}_2\cdot\mathbf{v}_2) - (\mathbf{v}_2\cdot\mathbf{v}_1)^2. \end{aligned}Area2​=∥v1​∥2h2=(v1​⋅v1​)(v2​⋅v2​−v1​⋅v1​(v2​⋅v1​)2​)=(v1​⋅v1​)(v2​⋅v2​)−(v2​⋅v1​)2.​

Now use the coordinates of the columns. For v1=(a,c)\mathbf{v}_1=(a,c)v1​=(a,c) and v2=(b,d)\mathbf{v}_2=(b,d)v2​=(b,d),

v1⋅v1=a2+c2,v2⋅v2=b2+d2,v2⋅v1=ab+cd.\mathbf{v}_1\cdot\mathbf{v}_1=a^2+c^2, \qquad \mathbf{v}_2\cdot\mathbf{v}_2=b^2+d^2, \qquad \mathbf{v}_2\cdot\mathbf{v}_1=ab+cd.v1​⋅v1​=a2+c2,v2​⋅v2​=b2+d2,v2​⋅v1​=ab+cd.

Therefore,

Area2=(a2+c2)(b2+d2)−(ab+cd)2=(a2b2+a2d2+c2b2+c2d2)−(a2b2+2abcd+c2d2)=a2d2−2abcd+c2b2=(ad−bc)2.\begin{aligned} \text{Area}^2 &=(a^2+c^2)(b^2+d^2)-(ab+cd)^2\\ &=(a^2b^2+a^2d^2+c^2b^2+c^2d^2) -(a^2b^2+2abcd+c^2d^2)\\ &=a^2d^2-2abcd+c^2b^2\\ &=(ad-bc)^2. \end{aligned}Area2​=(a2+c2)(b2+d2)−(ab+cd)2=(a2b2+a2d2+c2b2+c2d2)−(a2b2+2abcd+c2d2)=a2d2−2abcd+c2b2=(ad−bc)2.​

Taking the nonnegative square root gives

Area=∣ad−bc∣.\text{Area}=|ad-bc|.Area=∣ad−bc∣.

Why this is the determinant

For a 2×22\times22×2 matrix, the determinant is defined by

det⁡(A)=ad−bc.\det(A)=ad-bc.det(A)=ad−bc.

Thus the area of the parallelogram formed by the matrix’s column vectors is

Area=∣det⁡(A)∣.\boxed{\text{Area}=|\det(A)|}.Area=∣det(A)∣​.

The absolute value matters because area cannot be negative. The determinant itself can be positive or negative, depending on the vectors’ orientation. Reversing the order of the columns changes the determinant’s sign, but it does not change the parallelogram’s area.

The formula also explains what happens when the columns lie along the same line. In that case, the parallelogram has height zero and hence area zero; correspondingly, its determinant is zero. If either column is the zero vector, the parallelogram likewise collapses and has zero area.

Think About It: How can two matrices have determinants with opposite signs but represent parallelograms with the same area?

Comprehensive review

A matrix’s columns can be treated as two vectors that form adjacent sides of a parallelogram. Its area is the base length multiplied by the perpendicular height. The projection of one vector onto the other separates the vector into a parallel component and a perpendicular component; the perpendicular component supplies the height. Using the dot product and the Pythagorean theorem leads to the coordinate expression ∣ad−bc∣|ad-bc|∣ad−bc∣.

The determinant therefore carries both a size and an orientation interpretation: its absolute value gives the parallelogram’s area, while its sign records orientation. When the determinant is zero, the columns do not enclose any area.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent