Skip to main content

Section 3.3 Applications of the Determinant

Handout 3.3 Applications of the Determinant

ย 
In \(\mathbb{R}^2\text{,}\) determinants measure the (signed) area of the parallelogram formed by two vectors.
Parallelogram in the plane spanned by two vectors.
Illustration of a parallelogram in \(\mathbb{R}^2\) spanned by two vectors forming a \(2\times 2\) matrix whose determinant gives the signed area.
Area of the parallelogram \(\;=\;\det\!\begin{bmatrix} a \amp c\\ b \amp d \end{bmatrix}\;=\;ad-bc\text{.}\)
ย 
ย 

Example 3.19.

Calculate the area of the parallelogram determined by the points \((-2,3)\text{,}\) \((1,7)\text{,}\) \((6,-3)\text{,}\) and \((9,1)\text{.}\)
Solution.
Below is the graph of the parallelogram in \(\mathbb{R}^2\text{.}\)
A drawing of the parallelogram in the plane.
Notice that the vector
\begin{equation*} \vec v_1 = \begin{bmatrix} 1 - (-2) \\ 7 - 3 \end{bmatrix} = \begin{bmatrix} 3 \\ 4 \end{bmatrix} \end{equation*}
connects the point \((-2,3)\) to the point \((1,7)\text{.}\) Also, the vector
\begin{equation*} \vec v_2 = \begin{bmatrix} 6 - (-2) \\ -3 - 3 \end{bmatrix} = \begin{bmatrix} 8 \\ -6 \end{bmatrix} \end{equation*}
connects the point \((-2,3)\) to the point \((6,-3)\text{.}\) Using Theoremย 3.17, we have that the area of the parallelogram is
\begin{equation*} \left|\det\left(\begin{bmatrix} \vec v_1 \amp \vec v_2 \end{bmatrix}\right)\right| = \left|\det\left(\begin{bmatrix} 3 \amp 8 \\ 4 \amp -6 \end{bmatrix}\right)\right| = |-18 - 32| = 50. \end{equation*}
ย 

Example 3.20.

Calculate the area of the triangle determined by the points \((-3,-2)\text{,}\) \((0,3)\text{,}\) and \((4,-1)\text{.}\)
Solution.
Note that Theoremย 3.17 applies to parallelograms, not triangles. However, every triangle is half of some parallelogram. For example, notice in the graph below how the described triangle (in blue) can be extended by adjoining a copy of the triangle (in red) to one of the three edges and forming a parallelogram.
A drawing of the described triangle in the plane, adjoined with a copy of the triange with points (0,3), (4,-1), and (7,4), forming a parallelogram.
It follows that the area of the triangle is half the area of the parallelogram. We see that vectors
\begin{equation*} \vec v_1 = \begin{bmatrix} 3 \\ 5 \end{bmatrix} \quad \text{and} \quad \vec v_2 = \begin{bmatrix} 7 \\ 1 \end{bmatrix} \end{equation*}
describe adjacent sides of the parallelogram. Therefore, we have that the area of the triangle is
\begin{equation*} \dfrac{1}{2}\left|\det\left(\begin{bmatrix}3 \amp 7 \\ 5 \amp 1 \end{bmatrix}\right)\right| = \dfrac{1}{2}|3 - 35| = 16\text{.} \end{equation*}
ย 
Some observations:
  • Recall from Section 1.9 that the matrix corresponding to a shearing linear transformation has the from \(\begin{bmatrix} 1 \amp k \\ 0 \amp 1 \end{bmatrix}\) or \(\begin{bmatrix} 1 \amp 0 \\ k \amp 1 \end{bmatrix}\text{.}\) Since each of these matrices has determinant 1, we see that shearing does not change the area of a shape.
  • Note that \(S\) can be any closed shape. This includes parallelograms, polygons, circles, or crazy blobs, as long as the edge of the shape is connected.
ย 

Example 3.22.

Find the area of the interior \(E\) of the ellipse defined by the equation
\begin{equation*} \left(\dfrac{2x - y}{2}\right)^2 + \left(\dfrac{y + 3x}{3}\right)^2 = 1\text{.} \end{equation*}
Solution.
Below, we have included a graph of the ellipse \(E\) in the \(xy\)-plane.
A drawing of the described ellipse in the standard coordinate system.
It is difficult to find the area of this tilted ellipse using geometry. Instead, we will use Theoremย 3.21. We start with a change of variables. Let \(u = \frac{2x - y}{2}\) and \(v = \frac{y + 3x}{3}\text{.}\) Then, the equation for \(E\) in terms of \(u\) and \(v\) becomes
\begin{equation*} E: \left(\frac{2x - y}{2}\right)^2 + \left(\frac{y + 3x}{3}\right)^2 = 1 \quad \rightarrow \quad C: u^2 + v^2 = 1\text{.} \end{equation*}
Note that \(C\) is the equation for the unit circle which has area \(\pi\text{.}\)
ย 
In order to use Theoremย 3.21, we need to identify a linear transformation which maps the ellipse \(E\) in the \(xy\)-plane to the unit circle \(C\) in the \(uv\)-plane. Therefore, we need to find a linear transformation \(T\) which accepts a point \((x,y)\) on \(E\) and returns a point \((u,v)\) on \(C\text{.}\) Recalling the definition of \(u\) and \(v\) in terms of \(x\) and \(y\text{,}\) we see that \(T\) needs to do the following:
\begin{equation*} T\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} u \\ v \end{bmatrix} \quad \implies \quad T\left(\begin{bmatrix}x \\ y \end{bmatrix}\right) = \begin{bmatrix} \frac{2x - y}{2} \\ \frac{y + 3x}{3} \end{bmatrix}\text{.} \end{equation*}
It follows that
\begin{equation*} T\left(\begin{bmatrix}x \\ y \end{bmatrix}\right) = \begin{bmatrix} \frac{2x - y}{2} \\ \frac{y + 3x}{3} \end{bmatrix} = \begin{bmatrix} x - \frac{1}{2}y \\ x + \frac{1}{3}y \end{bmatrix} = \begin{bmatrix} 1 \amp -\frac{1}{2} \\ 1 \amp \frac{1}{3}\end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix}\text{.} \end{equation*}
Therefore,
\begin{equation*} T\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} 1 \amp -\frac{1}{2} \\ 1 \amp \frac{1}{3}\end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix} \end{equation*}
is the linear transformation that maps \(E\) to \(C = T(E)\text{.}\)
ย 
By Theoremย 3.21, we have that
\begin{equation*} \operatorname{area}(T(E)) = \left|\det\left(\begin{bmatrix}1 \amp -\frac{1}{2} \\ 1 \amp \frac{1}{3}\end{bmatrix}\right)\right|\operatorname{area}(E)\text{.} \end{equation*}
Since we know \(T(E) = C\) has area \(\pi\text{,}\) we find that
\begin{equation*} \operatorname{area}(E) = \dfrac{\pi}{1\left(\frac{1}{3}\right) - 1\left(-\frac{1}{2}\right)} = \frac{\pi}{\frac{5}{6}} = \frac{6\pi}{5}\text{.} \end{equation*}
Thus, the area of the ellipse \(E\) is \(\frac{6\pi}{5}\text{.}\)
ย 
ย 

Example 3.24.

Use Cramerโ€™s Rule to solve the system
\begin{equation*} \begin{bmatrix} 1 \amp 3 \amp 2 \\ -2 \amp 1 \amp 4 \\ 0 \amp 4 \amp 3 \end{bmatrix}\vec x = \begin{bmatrix} 1 \\ 9 \\ 0 \end{bmatrix}\text{.} \end{equation*}
Solution.
Let
\begin{equation*} A = \begin{bmatrix} \vec a_1 \amp \vec a_2 \amp \vec a_3 \end{bmatrix} = \begin{bmatrix} 1 \amp 3 \amp 2 \\ -2 \amp 1 \amp 4 \\ 0 \amp 4 \amp 3 \end{bmatrix} \quad \text{and} \quad \vec b = \begin{bmatrix} 1 \\ 9 \\ 0 \end{bmatrix}\text{.} \end{equation*}
Expanding down the first column of \(A\text{,}\) we see that
\begin{equation*} \det(A) = 1\begin{vmatrix} 1 \amp 4 \\ 4 \amp 3 \end{vmatrix} - (-2)\begin{vmatrix} 3 \amp 2 \\ 4 \amp 3 \end{vmatrix} = (3-16) + 2(9-8) = -11 \neq 0\text{.} \end{equation*}
Therefore, \(A\) is invertible matrix, so the system has a unique solution and we can use Cramerโ€™s Rule.
ย 
We find \(A_1\) by replacing the first column of \(A\) with \(\vec b\text{:}\)
\begin{equation*} A_1 = \begin{bmatrix} \vec b \amp \vec a_2 \amp \vec a_3 \end{bmatrix} = \begin{bmatrix} 1 \amp 3 \amp 2 \\ 9 \amp 1 \amp 4 \\ 0 \amp 4 \amp 3 \end{bmatrix}\text{.} \end{equation*}
By expanding down the first column of \(A_1\text{,}\) we see that
\begin{equation*} \det(A_1) = 1\begin{vmatrix} 1 \amp 4 \\ 4 \amp 3 \end{vmatrix} - 9\begin{vmatrix} 3 \amp 2 \\ 4 \amp 3 \end{vmatrix} = (3 - 16) - 9(9-8) = -22\text{.} \end{equation*}
It follows that
\begin{equation*} x_1 = \dfrac{\det(A_1)}{\det(A)} = \dfrac{-22}{-11} = 2\text{.} \end{equation*}
ย 
We find \(A_2\) by replacing the second column of \(A\) with \(\vec b\text{:}\)
\begin{equation*} A_2 = \begin{bmatrix} \vec a_1 \amp \vec b \amp \vec a_3 \end{bmatrix} = \begin{bmatrix} 1 \amp 1 \amp 2 \\ -2 \amp 9 \amp 4 \\ 0 \amp 0 \amp 3 \end{bmatrix}\text{.} \end{equation*}
Expanding across the third row yields
\begin{equation*} \det(A_2) = 3\begin{vmatrix} 1 \amp 1 \\ -2 \amp 9 \end{vmatrix} = 3(9+2) = 33\text{.} \end{equation*}
It follows that
\begin{equation*} x_2 = \dfrac{\det(A_2)}{\det(A)} = \dfrac{33}{-11} = -3\text{.} \end{equation*}
ย 
We find \(A_3\) by replacing the third column of \(A\) with \(\vec b\text{:}\)
\begin{equation*} A_3 = \begin{bmatrix} \vec a_1 \amp \vec a_2 \amp \vec b \end{bmatrix} = \begin{bmatrix} 1 \amp 3 \amp 1 \\ -2 \amp 1 \amp 9 \\ 0 \amp 4 \amp 0 \end{bmatrix}\text{.} \end{equation*}
Expanding across the third row yields
\begin{equation*} \det(A_2) = -(4)\begin{vmatrix} 1 \amp 1 \\ -2 \amp 9 \end{vmatrix} = -4(9+2) = -44\text{.} \end{equation*}
It follows that
\begin{equation*} x_3 = \dfrac{\det(A_3)}{\det(A)} = \dfrac{-44}{-11} = 4\text{.} \end{equation*}
ย 
Therefore, we have that the solution vector is
\begin{equation*} \vec x = \begin{bmatrix} 2 \\ -3 \\ 4 \end{bmatrix}\text{.} \end{equation*}