Solve the system of equations using Cramer’s Rule: { 3 x + 8 y + 2 z = −5 2 x + 5 y − 3 z = 0 x + 2 y − 2 z = −1 .
Solve the system of equations using Cramer’s Rule: { 3 x + y − 6 z = −3 2 x + 6 y + 3 z = 0 3 x + 2 y − 3 z = −6 .
Cramer’s rule does not work when the value of the D determinant is 0, as this would mean we would be dividing by 0. But when D = 0 ,
the system is either inconsistent or dependent.
When the value of D = 0
and D x , D y
are all zero, the system is consistent and dependent and there are infinitely many solutions.
are not all zero, the system is inconsistent and there is no solution.
For any system of equations, where the value of the determinant D = 0 ,
In the next example, we will use the values of the determinants to find the solution of the system.
Solve the system of equations using Cramer’s rule : { x + 3 y = 4 −2 x − 6 y = 3 .
We cannot use Cramer’s Rule to solve this system. But by looking at the value of the determinants D x
we can determine whether the system is dependent or inconsistent.
Since all the determinants are not zero, the system is inconsistent. There is no solution.
Solve the system of equations using Cramer’s rule: { 4 x − 3 y = 8 8 x − 6 y = 14 .
no solution
Solve the system of equations using Cramer’s rule: { x = −3 y + 4 2 x + 6 y = 8 .
infinite solutions
An interesting application of determinants allows us to test if points are collinear. Three points ( x 1 , y 1 ) ,
and ( x 3 , y 3 )
are collinear if and only if the determinant below is zero.
Three points ( x 1 , y 1 ) ,
are collinear if and only if
We will use this property in the next example.
Determine whether the points ( 5 , −5 ) ,
and ( 3 , −1 )
are collinear.
Substitute the values into the determinant. and | |
Evaluate the determinant by expanding | |
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
The value of the determinate is 0, so the |
Determine whether the points ( 3 , −2 ) ,
and ( 1 , −1 )
Determine whether the points ( −4 , −1 ) ,
and ( −2 , −4 )
Access these online resources for additional instruction and practice with solving systems of linear inequalities by graphing.
determinant by expanding by minors along the first row, the following pattern:
the solution
Evaluate the Determinant of a 2 × 2 Matrix
In the following exercises, evaluate the determinate of each square matrix.
Evaluate the Determinant of a 3 × 3 Matrix
In the following exercises, find and then evaluate the indicated minors.
Find the minor ⓐ a 1
Find the minor ⓐ a 2
Find the minor ⓐ a 3
In the following exercises, evaluate each determinant by expanding by minors along the first row.
In the following exercises, evaluate each determinant by expanding by minors.
In the following exercises, solve each system of equations using Cramer’s Rule.
infinitely many solutions
inconsistent
Solve Applications Using Determinants
In the following exercises, determine whether the given points are collinear.
and ( −2 , 2 ) .
and ( 2 , −8 ) .
and ( 2 , −2 ) .
and ( 0 , −2 ) .
Explain the difference between a square matrix and its determinant. Give an example of each.
Explain what is meant by the minor of an entry in a square matrix.
Answers will vary.
Explain how to decide which row or column you will use to expand a 3 × 3
determinant.
Explain the steps for solving a system of equations using Cramer’s rule.
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
minor of an entry in a 3 × 3
determinant is the
determinant found by eliminating the row and column in the
You can also download for free at http://cnx.org/contents/[email protected]
Attribution:
Solving systems with cramer’s rule, learning objectives.
In this section, you will:
We have learned how to solve systems of equations in two variables and three variables, and by multiple methods: substitution, addition, Gaussian elimination, using the inverse of a matrix, and graphing. Some of these methods are easier to apply than others and are more appropriate in certain situations. In this section, we will study two more strategies for solving systems of equations.
A determinant is a real number that can be very useful in mathematics because it has multiple applications, such as calculating area, volume, and other quantities. Here, we will use determinants to reveal whether a matrix is invertible by using the entries of a square matrix to determine whether there is a solution to the system of equations. Perhaps one of the more interesting applications, however, is their use in cryptography. Secure signals or messages are sometimes sent encoded in a matrix. The data can only be decrypted with an invertible matrix and the determinant. For our purposes, we focus on the determinant as an indication of the invertibility of the matrix. Calculating the determinant of a matrix involves following the specific patterns that are outlined in this section.
The determinant of a[latex]\,2\text{ }×\text{ }2\,[/latex]matrix, given
is defined as
Notice the change in notation. There are several ways to indicate the determinant, including[latex]\,\mathrm{det}\left(A\right)\,[/latex]and replacing the brackets in a matrix with straight lines,[latex]\,|A|.[/latex]
Find the determinant of the given matrix.
We will now introduce a final method for solving systems of equations that uses determinants. Known as Cramer’s Rule , this technique dates back to the middle of the 18th century and is named for its innovator, the Swiss mathematician Gabriel Cramer (1704-1752), who introduced it in 1750 in Introduction à l’Analyse des lignes Courbes algébriques. Cramer’s Rule is a viable and efficient method for finding solutions to systems with an arbitrary number of unknowns, provided that we have the same number of equations as unknowns.
Cramer’s Rule will give us the unique solution to a system of equations, if it exists. However, if the system has no solution or an infinite number of solutions, this will be indicated by a determinant of zero. To find out if the system is inconsistent or dependent, another method, such as elimination, will have to be used.
To understand Cramer’s Rule, let’s look closely at how we solve systems of linear equations using basic row operations. Consider a system of two equations in two variables.
We eliminate one variable using row operations and solve for the other. Say that we wish to solve for[latex]\,x.\,[/latex]If equation (2) is multiplied by the opposite of the coefficient of[latex]\,y\,[/latex]in equation (1), equation (1) is multiplied by the coefficient of[latex]\,y\,[/latex]in equation (2), and we add the two equations, the variable[latex]\,y\,[/latex]will be eliminated.
Now, solve for[latex]\,x.[/latex]
Similarly, to solve for[latex]\,y,[/latex]we will eliminate[latex]\,x.[/latex]
Solving for[latex]\,y\,[/latex]gives
Notice that the denominator for both[latex]\,x\,[/latex]and[latex]\,y\,[/latex]is the determinant of the coefficient matrix.
We can use these formulas to solve for[latex]\,x\,[/latex]and[latex]\,y,\,[/latex]but Cramer’s Rule also introduces new notation:
The key to Cramer’s Rule is replacing the variable column of interest with the constant column and calculating the determinants. We can then express[latex]\,x\,[/latex]and[latex]\,y\,[/latex]as a quotient of two determinants.
Cramer’s Rule is a method that uses determinants to solve systems of equations that have the same number of equations as variables.
Consider a system of two linear equations in two variables.
The solution using Cramer’s Rule is given as
If we are solving for[latex]\,x,\,[/latex]the[latex]\,x\,[/latex]column is replaced with the constant column. If we are solving for[latex]\,y,\,[/latex]the[latex]\,y\,[/latex]column is replaced with the constant column.
Solve the following[latex]\,2\text{ }×\text{ }2\,[/latex]system using Cramer’s Rule.
Solve for[latex]\,x.[/latex]
Solve for[latex]\,y.[/latex]
Use Cramer’s Rule to solve the 2 × 2 system of equations.
[latex]\left(3,-7\right)[/latex]
Finding the determinant of a 2×2 matrix is straightforward, but finding the determinant of a 3×3 matrix is more complicated. One method is to augment the 3×3 matrix with a repetition of the first two columns, giving a 3×5 matrix. Then we calculate the sum of the products of entries down each of the three diagonals (upper left to lower right), and subtract the products of entries up each of the three diagonals (lower left to upper right). This is more easily understood with a visual and an example.
Find the determinant of the 3×3 matrix.
The algebra is as follows:
Find the determinant of the 3 × 3 matrix given
Augment the matrix with the first two columns and then follow the formula. Thus,
Find the determinant of the 3 × 3 matrix.
[latex]-10[/latex]
Can we use the same method to find the determinant of a larger matrix?
No, this method only works for[latex]\,2\text{ }×\text{ }2\,[/latex]and[latex]\,\text{3}\text{ }×\text{ }3\,[/latex]matrices. For larger matrices it is best to use a graphing utility or computer software.
Now that we can find the determinant of a 3 × 3 matrix, we can apply Cramer’s Rule to solve a system of three equations in three variables . Cramer’s Rule is straightforward, following a pattern consistent with Cramer’s Rule for 2 × 2 matrices. As the order of the matrix increases to 3 × 3, however, there are many more calculations required.
When we calculate the determinant to be zero, Cramer’s Rule gives no indication as to whether the system has no solution or an infinite number of solutions. To find out, we have to perform elimination on the system.
Consider a 3 × 3 system of equations.
If we are writing the determinant[latex]\,{D}_{x},[/latex]we replace the[latex]\,x\,[/latex]column with the constant column. If we are writing the determinant[latex]{D}_{y},[/latex]we replace the[latex]\,y\,[/latex]column with the constant column. If we are writing the determinant[latex]\,{D}_{z},[/latex]we replace the[latex]\,z\,[/latex]column with the constant column. Always check the answer.
Find the solution to the given 3 × 3 system using Cramer’s Rule.
Use Cramer’s Rule.
Use Cramer’s Rule to solve the 3 × 3 matrix.
[latex]\left(-2,\frac{3}{5},\frac{12}{5}\right)[/latex]
Solve the system of equations using Cramer’s Rule.
We begin by finding the determinants[latex]\,D,{D}_{x},\text{and }{D}_{y}.[/latex]
We know that a determinant of zero means that either the system has no solution or it has an infinite number of solutions. To see which one, we use the process of elimination. Our goal is to eliminate one of the variables.
We obtain the equation[latex]\,0=-8,\,[/latex]which is false. Therefore, the system has no solution. Graphing the system reveals two parallel lines. See (Figure) .
Solve the system with an infinite number of solutions.
Let’s find the determinant first. Set up a matrix augmented by the first two columns.
As the determinant equals zero, there is either no solution or an infinite number of solutions. We have to perform elimination to find out.
There are many properties of determinants . Listed here are some properties that may be helpful in calculating the determinant of a matrix.
Illustrate each of the properties of determinants.
Property 1 states that if the matrix is in upper triangular form, the determinant is the product of the entries down the main diagonal.
Augment[latex]\,A\,[/latex]with the first two columns.
Property 2 states that interchanging rows changes the sign. Given
Property 3 states that if two rows or two columns are identical, the determinant equals zero.
Property 4 states that if a row or column equals zero, the determinant equals zero. Thus,
Property 5 states that the determinant of an inverse matrix[latex]\,{A}^{-1}\,[/latex]is the reciprocal of the determinant[latex]\,A.\,[/latex]Thus,
Property 6 states that if any row or column of a matrix is multiplied by a constant, the determinant is multiplied by the same factor. Thus,
Find the solution to the given 3 × 3 system.
Using Cramer’s Rule , we have
Notice that the second and third columns are identical. According to Property 3, the determinant will be zero, so there is either no solution or an infinite number of solutions. We have to perform elimination to find out.
Access these online resources for additional instruction and practice with Cramer’s Rule.
Explain why we can always evaluate the determinant of a square matrix.
A determinant is the sum and products of the entries in the matrix, so you can always evaluate that product—even if it does end up being 0.
Examining Cramer’s Rule, explain why there is no unique solution to the system when the determinant of your matrix is 0. For simplicity, use a[latex]\,2\,×\,2\,[/latex]matrix.
Explain what it means in terms of an inverse for a matrix to have a 0 determinant.
The inverse does not exist.
The determinant of[latex]\,2\,×\,2\,[/latex]matrix[latex]\,A\,[/latex]is 3. If you switch the rows and multiply the first row by 6 and the second row by 2, explain how to find the determinant and provide the answer.
For the following exercises, find the determinant.
[latex]|\begin{array}{cc}1& 2\\ 3& 4\end{array}|[/latex]
[latex]-2[/latex]
[latex]|\begin{array}{rr}\hfill -1& \hfill 2\\ \hfill 3& \hfill -4\end{array}|[/latex]
[latex]|\begin{array}{rr}\hfill 2& \hfill -5\\ \hfill -1& \hfill 6\end{array}|[/latex]
[latex]7[/latex]
[latex]|\begin{array}{cc}-8& 4\\ -1& 5\end{array}|[/latex]
[latex]|\begin{array}{rr}\hfill 1& \hfill 0\\ \hfill 3& \hfill -4\end{array}|[/latex]
[latex]-4[/latex]
[latex]|\begin{array}{rr}\hfill 10& \hfill 20\\ \hfill 0& \hfill -10\end{array}|[/latex]
[latex]|\begin{array}{cc}10& 0.2\\ 5& 0.1\end{array}|[/latex]
[latex]0[/latex]
[latex]|\begin{array}{rr}\hfill 6& \hfill -3\\ \hfill 8& \hfill 4\end{array}|[/latex]
[latex]|\begin{array}{rr}\hfill -2& \hfill -3\\ \hfill 3.1& \hfill 4,000\end{array}|[/latex]
[latex]-7,990.7[/latex]
[latex]|\begin{array}{rrr}\hfill -1& \hfill 0& \hfill 0\\ \hfill 0& \hfill 1& \hfill 0\\ \hfill 0& \hfill 0& \hfill -3\end{array}|[/latex]
[latex]3[/latex]
[latex]|\begin{array}{rrr}\hfill -1& \hfill 4& \hfill 0\\ \hfill 0& \hfill 2& \hfill 3\\ \hfill 0& \hfill 0& \hfill -3\end{array}|[/latex]
[latex]|\begin{array}{ccc}1& 0& 1\\ 0& 1& 0\\ 1& 0& 0\end{array}|[/latex]
[latex]-1[/latex]
[latex]|\begin{array}{rrr}\hfill 2& \hfill -3& \hfill 1\\ \hfill 3& \hfill -4& \hfill 1\\ \hfill -5& \hfill 6& \hfill 1\end{array}|[/latex]
[latex]|\begin{array}{rrr}\hfill -2& \hfill 1& \hfill 4\\ \hfill -4& \hfill 2& \hfill -8\\ \hfill 2& \hfill -8& \hfill -3\end{array}|[/latex]
[latex]224[/latex]
[latex]|\begin{array}{rrr}\hfill 6& \hfill -1& \hfill 2\\ \hfill -4& \hfill -3& \hfill 5\\ \hfill 1& \hfill 9& \hfill -1\end{array}|[/latex]
[latex]|\begin{array}{rrr}\hfill 5& \hfill 1& \hfill -1\\ \hfill 2& \hfill 3& \hfill 1\\ \hfill 3& \hfill -6& \hfill -3\end{array}|[/latex]
[latex]15[/latex]
[latex]|\begin{array}{rrr}\hfill 1.1& \hfill 2& \hfill -1\\ \hfill -4& \hfill 0& \hfill 0\\ \hfill 4.1& \hfill -0.4& \hfill 2.5\end{array}|[/latex]
[latex]|\begin{array}{rrr}\hfill 2& \hfill -1.6& \hfill 3.1\\ \hfill 1.1& \hfill 3& \hfill -8\\ \hfill -9.3& \hfill 0& \hfill 2\end{array}|[/latex]
[latex]-17.03[/latex]
[latex]|\begin{array}{ccc}-\frac{1}{2}& \frac{1}{3}& \frac{1}{4}\\ \frac{1}{5}& -\frac{1}{6}& \frac{1}{7}\\ 0& 0& \frac{1}{8}\end{array}|[/latex]
For the following exercises, solve the system of linear equations using Cramer’s Rule.
[latex]\begin{array}{l}2x-3y=-1\\ 4x+5y=9\end{array}[/latex]
[latex]\left(1,1\right)[/latex]
[latex]\begin{array}{r}5x-4y=2\\ -4x+7y=6\end{array}[/latex]
[latex]\begin{array}{l}\text{ }6x-3y=2\,\,\,\,\,\hfill \\ -8x+9y=-1\hfill \end{array}[/latex]
[latex]\left(\frac{1}{2},\frac{1}{3}\right)[/latex]
[latex]\begin{array}{l}2x+6y=12\\ 5x-2y=13\end{array}[/latex]
[latex]\begin{array}{l}4x+3y=23\,\,\hfill \\ \text{ }2x-y=-1\hfill \end{array}[/latex]
[latex]\left(2,5\right)[/latex]
[latex]\begin{array}{l}10x-6y=2\,\,\,\,\hfill \\ -5x+8y=-1\hfill \end{array}[/latex]
[latex]\begin{array}{l}4x-3y=-3\\ 2x+6y=-4\end{array}[/latex]
[latex]\left(-1,-\frac{1}{3}\right)[/latex]
[latex]\begin{array}{r}4x-5y=7\\ -3x+9y=0\end{array}[/latex]
[latex]\begin{array}{l}4x+10y=180\,\,\,\,\hfill \\ -3x-5y=-105\hfill \end{array}[/latex]
[latex]\left(15,12\right)[/latex]
[latex]\begin{array}{l}\text{ }8x-2y=-3\hfill \\ -4x+6y=4\,\,\,\,\hfill \end{array}[/latex]
[latex]\left(1,3,2\right)[/latex]
[latex]\begin{array}{l}-5x+2y-4z=-47\hfill \\ \text{ }4x-3y-z=-94\hfill \\ \text{ }3x-3y+2z=94\,\,\,\,\hfill \end{array}[/latex]
[latex]\begin{array}{l}\text{ }4x+5y-z=-7\hfill \\ -2x-9y+2z=8\,\,\,\,\hfill \\ \text{ }5y+7z=21\,\hfill \end{array}[/latex]
[latex]\left(-1,0,3\right)[/latex]
[latex]\begin{array}{r}4x-3y+4z=10\\ 5x-2z=-2\\ 3x+2y-5z=-9\end{array}[/latex]
[latex]\begin{array}{l}4x-2y+3z=6\,\,\,\hfill \\ \text{ }-6x+y=-2\hfill \\ 2x+7y+8z=24\hfill \end{array}[/latex]
[latex]\left(\frac{1}{2},1,2\right)[/latex]
[latex]\begin{array}{r}\hfill 5x+2y-z=1\,\,\,\,\,\\ \hfill -7x-8y+3z=1.5\\ \hfill 6x-12y+z=7\,\,\,\,\end{array}[/latex]
[latex]\begin{array}{l}\text{ }13x-17y+16z=73\,\,\,\,\hfill \\ -11x+15y+17z=61\,\,\,\,\hfill \\ \text{ }46x+10y-30z=-18\hfill \end{array}[/latex]
[latex]\begin{array}{l}\begin{array}{l}\hfill \\ -4x-3y-8z=-7\hfill \end{array}\hfill \\ \text{ }2x-9y+5z=0.5\hfill \\ \text{ }5x-6y-5z=-2\hfill \end{array}[/latex]
[latex]\begin{array}{l}\text{ }4x-6y+8z=10\,\,\hfill \\ -2x+3y-4z=-5\hfill \\ \text{ }x+y+z=1\,\,\,\,\,\hfill \end{array}[/latex]
Infinite solutions
[latex]\begin{array}{r}\hfill 4x-6y+8z=10\,\,\,\,\,\\ \hfill -2x+3y-4z=-5\,\,\,\\ \hfill 12x+18y-24z=-30\end{array}[/latex]
For the following exercises, use the determinant function on a graphing utility.
[latex]24[/latex]
[latex]|\begin{array}{rrrr}\hfill 1& \hfill 0& \hfill 2& \hfill 1\\ \hfill 0& \hfill -9& \hfill 1& \hfill 3\\ \hfill 3& \hfill 0& \hfill -2& \hfill -1\\ \hfill 0& \hfill 1& \hfill 1& \hfill -2\end{array}|[/latex]
[latex]|\begin{array}{rrrr}\hfill \frac{1}{2}& \hfill 1& \hfill 7& \hfill 4\\ \hfill 0& \hfill \frac{1}{2}& \hfill 100& \hfill 5\\ \hfill 0& \hfill 0& \hfill 2& \hfill 2,000\\ \hfill 0& \hfill 0& \hfill 0& \hfill 2\end{array}|[/latex]
[latex]1[/latex]
[latex]|\begin{array}{rrrr}\hfill 1& \hfill 0& \hfill 0& \hfill 0\\ \hfill 2& \hfill 3& \hfill 0& \hfill 0\\ \hfill 4& \hfill 5& \hfill 6& \hfill 0\\ \hfill 7& \hfill 8& \hfill 9& \hfill 0\end{array}|[/latex]
For the following exercises, create a system of linear equations to describe the behavior. Then, calculate the determinant. Will there be a unique solution? If so, find the unique solution.
Two numbers add up to 56. One number is 20 less than the other.
Yes; 18, 38
Two numbers add up to 104. If you add two times the first number plus two times the second number, your total is 208
Three numbers add up to 106. The first number is 3 less than the second number. The third number is 4 more than the first number.
Yes; 33, 36, 37
Three numbers add to 216. The sum of the first two numbers is 112. The third number is 8 less than the first two numbers combined.
For the following exercises, create a system of linear equations to describe the behavior. Then, solve the system for all solutions using Cramer’s Rule.
You invest $10,000 into two accounts, which receive 8% interest and 5% interest. At the end of a year, you had $10,710 in your combined accounts. How much was invested in each account?
$7,000 in first account, $3,000 in second account.
You invest $80,000 into two accounts, $22,000 in one account, and $58,000 in the other account. At the end of one year, assuming simple interest, you have earned $2,470 in interest. The second account receives half a percent less than twice the interest on the first account. What are the interest rates for your accounts?
A movie theater needs to know how many adult tickets and children tickets were sold out of the 1,200 total tickets. If children’s tickets are $5.95, adult tickets are $11.15, and the total amount of revenue was $12,756, how many children’s tickets and adult tickets were sold?
120 children, 1,080 adult
A concert venue sells single tickets for $40 each and couple’s tickets for $65. If the total revenue was $18,090 and the 321 tickets were sold, how many single tickets and how many couple’s tickets were sold?
You decide to paint your kitchen green. You create the color of paint by mixing yellow and blue paints. You cannot remember how many gallons of each color went into your mix, but you know there were 10 gal total. Additionally, you kept your receipt, and know the total amount spent was $29.50. If each gallon of yellow costs $2.59, and each gallon of blue costs $3.19, how many gallons of each color go into your green mix?
4 gal yellow, 6 gal blue
You sold two types of scarves at a farmers’ market and would like to know which one was more popular. The total number of scarves sold was 56, the yellow scarf cost $10, and the purple scarf cost $11. If you had total revenue of $583, how many yellow scarves and how many purple scarves were sold?
Your garden produced two types of tomatoes, one green and one red. The red weigh 10 oz, and the green weigh 4 oz. You have 30 tomatoes, and a total weight of 13 lb, 14 oz. How many of each type of tomato do you have?
13 green tomatoes, 17 red tomatoes
At a market, the three most popular vegetables make up 53% of vegetable sales. Corn has 4% higher sales than broccoli, which has 5% more sales than onions. What percentage does each vegetable have in the market share?
At the same market, the three most popular fruits make up 37% of the total fruit sold. Strawberries sell twice as much as oranges, and kiwis sell one more percentage point than oranges. For each fruit, find the percentage of total fruit sold.
Strawberries 18%, oranges 9%, kiwi 10%
Three bands performed at a concert venue. The first band charged $15 per ticket, the second band charged $45 per ticket, and the final band charged $22 per ticket. There were 510 tickets sold, for a total of $12,700. If the first band had 40 more audience members than the second band, how many tickets were sold for each band?
A movie theatre sold tickets to three movies. The tickets to the first movie were $5, the tickets to the second movie were $11, and the third movie was $12. 100 tickets were sold to the first movie. The total number of tickets sold was 642, for a total revenue of $6,774. How many tickets for each movie were sold?
100 for movie 1, 230 for movie 2, 312 for movie 3
Men aged 20–29, 30–39, and 40–49 made up 78% of the population at a prison last year. This year, the same age groups made up 82.08% of the population. The 20–29 age group increased by 20%, the 30–39 age group increased by 2%, and the 40–49 age group decreased to[latex]\,\frac{3}{4}\,[/latex]of their previous population. Originally, the 30–39 age group had 2% more prisoners than the 20–29 age group. Determine the prison population percentage for each age group last year.
At a women’s prison down the road, the total number of inmates aged 20–49 totaled 5,525. This year, the 20–29 age group increased by 10%, the 30–39 age group decreased by 20%, and the 40–49 age group doubled. There are now 6,040 prisoners. Originally, there were 500 more in the 30–39 age group than the 20–29 age group. Determine the prison population for each age group last year.
20–29: 2,100, 30–39: 2,600, 40–49: 825
For the following exercises, use this scenario: A health-conscious company decides to make a trail mix out of almonds, dried cranberries, and chocolate-covered cashews. The nutritional information for these items is shown in (Figure) .
Fat (g) | Protein (g) | Carbohydrates (g) | |
---|---|---|---|
6 | 2 | 3 | |
0.02 | 0 | 8 | |
7 | 3.5 | 5.5 |
For the special “low-carb”trail mix, there are 1,000 pieces of mix. The total number of carbohydrates is 425 g, and the total amount of fat is 570.2 g. If there are 200 more pieces of cashews than cranberries, how many of each item is in the trail mix?
For the “hiking” mix, there are 1,000 pieces in the mix, containing 390.8 g of fat, and 165 g of protein. If there is the same amount of almonds as cashews, how many of each item is in the trail mix?
300 almonds, 400 cranberries, 300 cashews
For the “energy-booster” mix, there are 1,000 pieces in the mix, containing 145 g of protein and 625 g of carbohydrates. If the number of almonds and cashews summed together is equivalent to the amount of cranberries, how many of each item is in the trail mix?
Systems of linear equations: two variables.
For the following exercises, determine whether the ordered pair is a solution to the system of equations.
[latex]\begin{array}{l}3x-y=4\\ x+4y=-3\,\end{array}[/latex]and[latex]\,\left(-1,1\right)[/latex]
[latex]\begin{array}{l}6x-2y=24\\ -3x+3y=18\,\end{array}[/latex]and[latex]\,\left(9,15\right)[/latex]
For the following exercises, use substitution to solve the system of equations.
[latex]\begin{array}{l}10x+5y=-5\hfill \\ \,\,\,3x-2y=-12\hfill \end{array}[/latex]
[latex]\left(-2,3\right)[/latex]
[latex]\begin{array}{l}\frac{4}{7}x+\frac{1}{5}y=\frac{43}{70}\\ \frac{5}{6}x-\frac{1}{3}y=-\frac{2}{3}\end{array}[/latex]
[latex]\begin{array}{l}5x+6y=14\\ 4x+8y=8\end{array}[/latex]
[latex]\left(4,-1\right)[/latex]
For the following exercises, use addition to solve the system of equations.
[latex]\begin{array}{l}3x+2y=-7\\ 2x+4y=6\end{array}[/latex]
[latex]\begin{array}{r}3x+4y=2\\ 9x+12y=3\end{array}[/latex]
No solutions exist.
[latex]\begin{array}{l}8x+4y=2\\ 6x-5y=0.7\end{array}[/latex]
For the following exercises, write a system of equations to solve each problem. Solve the system of equations.
A factory has a cost of production[latex]\,C\left(x\right)=150x+15\text{,}000\,[/latex]and a revenue function[latex]\,R\left(x\right)=200x.\,[/latex]What is the break-even point?
[latex]\left(300,60,000\right)[/latex]
A performer charges[latex]\,C\left(x\right)=50x+10\text{,}000,\,[/latex]where[latex]\,x\,[/latex]is the total number of attendees at a show. The venue charges $75 per ticket. After how many people buy tickets does the venue break even, and what is the value of the total tickets sold at that point?
[latex]\left(400,30,000\right)[/latex]
For the following exercises, solve the system of three equations using substitution or addition.
[latex]\begin{array}{l}\text{ }0.5x-0.5y=10\hfill \\ \text{ }-0.2y+0.2x=4\hfill \\ \text{ }0.1x+0.1z=2\hfill \end{array}[/latex]
[latex]\left(10,-10,10\right)[/latex]
[latex]\begin{array}{r}\hfill 5x+3y-z=5\,\,\,\\ \hfill 3x-2y+4z=13\\ \hfill 4x+3y+5z=22\end{array}[/latex]
[latex]\begin{array}{r}x+y+z=1\\ 2x+2y+2z=1\\ 3x+3y=2\end{array}[/latex]
[latex]\begin{array}{l}\text{ }2x-3y+z=-1\hfill \\ \text{ }x+y+z=-4\hfill \\ \text{ }4x+2y-3z=33\hfill \end{array}[/latex]
[latex]\begin{array}{l}\,\,3x+2y-z=-10\hfill \\ \,\,\,\,x-y+2z=7\hfill \\ -x+3y+z=-2\hfill \end{array}[/latex]
[latex]\left(-1,-2,3\right)[/latex]
[latex]\begin{array}{r}\hfill 3x+4z=-11\\ \hfill x-2y=5\,\,\,\,\,\,\,\\ \hfill 4y-z=-10\end{array}[/latex]
[latex]\begin{array}{r}2x-3y+z=0\\ 2x+4y-3z=0\\ 6x-2y-z=0\end{array}[/latex]
[latex]\left(x,\frac{8x}{5},\frac{14x}{5}\right)[/latex]
[latex]\begin{array}{r}6x-4y-2z=2\\ 3x+2y-5z=4\\ 6y-7z=5\end{array}[/latex]
Three odd numbers sum up to 61. The smaller is one-third the larger and the middle number is 16 less than the larger. What are the three numbers?
A local theatre sells out for their show. They sell all 500 tickets for a total purse of $8,070.00. The tickets were priced at $15 for students, $12 for children, and $18 for adults. If the band sold three times as many adult tickets as children’s tickets, how many of each type was sold?
For the following exercises, solve the system of nonlinear equations.
[latex]\begin{array}{l}\begin{array}{l}\\ y={x}^{2}-7\end{array}\hfill \\ y=5x-13\hfill \end{array}[/latex]
[latex]\left(2,-3\right),\left(3,2\right)[/latex]
[latex]\begin{array}{l}\begin{array}{l}\\ y={x}^{2}-4\end{array}\hfill \\ y=5x+10\hfill \end{array}[/latex]
[latex]\begin{array}{l}{x}^{2}+{y}^{2}=16\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,y=x-8\hfill \end{array}[/latex]
No solution
[latex]\begin{array}{l}{x}^{2}+{y}^{2}=25\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,y={x}^{2}+5\hfill \end{array}[/latex]
[latex]\begin{array}{r}{x}^{2}+{y}^{2}=4\\ y-{x}^{2}=3\end{array}[/latex]
For the following exercises, graph the inequality.
[latex]y>{x}^{2}-1[/latex]
[latex]\frac{1}{4}{x}^{2}+{y}^{2}<4[/latex]
For the following exercises, graph the system of inequalities.
[latex]\begin{array}{l}{x}^{2}+{y}^{2}+2x<3\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,y>-{x}^{2}-3\hfill \end{array}[/latex]
[latex]\begin{array}{l}{x}^{2}-2x+{y}^{2}-4x<4\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,y<-x+4\hfill \end{array}[/latex]
[latex]\begin{array}{l}{x}^{2}+{y}^{2}<1\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,{y}^{2}<x\hfill \end{array}[/latex]
For the following exercises, decompose into partial fractions.
[latex]\frac{-2x+6}{{x}^{2}+3x+2}[/latex]
[latex]\frac{2}{x+2},\frac{-4}{x+1}[/latex]
[latex]\frac{10x+2}{4{x}^{2}+4x+1}[/latex]
[latex]\frac{7x+20}{{x}^{2}+10x+25}[/latex]
[latex]\frac{7}{x+5},\frac{-15}{{\left(x+5\right)}^{2}}[/latex]
[latex]\frac{x-18}{{x}^{2}-12x+36}[/latex]
[latex]\frac{-{x}^{2}+36x+70}{{x}^{3}-125}[/latex]
[latex]\frac{3}{x-5},\frac{-4x+1}{{x}^{2}+5x+25}[/latex]
[latex]\frac{-5{x}^{2}+6x-2}{{x}^{3}+27}[/latex]
[latex]\frac{{x}^{3}-4{x}^{2}+3x+11}{{\left({x}^{2}-2\right)}^{2}}[/latex]
[latex]\frac{x-4}{\left({x}^{2}-2\right)},\frac{5x+3}{{\left({x}^{2}-2\right)}^{2}}[/latex]
[latex]\frac{4{x}^{4}-2{x}^{3}+22{x}^{2}-6x+48}{x{\left({x}^{2}+4\right)}^{2}}[/latex]
For the following exercises, perform the requested operations on the given matrices.
[latex]-4A[/latex]
[latex]\left[\begin{array}{cc}-16& 8\\ -4& -12\end{array}\right][/latex]
[latex]10D-6E[/latex]
[latex]B+C[/latex]
undefined; dimensions do not match
[latex]AB[/latex]
[latex]BA[/latex]
undefined; inner dimensions do not match
[latex]BC[/latex]
[latex]CB[/latex]
[latex]\left[\begin{array}{ccc}113& 28& 10\\ 44& 81& -41\\ 84& 98& -42\end{array}\right][/latex]
[latex]DE[/latex]
[latex]ED[/latex]
[latex]\left[\begin{array}{ccc}-127& -74& 176\\ -2& 11& 40\\ 28& 77& 38\end{array}\right][/latex]
[latex]EC[/latex]
[latex]CE[/latex]
[latex]{A}^{3}[/latex]
For the following exercises, write the system of linear equations from the augmented matrix. Indicate whether there will be a unique solution.
[latex]\left[\begin{array}{rrr}\hfill 1& \hfill 0& \hfill -3\\ \hfill 0& \hfill 1& \hfill 2\\ \hfill 0& \hfill 0& \hfill 0\end{array}\text{ }|\text{ }\begin{array}{r}\hfill 7\\ \hfill -5\\ \hfill 0\end{array}\right][/latex]
[latex]\begin{array}{l}x-3z=7\\ y+2z=-5\,\end{array}[/latex]with infinite solutions
[latex]\left[\begin{array}{rrr}\hfill 1& \hfill 0& \hfill 5\\ \hfill 0& \hfill 1& \hfill -2\\ \hfill 0& \hfill 0& \hfill 0\end{array}\text{ }|\text{ }\begin{array}{r}\hfill -9\\ \hfill 4\\ \hfill 3\end{array}\right][/latex]
For the following exercises, write the augmented matrix from the system of linear equations.
[latex]\begin{array}{l}\\ \begin{array}{r}\hfill -2x+2y+z=7\\ \hfill 2x-8y+5z=0\\ \hfill 19x-10y+22z=3\end{array}\end{array}[/latex]
[latex]\left[\begin{array}{rrr}\hfill -2& \hfill 2& \hfill 1\\ \hfill 2& \hfill -8& \hfill 5\\ \hfill 19& \hfill -10& \hfill 22\end{array}\text{ }|\text{ }\begin{array}{r}\hfill 7\\ \hfill 0\\ \hfill 3\end{array}\right][/latex]
[latex]\begin{array}{l}\,\,\,\,\,4x+2y-3z=14\hfill \\ -12x+3y+z=100\hfill \\ \,\,\,\,\,9x-6y+2z=31\hfill \end{array}[/latex]
[latex]\begin{array}{r}\hfill x+3z=12\,\\ \hfill -x+4y=0\,\,\,\,\\ \hfill y+2z=-7\end{array}[/latex]
[latex]\left[\begin{array}{rrr}\hfill 1& \hfill 0& \hfill 3\\ \hfill -1& \hfill 4& \hfill 0\\ \hfill 0& \hfill 1& \hfill 2\end{array}\text{ }|\text{ }\begin{array}{r}\hfill 12\\ \hfill 0\\ \hfill -7\end{array}\right][/latex]
For the following exercises, solve the system of linear equations using Gaussian elimination.
[latex]\begin{array}{r}3x-4y=-7\\ -6x+8y=14\end{array}[/latex]
[latex]\begin{array}{r}3x-4y=1\\ -6x+8y=6\end{array}[/latex]
[latex]\begin{array}{l}\begin{array}{l}\\ -1.1x-2.3y=6.2\end{array}\hfill \\ -5.2x-4.1y=4.3\hfill \end{array}[/latex]
[latex]\begin{array}{r}\hfill 2x+3y+2z=1\,\,\,\,\,\\ \hfill -4x-6y-4z=-2\\ \hfill 10x+15y+10z=0\,\,\,\,\,\end{array}[/latex]
[latex]\begin{array}{r}\hfill -x+2y-4z=8\,\,\,\,\\ \hfill 3y+8z=-4\\ \hfill -7x+y+2z=1\,\,\,\,\end{array}[/latex]
For the following exercises, find the inverse of the matrix.
[latex]\left[\begin{array}{rr}\hfill -0.2& \hfill 1.4\\ \hfill 1.2& \hfill -0.4\end{array}\right][/latex]
[latex]\frac{1}{8}\left[\begin{array}{cc}2& 7\\ 6& 1\end{array}\right][/latex]
[latex]\left[\begin{array}{rr}\hfill \frac{1}{2}& \hfill -\frac{1}{2}\\ \hfill -\frac{1}{4}& \hfill \frac{3}{4}\end{array}\right][/latex]
[latex]\left[\begin{array}{ccc}12& 9& -6\\ -1& 3& 2\\ -4& -3& 2\end{array}\right][/latex]
No inverse exists.
[latex]\left[\begin{array}{ccc}2& 1& 3\\ 1& 2& 3\\ 3& 2& 1\end{array}\right][/latex]
For the following exercises, find the solutions by computing the inverse of the matrix.
[latex]\begin{array}{l}\,\,\,\,0.3x-0.1y=-10\hfill \\ -0.1x+0.3y=14\hfill \end{array}[/latex]
[latex]\left(-20,40\right)[/latex]
[latex]\begin{array}{l}\,\,\,\,\,\,\,\,0.4x-0.2y=-0.6\hfill \\ -0.1x+0.05y=0.3\hfill \end{array}[/latex]
[latex]\begin{array}{r}4x+3y-3z=-4.3\\ 5x-4y-z=-6.1\\ x+z=-0.7\end{array}[/latex]
[latex]\left(-1,0.2,0.3\right)[/latex]
[latex]\begin{array}{r}\hfill \begin{array}{l}\\ -2x-3y+2z=3\end{array}\\ \hfill -x+2y+4z=-5\\ \hfill -2y+5z=-3\end{array}[/latex]
Students were asked to bring their favorite fruit to class. 90% of the fruits consisted of banana, apple, and oranges. If oranges were half as popular as bananas and apples were 5% more popular than bananas, what are the percentages of each individual fruit?
17% oranges, 34% bananas, 39% apples
A sorority held a bake sale to raise money and sold brownies and chocolate chip cookies. They priced the brownies at $2 and the chocolate chip cookies at $1. They raised $250 and sold 175 items. How many brownies and how many cookies were sold?
[latex]|\begin{array}{cc}100& 0\\ 0& 0\end{array}|[/latex]
[latex]|\begin{array}{cc}0.2& -0.6\\ 0.7& -1.1\end{array}|[/latex]
[latex]|\begin{array}{ccc}-1& 4& 3\\ 0& 2& 3\\ 0& 0& -3\end{array}|[/latex]
[latex]|\begin{array}{ccc}\sqrt{2}& 0& 0\\ 0& \sqrt{2}& 0\\ 0& 0& \sqrt{2}\end{array}|[/latex]
For the following exercises, use Cramer’s Rule to solve the linear systems of equations.
[latex]\begin{array}{r}\hfill 4x-2y=23\,\,\,\,\\ \hfill -5x-10y=-35\end{array}[/latex]
[latex]\left(6,\frac{1}{2}\right)[/latex]
[latex]\begin{array}{l}0.2x-0.1y=0\\ -0.3x+0.3y=2.5\end{array}[/latex]
[latex]\begin{array}{r}\hfill -0.5x+0.1y=0.3\,\,\,\\ \hfill -0.25x+0.05y=0.15\end{array}[/latex]
( x , 5 x + 3)
[latex]\begin{array}{l}x+6y+3z=4\\ 2x+y+2z=3\\ 3x-2y+z=0\end{array}[/latex]
[latex]\begin{array}{r}\hfill 4x-3y+5z=-\frac{5}{2}\\ \hfill 7x-9y-3z=\frac{3}{2}\,\,\,\,\\ \hfill x-5y-5z=\frac{5}{2}\,\,\,\,\end{array}[/latex]
[latex]\left(0,0,-\frac{1}{2}\right)[/latex]
[latex]\begin{array}{r}\frac{3}{10}x-\frac{1}{5}y-\frac{3}{10}z=-\frac{1}{50}\\ \frac{1}{10}x-\frac{1}{10}y-\frac{1}{2}z=-\frac{9}{50}\\ \frac{2}{5}x-\frac{1}{2}y-\frac{3}{5}z=-\frac{1}{5}\end{array}[/latex]
Is the following ordered pair a solution to the system of equations?
[latex]\begin{array}{l}\\ \begin{array}{l}-5x-y=12\,\hfill \\ x+4y=9\hfill \end{array}\end{array}[/latex]with[latex]\,\left(-3,3\right)[/latex]
For the following exercises, solve the systems of linear and nonlinear equations using substitution or elimination. Indicate if no solution exists.
[latex]\begin{array}{r}\frac{1}{2}x-\frac{1}{3}y=4\\ \frac{3}{2}x-y=0\end{array}[/latex]
[latex]\begin{array}{r}\hfill \begin{array}{l}\\ -\frac{1}{2}x-4y=4\end{array}\\ \hfill 2x+16y=2\end{array}[/latex]
[latex]\begin{array}{r}\hfill 5x-y=1\,\,\,\,\\ \hfill -10x+2y=-2\end{array}[/latex]
[latex]\begin{array}{l}4x-6y-2z=\frac{1}{10}\hfill \\ \,\,\,x-7y+5z=-\frac{1}{4}\hfill \\ 3x+6y-9z=\frac{6}{5}\hfill \end{array}[/latex]
[latex]\frac{1}{20}\left(10,5,4\right)[/latex]
[latex]\begin{array}{r}x+z=20\\ x+y+z=20\\ x+2y+z=10\end{array}[/latex]
[latex]\begin{array}{r}5x-4y-3z=0\\ 2x+y+2z=0\\ x-6y-7z=0\end{array}[/latex]
[latex]\left(x,\frac{16x}{5}-\frac{13x}{5}\right)[/latex]
[latex]\begin{array}{l}y={x}^{2}+2x-3\\ y=x-1\end{array}[/latex]
[latex]\begin{array}{l}{y}^{2}+{x}^{2}=25\\ {y}^{2}-2{x}^{2}=1\end{array}[/latex]
[latex]\left(-2\sqrt{2},-\sqrt{17}\right),\left(-2\sqrt{2},\sqrt{17}\right),\left(2\sqrt{2},-\sqrt{17}\right),\left(2\sqrt{2},\sqrt{17}\right)[/latex]
For the following exercises, graph the following inequalities.
[latex]y<{x}^{2}+9[/latex]
[latex]\begin{array}{l}{x}^{2}+{y}^{2}>4\\ y<{x}^{2}+1\end{array}[/latex]
For the following exercises, write the partial fraction decomposition.
[latex]\frac{-8x-30}{{x}^{2}+10x+25}[/latex]
[latex]\frac{13x+2}{{\left(3x+1\right)}^{2}}[/latex]
[latex]\frac{5}{3x+1}-\frac{2x+3}{{\left(3x+1\right)}^{2}}[/latex]
[latex]\frac{{x}^{4}-{x}^{3}+2x-1}{x{\left({x}^{2}+1\right)}^{2}}[/latex]
For the following exercises, perform the given matrix operations.
[latex]5\left[\begin{array}{cc}4& 9\\ -2& 3\end{array}\right]+\frac{1}{2}\left[\begin{array}{cc}-6& 12\\ 4& -8\end{array}\right][/latex]
[latex]\left[\begin{array}{cc}17& 51\\ -8& 11\end{array}\right][/latex]
[latex]\left[\begin{array}{rrr}\hfill 1& \hfill 4& \hfill -7\\ \hfill -2& \hfill 9& \hfill 5\\ \hfill 12& \hfill 0& \hfill -4\end{array}\right]\text{ }\left[\begin{array}{cc}3& -4\\ 1& 3\\ 5& 10\end{array}\right][/latex]
[latex]{\left[\begin{array}{rr}\hfill \frac{1}{2}& \hfill \frac{1}{3}\\ \hfill \frac{1}{4}& \hfill \frac{1}{5}\end{array}\right]}^{-1}[/latex]
[latex]\left[\begin{array}{cc}12& -20\\ -15& 30\end{array}\right][/latex]
[latex]\mathrm{det}|\begin{array}{cc}0& 0\\ 400& 4\text{,}000\end{array}|[/latex]
[latex]\mathrm{det}|\begin{array}{rrr}\hfill \frac{1}{2}& \hfill -\frac{1}{2}& \hfill 0\\ \hfill -\frac{1}{2}& \hfill 0& \hfill \frac{1}{2}\\ \hfill 0& \hfill \frac{1}{2}& \hfill 0\end{array}|[/latex]
[latex]-\frac{1}{8}[/latex]
If[latex]\,\mathrm{det}\left(A\right)=-6,\,[/latex] what would be the determinant if you switched rows 1 and 3, multiplied the second row by 12, and took the inverse?
Rewrite the system of linear equations as an augmented matrix.
[latex]\left[\begin{array}{rrr}\hfill 14& \hfill -2& \hfill 13\\ \hfill -2& \hfill 3& \hfill -6\\ \hfill 1& \hfill -5& \hfill 12\end{array}\text{ }|\text{ }\begin{array}{r}\hfill 140\\ \hfill -1\\ \hfill 11\end{array}\right][/latex]
Rewrite the augmented matrix as a system of linear equations.
For the following exercises, use Gaussian elimination to solve the systems of equations.
[latex]\begin{array}{r}x-6y=4\\ 2x-12y=0\end{array}[/latex]
[latex]\begin{array}{r}\hfill 2x+y+z=-3\\ \hfill x-2y+3z=6\,\,\,\,\\ \hfill x-y-z=6\,\,\,\,\end{array}[/latex]
For the following exercises, use the inverse of a matrix to solve the systems of equations.
[latex]\begin{array}{r}\hfill 4x-5y=-50\\ \hfill -x+2y=80\,\,\,\,\end{array}[/latex]
[latex]\left(100,90\right)[/latex]
[latex]\begin{array}{r}\hfill \frac{1}{100}x-\frac{3}{100}y+\frac{1}{20}z=-49\\ \hfill \frac{3}{100}x-\frac{7}{100}y-\frac{1}{100}z=13\,\,\,\,\\ \hfill \frac{9}{100}x-\frac{9}{100}y-\frac{9}{100}z=99\,\,\,\,\end{array}[/latex]
For the following exercises, use Cramer’s Rule to solve the systems of equations.
[latex]\begin{array}{l}200x-300y=2\\ 400x+715y=4\end{array}[/latex]
[latex]\left(\frac{1}{100},0\right)[/latex]
[latex]\begin{array}{l}0.1x+0.1y-0.1z=-1.2\\ 0.1x-0.2y+0.4z=-1.2\\ 0.5x-0.3y+0.8z=-5.9\end{array}[/latex]
For the following exercises, solve using a system of linear equations.
A factory producing cell phones has the following cost and revenue functions:[latex]\,C\left(x\right)={x}^{2}+75x+2\text{,}688\,[/latex]and[latex]\,R\left(x\right)={x}^{2}+160x.\,[/latex]What is the range of cell phones they should produce each day so there is profit? Round to the nearest number that generates profit.
32 or more cell phones per day
A small fair charges $1.50 for students, $1 for children, and $2 for adults. In one day, three times as many children as adults attended. A total of 800 tickets were sold for a total revenue of $1,050. How many of each type of ticket was sold?
Privacy Policy
Want to create or adapt books like this? Learn more about how Pressbooks supports open publishing practices.
Learning objectives.
In this section, you will:
We have learned how to solve systems of equations in two variables and three variables, and by multiple methods: substitution, addition, Gaussian elimination, using the inverse of a matrix, and graphing. Some of these methods are easier to apply than others and are more appropriate in certain situations. In this section, we will study two more strategies for solving systems of equations.
A determinant is a real number that can be very useful in mathematics because it has multiple applications, such as calculating area, volume, and other quantities. Here, we will use determinants to reveal whether a matrix is invertible by using the entries of a square matrix to determine whether there is a solution to the system of equations. Perhaps one of the more interesting applications, however, is their use in cryptography. Secure signals or messages are sometimes sent encoded in a matrix. The data can only be decrypted with an invertible matrix and the determinant. For our purposes, we focus on the determinant as an indication of the invertibility of the matrix. Calculating the determinant of a matrix involves following the specific patterns that are outlined in this section.
is defined as
Find the determinant of the given matrix.
We will now introduce a final method for solving systems of equations that uses determinants. Known as Cramer’s Rule , this technique dates back to the middle of the 18th century and is named for its innovator, the Swiss mathematician Gabriel Cramer (1704-1752), who introduced it in 1750 in Introduction à l’Analyse des lignes Courbes algébriques. Cramer’s Rule is a viable and efficient method for finding solutions to systems with an arbitrary number of unknowns, provided that we have the same number of equations as unknowns.
Cramer’s Rule will give us the unique solution to a system of equations, if it exists. However, if the system has no solution or an infinite number of solutions, this will be indicated by a determinant of zero. To find out if the system is inconsistent or dependent, another method, such as elimination, will have to be used.
To understand Cramer’s Rule, let’s look closely at how we solve systems of linear equations using basic row operations. Consider a system of two equations in two variables.
Cramer’s Rule is a method that uses determinants to solve systems of equations that have the same number of equations as variables.
Consider a system of two linear equations in two variables.
The solution using Cramer’s Rule is given as
Use Cramer’s Rule to solve the 2 × 2 system of equations.
Finding the determinant of a 2×2 matrix is straightforward, but finding the determinant of a 3×3 matrix is more complicated. One method is to augment the 3×3 matrix with a repetition of the first two columns, giving a 3×5 matrix. Then we calculate the sum of the products of entries down each of the three diagonals (upper left to lower right), and subtract the products of entries up each of the three diagonals (lower left to upper right). This is more easily understood with a visual and an example.
Find the determinant of the 3×3 matrix.
The algebra is as follows:
Find the determinant of the 3 × 3 matrix given
Augment the matrix with the first two columns and then follow the formula. Thus,
Find the determinant of the 3 × 3 matrix.
Can we use the same method to find the determinant of a larger matrix?
Now that we can find the determinant of a 3 × 3 matrix, we can apply Cramer’s Rule to solve a system of three equations in three variables . Cramer’s Rule is straightforward, following a pattern consistent with Cramer’s Rule for 2 × 2 matrices. As the order of the matrix increases to 3 × 3, however, there are many more calculations required.
When we calculate the determinant to be zero, Cramer’s Rule gives no indication as to whether the system has no solution or an infinite number of solutions. To find out, we have to perform elimination on the system.
Consider a 3 × 3 system of equations.
Find the solution to the given 3 × 3 system using Cramer’s Rule.
Use Cramer’s Rule.
Use Cramer’s Rule to solve the 3 × 3 matrix.
Solve the system of equations using Cramer’s Rule.
We know that a determinant of zero means that either the system has no solution or it has an infinite number of solutions. To see which one, we use the process of elimination. Our goal is to eliminate one of the variables.
Solve the system with an infinite number of solutions.
Let’s find the determinant first. Set up a matrix augmented by the first two columns.
As the determinant equals zero, there is either no solution or an infinite number of solutions. We have to perform elimination to find out.
There are many properties of determinants . Listed here are some properties that may be helpful in calculating the determinant of a matrix.
Illustrate each of the properties of determinants.
Property 1 states that if the matrix is in upper triangular form, the determinant is the product of the entries down the main diagonal.
Property 2 states that interchanging rows changes the sign. Given
Property 3 states that if two rows or two columns are identical, the determinant equals zero.
Property 4 states that if a row or column equals zero, the determinant equals zero. Thus,
Property 6 states that if any row or column of a matrix is multiplied by a constant, the determinant is multiplied by the same factor. Thus,
Find the solution to the given 3 × 3 system.
Using Cramer’s Rule , we have
Notice that the second and third columns are identical. According to Property 3, the determinant will be zero, so there is either no solution or an infinite number of solutions. We have to perform elimination to find out.
Obtaining a statement that is a contradiction means that the system has no solution.
Access these online resources for additional instruction and practice with Cramer’s Rule.
1. Explain why we can always evaluate the determinant of a square matrix.
A determinant is the sum and products of the entries in the matrix, so you can always evaluate that product—even if it does end up being 0.
3. Explain what it means in terms of an inverse for a matrix to have a 0 determinant.
The inverse does not exist.
For the following exercises, find the determinant.
For the following exercises, solve the system of linear equations using Cramer’s Rule.
Infinite solutions
For the following exercises, use the determinant function on a graphing utility.
For the following exercises, create a system of linear equations to describe the behavior. Then, calculate the determinant. Will there be a unique solution? If so, find the unique solution.
49. Two numbers add up to 56. One number is 20 less than the other.
Yes; 18, 38
50. Two numbers add up to 104. If you add two times the first number plus two times the second number, your total is 208
51. Three numbers add up to 106. The first number is 3 less than the second number. The third number is 4 more than the first number.
Yes; 33, 36, 37
52. Three numbers add to 216. The sum of the first two numbers is 112. The third number is 8 less than the first two numbers combined.
For the following exercises, create a system of linear equations to describe the behavior. Then, solve the system for all solutions using Cramer’s Rule.
53. You invest $10,000 into two accounts, which receive 8% interest and 5% interest. At the end of a year, you had $10,710 in your combined accounts. How much was invested in each account?
$7,000 in first account, $3,000 in second account.
54. You invest $80,000 into two accounts, $22,000 in one account, and $58,000 in the other account. At the end of one year, assuming simple interest, you have earned $2,470 in interest. The second account receives half a percent less than twice the interest on the first account. What are the interest rates for your accounts?
55. A movie theater needs to know how many adult tickets and children tickets were sold out of the 1,200 total tickets. If children’s tickets are $5.95, adult tickets are $11.15, and the total amount of revenue was $12,756, how many children’s tickets and adult tickets were sold?
120 children, 1,080 adult
56. A concert venue sells single tickets for $40 each and couple’s tickets for $65. If the total revenue was $18,090 and the 321 tickets were sold, how many single tickets and how many couple’s tickets were sold?
57. You decide to paint your kitchen green. You create the color of paint by mixing yellow and blue paints. You cannot remember how many gallons of each color went into your mix, but you know there were 10 gal total. Additionally, you kept your receipt, and know the total amount spent was $29.50. If each gallon of yellow costs $2.59, and each gallon of blue costs $3.19, how many gallons of each color go into your green mix?
4 gal yellow, 6 gal blue
58. You sold two types of scarves at a farmers’ market and would like to know which one was more popular. The total number of scarves sold was 56, the yellow scarf cost $10, and the purple scarf cost $11. If you had total revenue of $583, how many yellow scarves and how many purple scarves were sold?
59. Your garden produced two types of tomatoes, one green and one red. The red weigh 10 oz, and the green weigh 4 oz. You have 30 tomatoes, and a total weight of 13 lb, 14 oz. How many of each type of tomato do you have?
13 green tomatoes, 17 red tomatoes
60. At a market, the three most popular vegetables make up 53% of vegetable sales. Corn has 4% higher sales than broccoli, which has 5% more sales than onions. What percentage does each vegetable have in the market share?
61. At the same market, the three most popular fruits make up 37% of the total fruit sold. Strawberries sell twice as much as oranges, and kiwis sell one more percentage point than oranges. For each fruit, find the percentage of total fruit sold.
Strawberries 18%, oranges 9%, kiwi 10%
62. Three bands performed at a concert venue. The first band charged $15 per ticket, the second band charged $45 per ticket, and the final band charged $22 per ticket. There were 510 tickets sold, for a total of $12,700. If the first band had 40 more audience members than the second band, how many tickets were sold for each band?
63. A movie theatre sold tickets to three movies. The tickets to the first movie were $5, the tickets to the second movie were $11, and the third movie was $12. 100 tickets were sold to the first movie. The total number of tickets sold was 642, for a total revenue of $6,774. How many tickets for each movie were sold?
100 for movie 1, 230 for movie 2, 312 for movie 3
65. At a women’s prison down the road, the total number of inmates aged 20–49 totaled 5,525. This year, the 20–29 age group increased by 10%, the 30–39 age group decreased by 20%, and the 40–49 age group doubled. There are now 6,040 prisoners. Originally, there were 500 more in the 30–39 age group than the 20–29 age group. Determine the prison population for each age group last year.
20–29: 2,100, 30–39: 2,600, 40–49: 825
For the following exercises, use this scenario: A health-conscious company decides to make a trail mix out of almonds, dried cranberries, and chocolate-covered cashews. The nutritional information for these items is shown in (Figure) .
Fat (g) | Protein (g) | Carbohydrates (g) | |
---|---|---|---|
6 | 2 | 3 | |
0.02 | 0 | 8 | |
7 | 3.5 | 5.5 |
66. For the special “low-carb”trail mix, there are 1,000 pieces of mix. The total number of carbohydrates is 425 g, and the total amount of fat is 570.2 g. If there are 200 more pieces of cashews than cranberries, how many of each item is in the trail mix?
67. For the “hiking” mix, there are 1,000 pieces in the mix, containing 390.8 g of fat, and 165 g of protein. If there is the same amount of almonds as cashews, how many of each item is in the trail mix?
300 almonds, 400 cranberries, 300 cashews
68. For the “energy-booster” mix, there are 1,000 pieces in the mix, containing 145 g of protein and 625 g of carbohydrates. If the number of almonds and cashews summed together is equivalent to the amount of cranberries, how many of each item is in the trail mix?
Differential Calculus Copyright © 2022 by Mike LePine is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License , except where otherwise noted.
In order to continue enjoying our site, we ask that you confirm your identity as a human. Thank you very much for your cooperation.
Want to create or adapt books like this? Learn more about how Pressbooks supports open publishing practices.
Learning objectives.
By the end of this section, you will be able to:
Before you get started, take this readiness quiz.
In this section we will learn of another method to solve systems of linear equations called Cramer’s rule. Before we can begin to use the rule, we need to learn some new definitions and notation.
Write the determinant. | |
Subtract the products of the diagonals. | |
Simplify. | |
Simplify. |
Write the determinant. | |
Subtract the products of the diagonals. | |
Simplify. | |
Simplify. |
Eliminate the row and column that contains | |
Write the | |
Evaluate. | |
Simplify. |
Eliminate the row and column that contains | |
Write the | |
Evaluate. | |
Simplify. |
Eliminate the row and column that contains | |
Write the | |
Evaluate. | |
Simplify. |
ⓐ 3 ⓑ 11 ⓒ 2
Remember, to find the minor of an entry we eliminate the row and column that contains the entry.
Expand by minors along the first row | |
Evaluate each determinant. | |
Simplify. | |
Simplify. | |
Simplify. |
When we expand by any row or column, we must be careful about the sign of the terms in the expansion. To determine the sign of the terms, we use the following sign pattern chart.
When expanding by minors using a row or column, the sign of the terms in the expansion follow the following pattern.
Notice that the sign pattern in the first row matches the signs between the terms in the expansion by the first row.
Since we can expand by any row or column, how do we decide which row or column to use? Usually we try to pick a row or column that will make our calculation easier. If the determinant contains a 0, using the row or column that contains the 0 will make the calculations easier.
To expand by minors, we look for a row or column that will make our calculations easier. Since 0 is in the second row and second column, expanding by either of those is a good choice. Since the second row has fewer negatives than the second column, we will expand by the second row.
Expand using the second row. | |
Be careful of the signs. | |
Evaluate each determinant. | |
Simplify. | |
Simplify. | |
Add. |
Use Cramer’s Rule to Solve Systems of Equations
Cramer’s Rule is a method of solving systems of equations using determinants. It can be derived by solving the general form of the systems of equations by elimination. Here we will demonstrate the rule for both systems of two equations with two variables and for systems of three equations with three variables.
Let’s start with the systems of two equations with two variables.
Notice that to form the determinant D , we use take the coefficients of the variables.
Evaluate the determinant . | |
Expand by minors using column 1. | |
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
Simplify. | |
Evaluate the determinant constants to replace the coefficients of . | |
Expand by minors using column 1. | |
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
Evaluate the determinant constants to replace the coefficients of . | |
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
Simplify. | |
Evaluate the determinant constants to replace the coefficients of . | |
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
Simplify. | |
Find , , and . | |
Substitute in the values. | |
Simplify. | |
Write the solution as an ordered triple. | |
Check that the ordered triple is a solution to original equations. | We leave the check to you. |
The solution is |
In the next example, we will use the values of the determinants to find the solution of the system.
Since all the determinants are not zero, the system is inconsistent. There is no solution.
no solution
infinite solutions
We will use this property in the next example.
Substitute the values into the determinant.
| |
Evaluate the determinant by expanding by minors using column 3. | |
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
The value of the determinate is 0, so the points are collinear. |
Access these online resources for additional instruction and practice with solving systems of linear inequalities by graphing.
Evaluate the Determinant of a 2 × 2 Matrix
In the following exercises, evaluate the determinate of each square matrix.
Evaluate the Determinant of a 3 × 3 Matrix
In the following exercises, find and then evaluate the indicated minors.
In the following exercises, evaluate each determinant by expanding by minors along the first row.
In the following exercises, evaluate each determinant by expanding by minors.
In the following exercises, solve each system of equations using Cramer’s Rule.
infinitely many solutions
inconsistent
Solve Applications Using Determinants
In the following exercises, determine whether the given points are collinear.
Explain the difference between a square matrix and its determinant. Give an example of each.
Explain what is meant by the minor of an entry in a square matrix.
Answers will vary.
Explain the steps for solving a system of equations using Cramer’s rule.
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ After reviewing this checklist, what will you do to become confident for all objectives?
Intermediate Algebra but cloned this time not imported Copyright © 2017 by OSCRiceUniversity is licensed under a Creative Commons Attribution 4.0 International License , except where otherwise noted.
Want to create or adapt books like this? Learn more about how Pressbooks supports open publishing practices.
We have learned how to solve systems of equations in two variables and three variables, and by multiple methods: substitution, addition, Gaussian elimination, using the inverse of a matrix, and graphing. Some of these methods are easier to apply than others and are more appropriate in certain situations. In this section, we will study two more strategies for solving systems of equations.
A determinant is a real number that can be very useful in mathematics because it has multiple applications, such as calculating area, volume, and other quantities. Here, we will use determinants to reveal whether a matrix is invertible by using the entries of a square matrix to determine whether there is a solution to the system of equations. Perhaps one of the more interesting applications, however, is their use in cryptography. Secure signals or messages are sometimes sent encoded in a matrix. The data can only be decrypted with an invertible matrix and the determinant. For our purposes, we focus on the determinant as an indication of the invertibility of the matrix. Calculating the determinant of a matrix involves following the specific patterns that are outlined in this section.
is defined as:
Find the determinant of the given matrix
We will now introduce a final method for solving systems of equations that uses determinants. Known as Cramer’s rule, this technique dates back to the middle 18th century and is named for its innovator, the Swiss mathematician Gabriel Cramer (1704-1752), who introduced it in 1750. Cramer’s Rule is a viable and efficient method for finding solutions to systems with any number of unknowns, provided that we have the same number of equations as unknowns.
To see how and why Cramer’s Rule works, we will direct you to the source material at OpenStax College Algebra .
In short, Cramer’s rule begins with a system of equations, such as:
and we can show that
Cramer’s Rule is a method that uses determinants to solve systems of equations that have the same number of equations as variables.
Consider a system of two linear equations in two variables.
The solution using Cramer’s Rule is given as:
Example Using Cramer’s Rule to Solve a System
Solve the following system using Cramer’s Rule
The solution is (2,-3).
Try it Now 1
The algebra is as follows:
Augment the matrix with the first two columns and then follow the formula. Thus,
Determinants can also be found using technology. Once a matrix is entered into your calculator. Going to MATRIX – MATH and det and calling up the matrix in question will provide the determinant for a matrix. In Excel, =mdeterm will find the determinant of a matrix as well. The methods mentioned in this section only work for the specified size. For larger matrices, it is recommended to use a calculator, Excel, or another program.
Try it Now 2
Consider the system:
Solve the following system using Cramer’s Rule.
Use Cramer’s Rule.
The solution is (1,3,-2).
Try it Now 3
Use Cramer’s Rule to solve the system:
Examples of Cramer’s Rule when D = 0
a. Solve the system of equations (if possible) using Cramer’s Rule.
We begin by finding determinants:
Now we know that it is either dependent or inconsistent. Let’s see one of the other determinants.
Since -16 \neq 0, we have an inconsistent solution.
b. Solve the following system of equations (if possible, or give general solution if dependent).
Let’s find D using technology, via calculator or Excel.
We know that this is a dependent or inconsistent system. We could find all three of the other determinants to see if it is dependent and if it is, we’d then have to use rref in a calculator to find a general solution. For this reason, it’s faster to simply use rref now. There is an online version by planetcalc .
The reduced row echelon form of the matrix is:
As equations, these are:
Properties of Determinants
Here are few properties that may make find determinants quicker and easier.
Try it Now Answers
College Algebra for the Managerial Sciences Copyright © by Terri Manthey is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License , except where otherwise noted.
As you were browsing something about your browser made us think you were a bot. There are a few reasons this might happen:
To regain access, please make sure that cookies and JavaScript are enabled before reloading the page.
IMAGES
VIDEO
COMMENTS
A system of linear equations having two and three variables can be easily solved using determinants. Here, the formulas and steps to find the solution of a system of linear equations are given along with practice problems. Cramer's rule is well explained, along with a diagram, below: How to Solve a Linear Equation System Using Determinants? 1.
The solution is. To use determinants to solve a system of three equations with three variables (Cramer's Rule), say x, y, and z, four determinants must be formed following this procedure: Write all equations in standard form. Create the denominator determinant, D, by using the coefficients of x, y, and z from the equations and evaluate it.
Example 4.7.18. Solve the system of equations using Cramer's Rule: {3x + y − 6z = − 3 2x + 6y + 3z = 0 3x + 2y − 3z = − 6. Answer. Cramer's rule does not work when the value of the D determinant is 0, as this would mean we would be dividing by 0. But when D = 0, the system is either inconsistent or dependent.
To solve a system of three equations with three variables with Cramer's Rule, we basically do what we did for a system of two equations. However, we now have to solve for three variables to get the solution. The determinants are also going to be 3 × 3 3 × 3 which will make our work more interesting!
Systems of three equations in three variables are useful for solving many different types of real-world problems. See Example \(\PageIndex{3}\). A system of equations in three variables is inconsistent if no solution exists. After performing elimination operations, the result is a contradiction. See Example \(\PageIndex{4}\).
Cramer's Rule is a method that uses determinants to solve systems of equations that have the same number of equations as variables. Consider a system of two linear equations in two variables. a1x + b1y = c1 a2x + b2y = c2. The solution using Cramer's Rule is given as. x = Dx D = [c1 b1 c2 b2] [a1 b1 a2 b2], D ≠ 0 y = Dy D = [a1 c1 a2 c2 ...
Solve a System of Linear Equations with Three Variables. To solve a system of linear equations with three variables, we basically use the same techniques we used with systems that had two variables. We start with two pairs of equations and in each pair we eliminate the same variable.
Three times the determinant of these numbers minus two times the determinant of these numbers plus one times the determinant of these numbers. So after evaluating, now we need to multiply and simplify, and we get 63. And 63 divided by negative three is negative 21. So after solving this system using determinants, 𝑥 equals three, 𝑦 equals ...
And we can recall to use determinants to solve a system of equations, we need to use Cramer's rule. So let's start by recalling the shortened version of Cramer's rule for a system of three equations in three unknowns. This tells us if the determinant of the matrix of coefficients is nonzero, then 𝑥 is equal to sub 𝑥 over , 𝑦 is ...
Using Cramer's Rule to Solve a System of Three Equations in Three Variables. Now that we can find the determinant of a 3 × 3 matrix, we can apply Cramer's Rule to solve a system of three equations in three variables. Cramer's Rule is straightforward, following a pattern consistent with Cramer's Rule for 2 × 2 matrices.
Example 6. Solve the system of equations using Cramer's Rule: { 3 x − 5 y + 4 z = 5 5 x + 2 y + z = 0 2 x + 3 y − 2 z = 3. Cramer's rule does not work when the value of the D determinant is 0, as this would mean we would be dividing by 0. But when D = 0 , the system is either inconsistent or dependent.
Use determinants to solve the system 5푥 = −2푦 − 5 + 3푧, −3푥 − 푦 + 1 = 2푧, 2푦 − 푧 = −5푥 + 3. ... Solving a System of Three Equations Using Determinants Mathematics • First Year of Secondary School ... the first thing we want to do is actually rearrange our equations so that we have our variables on the left-hand ...
Next, I will solve for the determinant of each matrix. To do this, I can manually solve the determinant of each matrix on paper using the formula provided above. It can be tedious, but it's okay since good math skills are developed by doing lots of problems. The values of the determinants are listed below. Determinants of each matrix:
How to solve a system of two equations using Cramer's rule. Evaluate the determinant D, using the coefficients of the variables. Evaluate the determinant Use the constants in place of the x coefficients. Evaluate the determinant Use the constants in place of the y coefficients. Find x and y. Write the solution as an ordered pair.
Cramer's Rule for Solving a System of Two Equations. For the system of equations {a1x +b1y = k1 a2x +b2y = k2, { a 1 x + b 1 y = k 1 a 2 x + b 2 y = k 2, the solution (x, y) ( x, y) can be determined by. Notice that to form the determinant D, we use take the coefficients of the variables.
Solve the system of equations using Cramer's Rule: { 3x + y − 6z = −3 2x + 6y + 3z = 0 3x + 2y − 3z = −6. Cramer's rule does not work when the value of the D determinant is 0, as this would mean we would be dividing by 0. But when D = 0, the system is either inconsistent or dependent. When the value of D = 0.
Using Cramer's Rule to Solve a System of Three Equations in Three Variables. Now that we can find the determinant of a 3 × 3 matrix, we can apply Cramer's Rule to solve a system of three equations in three variables. Cramer's Rule is straightforward, following a pattern consistent with Cramer's Rule for 2 × 2 matrices.
Cramer's Rule is a method that uses determinants to solve systems of equations that have the same number of equations as variables. Consider a system of two linear equations in two variables. The solution using Cramer's Rule is given as. If we are solving for the column is replaced with the constant column.
We will use Cramer's rule. This rule allows us to find the solution by just using the determinants. The main determinant is that of the coefficient matrix. We call this determinant, D. Then we ...
How to solve a system of two equations using Cramer's rule. Evaluate the determinant D, using the coefficients of the variables. Evaluate the determinant Use the constants in place of the x coefficients. Evaluate the determinant Use the constants in place of the y coefficients. Find x and y. Write the solution as an ordered pair.
3.5 Determinants and Cramer's Rule. [1] We have learned how to solve systems of equations in two variables and three variables, and by multiple methods: substitution, addition, Gaussian elimination, using the inverse of a matrix, and graphing. Some of these methods are easier to apply than others and are more appropriate in certain situations.
The solution is x = 2, y = 1, z = 3. Example 2. Solve the following system of equations, using matrices. Put the equations in matrix form. Eliminate the x ‐coefficient below row 1. Eliminate the y‐ coefficient below row 5. Reinserting the variables, the system is now: Equation (9) can be solved for z. Substitute into equation (8) and solve ...