Suppose that the vertices of a triangle are , , and . What is the area of the triangle?
At first blush, this doesn’t fall under any of the categories of SSS, SAS, or ASA. And we certainly aren’t given a base and a matching height . The Pythagorean theorem could be used to determine the lengths of the three sides so that Heron’s formula could be used, but that would be extremely painful to do.
Fortunately, there’s another way to find the area of a triangle that directly uses the coordinates of the triangle. It turns out that the area of the triangle is equal to the absolute value of
Notice that the first two columns contain the coordinates of the three vertices, while the third column is just padded with s. Calculating, we find that the area is
In other words, direct use of the vertices is, in this case, a lot easier than the standard SSS, SAS, or ASA formulas.
A (perhaps) surprising consequence of this formula is that the area of any triangle with integer coordinates must either be an integer or else a half-integer. We’ll see this again when we consider Pick’s theorem in tomorrow’s post.
There is another way to solve this problem by considering the three vertices as points in . The vector from to is , while the vector from to is . Therefore, the area of the triangle is one-half the length of the cross-product of these two vectors. Recall that the cross-product of the two vectors is
So the length of the cross-product is clearly , so that the area of the triangle is (again) .
The above technique works for any triangle in . For example, if we consider a triangle in three-dimensional space with corners at , , and , the area of the triangle may be found by “subtracting” the coordinates to find two vectors along the sides of the triangle and then finding the cross-product of those two vectors.
Furthermore, determinants may be used to find the volume of a tetrahedron in . Suppose that we now consider the tetrahedron with corners at , , , and . Let’s consider as the “starting” point and subtract these coordinates from those of the other three points. We then get the three vectors
, , and
One-third of the absolute value of the determinant of these three vectors will be the volume of the tetrahedron.
This post has revolved around one central idea: a determinant represents an area or a volume. While this particular post has primarily concerned triangles and tetrahedra, I should also mention that determinants are similarly used (without the factors of and ) for finding the areas of parallelograms and the volumes of parallelepipeds.
This central idea is also the basis behind an important technique taught in multivariable calculus: integration in polar coordinates and in spherical coordinates.
In two dimensions, the formulas for conversion from polar to rectangular coordinates are
Therefore, using the Jacobian, the “infinitesimal area element” used for integrating is
Similarly, using a determinant, the conversion for spherical coordinates can be obtained.