We will soon discover that matrices can be used to represent derivatives in high dimensions. When you use matrices to represent derivatives, the chain rule is precisely matrix multiplication. For now, we just need to become comfortable with matrix multiplication.
We perform matrix multiplication “row by column”. Wikipedia has an excellent visual illustration of how to do this. See Wikipedia for an explanation. Alternatively see texample.net for a visualization of the idea.
Associated with every square matrix is a number, called the determinant. Determinants are only defined for square matrices. Determinants measure area, volume, length, and higher dimensional versions of these ideas. Determinants will appear as we study cross products and when we get to the high dimensional version of {\(u\)}-substitution.
Definition2.3.1
The determinant of a {\(2\times 2\)} matrix is the number
For extra practice, create your own square matrix (2 by 2 or 3 by 3) and compute the determinant by hand. Then use Wolfram Alpha to check your work. Do this until you feel comfortable taking determinants.
What good is the determinant? The determinant was discovered as a result of trying to find the area of a parallelogram and the volume of the three dimensional version of a parallelogram (called a parallelepiped) in space. If we had a full semester to spend on linear algebra, we could eventually prove the following facts that I will just present here with a few examples.
Consider the 2 by 2 matrix \(\begin{bmatrix}3\amp 1\\0\amp 2
\end{bmatrix}\) whose determinant is \(3\cdot 2-0\cdot 1=6\text{.}\) Draw the column vectors \(\begin{bmatrix}3\\0
\end{bmatrix}\) and \(\begin{bmatrix}1\\2
\end{bmatrix}\) with their base at the origin (see figure 2). These two vectors give the edges of a parallelogram whose area is the determinant \(6\text{.}\) If I swap the order of the two vectors in the matrix, then the determinant of \(\begin{bmatrix}1\amp 3\\2\amp 0
\end{bmatrix}\) is \(-6\text{.}\) The reason for the difference is that the determinant not only keeps track of area, but also order. Starting at the first vector, if you can turn counterclockwise through an angle smaller than 180\(^\circ\) to obtain the second vector, then the determinant is positive. If you have to turn clockwise instead, then the determinant is negative. This is often termed “the right-hand rule,” as rotating the fingers of your right hand from the first vector to the second vector will cause your thumb to point up precisely when the determinant is positive.
For a 3 by 3 matrix, the columns give the edges of a three dimensional parallelepiped and the determinant produces the volume of this object. The sign of the determinant is related to orientation. If you can use your right hand and place your index finger on the first vector, middle finger on the second vector, and thumb on the third vector, then the determinant is positive. For example, consider the matrix \(A = \begin{bmatrix}{ \begin{matrix}1\\0\\0
\end{matrix} }\amp { \begin{matrix}0\\2\\0
\end{matrix} }\amp { \begin{matrix}0\\0\\3
\end{matrix} }
\end{bmatrix}\text{.}\) Starting from the origin, each column represents an edge of the rectangular box \(0\leq x\leq 1\text{,}\) \(0\leq y\leq 2\text{,}\) \(0\leq z\leq 3\) with volume (and determinant) \(V=lwh=(1)(2)(3)=6\text{.}\) The sign of the determinant is positive because if you place your index finger pointing in the direction (1,0,0) and your middle finger in the direction (0,2,0), then your thumb points upwards in the direction (0,0,3). If you interchange two of the columns, for example \(B = \begin{bmatrix}{ \begin{matrix}0\\2\\0
\end{matrix} }\amp { \begin{matrix}1\\0\\0
\end{matrix} }\amp { \begin{matrix}0\\0\\3
\end{matrix} }
\end{bmatrix}\text{,}\) then the volume doesn't change since the shape is still the same. However, the sign of the determinant is negative because if you point your index finger in the direction (0,2,0) and your middle finger in the direction (1,0,0), then your thumb points down in the direction (0,0,-3). If you repeat this with your left hand instead of right hand, then your thumb points up.
Exercise2.3.4
(a)
Use determinants to find the area of the triangle with vertices \((0,0)\text{,}\) \((-2,5)\text{,}\) and \((3,4)\text{.}\)
(b)
What would you change if you wanted to find the area of the triangle with vertices \((-3,1)\text{,}\) \((-2,5)\text{,}\) and \((3,4)\text{?}\) Find this area.