Geometry of Determinants
The prior section develops the determinant algebraically, by considering formulas satisfying certain conditions. This section complements that with a geometric approach. Beyond its intuitive appeal, an advantage of this approach is that while we have so far only considered whether or not a determinant is zero, here we shall give a meaning to the value of the determinant. (The prior section treats the determinant as a function of the rows but this section focuses on columns.)
Determinants as Size Functions
This parallelogram picture is familiar from the construction of the sum of the two vectors.
Definition 1.1 In the box (or parallelepiped) formed by is the set .
Thus the parallelogram above is the box formed by . A three-space box is shown in Example 1.4.
We can find the area of the above box by drawing an enclosing rectangle and subtracting away areas not in the box.
That the area equals the value of the determinant
is no coincidence. The definition of determinants contains four properties that we know lead to a unique function for each dimension . We shall argue that these properties make good postulates for a function that measures the size of boxes in -space.
For instance, such a function should have the property that multiplying one of the box-defining vectors by a scalar will multiply the size by that scalar.
Shown here is . On the right the rescaled region is in solid lines with the original region shaded for comparison.
That is, we can reasonably expect that . Of course, this condition is one of those in the definition of determinants.
Another property of determinants that should apply to any function measuring the size of a box is that it is unaffected by row combinations. Here are before-combining and after-combining boxes (the scalar shown is ).
The box formed by and slants differently than the original one but the two have the same base and the same height, and hence the same area. So we expect that size is not affected by a shear operation . Again, this is a determinant condition.
We expect that the box formed by unit vectors has unit size
and we naturally extend that to any -space .
Condition (2) of the definition of determinant is redundant, as remarked following the definition. We know from the prior section that for each the determinant exists and is unique so we know that these postulates for size functions are consistent and that we do not need any more postulates. Therefore, we are justified in interpreting as giving the size of the box formed by the vectors.
Remark 1.2 Although condition (2) is redundant it raises an important point. Consider these two.
Swapping the columns changes the sign. On the left, starting with and following the arc inside the angle to (that is, going counterclockwise), we get a positive size. On the right, starting at and going to , and so following the clockwise arc, gives a negative size. The sign returned by the size function reflects the orientation or sense of the box. (We see the same thing if we picture the effect of scalar multiplication by a negative scalar.)
Definition 1.3 The volume of a box is the absolute value of the determinant of a matrix with those vectors as columns.
Example 1.4 By the formula that takes the area of the base times the height, the volume of this parallelepiped is . That agrees with the determinant.
Taking the vectors in a different order changes the sign but not the magnitude.
Theorem 1.5 A transformation changes the size of all boxes by the same factor, namely, the size of the image of a box is times the size of the box , where is the matrix representing with respect to the standard basis.
That is, the determinant of a product is the product of the determinants .
The two sentences say the same thing, first in map terms and then in matrix terms. This is because , as both give the size of the box that is the image of the unit box under the composition , where the maps are represented with respect to the standard basis. We will prove the second sentence.
Proof First consider the case that is singular and thus does not have an inverse. Observe that if is invertible then there is an such that , so , and so is invertible. The contrapositive of that observation is that if is not invertible then neither is — if then .
Now consider the case that is nonsingular. Any nonsingular matrix factors into a product of elementary matrices . To finish this argument we will verify that for all matrices and elementary matrices . The result will then follow because .
There are three types of elementary matrix. We will cover the case; the and checks are similar. The matrix equals except that row is multiplied by . The third condition of determinant functions then gives that . But , again by the third condition because is derived from the identity by multiplication of row by . Thus holds for .
QED
Example 1.6 Application of the map represented with respect to the standard bases by
will double sizes of boxes, e.g., from this
to this
Corollary 1.7 If a matrix is invertible then the determinant of its inverse is the inverse of its determinant .
Proof
QED
Exercises
Exercise 1.8 Supplied answer
Is
inside of the box formed by these three?
Answer. Solving
gives the unique solution , and . Because , the vector is not in the box.
Exercise 1.10 Supplied answer
Recommended. In this picture the rectangle on the left is defined by the points and . Apply the matrix to get the rectangle on the right, defined by and . Why doesn’t this contradict Theorem 1.5?
area is determinant is area is Answer. We have drawn that picture to mislead. The picture on the left is not the box formed by two vectors. If we slide it to the origin then it becomes the box formed by this sequence.
Then the image under the action of the matrix is the box formed by this sequence.
which has an area of .
Exercise 1.11 Supplied answer
Recommended. Find the volume of this region.
Answer. Move the parallelepiped to start at the origin, so that it becomes the box formed by
and now the absolute value of this determinant is easily computed as .
Exercise 1.13 Supplied answer
Recommended. Consider the linear transformation of represented with respect to the standard bases by this matrix.
Compute the determinant of the matrix. Does the transformation preserve orientation or reverse it?
Find the size of the box defined by these vectors. What is its orientation?
Find the images under of the vectors in the prior item and find the size of the box that they define. What is the orientation?
Answer.
Gauss’s Method
gives the determinant as . The sign is positive so the transformation preserves orientation.
The size of the box is the value of this determinant.
The orientation is positive.
Since this transformation is represented by the given matrix with respect to the standard bases, and with respect to the standard basis the vectors represent themselves, to find the image of the vectors under the transformation just multiply them, from the left, by the matrix.
Then compute the size of the resulting box.
The starting box is positively oriented, the transformation preserves orientations (since the determinant of the matrix is positive), and the ending box is also positively oriented.
Exercise 1.14 Supplied answer
By what factor does each transformation change the size of boxes?
Answer. Express each transformation with respect to the standard bases and find the determinant.
Exercise 1.15 Supplied answer
What is the area of the image of the rectangle under the action of this matrix?
Answer. The starting area is and the matrix changes sizes by . Thus the area of the image is .
Exercise 1.16 Supplied answer
If changes volumes by a factor of and changes volumes by a factor of then by what factor will their composition changes volumes?
Answer. By a factor of .
Exercise 1.17 Supplied answer
In what way does the definition of a box differ from the definition of a span?
Answer. For a box we take a sequence of vectors (as described in the remark, the order of the vectors matters), while for a span we take a set of vectors. Also, for a box subset of there must be vectors; of course for a span there can be any number of vectors. Finally, for a box the coefficients , …, are in the interval , while for a span the coefficients are free to range over all of .
Exercise 1.19 Supplied answer
Show that there are no matrices and satisfying these.
Answer. Because and these two matrices have different determinants.
Exercise 1.21 Supplied answer
Recommended. Let be the matrix representing (with respect to the standard bases) the map that rotates plane vectors counterclockwise through radians. By what factor does change sizes?
Answer.
Exercise 1.22 Supplied answer
Recommended. Must a transformation that preserves areas also preserve lengths?
Answer. No, for instance the determinant of
is so it preserves areas, but the vector has length .
Exercise 1.23 Supplied answer
What is the volume of a parallelepiped in bounded by a linearly dependent set?
Answer. It is zero.
Exercise 1.24 Supplied answer
Recommended. Find the area of the triangle in with endpoints , , and . (This asks for area, not volume. The triangle defines a plane; what is the area of the triangle in that plane?)
Answer. Two of the three sides of the triangle are formed by these vectors.
One way to find the area of this triangle is to find half the volume of the parallelogram formed by those two vectors and a length-one vector orthogonal to those two. To find the family of vectors orthogonal to those two we can start with the two relations
and solve the system
to get this solution set.
Here is a length one solution.
Thus the area of the triangle is half of the absolute value of this determinant.
Half of the absolute value is .
Exercise 1.25 Supplied answer
An alternate proof of Theorem 1.5 uses the definition of determinant functions.
Note that the vectors forming make a linearly dependent set if and only if , and check that the result holds in this case.
For the case, to show that for all transformations, consider the function given by . Show that has the first property of a determinant.
Show that has the remaining three properties of a determinant function.
Conclude that .
Answer.
Because the image of a linearly dependent set is linearly dependent, if the vectors forming make a linearly dependent set, so that , then the vectors forming make a linearly dependent set, so that , and in this case the equation holds.
We must check that if then . We can do this by checking that combining rows first and then multiplying to get gives the same result as multiplying first to get and then combining (because the determinant is unaffected by the combining rows so we’ll then have that and hence that ). This check runs: after adding times row of to row of , the entry is , which is the entry of .
For the second property, we need only check that swapping and then multiplying to get gives the same result as multiplying by first and then swapping (because, as the determinant changes sign on the row swap, we’ll then have , and so ). This check runs just like the one for the first property.
For the third property, we need only show that performing and then computing gives the same result as first computing and then performing the scalar multiplication (as the determinant is rescaled by , we’ll have and so ). Here too, the argument runs just as above.
The fourth property, that if is then the result is , is obvious.
Determinant functions are unique, so , and so .
Exercise 1.26 Supplied answer
Give a non-identity matrix with the property that . Show that if then . Does the converse hold?
Answer. Any permutation matrix has the property that the transpose of the matrix is its inverse.
For the implication, we know that . Then .
The converse does not hold; here is an example.
Exercise 1.27 Supplied answer
The algebraic property of determinants that factoring a scalar out of a single row will multiply the determinant by that scalar shows that where is , the determinant of is times the determinant of . Explain this geometrically, that is, using Theorem 1.5. (The observation that increasing the linear size of a three-dimensional object by a factor of will increase its volume by a factor of while only increasing its surface area by an amount proportional to a factor of is the Square-cube law [Wikipedia, Square-cube Law].)
Answer. Where the sides of the box are times longer, the box has times as many cubic units of volume.
Exercise 1.28 Supplied answer
We say that matrices and are similar if there is a nonsingular matrix such that (we will study this relation in Chapter Five). Show that similar matrices have the same determinant.
Answer. If then .
Exercise 1.29 Supplied answer
We usually represent vectors in with respect to the standard basis so vectors in the first quadrant have both coordinates positive.
Moving counterclockwise around the origin, we cycle through four regions:
Using this basis
gives the same counterclockwise cycle. We say these two bases have the same orientation.
Why do they give the same cycle?
What other configurations of unit vectors on the axes give the same cycle?
Find the determinants of the matrices formed from those (ordered) bases.
What other counterclockwise cycles are possible, and what are the associated determinants?
What happens in ?
What happens in ?
A fascinating general-audience discussion of orientations is in [Gardner].
Answer.
The new basis is the old basis rotated by .
,
In each case the determinant is (we say that these bases have positive orientation).
Because only one sign can change at a time, the only other cycle possible is
Here each associated determinant is (we say that such bases have a negative orientation).
There is one positively oriented basis and one negatively oriented basis .
There are bases ( half-axis choices are possible for the first unit vector, for the second, and for the last). Half are positively oriented like the standard basis on the left below, and half are negatively oriented like the one on the right
In positive orientation is sometimes called ‘right hand orientation’ because if a person places their right hand with their fingers curling from to then the thumb will point with .
Exercise 1.30 Supplied answer
This question uses material from the optional Determinant Functions Exist subsection. Prove Theorem 1.5 by using the permutation expansion formula for the determinant.
Answer. We will compare with to show that the second differs from the first by a factor of . We represent the ’s with respect to the standard bases
and then we represent the map application with matrix-vector multiplication
where is column of . Then equals .
As in the derivation of the permutation expansion formula, we apply multilinearity, first splitting along the sum in the first argument
and then splitting each of those summands along the sums in the second arguments, etc. We end with, as in the derivation of the permutation expansion, summand determinants, each of the form . Factor out each of the ’s .
As in the permutation expansion derivation, whenever two of the indices in , …, are equal then the determinant has two equal arguments, and evaluates to . So we need only consider the cases where , …, form a permutation of the numbers , …, . We thus have
Swap the columns in to get the matrix back, which changes the sign by a factor of , and then factor out the determinant of .
As in the proof that the determinant of a matrix equals the determinant of its transpose, we commute the ’s to list them by ascending row number instead of by ascending column number (and we substitute for ).
Exercise 1.31 Supplied answer
Recommended.
Show that this gives the equation of a line in through and .
[Petersen] Prove that the area of a triangle with vertices , , and is
[Math. Mag., Jan. 1973] Prove that the area of a triangle with vertices at , , and whose coordinates are integers has an area of or for some positive integer .
Answer.
An algebraic check is easy.
simplifies to the familiar form
(the case is easily handled).
For geometric insight, this picture shows that the box formed by the three vectors. Note that all three vectors end in the plane. Below the two vectors on the right is the line through and .
The box will have a nonzero volume unless the triangle formed by the ends of the three is degenerate. That only happens (assuming that ) if lies on the line through the other two.
This is how the answer was given in the cited source. We find the altitude through of a triangle with vertices and in the usual way from the normal form of the above:
Another step shows the area of the triangle to be
This exposition reveals the modus operandi more clearly than the usual proof of showing a collection of terms to be identical with the determinant.
This is how the answer was given in the cited source. Let
then the area of the triangle is . Now if the coordinates are all integers, then is an integer.
References cited in this section
Wikipedia, Square-cube Law
The Square-cube law, http://en.wikipedia.org/wiki/Square-cube_law, 2011-Jan-17.
Gardner
Martin Gardner, The New Ambidextrous Universe, third revised edition, W. H. Freeman and Company, 1990.
Petersen
G. M. Petersen, Area of a Triangle, American Mathematical Monthly, volume 62 number 4 (Apr. 1955), p. 249.
Math. Mag., Jan. 1973
Marvin Bittinger (proposer), Quickie 578, Mathematics Magazine, volume 46 number 5 (Jan. 1973), p. 286, 296.