Learning Objectives
- Determine whether an ordered triple is a solution of a system of three linear equations with three variables
- Solve a system of linear equations with three variables
- Solve applications using systems of linear equations with three variables
Be Prepared 4.4
Before you get started, take this readiness quiz.
- Evaluate $5x-2y+3z$ when $x=\mathrm{-2},$ $y=\mathrm{-4},$ and $z=3.$
If you missed this problem, review Example 1.21. - Classify the equations as a conditional equation, an identity, or a contradiction and then state the solution. $\{\begin{array}{c}-2x+y=\mathrm{-11}\hfill \\ x+3y=9\hfill \end{array}.$
If you missed this problem, review Example 2.6. - Classify the equations as a conditional equation, an identity, or a contradiction and then state the solution. $\{\begin{array}{c}7x+8y=4\hfill \\ 3x-5y=27\hfill \end{array}.$
If you missed this problem, review Example 2.8.
Determine Whether an Ordered Triple is a Solution of a System of Three Linear Equations with Three Variables
In this section, we will extend our work of solving a system of linear equations. So far we have worked with systems of equations with two equations and two variables. Now we will work with systems of three equations with three variables. But first let's review what we already know about solving equations and systems involving up to two variables.
We learned earlier that the graph of a linear equation, $ax+by=c,$ is a line. Each point on the line, an ordered pair $\left(x,y\right),$ is a solution to the equation. For a system of two equations with two variables, we graph two lines. Then we can see that all the points that are solutions to each equation form a line. And, by finding what the lines have in common, we’ll find the solution to the system.
Most linear equations in one variable have one solution, but we saw that some equations, called contradictions, have no solutions and for other equations, called identities, all numbers are solutions
We know when we solve a system of two linear equations represented by a graph of two lines in the same plane, there are three possible cases, as shown.
Similarly, for a linear equation with three variables $ax+by+cz=d,$ every solution to the equation is an ordered triple, $\left(x,y,z\right)$, that makes the equation true.
Linear Equation in Three Variables
A linear equation with three variables, where a, b, c, and d are real numbers and a, b, and c are not all 0, is of the form
Every solution to the equation is an ordered triple, $\left(x,y,z\right)$ that makes the equation true.
All the points that are solutions to one equation form a plane in three-dimensional space. And, by finding what the planes have in common, we’ll find the solution to the system.
When we solve a system of three linear equations represented by a graph of three planes in space, there are three possible cases.
To solve a system of three linear equations, we want to find the values of the variables that are solutions to all three equations. In other words, we are looking for the ordered triple $\left(x,y,z\right)$ that makes all three equations true. These are called the solutions of the system of three linear equations with three variables.
Solutions of a System of Linear Equations with Three Variables
Solutions of a system of equations are the values of the variables that make all the equations true. A solution is represented by an ordered triple $\left(x,y,z\right).$
To determine if an ordered triple is a solution to a system of three equations, we substitute the values of the variables into each equation. If the ordered triple makes all three equations true, it is a solution to the system.
Example 4.31
Determine whether the ordered triple is a solution to the system: $\{\begin{array}{c}x-y+z=2\hfill \\ 2x-y-z=\mathrm{-6}\hfill \\ 2x+2y+z=\mathrm{-3}\hfill \end{array}.$
ⓐ $(\mathrm{-2},\mathrm{-1},3)$ ⓑ $(\mathrm{-4},\mathrm{-3},4)$
Solution
ⓐ
ⓑ
Try It 4.61
Determine whether the ordered triple is a solution to the system: $\{\begin{array}{c}3x+y+z=2\hfill \\ x+2y+z=\mathrm{-3}\hfill \\ 3x+y+2z=4\hfill \end{array}.$
ⓐ $(1,\mathrm{-3},2)$ ⓑ $(4,\mathrm{-1},\mathrm{-5})$
Try It 4.62
Determine whether the ordered triple is a solution to the system: $\{\begin{array}{c}x-3y+z=\mathrm{-5}\hfill \\ -3x-y-z=1\hfill \\ 2x-2y+3z=1\hfill \end{array}.$
ⓐ $(2,\mathrm{-2},3)$ ⓑ $(\mathrm{-2},2,3)$
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. This will then give us a system of equations with only two variables and then we know how to solve that system!
Next, we use the values of the two variables we just found to go back to the original equation and find the third variable. We write our answer as an ordered triple and then check our results.
Example 4.32
How to Solve a System of Equations With Three Variables by Elimination
Solve the system by elimination: $\{\begin{array}{c}x-2y+z=3\hfill \\ 2x+y+z=4\hfill \\ 3x+4y+3z=\mathrm{-1}\hfill \end{array}.$
Solution
Try It 4.63
Solve the system by elimination: $\{\begin{array}{c}3x+y-z=2\hfill \\ 2x-3y-2z=1\hfill \\ 4x-y-3z=0\hfill \end{array}.$
Try It 4.64
Solve the system by elimination: $\{\begin{array}{c}4x+y+z=\mathrm{-1}\hfill \\ -2x-2y+z=2\hfill \\ 2x+3y-z=1\hfill \end{array}.$
The steps are summarized here.
How To
Solve a system of linear equations with three variables.
- Step 1.
Write the equations in standard form
- If any coefficients are fractions, clear them.
- Step 2.
Eliminate the same variable from two equations.
- Decide which variable you will eliminate.
- Work with a pair of equations to eliminate the chosen variable.
- Multiply one or both equations so that the coefficients of that variable are opposites.
- Add the equations resulting from Step 2 to eliminate one variable
- Step 3. Repeat Step 2 using two other equations and eliminate the same variable as in Step 2.
- Step 4. The two new equations form a system of two equations with two variables. Solve this system.
- Step 5. Use the values of the two variables found in Step 4 to find the third variable.
- Step 6. Write the solution as an ordered triple.
- Step 7. Check that the ordered triple is a solution to all three original equations.
Example 4.33
Solve: $\{\begin{array}{c}3x-4z=0\hfill \\ 3y+2z=\mathrm{-3}\hfill \\ 2x+3y=\mathrm{-5}\hfill \end{array}.$
Solution
We can eliminate $z$ from equations (1) and (2) by multiplying equation (2) by 2 and then adding the resulting equations.
Notice that equations (3) and (4) both have the variables $x$ and $y$. We will solve this new system for $x$ and $y$.
To solve for y, we substitute $x=\mathrm{-4}$ into equation (3).
We now have $x=\mathrm{-4}$ and $y=1.$ We need to solve for z. We can substitute $x=\mathrm{-4}$ into equation (1) to find z.
We write the solution as an ordered triple. $\phantom{\rule{6em}{0ex}}\left(\mathrm{-4},1,\mathrm{-3}\right)$
We check that the solution makes all three equations true.
$\begin{array}{ccccccc}\begin{array}{ccc}\hfill 3x-4z& =\hfill & 0\left(1\right)\hfill \\ \hfill 3\left(\mathrm{-4}\right)-4\left(\mathrm{-3}\right)& \stackrel{?}{=}\hfill & 0\hfill \\ \hfill 0& =\hfill & 0\u2713\hfill \end{array}\hfill & & & \begin{array}{ccc}\hfill 3y+2z& =\hfill & \mathrm{-3}\left(2\right)\hfill \\ \hfill 3\left(1\right)+2\left(\mathrm{-3}\right)& \stackrel{?}{=}\hfill & -3\hfill \\ \hfill \mathrm{-3}& =\hfill & \mathrm{-3}\u2713\hfill \end{array}\hfill & & & \begin{array}{}\\ \\ \begin{array}{ccc}\hfill 2x+3y& =\hfill & \mathrm{-5}\left(3\right)\hfill \\ \hfill 2\left(\mathrm{-4}\right)+3\left(1\right)& \stackrel{?}{=}\hfill & -5\hfill \\ \hfill \mathrm{-5}& =\hfill & \mathrm{-5}\u2713\hfill \end{array}\hfill \\ \text{The solution is}\phantom{\rule{0.2em}{0ex}}\left(\mathrm{-4},1,\mathrm{-3}\right).\hfill \end{array}\hfill \end{array}$
Try It 4.65
Solve: $\{\begin{array}{c}3x-4z=\mathrm{-1}\hfill \\ 2y+3z=2\hfill \\ 2x+3y=6\hfill \end{array}.$
Try It 4.66
Solve: $\{\begin{array}{c}4x-3z=\mathrm{-5}\hfill \\ 3y+2z=7\hfill \\ 3x+4y=6\hfill \end{array}.$
When we solve a system and end up with no variables and a false statement, we know there are no solutions and that the system is inconsistent. The next example shows a system of equations that is inconsistent.
Example 4.34
Solve the system of equations: $\{\begin{array}{c}x+2y-3z=\mathrm{-1}\hfill \\ x-3y+z=1\hfill \\ 2x-y-2z=2\hfill \end{array}.$
Solution
Use equation (1) and (2) to eliminate z.
Use (2) and (3) to eliminate $z$ again.
Use (4) and (5) to eliminate a variable.
There is no solution.
We are left with a false statement and this tells us the system is inconsistent and has no solution.
Try It 4.67
Solve the system of equations: $\{\begin{array}{c}x+2y+6z=5\hfill \\ -x+y-2z=3\hfill \\ x-4y-2z=1\hfill \end{array}.$
Try It 4.68
Solve the system of equations: $\{\begin{array}{c}2x-2y+3z=6\hfill \\ 4x-3y+2z=0\hfill \\ -2x+3y-7z=1\hfill \end{array}.$
When we solve a system and end up with no variables but a true statement, we know there are infinitely many solutions. The system is consistent with dependent equations. Our solution will show how two of the variables depend on the third.
Example 4.35
Solve the system of equations: $\{\begin{array}{c}x+2y-z=1\hfill \\ 2x+7y+4z=11\hfill \\ x+3y+z=4\hfill \end{array}.$
Solution
Use equation (1) and (3) to eliminate x.
Use equation (1) and (2) to eliminate x again.
Use equation (4) and (5) to eliminate $y$.
There are infinitely many solutions. | |
Solve equation (4) for y. | Represent the solution showing how x and y are dependent on z. $\begin{array}{ccc}\hfill y+2z& =\hfill & 3\hfill \\ \hfill y& =\hfill & \mathrm{-2}z+3\hfill \end{array}$ |
Use equation (1) to solve for x. | $\phantom{\rule{4em}{0ex}}x+2y-z=1$ |
Substitute $y=\mathrm{-2}z+3.$ | $\begin{array}{ccc}\hfill x+2(\mathrm{-2}z+3)-z& =\hfill & 1\hfill \\ \hfill x-4z+6-z& =\hfill & 1\hfill \\ \hfill x-5z+6& =\hfill & 1\hfill \\ \hfill x& =\hfill & 5z-5\hfill \end{array}$ |
The true statement $0=0$ tells us that this is a dependent system that has infinitely many solutions. The solutions are of the form $\left(x,y,z\right)$ where $x=5z-5;y=\mathrm{-2}z+3$and z is any real number.
Try It 4.69
Solve the system by equations: $\{\begin{array}{c}x+y-z=0\hfill \\ 2x+4y-2z=6\hfill \\ 3x+6y-3z=9\hfill \end{array}.$
Try It 4.70
Solve the system by equations: $\{\begin{array}{c}x-y-z=1\hfill \\ -x+2y-3z=\mathrm{-4}\hfill \\ 3x-2y-7z=0\hfill \end{array}.$
Solve Applications using Systems of Linear Equations with Three Variables
Applications that are modeled by a systems of equations can be solved using the same techniques we used to solve the systems. Many of the application are just extensions to three variables of the types we have solved earlier.
Example 4.36
The community college theater department sold three kinds of tickets to its latest play production. The adult tickets sold for $15, the student tickets for $10 and the child tickets for $8. The theater department was thrilled to have sold 250 tickets and brought in $2,825 in one night. The number of student tickets sold is twice the number of adult tickets sold. How many of each type did the department sell?
Solution
We will use a chart to organize the information. | |
Number of students is twice number of adults. | |
Rewrite the equation in standard form. | $\begin{array}{ccc}\hfill y& =\hfill & 2x\hfill \\ \hfill 2x-y& =\hfill & 0\hfill \end{array}$ |
Use equations (1) and (2) to eliminate z. | |
Use (3) and (4) to eliminate $y.$ | |
Solve for x. | $\phantom{\rule{1.3em}{0ex}}\hspace{1em}x\phantom{\rule{3.6em}{0ex}}=75$ adult tickets |
Use equation (3) to find y. | $\phantom{\rule{3.4em}{0ex}}\mathrm{-2}x+y=0$ |
Substitute $x=75.$ | $\phantom{\rule{1.7em}{0ex}}\begin{array}{ccc}\hfill \mathrm{-2}\left(75\right)+y& =\hfill & 0\hfill \\ \hfill \mathrm{-150}+y& =\hfill & 0\hfill \\ \hfill y& =\hfill & 150\phantom{\rule{0.2em}{0ex}}\text{student tickets}\hfill \end{array}$ |
Use equation (1) to find z. | $\phantom{\rule{3.1em}{0ex}}x+y+z=250$ |
Substitute in the values $x=75,\phantom{\rule{0.2em}{0ex}}y=150.$ |
$\phantom{\rule{1em}{0ex}}\begin{array}{ccc}\hfill 75+150+z& =\hfill & 250\hfill \\ \hfill 225+z& =\hfill & 250\hfill \\ \hfill z& =\hfill & 25\phantom{\rule{0.2em}{0ex}}\text{child tickets}\hfill \end{array}$ |
Write the solution. | The theater department sold 75 adult tickets, 150 student tickets, and 25 child tickets. |
Try It 4.71
The community college fine arts department sold three kinds of tickets to its latest dance presentation. The adult tickets sold for $20, the student tickets for $12 and the child tickets for $10.The fine arts department was thrilled to have sold 350 tickets and brought in $4,650 in one night. The number of child tickets sold is the same as the number of adult tickets sold. How many of each type did the department sell?
Try It 4.72
The community college soccer team sold three kinds of tickets to its latest game. The adult tickets sold for $10, the student tickets for $8 and the child tickets for $5. The soccer team was thrilled to have sold 600 tickets and brought in $4,900 for one game. The number of adult tickets is twice the number of child tickets. How many of each type did the soccer team sell?
Media
Access this online resource for additional instruction and practice with solving a linear system in three variables with no or infinite solutions.
Section 4.4 Exercises
Practice Makes Perfect
Determine Whether an Ordered Triple is a Solution of a System of Three Linear Equations with Three Variables
In the following exercises, determine whether the ordered triple is a solution to the system.
$\{\begin{array}{c}2x-6y+z=3\hfill \\ 3x-4y-3z=2\hfill \\ 2x+3y-2z=3\hfill \end{array}$
ⓐ $(3,1,3)$ ⓑ $(4,3,7)$
$\{\begin{array}{c}-3x+\phantom{\rule{0.2em}{0ex}}\text{}\phantom{\rule{0.2em}{0ex}}y+z=\mathrm{-4}\hfill \\ -x+2y-2z=1\hfill \\ 2x-\phantom{\rule{0.2em}{0ex}}\text{}\phantom{\rule{0.2em}{0ex}}y-z=\mathrm{-1}\hfill \end{array}$
ⓐ $(\mathrm{-5},\mathrm{-7},4)$ ⓑ $(5,7,4)$
$\{\begin{array}{c}y-10z=\mathrm{-8}\hfill \\ 2x-y=2\hfill \\ x-5z=3\hfill \end{array}$
ⓐ $\left(7,12,2\right)$ ⓑ $\left(2,2,1\right)$
$\{\begin{array}{c}x+3y-z=15\hfill \\ y=\frac{2}{3}x-2\hfill \\ x-3y+z=\mathrm{-2}\hfill \end{array}$
ⓐ $\left(\mathrm{-6},5,\frac{1}{2}\right)$ ⓑ $\left(5,\frac{4}{3},\mathrm{-3}\right)$
Solve a System of Linear Equations with Three Variables
In the following exercises, solve the system of equations.
$\{\begin{array}{c}5x+2y+z=5\hfill \\ -3x-y+2z=6\hfill \\ 2x+3y-3z=5\hfill \end{array}$
$\{\begin{array}{c}6x-5y+2z=3\hfill \\ 2x+y-4z=5\hfill \\ 3x-3y+z=\mathrm{-1}\hfill \end{array}$
$\{\begin{array}{c}2x-5y+3z=8\hfill \\ 3x-y+4z=7\hfill \\ x+3y+2z=\mathrm{-3}\hfill \end{array}$
$\{\begin{array}{c}5x-3y+2z=\mathrm{-5}\hfill \\ 2x-y-z=4\hfill \\ 3x-2y+2z=\mathrm{-7}\hfill \end{array}$
$\{\begin{array}{c}3x-5y+4z=5\hfill \\ 5x+2y+z=0\hfill \\ 2x+3y-2z=3\hfill \end{array}$
$\{\begin{array}{c}4x-3y+z=7\hfill \\ 2x-5y-4z=3\hfill \\ 3x-2y-2z=\mathrm{-7}\hfill \end{array}$
$\{\begin{array}{c}3x+8y+2z=\mathrm{-5}\hfill \\ 2x+5y-3z=0\hfill \\ x+2y-2z=\mathrm{-1}\hfill \end{array}$
$\{\begin{array}{c}11x+9y+2z=\mathrm{-9}\hfill \\ 7x+5y+3z=\mathrm{-7}\hfill \\ 4x+3y+z=\mathrm{-3}\hfill \end{array}$
$\{\begin{array}{c}\frac{1}{3}x-y-z=1\hfill \\ x+\frac{5}{2}y+z=\mathrm{-2}\hfill \\ 2x+2y+\frac{1}{2}z=\mathrm{-4}\hfill \end{array}$
$\{\begin{array}{c}x+\frac{1}{2}y+\frac{1}{2}z=0\hfill \\ \frac{1}{5}x-\frac{1}{5}y+z=0\hfill \\ \frac{1}{3}x-\frac{1}{3}y+2z=\mathrm{-1}\hfill \end{array}$
$\{\begin{array}{c}x+\frac{1}{3}y-2z=\mathrm{-1}\hfill \\ \frac{1}{3}x+y+\frac{1}{2}z=0\hfill \\ \frac{1}{2}x+\frac{1}{3}y-\frac{1}{2}z=\mathrm{-1}\hfill \end{array}$
$\{\begin{array}{c}\frac{1}{3}x-y+\frac{1}{2}z=4\hfill \\ \frac{2}{3}x+\frac{5}{2}y-4z=0\hfill \\ x-\frac{1}{2}y+\frac{3}{2}z=2\hfill \end{array}$
$\{\begin{array}{c}x+2z=0\hfill \\ 4y+3z=\mathrm{-2}\hfill \\ 2x-5y=3\hfill \end{array}$
$\{\begin{array}{c}2y+3z=\mathrm{-1}\hfill \\ 5x+3y=\mathrm{-6}\hfill \\ 7x+z=1\hfill \end{array}$
$\{\begin{array}{c}3x-z=\mathrm{-3}\hfill \\ 5y+2z=\mathrm{-6}\hfill \\ 4x+3y=\mathrm{-8}\hfill \end{array}$
$\{\begin{array}{c}4x-3y+2z=0\hfill \\ -2x+3y-7z=1\hfill \\ 2x-2y+3z=6\hfill \end{array}$
$\{\begin{array}{c}2x+3y+z=12\hfill \\ x+y+z=9\hfill \\ 3x+4y+2z=20\hfill \end{array}$
$\{\begin{array}{c}x+2y+z=4\hfill \\ x+y-2z=3\hfill \\ -2x-3y+z=\mathrm{-7}\hfill \end{array}$
$\{\begin{array}{c}x+y-3z=\mathrm{-1}\hfill \\ y-z=0\hfill \\ -x+2y=1\hfill \end{array}$
Solve Applications using Systems of Linear Equations with Three Variables
In the following exercises, solve the given problem.
The sum of the measures of the angles of a triangle is 180. The sum of the measures of the second and third angles is twice the measure of the first angle. The third angle is twelve more than the second. Find the measures of the three angles.
The sum of the measures of the angles of a triangle is 180. The sum of the measures of the second and third angles is three times the measure of the first angle. The third angle is fifteen more than the second. Find the measures of the three angles.
After watching a major musical production at the theater, the patrons can purchase souvenirs. If a family purchases 4 t-shirts, the video, and 1 stuffed animal, their total is $135.
A couple buys 2 t-shirts, the video, and 3 stuffed animals for their nieces and spends $115. Another couple buys 2 t-shirts, the video, and 1 stuffed animal and their total is $85. What is the cost of each item?
The church youth group is selling snacks to raise money to attend their convention. Amy sold 2 pounds of candy, 3 boxes of cookies and 1 can of popcorn for a total sales of $65. Brian sold 4 pounds of candy, 6 boxes of cookies and 3 cans of popcorn for a total sales of $140. Paulina sold 8 pounds of candy, 8 boxes of cookies and 5 cans of popcorn for a total sales of $250. What is the cost of each item?
Writing Exercises
In your own words explain the steps to solve a system of linear equations with three variables by elimination.
How can you tell when a system of three linear equations with three variables has no solution? Infinitely many solutions?
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ On a scale of 1-10, how would you rate your mastery of this section in light of your responses on the checklist? How can you improve this?