Skip to main content

Section5.3Determinants and Volumes

Objectives
  1. Understand the relationship between the determinant of a matrix and the volume of a parallelepiped.
  2. Learn to use determinants to compute volumes of parallelograms and triangles.
  3. Learn to use determinants to compute the volume of some curvy shapes like ellipses.
  4. Pictures: parallelepiped, the image of a curvy shape under a linear transformation.
  5. Theorem: determinants and volumes.
  6. Vocabulary: parallelepiped.

In this section we give a geometric interpretation of determinants, in terms of volumes. This will shed light on the reason behind three of the four defining properties of the determinant. It is also a crucial ingredient in the change-of-variables formula in multivariable calculus.

Subsection5.3.1Parallelograms and Parallelepipeds

The determinant computes the volume of the following kind of geometric object.

Definition

The parallelepiped determined by n vectors v1,v2,...,vn in Rn is the subset

P=Ca1v1+a2v2+···+anvnEE0a1,a2,...,an1D.

In other words, a parallelepiped is the set of all linear combinations of n vectors with coefficients in [0,1]. We can draw parallelepipeds using the parallelogram law for vector addition.

Example(The unit cube)

The parallelepiped determined by the standard coordinate vectors e1,e2,...,en is the unit n -dimensional cube.

e2e1e1e2e3
Example(Parallelograms)

When n=2, a parallelepiped is just a paralellogram in R2. Note that the edges come in parallel pairs.

v2v1P
Example

When n=3, a parallelepiped is a kind of a skewed cube. Note that the faces come in parallel pairs.

v1v2v3P

When does a parallelepiped have zero volume? This can happen only if the parallelepiped is flat, i.e., it is squashed into a lower dimension.

Pv1v2v1v2v3P

This means exactly that {v1,v2,...,vn} is linearly dependent, which by this corollary in Section 5.1 means that the matrix with rows v1,v2,...,vn has determinant zero. To summarize:

Key Observation

The parallelepiped defined by v1,v2,...,vn has zero volume if and only if the matrix with rows v1,v2,...,vn has zero determinant.

Subsection5.3.2Determinants and Volumes

The key observation above is only the beginning of the story: the volume of a parallelepiped is always a determinant.

Proof

Since the four defining properties characterize the determinant, they also characterize the absolute value of the determinant. Explicitly, |det| is a function on square matrices which satisfies these properties:

  1. Doing a row replacement on A does not change |det(A)|.
  2. Scaling a row of A by a scalar c multiplies |det(A)| by |c|.
  3. Swapping two rows of a matrix does not change |det(A)|.
  4. The determinant of the identity matrix In is equal to 1.

The absolute value of the determinant is the only such function: indeed, by this recipe in Section 5.1, if you do some number of row operations on A to obtain a matrix B in row echelon form, then

|det(A)|=EEEE(productofthediagonalentriesofB)(productofscalingfactorsused)EEEE.

For a square matrix A, we abuse notation and let vol(A) denote the volume of the parallelepiped determined by the rows of A. Then we can regard vol as a function from the set of square matrices to the real numbers. We will show that vol also satisfies the above four properties.

  1. For simplicity, we consider a row replacement of the form Rn=Rn+cRi. The volume of a parallelepiped is the volume of its base, times its height: here the “base” is the parallelepiped determined by v1,v2,...,vn1, and the “height” is the perpendicular distance of vn from the base.
    basev2v1heightbaseheightv1v2v3
    Translating vn by a multiple of vi moves vn in a direction parallel to the base. This changes neither the base nor the height! Thus, vol(A) is unchanged by row replacements.
    basev2v1height−−−−→basev2v2.5v1v1heightbaseheightv1v2v3−−−−→baseheightv1v2v3+.5v1v3
  2. For simplicity, we consider a row scale of the form Rn=cRn. This scales the length of vn by a factor of |c|, which also scales the perpendicular distance of vn from the base by a factor of |c|. Thus, vol(A) is scaled by |c|.
    basev2v1height−−−−→base34v2v134heightbaseheightv1v2v3−−−−→base43heightv1v243v3
  3. Swapping two rows of A just reorders the vectors v1,v2,...,vn, hence has no effect on the parallelepiped determined by those vectors. Thus, vol(A) is unchanged by row swaps.
    v2v1−−−−→v1v2v1v3v2−−−−→v1v2v3
  4. The rows of the identity matrix In are the standard coordinate vectors e1,e2,...,en. The associated parallelepiped is the unit cube, which has volume 1. Thus, vol(In)=1.

Since |det| is the only function satisfying these properties, we have

vol(P)=vol(A)=|det(A)|.

This completes the proof.

Since det(A)=det(AT) by the transpose property, the absolute value of det(A) is also equal to the volume of the parallelepiped determined by the columns of A as well.

Example(Length)

A 1×1 matrix A is just a number AaB. In this case, the parallelepiped P determined by its one row is just the interval [0,a] (or [a,0] if a<0 ). The “volume” of a region in R1=R is just its length, so it is clear in this case that vol(P)=|a|.

vol(P)=|a|0a
Example(Area)

When A is a 2×2 matrix, its rows determine a parallelogram in R2. The “volume” of a region in R2 is its area, so we obtain a formula for the area of a parallelogram: it is the determinant of the matrix whose rows are the vectors forming two adjacent sides of the parallelogram.

HabIHcdIarea=EEEEdetHabcdIEEEE=|adbc|

It is perhaps surprising that it is possible to compute the area of a parallelogram without trigonometry. It is a fun geometry problem to prove this formula by hand. [Hint: first think about the case when the first row of A lies on the x -axis.]

You might be wondering: if the absolute value of the determinant is a volume, what is the geometric meaning of the determinant without the absolute value? The next remark explains that we can think of the determinant as a signed volume. If you have taken an integral calculus course, you probably computed negative areas under curves; the idea here is similar.

Subsection5.3.3Volumes of Regions

Let A be an n×n matrix with columns v1,v2,...,vn, and let T:RnRn be the associated matrix transformation T(x)=Ax. Then T(e1)=v1 and T(e2)=v2, so T takes the unit cube C to the parallelepiped P determined by v1,v2,...,vn:

Ce2e1TF||v1v2||Gv2v1P

Since the unit cube has volume 1 and its image has volume |det(A)|, the transformation T scaled the volume of the cube by a factor of |det(A)|. To rephrase:

If A is an n×n matrix with corresponding matrix transformation T:RnRn, and if C is the unit cube in Rn, then the volume of T(C) is |det(A)|.

The notation T(S) means the image of the region S under the transformation T. In set builder notation, this is the subset

T(S)=CT(x)|xinSD.

In fact, T scales the volume of any region in Rn by the same factor, even for curvy regions.

Proof

Let C be the unit cube, let v1,v2,...,vn be the columns of A, and let P be the parallelepiped determined by these vectors, so T(C)=P and vol(P)=|det(A)|. For A>0 we let AC be the cube with side lengths A, i.e., the parallelepiped determined by the vectors Ae1,Ae2,...,Aen, and we define AP similarly. By the second defining property, T takes AC to AP. The volume of AC is An (we scaled each of the n standard vectors by a factor of A ) and the volume of AP is An|det(A)| (for the same reason), so we have shown that T scales the volume of AC by |det(A)|.

Ae2Ae1ACvol(AC)=AnTF||v1v2||GAv2Av1APvol(AP)=An|det(A)|

By the first defining property, the image of a translate of AC is a translate of AP:

T(x+AC)=T(x)+AT(C)=T(x)+AP.

Since a translation does not change volumes, this proves that T scales the volume of a translate of AC by |det(A)|.

At this point, we need to use techniques from multivariable calculus, so we only give an idea of the rest of the proof. Any region S can be approximated by a collection of very small cubes of the form x+AC. The image T(S) is then approximated by the image of this collection of cubes, which is a collection of very small parallelepipeds of the form T(x)+AP.

x+ACSTT(x)+APT(S)

The volume of S is closely approximated by the sum of the volumes of the cubes; in fact, as A goes to zero, the limit of this sum is precisely vol(S). Likewise, the volume of T(S) is equal to the sum of the volumes of the parallelepipeds, take in the limit as A0. The key point is that the volume of each cube is scaled by |det(A)|. Therefore, the sum of the volumes of the parallelepipeds is |det(A)| times the sum of the volumes of the cubes. This proves that vol(T(S))=|det(A)|vol(S).