Skip to main content
Logo image

Coordinated Linear Algebra

Section 7.4 Extra Topic: Determinants, Areas, and Volumes

Subsection 7.4.1 \(2\times 2\) Determinant and the Area of a Parallelogram

Consider the parallelogram determined by vectors \(\mathbf{u}\) and \(\mathbf{v}\) in \(\R^3\text{.}\)
Parallelogram
Recall that the area of a parallelogram is given by the product of the length of the base and the height. As shown in the diagram below, the length of the base is the magnitude of \(\mathbf{u}\text{.}\) The height, \(h\text{,}\) can be found using trigonometry
\begin{equation*} h=\norm{\mathbf{v}}\sin\theta. \end{equation*}
Continuation of the above
Using the area of a parallelogram formula together with the formula
\begin{equation*} \norm{\mathbf{u}\times\mathbf{v}}=\norm{\mathbf{u}}\norm{\mathbf{v}}\sin\theta. \end{equation*}
for the cross product of two vectors, we get
\begin{equation*} \mbox{Area}=(\text{base})(\text{height})=\norm{\mathbf{u}}h=\norm{\mathbf{u}}\norm{\mathbf{v}}\sin\theta=\norm{\mathbf{u}\times\mathbf{v}}. \end{equation*}
We have established the following formula.
To get accustomed to this formula, let us examine a concrete case

Example 7.4.2.

Use Formula 7.4.1 to find the area of a parallelogram determined by vectors
\begin{equation*} \mathbf{u}=\begin{bmatrix}-2\\1\\3\end{bmatrix},\quad \mathbf{v}=\begin{bmatrix}1\\6\\2\end{bmatrix}. \end{equation*}
Answer.
We can start by visualizeing the parallelogram in GeoGebra. RIGHT-CLICK and DRAG to rotate the image below. The area of the parallelogram, rounded to two decimal places, is displayed inside the parallelogram.
Figure 7.4.3.
To find the exact area we compute
\begin{equation*} \mathbf{u}\times \mathbf{v}=\begin{bmatrix}-2\\1\\3\end{bmatrix}\times \begin{bmatrix}1\\6\\2\end{bmatrix}=\begin{vmatrix}\mathbf{i} \amp \mathbf{j} \amp \mathbf{k}\\-2 \amp 1 \amp 3\\1 \amp 6 \amp 2\end{vmatrix}=\begin{bmatrix}-16\\7\\-13\end{bmatrix}, \end{equation*}
\begin{equation*} \mbox{Area}=\norm{\mathbf{u}\times\mathbf{v}}=\sqrt{474}. \end{equation*}
The formula from Formula 7.4.1 can be easily adapted to parallelograms determined by vectors in \(\R^2\text{,}\) as illustrated by the following example.

Example 7.4.4.

Find the area of the parallelogram in the diagram.
Plane area
Answer.
The vectors that determine the parallelogram are
\begin{equation*} \begin{bmatrix}4\\2\end{bmatrix}\quad\text{and}\quad\begin{bmatrix}-2\\2\end{bmatrix}. \end{equation*}
The problem we run into is that these vectors are in \(\R^2\text{,}\) whereas the cross product is defined only for vectors in \(\R^3\text{.}\) We will get around this difficulty by ``padding" our vectors with zeros on the bottom. In other words, we will consider them as vectors sitting in the \(xy\)-coordinate plane in \(\R^3\text{.}\) This allows us to compute the cross product
\begin{align*} \begin{bmatrix}4\\2\\0\end{bmatrix}\times\begin{bmatrix}-2\\2\\0\end{bmatrix} \amp =\begin{vmatrix}\mathbf{i}\amp \mathbf{j}\amp \mathbf{k}\\4\amp 2\amp 0\\-2\amp 2\amp 0\end{vmatrix} \\ \amp =\mathbf{k}\Big((4)(2)-(2)(-2)\Big) \\ \amp =12\mathbf{k} \\ \amp =\begin{bmatrix}0\\0\\12\end{bmatrix}. \end{align*}
The area of the parallelogram is then given by
\begin{equation*} \mbox{Area}=\norm{\begin{bmatrix}0\\0\\12\end{bmatrix}}=12. \end{equation*}
Now, Example 7.4.4 illustrates an important phenomenon. Observe that the zeros in the last column of the determinant ensure that the \(\mathbf{i}\) and \(\mathbf{j}\) components of the cross product are zero, while the last component is the determinant of the \(2\times 2\) matrix whose rows (or columns) are the two vectors that determine the parallelogram in \(\R^2\text{.}\) In general, if the parallelogram is determined by vectors
\begin{equation*} \begin{bmatrix}a\\b\end{bmatrix}\quad\text{and}\quad\begin{bmatrix}c\\d\end{bmatrix}, \end{equation*}
then the area of the parallelogram can be computed as follows:
\begin{equation*} \begin{bmatrix}a\\b\\0\end{bmatrix}\times\begin{bmatrix}c\\d\\0\end{bmatrix}=\begin{vmatrix}\mathbf{i}\amp \mathbf{j}\amp \mathbf{k}\\a\amp b\amp 0\\c\amp d\amp 0\end{vmatrix}=\mathbf{k}\begin{vmatrix}a\amp b\\c\amp d\end{vmatrix}=\mathbf{k}\Big((a)(d)-(b)(c)\Big)=\begin{bmatrix}0\\0\\ad-bc\end{bmatrix}, \end{equation*}
\begin{equation*} \mbox{Area}=\norm{\begin{bmatrix}0\\0\\ad-bc\end{bmatrix}}=|ad-bc|=\Big|\det\begin{bmatrix}a\amp b\\c\amp d\end{bmatrix}\Big|=\Big|\det\begin{bmatrix}a\amp c\\b\amp d\end{bmatrix}\Big|. \end{equation*}
So the area of the parallelogram turns out to be the absolute value of the determinant of the matrix whose rows (or columns) are the two vectors that determine the parallelogram. The following formula summarizes our discussion.
The formula in action is illustrated in an example now.

Example 7.4.6.

Use Formula 7.4.5 to find the area of the polygon shown below.
Answer.
We will start by splitting this region into triangles.
Polygon part 1
We can find the total area of the polygon by finding the area of each triangle. The area of each triangle is half of the area of the corresponding parallelogram. For instance, \(A_1\) is half of the area of the parallelogram depicted below.
Polygon part 2
We compute
\begin{equation*} A_1=\frac{1}{2}\left|\det\begin{bmatrix}2 \amp 1\\0 \amp 2\end{bmatrix}\right |=2, \end{equation*}
\begin{equation*} A_2=\frac{1}{2}\left|\det\begin{bmatrix}1 \amp -1\\2 \amp 3\end{bmatrix}\right |=2.5, \end{equation*}
\begin{equation*} A_3=\frac{1}{2}\left|\det\begin{bmatrix}-1 \amp -2\\3 \amp 2\end{bmatrix}\right |=2, \end{equation*}
\begin{equation*} A_4=\frac{1}{2}\left|\det\begin{bmatrix}-2 \amp -1\\2 \amp -1\end{bmatrix}\right |=2, \end{equation*}
\begin{equation*} A_5=\frac{1}{2}\left|\det\begin{bmatrix}-1 \amp 2\\-1 \amp 0\end{bmatrix}\right |=1. \end{equation*}
The total area of the polygon is \(9.5\text{.}\)

Subsection 7.4.2 \(3\times 3\) Determinant and the Volume of a Parallelepiped

Our next goal is to find the volume of a three-dimensional figure called a parallelepiped. A parallelepiped is a six-faced figure whose opposite faces are congruent parallelograms located in parallel planes. A parallelepiped is a three-dimensional counterpart of a parallelogram, and is determined by three non-coplanar vectors in \(\R^3\text{.}\) The figure below shows a parallelepiped determined by three vectors.
3D parallelepid
Consider a parallelepiped determined by vectors \(\mathbf{u}\text{,}\) \(\mathbf{v}\) and \(\mathbf{w}\text{,}\) as shown below.
Unfilled version of above
The volume of a parallelepiped is given by
\begin{equation*} \mbox{Volume}=(\text{area of base})(\text{height}) \end{equation*}
We will consider the parallelogram determined by \(\mathbf{u}\) and \(\mathbf{v}\) to be the base of the parallelepiped. Thus, the area of the base is given by
\begin{equation*} \mbox{Area of Base}=\norm{\mathbf{u}\times\mathbf{v}}. \end{equation*}
Crossed product indicated
The height of the parallelepiped is measured along a line perpendicular to the base. By our knowledge of cross products, \(\mathbf{u}\times\mathbf{v}\) lies on such a line. Let \(\theta\) be the angle between \(\mathbf{w}\) and \(\mathbf{u}\times\mathbf{v}\text{,}\) \(0\leq \theta\leq\pi\text{.}\) Then the height, \(h\text{,}\) of the parallelepiped is given by
\begin{equation*} h=\norm{\mathbf{w}}|\cos\theta | \end{equation*}
It may be difficult to visualize this in two dimensions. Below is a replica of of the above diagram in GeoGebra. RIGHT-CLICK and DRAG to rotate the image.
Figure 7.4.7.
This gives us the following formula for the volume of the parallelepiped
\begin{equation*} \mbox{Volume}=\norm{\mathbf{u}\times\mathbf{v}}\norm{\mathbf{w}}|\cos\theta |=|(\mathbf{u}\times\mathbf{v})\cdot\mathbf{w}|. \end{equation*}
We have established the following formula.
Our next goal is to show that this expression for the volume is equal to the determinant of a \(3\times 3\) matrix whose rows are the vectors that determine the parallelepiped. Let
\begin{equation*} \mathbf{u}=\begin{bmatrix}u_1\\u_2\\u_3\end{bmatrix},\quad\mathbf{v}=\begin{bmatrix}v_1\\v_2\\v_3\end{bmatrix},\quad\mathbf{w}=\begin{bmatrix}w_1\\w_2\\w_3\end{bmatrix}, \end{equation*}
then
\begin{align} (\mathbf{u}\times\mathbf{v})\cdot\mathbf{w}=\begin{vmatrix}\mathbf{i}\amp \mathbf{j}\amp \mathbf{k}\\u_1\amp u_2\amp u_3\\v_1\amp v_2\amp v_3\end{vmatrix}\cdot\begin{bmatrix}w_1\\w_2\\w_3\end{bmatrix}=\begin{vmatrix}w_1\amp w_2\amp w_3\\u_1\amp u_2\amp u_3\\v_1\amp v_2\amp v_3\end{vmatrix}. \tag{7.4.1} \end{align}
The expression in (7.4.1) is sometimes referred to as the box product or the scalar triple product.
Recall that \(\det(A)=\det(A^T)\) (see Theorem 7.1.12). Therefore, the three vectors that determine the parallelogram can be used to form rows or columns of the determinant on the right side of (7.4.1). This gives us the following formula.

Subsection 7.4.3 Determinants and Linear Transformations

We will now turn our attention to the determinant of a matrix of a linear transformation.

Exploration 7.4.1.

The following GeoGebra interactive shows a polygon \(P\) located in the domain of a linear transformation \(T\) induced by the matrix \(M\text{.}\) The right-hand side shows the image of \(P\) under \(T\text{.}\) The number inside each polygon indicates its area.
Figure 7.4.10.
Problem 7.4.11.
Let \(M=\begin{bmatrix}1\amp 1\\-1\amp 2\end{bmatrix}\text{.}\) Find the determinant of \(M\text{.}\)
Answer.
\begin{equation*} \det{M}=3 \end{equation*}
Problem 7.4.12.
Drag the vertices of \(P\) to change the polygon. Make a note of how the area of \(P\) and the area of the image change. How are the areas related to each other?
Answer.
\begin{equation*} \mbox{Area}(T(P))=3\mbox{Area}(P). \end{equation*}
Question 7.4.13.
Change the matrix \(M\) to a matrix whose determinant is 1. Compare the areas of \(P\) and \(T(P)\text{.}\) Try matrices whose determinant is 0 or negative. What do you observe about the areas?
Formulate a conjecture about the relationship between the area of the polygon and the area of its image under a linear transformation.
We will not prove your conjecture in Exploration 7.4.1 for arbitrary figures as it is beyond the scope of this text. However, we can tackle the problem of how linear transformations affect areas of parallelograms. This is the topic of our next example.

Example 7.4.14.

Let \(T:\R^2\longrightarrow\R^2\) be a linear transformation induced by matrix \(M\text{.}\) Suppose \(\mathbf{u}\) and \(\mathbf{v}\) are vectors in \(\R^2\text{.}\) Let \(P\) be a parallelogram determined by \(\mathbf{u}\) and \(\mathbf{v}\text{.}\) Show that
\begin{equation*} \mbox{Area}(T(P))=\left|\det{M}\right|\mbox{Area}(P). \end{equation*}
Answer.
Let
\begin{equation*} \mathbf{u}=\begin{bmatrix}a\\b\end{bmatrix} \ \text{and} \ \mathbf{v}=\begin{bmatrix}c\\d\end{bmatrix} \end{equation*}
and let \(M=\begin{bmatrix}m \amp n\\p \amp q\end{bmatrix}\text{.}\) By Formula 7.4.5, \(\mbox{Area}(P)=ad-bc\text{.}\) Applying \(M\) to \(\mathbf{u}\) and \(\mathbf{v}\) we get
\begin{equation*} T(\mathbf{u})=\begin{bmatrix}am+bn\\ap+bq\end{bmatrix}\quad\mbox{and}\quad T(\mathbf{v})=\begin{bmatrix}cm+dn\\cp+dq\end{bmatrix}. \end{equation*}
Using Formula 7.4.5, we compute
\begin{align*} \mbox{Area}(T(P))=\amp |(am+bn)(cp+dq)-(ap+bq)(cm+dn)| \\ =\amp |(mq-np)(ad-bc)| \\ =\amp |\det{M}|\mbox{Area}(P). \end{align*}

Exercises 7.4.4 Exercises

Exercise Group.

Let \(S\) be a square determined by \([2,0]\) and \([0,2]\text{.}\) Let \(P\) be a parallelogram determined by vectors \([2,5]\) and \([0,2]\text{.}\)
1.
Sketch both figures in the same coordinate plane, and use geometry to explain why \(S\) and \(P\) have the same area. Compute the area of \(P\) using Formula 7.4.5.
Answer.
\begin{equation*} \text{Area of }P=4. \end{equation*}
2.
Suppose \(M\) is the standard matrix of a linear transformation \(T:\R^2\rightarrow\R^2\) such that \(T(S)=P\text{.}\) Find \(\det M\text{.}\)
Answer.
\begin{equation*} \det M=1. \end{equation*}

3.

Supply the intermediate steps in (7.4.1).

4.

Find the volume of a parallelepiped determined by
\begin{equation*} \begin{bmatrix}0\\5\\4\end{bmatrix}\quad\begin{bmatrix}3\\1\\2\end{bmatrix}\quad\begin{bmatrix}1\\1\\6\end{bmatrix}. \end{equation*}
Answer.
\begin{equation*} \mbox{Volume}=72. \end{equation*}

5.

Find the volume of a parallelepiped determined by
\begin{equation*} \begin{bmatrix}1\\4\\-1\end{bmatrix}\quad\begin{bmatrix}3\\-2\\4\end{bmatrix}\quad\begin{bmatrix}5\\6\\2\end{bmatrix}. \end{equation*}
Explain your result geometrically.
Answer.
\(\mbox{Volume}=0.\)