Precalculus by Richard Wright
Jesus said, “My kingdom is not of this world. If it were, my servants would fight to prevent my arrest by the Jewish leaders. But now my kingdom is from another place.” John 18:36 NIV
Summary: In this section, you will:
SDA NAD Content Standards (2018): PC.6.4
The La Roche-Guyon castle's vegetable garden in France is open to the public. The shapes of these individual gardens are triangular. Let's say the gardener needs to put three inches of fertilizer in one of the gardens. If he were given just a map with coordinates, how could he calculate the amount of fertilizer needed?
He could find the lengths of the sides using the distance formula, or he could use a determinant. A determinant is a number associated with a square matrix. It is symbolized by vertical lines around a matrix instead of brackets, |A|. It is not unique, as different matrices can have the same determinant, but it is useful in diverse applications such as finding areas of triangles, finding equations of lines, and solving systems of linear equations.
There are shortcuts for finding determinants of 2×2 and 3×3 matrices. For both of these, remember to add downward products and subtract upward products.
2×2 Determinant
Product of down diagonal − product of up diagonal
$$ \require{cancel} \left|\begin{matrix} a & b \\ c & d \end{matrix}\right| = \left|\color{blue}{\bcancel{\color{red}{\cancel{\color{black}{\begin{matrix} a & b \\ c & d \end{matrix}}}}}}\right| = \color{blue}{a·d} - \color{red}{c·b} $$
3×3 Determinant
$$ \left|\begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix}\right| $$
Copy the first two columns after the matrix.
$$ \left|\begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix}\right| \begin{matrix} a & b \\ d & e \\ g & h \end{matrix} $$
Add the products of the downward diagonals and subtract the products of the upward diagonals.
$$ \require{cancel} \left|\begin{matrix} \color{blue}{\bcancel{\color{black}{a}}} & \color{indigo}{\bcancel{\color{black}{b}}} & \color{purple}{\bcancel{\color{red}{\cancel{\color{black}{c}}}}} \\ d & \color{blue}{\bcancel{\color{red}{\cancel{\color{black}{e}}}}} & \color{indigo}{\bcancel{\color{orange}{\cancel{\color{black}{f}}}}} \\ \color{red}{\cancel{\color{black}{g}}} & \color{orange}{\cancel{\color{black}{h}}} & \color{blue}{\bcancel{\color{green}{\cancel{\color{black}{i}}}}} \end{matrix}\right| \begin{matrix} \color{orange}{\cancel{\color{black}{a}}} & \color{green}{\cancel{\color{black}{b}}} \\ \color{purple}{\bcancel{\color{green}{\cancel{\color{black}{d}}}}} & e \\ \color{indigo}{\bcancel{\color{black}{g}}} & \color{purple}{\bcancel{\color{black}{h}}} \end{matrix} $$
$$ = \color{blue}{(a·e·i)} + \color{indigo}{(b·f·g)} + \color{purple}{(e·d·h)} - \color{red}{(g·e·c)} - \color{orange}{(h·f·a)} - \color{green}{(i·d·b)} $$
Evaluate \(\left|\begin{matrix} 2 & 4 \\ -1 & 3 \end{matrix}\right|\)
Solution
Multiply the elements on the downward diagonal, then subtract the product of the upward diagonal.
$$ \require{cancel} \left|\begin{matrix} 2 & 4 \\ -1 & 3 \end{matrix}\right| $$
$$ = \left|\color{blue}{\bcancel{\color{red}{\cancel{\color{black}{\begin{matrix} 2 & 4 \\ -1 & 3 \end{matrix}}}}}}\right| $$
=(2·3) − (−1·4)
= 10
Evaluate \(\left|\begin{matrix} -2 & 0 \\ 3 & 1 \end{matrix}\right|\)
Answer
−2
Evaluate \(\left|\begin{matrix} 1 & 0 & 2 \\ -2 & 3 & 1 \\ -1 & 2 & 0 \end{matrix}\right|\)
Solution
Copy the first two columns after the matrix.
$$ \left|\begin{matrix} 1 & 0 & 2 \\ -2 & 3 & 1 \\ -1 & 2 & 0 \end{matrix}\right| \begin{matrix} 1 & 0 \\ -2 & 3 \\ -1 & 2 \end{matrix} $$
Add the products of the downward diagonals and subtract the products of the upward diagonals.
$$ \require{cancel} \left|\begin{matrix} \color{blue}{\bcancel{\color{black}{1}}} & \color{indigo}{\bcancel{\color{black}{0}}} & \color{purple}{\bcancel{\color{red}{\cancel{\color{black}{2}}}}} \\ -2 & \color{blue}{\bcancel{\color{red}{\cancel{\color{black}{3}}}}} & \color{indigo}{\bcancel{\color{orange}{\cancel{\color{black}{1}}}}} \\ \color{red}{\cancel{\color{black}{-1}}} & \color{orange}{\cancel{\color{black}{2}}} & \color{blue}{\bcancel{\color{green}{\cancel{\color{black}{0}}}}} \end{matrix}\right| \begin{matrix} \color{orange}{\cancel{\color{black}{1}}} & \color{green}{\cancel{\color{black}{0}}} \\ \color{purple}{\bcancel{\color{green}{\cancel{\color{black}{-2}}}}} & 3 \\ \color{indigo}{\bcancel{\color{black}{-1}}} & \color{purple}{\bcancel{\color{black}{2}}} \end{matrix} $$
= (1·3·0) + (0·1·−1) + (2·−2·2) − (−1·3·2) − (2·1·1) − (0·−2·0)
= 0 + 0 + (−8) − (−6) − 2 − 0
= −4
Evaluate \(\left|\begin{matrix} -2 & 3 & 0 \\ 1 & -2 & 3 \\ 5 & 0 & -1 \end{matrix}\right|\)
Answer
44
The diagonals only work to find determinants of 2×2 or 3×3. To find the determinant of any larger matrix, another method must be used.
The first item to know is the minor which is the determinant of a matrix created by crossing out a row and column of a larger matrix. A cofactor is a minor with the sign from the sign pattern below.
$$ \left[\begin{matrix} + & - & + & - & \cdots \\ - & + & - & + & \cdots \\ + & - & + & - & \cdots \\ - & + & - & + & \cdots \\ \vdots & \vdots & \vdots & \vdots & \ddots \end{matrix}\right] $$
Given the matrix \(\left[\begin{matrix} 1 & 0 & 2 \\ -2 & 1 & 0 \\ 3 & -2 & -1 \end{matrix}\right]\), find
Solution
The first number in the subscript is the row number and the second number is the column number. The minor M21 indicates to cross out the 2nd row and 1st column.
$$ \require{enclose} \left[\begin{matrix} \enclose{verticalstrike}{1} & 0 & 2 \\ \enclose{circle}{-2} & \enclose{horizontalstrike}{1} & \enclose{horizontalstrike}{0} \\ \enclose{verticalstrike}{3} & -2 & -1 \end{matrix}\right] $$
The minor is the determinant of a matrix made out of all the noncrossed out numbers
$$ \left|\begin{matrix} 0 & 2 \\ -2 & -1 \end{matrix}\right| $$
$$ \require{cancel} \left|\color{blue}{\bcancel{\color{red}{\cancel{\color{black}{\begin{matrix} 0 & 2 \\ -2 & -1 \end{matrix}}}}}}\right| $$
= 0·(−1) − (−2)·2
M21 = 4
The cofactor C21 means to multiply the sign from the sign pattern and the minor M21. To find the sign, look at the sign pattern and determine the sign for the element in the 2nd row, 1st column.
$$ \require{enclose} \left[\begin{matrix} + & - & + & - & \cdots \\ \enclose{circle}{-} & + & - & + & \cdots \\ + & - & + & - & \cdots \\ - & + & - & + & \cdots \\ \vdots & \vdots & \vdots & \vdots & \ddots \end{matrix}\right] $$
Multiply the − from the sign pattern with the minor from part a.
C21 = −4
To find a determinant by expansion by cofactors
Evaluate using expansion by cofactors \(\left[\begin{matrix} 1 & 0 & 2 \\ -2 & 1 & 0 \\ 3 & -2 & -1 \end{matrix}\right]\)
Solution
Choose a row or column that has a lot of zeros in it. For this problem, that is either the 1st row, 2nd row, 2nd column, or 3rd column which each have one zero. I will choose the 1st row. The determinant is the elements of the 1st row multiplied by their respective cofactors.
det = 1C11 + 0C12 + 2C13
Start by crossing out the 1st row and 1st column and find the cofactor C11.
$$ \require{enclose} \left[\begin{matrix} \color{blue}{\enclose{circle}{\color{black}{1}}} & \color{blue}{\enclose{horizontalstrike}{\color{black}{0}}} & \color{blue}{\enclose{horizontalstrike}{\color{black}{2}}} \\ \color{blue}{\enclose{verticalstrike}{\color{black}{-2}}} & 1 & 0 \\ \color{blue}{\enclose{verticalstrike}{\color{black}{3}}} & -2 & -1 \end{matrix}\right]\ $$
The sign pattern has a "+" in position 1,1.
$$ C_{11} = \left|\color{blue}{\bcancel{\color{red}{\cancel{\color{black}{\begin{matrix} 1 & 0 \\ -2 & -1 \end{matrix}}}}}}\right| $$
C11 = (1·−1) − (−2·0)
C11 = −1
Next move on to the next entry in the 1st row. Cross out the 1st row and 2nd column to find the cofactor C12.
$$ \require{enclose} \left[\begin{matrix} \color{blue}{\enclose{horizontalstrike}{\color{black}{1}}} & \color{blue}{\enclose{circle}{\color{black}{0}}} & \color{blue}{\enclose{horizontalstrike}{\color{black}{2}}} \\ -2 & \color{blue}{\enclose{verticalstrike}{\color{black}{1}}} & 0 \\ 3 & \color{blue}{\enclose{verticalstrike}{\color{black}{-2}}} & -1 \end{matrix}\right]\ $$
The sign pattern has a "−" in position 1,2.
$$ C_{12} = -\left|\color{blue}{\bcancel{\color{red}{\cancel{\color{black}{\begin{matrix} -2 & 0 \\ 3 & -1 \end{matrix}}}}}}\right| $$
C12 = −((−2·−1) − (3·0))
C12 = −2
Next move on to the next entry in the 1st row. Cross out the 1st row and 3rd column to find the cofactor C13.
$$ \require{enclose} \left[\begin{matrix} \color{blue}{\enclose{horizontalstrike}{\color{black}{1}}} & \color{blue}{\enclose{horizontalstrike}{\color{black}{0}}} & \color{blue}{\enclose{circle}{\color{black}{2}}} \\ -2 & 1 & \color{blue}{\enclose{verticalstrike}{\color{black}{0}}} \\ 3 & -2 & \color{blue}{\enclose{verticalstrike}{\color{black}{-1}}} \end{matrix}\right]\ $$
The sign pattern has a "+" in position 1,3.
$$ C_{13} = \left|\color{blue}{\bcancel{\color{red}{\cancel{\color{black}{\begin{matrix} -2 & 1 \\ 3 & -2 \end{matrix}}}}}}\right| $$
C13 = (−2·−2) − (3·1)
C13 = 1
The determinant is the elements from the 1st row multiplied by their cofactors.
det = 1C11 + 0C12 + 2C13
det = 1(−1) + 0(−2) + 2(1)
det = 1
Notice that C12 is multiplied by 0, so we did not have to calculate it.
Evaluate \(\left[\begin{matrix} 1 & 0 & -1 & 2 \\ -2 & 1 & 1 & 0 \\ 4 & 2 & -1 & 0 \\ 0 & -3 & 1 & 2 \end{matrix}\right]\)
Solution
Choose a row or column that has a lot of zeros in it. For this problem, the 4th column has the most zeros. The determinant is the elements of the 4th column multiplied by their respective cofactors.
det = 2C14 + 0C24 + 0C34 + 2C44
Notice that C24 and C34 are multiplied by 0, so it does not matter what those two cofactors equal since their terms will equal 0.
Start by crossing out the 1st row and 4th column and find the cofactor C14.
$$ \require{enclose} \left[\begin{matrix} \color{blue}{\enclose{horizontalstrike}{\color{black}{1}}} & \color{blue}{\enclose{horizontalstrike}{\color{black}{0}}} & \color{blue}{\enclose{horizontalstrike}{\color{black}{-1}}} & \color{blue}{\enclose{circle}{\color{black}{2}}} \\ -2 & 1 & 1 & \color{blue}{\enclose{verticalstrike}{\color{black}{0}}} \\ 4 & 2 & -1 & \color{blue}{\enclose{verticalstrike}{\color{black}{0}}} \\ 0 & -3 & 1 & \color{blue}{\enclose{verticalstrike}{\color{black}{2}}} \end{matrix}\right]\ $$
The sign pattern has a "−" in position 1,4.
$$ C_{14} = -\left|\begin{matrix} -2 & 1 & 1 \\ 4 & 2 & -1 \\ 0 & -3 & 1 \end{matrix}\right| $$
$$ -\require{cancel} \left|\begin{matrix} \color{blue}{\bcancel{\color{black}{-2}}} & \color{indigo}{\bcancel{\color{black}{1}}} & \color{purple}{\bcancel{\color{red}{\cancel{\color{black}{1}}}}} \\ 4 & \color{blue}{\bcancel{\color{red}{\cancel{\color{black}{2}}}}} & \color{indigo}{\bcancel{\color{orange}{\cancel{\color{black}{-1}}}}} \\ \color{red}{\cancel{\color{black}{0}}} & \color{orange}{\cancel{\color{black}{-3}}} & \color{blue}{\bcancel{\color{green}{\cancel{\color{black}{1}}}}} \end{matrix}\right| \begin{matrix} \color{orange}{\cancel{\color{black}{-2}}} & \color{green}{\cancel{\color{black}{1}}} \\ \color{purple}{\bcancel{\color{green}{\cancel{\color{black}{4}}}}} & 2 \\ \color{indigo}{\bcancel{\color{black}{0}}} & \color{purple}{\bcancel{\color{black}{-3}}} \end{matrix} $$
C14 = −((−2·2·1) + (1·−1·0) + (1·4·−3) − (0·2·1) − (−3·−1·−2) − (1·4·1))
C14 = −(−4 + 0 + (−12) − 0 − (−6) − 4)
C14 = 14
Next move on to the next entry in the 4th column. Cross out the 2nd row and 4th column to find the cofactor C24, but wait! This will be multiplied by 0, so it does not matter what C24 equals. We will therefore skip calculating it.
Next move on to the next entry in the 4th column. Cross out the 3rd row and 4th column to find the cofactor C34, but wait! This will be multiplied by 0, so it does not matter what C34 equals. We will therefore skip calculating it.
Next move on to the next entry in the 4th column. Cross out the 4th row and 4th column to find the cofactor C44.
$$ \require{enclose} \left[\begin{matrix} 1 & 0 & -1 & \color{blue}{\enclose{verticalstrike}{\color{black}{2}}} \\ -2 & 1 & 1 & \color{blue}{\enclose{verticalstrike}{\color{black}{0}}} \\ 4 & 2 & -1 & \color{blue}{\enclose{verticalstrike}{\color{black}{0}}} \\ \color{blue}{\enclose{horizontalstrike}{\color{black}{0}}} & \color{blue}{\enclose{horizontalstrike}{\color{black}{-3}}} & \color{blue}{\enclose{horizontalstrike}{\color{black}{1}}} & \color{blue}{\enclose{circle}{\color{black}{2}}} \end{matrix}\right]\ $$
The sign pattern has a "+" in position 4,4.
$$ C_{44} = \left|\begin{matrix} 1 & 0 & -1 \\ -2 & 1 & 1 \\ 4 & 2 & -1 \end{matrix}\right| $$
$$ \require{cancel} \left|\begin{matrix} \color{blue}{\bcancel{\color{black}{1}}} & \color{indigo}{\bcancel{\color{black}{0}}} & \color{purple}{\bcancel{\color{red}{\cancel{\color{black}{-1}}}}} \\ -2 & \color{blue}{\bcancel{\color{red}{\cancel{\color{black}{1}}}}} & \color{indigo}{\bcancel{\color{orange}{\cancel{\color{black}{1}}}}} \\ \color{red}{\cancel{\color{black}{4}}} & \color{orange}{\cancel{\color{black}{2}}} & \color{blue}{\bcancel{\color{green}{\cancel{\color{black}{-1}}}}} \end{matrix}\right| \begin{matrix} \color{orange}{\cancel{\color{black}{1}}} & \color{green}{\cancel{\color{black}{0}}} \\ \color{purple}{\bcancel{\color{green}{\cancel{\color{black}{-2}}}}} & 1 \\ \color{indigo}{\bcancel{\color{black}{4}}} & \color{purple}{\bcancel{\color{black}{2}}} \end{matrix} $$
C44 = (1·1·−1) + (0·1·4) + (−1·−2·2) − (4·1·−1) − (2·1·1) − (−1·−2·0)
C44 = −1 + 0 + 4 − (−4) − 2 − 0
C44 = 5
The determinant is the elements from the 1st row multiplied by their cofactors.
det = 2C14 + 0C24 + 0C34 + 2C44
det = 2(14) + 0 + 0 + 2(5)
det = 38
Evaluate using expansion by cofactors \(\left[\begin{matrix} 0 & 3 & -1 \\ 4 & 1 & -3 \\ 0 & 1 & -1 \end{matrix}\right]\)
Answer
8
2×2 Determinant
Product of down diagonal − product of up diagonal
$$ \require{cancel} \left|\begin{matrix} a & b \\ c & d \end{matrix}\right| = \left|\color{blue}{\bcancel{\color{red}{\cancel{\color{black}{\begin{matrix} a & b \\ c & d \end{matrix}}}}}}\right| = \color{blue}{a·d} - \color{red}{c·b} $$
3×3 Determinant
$$ \left|\begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix}\right| $$
Copy the first two columns after the matrix.
$$ \left|\begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix}\right| \begin{matrix} a & b \\ d & e \\ g & h \end{matrix} $$
Add the products of the downward diagonals and subtract the products of the upward diagonals.
$$ \require{cancel} \left|\begin{matrix} \color{blue}{\bcancel{\color{black}{a}}} & \color{indigo}{\bcancel{\color{black}{b}}} & \color{purple}{\bcancel{\color{red}{\cancel{\color{black}{c}}}}} \\ d & \color{blue}{\bcancel{\color{red}{\cancel{\color{black}{e}}}}} & \color{indigo}{\bcancel{\color{orange}{\cancel{\color{black}{f}}}}} \\ \color{red}{\cancel{\color{black}{g}}} & \color{orange}{\cancel{\color{black}{h}}} & \color{blue}{\bcancel{\color{green}{\cancel{\color{black}{i}}}}} \end{matrix}\right| \begin{matrix} \color{orange}{\cancel{\color{black}{a}}} & \color{green}{\cancel{\color{black}{b}}} \\ \color{purple}{\bcancel{\color{green}{\cancel{\color{black}{d}}}}} & e \\ \color{indigo}{\bcancel{\color{black}{g}}} & \color{purple}{\bcancel{\color{black}{h}}} \end{matrix} $$
$$ = \color{blue}{(a·e·i)} + \color{indigo}{(b·f·g)} + \color{purple}{(e·d·h)} - \color{red}{(g·e·c)} - \color{orange}{(h·f·a)} - \color{green}{(i·d·b)} $$
To find a determinant by expansion by cofactors
Helpful videos about this lesson.