Section 5.3
Definition 55 (Determinant of a Two by Two)
If \(A=\left[\begin{matrix}a_{11} & a_{12}\\a_{21} & _{22}\end{matrix}\right]\), then
Definition 56 (Determinant of a Three by Three)
If \(A=\left[\begin{matrix}a_{11} & a_{12} & a_{13}\\ a_{21} & a_{22} & a_{23}\\ a_{31} & a_{32} & a_{33} \end{matrix}\right]\), then the determinant of \(A\) is
However, this is not the only way to compute the determinant.
The determinant of each \(2\times 2\) matrix from the previous definition is the minor of the associated element in the \(3\times 3\) matrix. The symbol \(M_{ij}\) is the minor for the associated element in row \(i\) and column \(j\).
Definition 57 (Cofactor)
Let \(M_{ij}\) be the minor for each element \(a_{ij}\) in an \(n\times n\) matrix. The cofactor of \(a_{ij}\), denoted \(A_{ij}\), is
Definition 58 (Determinant of a Matrix (using cofactor))
Multiply each element in any row (or column) of a matrix by its cofactor. The sum of these products gives the value of the determinant.
The expansion by a given row (or column) is when we fix a row (or column) to setup the sum.
Before we look at finding determinants of large matrices we will first calculate the determinant of a two by two matrix.
Two by Two Determinant Example(s)
Example 103
Find the determinant for the matrix
Solution:
We have \(a_{11}=-3\), \(a_{12}=4\), \(a_{21}=6\), and \(a_{22}=8\). Using the definition we have
Three by Three Determinant Example(s)
If we have the matrix
then we say the minor of an element, say \(a_{22}\), is
Before, computing a determinant of \(n\times n\) matrix practice finding minors of each element of a three by three matrix.
Example 104
Let \(A=\left[\begin{matrix}2 & -3 & 5\\ 1 & 4 & -5\\ 0 & 2 & -6 \end{matrix}\right]\), find the determinant of the matrix by expanding the third row.
Solution:
First, we will find the cofators for third row elements.
Then we will find each of the cofactors. Remember, the cofactor for each element is defined as \(A_{ij}=(-1)^{i+j}M_{ij}\).
Next, we will multiply each cofactor by its associated element.
Finally, we will sum all the values.
Therefore, the determinant of matrix \(A\) is \(-36\).
However, this may seem difficult or require too many steps. The purpose of showing the previous example and using the cofactor is to help show step-by-step how to compute a determinant by fixing any row or column. This can help in the future. In the next example we will compute the determinant of the same matrix using the first definition of a three-by-three determinant.
Example 105
Let \(A=\left[\begin{matrix}2 & -3 & 5\\ 1 & 4 & -5\\ 0 & 2 & -6 \end{matrix}\right]\), find the determinant.
Solution:
Notice the last way resulted in the same value as the way using the cofactor method.
Determinant Theorems
Theorem 8 (Determinant Theorems)
If every element in a row (or column) of a matrix \(A\) is \(0\), then \(|A|=0\).
If the rows of matrix \(A\) are the corresponding columns of matrix \(B\), then \(|A|=|B|\). (Transpose)
If any two rows (or column) of matrix \(A\) are interchanged to form matrix \(B\), then \(|B|=-|A|\).
Suppose matrix \(B\) is formed by multiplying every element of a row (or column) of matrix \(A\) by the real number \(k\). Then \(|B|=k\cdot|A|\).
If two rows (or columns) of matrix \(A\) are identical, then \(|A|=0\).
Changing a row (or column) of matrix by adding to it a constant times another row (or column) does not change the determinant of the matrix. (Doing row reduction does not change the determinant of the original matrix.)
If matrix \(A\) is in triangular form, having only zeros either above or below the main diagonal, then \(|A|\) is the product of the elements on the main diagonal of \(A\).
Example 106
Use the determinant theorems to evaluate the determinant of the following matrix.
Solution:
Since \(M_{31}=0\) we can also use part 6 of the previous them by minipulating \(R_{2}\) to have \(a_{21}=0\) which would then cause \(M_{21}=0\). Then we would have a much simpler approach to find the determinant.
By 6 of the previous theorem we know \(|A|=|B|\). For matrix \(B\) the following minors are calculated
Therefore, we have
Cramer’s Rule
Consider a general system of two equations and two unknowns.
We can solve this system using the elimination method (ignoring and ideal factors to multiply to one equation to elimination another).
provided \(b_{2}a_{1}-b_{1}a_{2}\ne0\). Next, we can solve for the \(y\) variable:
provided \(-a_{2}b_{1}+a_{1}b_{2}\ne0\).
Now, the previous calculations look similar to find the discriminant of something:
The solutions for \(x\) and \(y\) can be represented using the discriminant
and
Notice, how the denominator is the same for both solutions, and the numerator for each of the solutions are different with respect to their variable. For this we have a way to represent these
Since \(D\) is some number and in the denominator of the general solution we require \(D\ne0\).
Theorem 9
If \(D=0\), then the above generalized solution doesn’t apply. The system is inconsistent or has infinitely many solutions.
The generalized method to solve the system is called Cramer’s Rule for two equation in two variables.
Theorem 10 (Cramer’s Rule Two-by-Two)
Cramer’s Rule for Two equations in Two Variables
Given the system
if \(D\ne0\), then the system has the unique solution
where \(D=\left|\begin{matrix}a_{1} & b_{1}\\ a_{2} & b_{2} \end{matrix}\right|\), \(D_{x}=\left|\begin{matrix}c_{1} & b_{1}\\ c_{2} & b_{2} \end{matrix}\right|\), and \(D_{y}=\left|\begin{matrix}a_{1} & c_{1}\\ a_{2} & c_{2} \end{matrix}\right|\). $$
Example 107
Use Cramer’s rule to solve the system of equation
Solution:
First we will find \(D\) (always) to determine if Cramer’s rule is a viable method.
Next, we will find \(D_{x}\) and \(D_{y}\)
and
Therefore, by Cramer’s Rule we have
and the solution set for the system of equations is \(\{(\frac{19}{11},-\frac{18}{11})\}\).
Theorem 11 (General Form of Cramer’s Rule)
Let \(n\times n\) system have linear equations of the following form
Define \(D\) as the determinant of the \(n\times n\) matrix of all coefficients of the variables. Define \(D_{x_{1}}\) as the determinant obtained from \(D\) be replacing the entries in column \(1\) of \(D\) with the constants of the system. Define \(D_{x_{i}}\) as the determinant obtained from \(D\) by replacing the entries in column \(i\) with the constants of the system. If \(D\ne0\), then the unique solution of the system is
Example 108
Solve the system of equations
Solution:
First, we want to rewrite the system.
If \(D=0\) then we will stop doing Cramer’s Rule. Thus, it is helpful calculate \(D\) first to see if Cramer’s Rule will work.
Next, we want to find \(D\). (For spacing each line will be a sum or difference. Otherwise, the calculations would not fit the page.)
Since, \(D\ne0\) we can proceed with Cramer’s Rule
Thus, we have \(D=60\), \(D_{x}=90\), \(D_{y}=-150\), and \(D_{z}=360\). Using these values we have
and
Therefore, the solution for the system is \(\{(\frac{3}{2},-\frac{5}{2},6)\}\).