We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

学习指南 > Intermediate Algebra

Systems of Three Equations in Three Variables

6.2 Learning Objectives

  • Introduction to systems in three variables
    • Define the solution to a system of three equations in three variables
    • Determine whether an ordered triple is a solution to a system
    • Solve a systems of equations in three variables using elimination and back-substitution
  • CLassify solutions to sustems in three variables
    • Identify an inconsistent system of equations in three variables
    • Identify a dependent system of equations in three variables
  • Applications of systems in three variables
    • Write a system of three equations with three unknowns given a business scenario
    • Solve the system you define
The solution set to a system of three equations in three variables is an ordered triple [latex]\left(x,y,z\right)[/latex]. Graphically, the ordered triple defines the point that is the intersection of three planes in space. You can visualize such an intersection by imagining any corner in a rectangular room. A corner is defined by three planes: two adjoining walls and the floor (or ceiling). Any point where two walls and the floor meet represents the intersection of three planes.

Solution Set, One Solution

The figure below illustrates how a system with three variables can have one solution. Systems that have a single solution are those which result in a solution set consisting of an ordered triple [latex]\left(x,y,z\right)[/latex]. Graphically, the ordered triple defines a point that is the intersection of three planes in space. Screen Shot 2016-07-11 at 2.08.59 PM
In the first example, we will determine whether an ordered triple is a solution for a system of three linear equations in three variables.

Example 6.2.A

Determine whether the ordered triple [latex]\left(3,-2,1\right)[/latex] is a solution to the system.
[latex]\begin{array}{l}\text{ }x+y+z=2\hfill \\ 6x - 4y+5z=31\hfill \\ 5x+2y+2z=13\hfill \end{array}[/latex]

Answer: We will check each equation by substituting in the values of the ordered triple for [latex]x,y[/latex], and [latex]z[/latex]. [latex-display]\begin{array}{ccccc}\begin{array}{r}\hfill x+y+z=2\\ \hfill \left(3\right)+\left(-2\right)+\left(1\right)=2\\ \hfill \text{True}\end{array}& & \begin{array}{r}\hfill \text{}6x - 4y+5z=31\\ \hfill 6\left(3\right)-4\left(-2\right)+5\left(1\right)=31\\ \hfill 18+8+5=31\\ \hfill \text{True}\end{array}& & \begin{array}{r}\hfill \text{}5x+2y+2z=13\\ \hfill 5\left(3\right)+2\left(-2\right)+2\left(1\right)=13\\ \hfill \text{}15 - 4+2=13\\ \hfill \text{True}\end{array}\end{array}[/latex-display] The ordered triple [latex]\left(3,-2,1\right)[/latex] is indeed a solution to the system.

How To: Given a linear system of three equations, solve for three unknowns.

  1. Pick any pair of equations and solve for one variable.
  2. Pick another pair of equations and solve for the same variable.
  3. You have created a system of two equations in two unknowns. Solve the resulting two-by-two system.
  4. Back-substitute known variables into any one of the original equations and solve for the missing variable.
Solving a system with three variables is very similar to solving one with two variables.  It is important to keep track of your work as the addition of one more equation can create more steps in the solution process. In the example that follows we will solve the system by first using the elimination method to solve for x, then using back-substitution.

Example  6.2.B

Solve the system [latex-display]\displaystyle\begin{cases}x-\frac{1}{3}y+\frac{1}{2}z=1\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,y-\frac{1}{2}z=4\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,z=-1\end{cases}[/latex-display]

Answer: The third equation states that z = −1, so we substitute this into the second equation to obtain a solution for y. [latex-display]\begin{array}{ccc}y-\frac{1}{2}(-1)=4\\y+\frac{1}{2}=4\\y=4-\frac{1}{2}\\y=\frac{8}{2}-\frac{1}{2}\\y=\frac{7}{2}\end{array}[/latex-display] Now we have two of our solutions and we can substitute them both into the first equation to solve for x. [latex-display]\begin{array}{ccc}x-\frac{1}{3}\left(\frac{7}{2}\right)+\frac{1}{2}\left(-1\right)=1\\x-\frac{7}{6}-\frac{1}{2}=1\\x-\frac{7}{6}-\frac{3}{6}=1\\x-\frac{10}{6}=1\\x=1+\frac{10}{6}\\x=\frac{6}{6}+\frac{10}{6}\\x=\frac{16}{6}=\frac{8}{3}\end{array}[/latex-display] Now we have our ordered triple, remember that where you place the solutions matters!

Answer

[latex-display](x,y,z)=\left(\frac{8}{3},\frac{7}{2},-1\right)[/latex-display]

Analysis of the solution:

Each of the lines in this system represents a plane (think about a sheet of paper). If you imagine three sheets of notebook paper each representing a portion of these planes, you will start to see the complexities involved in how three such planes can intersect. Below is a sketch of the three planes. It turns out that any two of these planes intersect in a line, so our intersection point is where all three of these lines meet.
Three Planes Intersecting. Three Planes Intersecting.
In the following video we show another example of using back-substitution to solve a system in three variables. https://youtu.be/HHIjTChrIxE In the next example, we will not start with a solution, but will need to use the method of elimination to find our first solution.

Example 6.2.C

Find a solution to the following system:
[latex]\begin{array}{lll}x-y+z=5\,\,\,\,(1)\\-2y+z=6\,\,\,\,(2)\\2y-2z=-12\,\,\,\,(3)\end{array}[/latex]

Answer:

We labeled the equations this time to be able to keep track of things a little more easily. The most obvious first step here is to eliminate [latex]y[/latex] by adding equations (2) and (3).
[latex]\begin{array}{lll}\,\,\,\,\,\,\,\,\,-2y+z=6\,\,\,\,(2)\\\underline{+\,\,\,\,2y-2z=-12}\,\,\,\,(3)\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,-z=-6\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,z=6\end{array}[/latex]
  Now we can substitute the value for z that we obtained into equation (2).

[latex]\begin{array}{rrr}-2y+(6)=6\\-2y=6-6\\-2y=0\\\,\,\,\,y=0\end{array}[/latex]

Be careful here not to get confused with a solution of y = 0 and an inconsistent solution.  It's ok for variables to equal 0. Now we can substitute z = 6 and y = 0 back into the original equation.

[latex]\begin{array}{rrr}x-y+z=5\\x-0+6=5\\x+6=5\\x=5-6\\x=-1\end{array}[/latex]

Answer

[latex-display](x,y,z)=(-1,0,6)[/latex-display]

In the following videos we show more examples of the algebra you may encounter when solving systems with three variables. https://youtu.be/r6htz3gaHZ0 https://youtu.be/3RbVSvvRyeI

6.2.1 Classify solutions to systems in three variables

Just as with systems of equations in two variables, we may come across an inconsistent system of equations in three variables, which means that it does not have a solution that satisfies all three equations. The equations could represent three parallel planes, two parallel planes and one intersecting plane, or three planes that intersect the other two but not at the same location. The process of elimination will result in a false statement, such as [latex]3=7[/latex] or some other contradiction.

Infinitely Many or No Solutions

  • Systems that have an infinite number of solutions are those which, after elimination, result in an expression that is always true, such as [latex]0=0[/latex]. Graphically, an infinite number of solutions represents a line or coincident plane that serves as the intersection of three planes in space. The graphic below shows how three planes can intersect to form a line giving the system infinitely many solutions.
Infinitely many solutions. Infinitely many solutions.
  • Systems that have no solution are those that, after elimination, result in a statement that is a contradiction, such as [latex]3=0[/latex]. Graphically, a system with no solution is represented by three planes with no point in common. Three parallel planes (c), two parallel planes and one intersecting plane (b), three planes that intersect the other two but not at the same location (a).
In the first example we will see how it is possible to have a system with three variables and no solutions.

Example 6.2.D

Solve the following system.

[latex]\begin{array}{ll}\text{ }x - 3y+z=4\,\,\,\,\,\,\,\,\,\,\,\,\left(1\right)\\ \,\,\,\,\,\,-y-4z=7\,\,\,\,\,\,\,\,\,\,\,\,\,\left(2\right)\,\,\,\,\\\,\,\,\,\,\,\,\,2y+8z=-12\,\,\,\,\,\,\,(3)\end{array}[/latex]

Answer: If you multiply equation (2) by 2 and add (2) and (3) together, you can eliminate y and solve for z. First, multiply equation (2) by 2.

[latex]\begin{array}\,\,\,\,\,\,2(-y-4z=7)\\-2y-8z=14\end{array}[/latex]

Next, add equations (2) and (3) together to eliminate y and solve for z.

[latex]\begin{array}\,\,\,\,\,\,-2y-8z=14\\\underline{+2y+8z=-12}\\0+0=2\\0=2\end{array}[/latex]

Recall that when we were solving systems with two variables, a non-true solution such as [latex]0=2[/latex] implied that there was no solution to the system.

This can happen with a system of three variables as well.

Answer

No solution, or DNE

We will show another example of using elimination to solve a system in three variables that ends up having no solution in the following video. https://youtu.be/ryNQsWrUoJw We know from working with systems of equations in two variables that a dependent system of equations has an infinite number of solutions. The same is true for dependent systems of equations in three variables. An infinite number of solutions can result from several situations. The three planes could be the same, so that a solution to one equation will be the solution to the other two equations. All three equations could be different but they intersect on a line, which has infinite solutions. Or two of the equations could be the same and intersect the third on a line.

Example 6.2.E

Find the solution to the given system of three equations in three variables.

[latex]\begin{array}{rr}\hfill \text{ }2x+y - 3z=0& \hfill \left(1\right)\\ \hfill 4x+2y - 6z=0& \hfill \left(2\right)\\ \hfill \text{ }x-y+z=0& \hfill \left(3\right)\end{array}[/latex]

Answer: First, we can multiply equation (1) by [latex]-2[/latex] and add it to equation (2).

[latex]\begin{array} −4x−2y+6z=0 \hfill& \text{equation }\left(1\right)\text{multiplied by }−2 \\ 4x+2y−6z=0\hfill&\left(2\right) \end{array}[/latex]

We do not need to proceed any further. The result we get is an identity, [latex]0=0[/latex], which tells us that this system has an infinite number of solutions. As shown in the figure below, two of the planes are the same and they intersect the third plane on a line. The solution set is infinite, as all points along the intersection line will satisfy all three equations. Two overlapping planes intersecting a third. The first overlapping plane's equation is negative 4x minus 2y plus 6z equals zero. The second overlapping plane's equation is 4x plus 2y minus 6z equals zero. The third plane's equation is x minus y plus z equals zero.

Answer

There are an infinite number of solutions.

In our last video example we show a system that has an infinite number os solutions. https://youtu.be/mThiwW8nYAU

6.2.2 Applications

Systems can be helpful for solving real-world problems. In this example, we will write three equations that model sales at an art fair to learn how many prints should be sold to break even for the cost of the booth rental.

Example 6.2.F

Andrea sells photographs at art fairs. She prices the photos according to size: small photos cost $10, medium photos cost $15, and large photos cost $40. She usually sells as many small photos as medium and large photos combined. She also sells twice as many medium photos as large. A booth at the art fair costs $300. If her sales go as usual, how many of each size photo must she sell to pay for the booth?

Answer: To set up the system, first choose the variables. In this case the unknown values are the number of small, medium, and large photos. S = number of small photos sold M = number of medium photos sold L = number of large photos sold The total of her sales must be $300 to pay for the booth. We can find the total by multiplying the cost for each size by the number of that size sold. 10S = money received for small photos 15M = money received for medium photos 40L = money received for large photos

Total Sales: 10S + 15M + 40L = 300

The number of small photos is the same as the total of medium and large photos combined.

S = M + L

She sells twice as many medium photos as large photos.

M = 2L

To make things easier, rewrite the equations to be in the same format, with all variables on the left side of the equal sign and only a constant number on the right.

[latex]\begin{cases}10S+15M+40L=300\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,S–M–L=0\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,M–2L=0\end{cases}[/latex]

Now solve the system. Step 1: First choose two equations and eliminate a variable. Since one equation has no S variable, it may be helpful to use the other two equations and eliminate the S variable from them. Multiply the second equation by −10 and add.

[latex]\begin{array}-10(S–M–L=0)\\-10s+10M+10L=0\end{array}[/latex]

[latex]\begin{array}{ccc}10S+15M+40L=300\\\underline{+(-10s+10M+10L=0)}\\25M+50L=300\end{array}[/latex]

Step 2: The second equation for our two-variable system will be the remaining equation (that has no S variable). Eliminate a second variable using the equations from steps 1 and 2. While you could multiply the second equation by 25 to eliminate L, the numbers will stay nicer if you divide the first equation by 25. Don’t forget to be careful of the signs! Divide first:

[latex]\begin{array}{ccc}\frac{25}{25}M+\frac{50}{25}L=\frac{300}{25}\\M+2L=12\end{array}[/latex]

Now eliminate L by adding M-2L=0 to this new equation.

[latex]\begin{array}{ccc}M+2L=12\\\underline{+(M–2L=0)}\\2M=12\\M=\frac{12}{2}=6\end{array}[/latex]

Step 3: Use M=6 and one of the equations containing just two variables to solve for the second variable.  It’s best to use one of the original equations—in case an error was made in multiplication.

[latex]\begin{array}{ccc}M=2L\\6=2L\\3=L\end{array}[/latex]

Step 4: Use the two found values and one of the original equations to solve for the third variable.

[latex]\begin{array}{ccc}S–M–L=0\\S-6-3=0\\S-9=0\\s=9\end{array}[/latex]

Step 5: Check your answer. With application problems, it’s sometimes easier (and better) to use the original wording of the problem rather than the equations you write.

She usually sells as many small photos as medium and large photos combined.
  • Medium and large photos combined =6 + 3 = 9, which is the number of small photos.
She also sells twice as many medium photos as large.
  • Medium photos is 6, which is twice the number of large photos (3).
A booth at the art fair costs $300.
  • Andrea receives $10(9) or $90 for the 9 small photos, $15(6) or $90 for the 6 medium photos, and $40(3) or $120 for the large photos. $90 + $90 + $120 = $300.

Answer

If Andrea sells 9 small photos, 6 medium photos, and 3 large photos, she’ll receive exactly the amount of money needed to pay for the booth.

In the following video example we show how to define a system of three equations in three variables that represents a mixture needed by a chemist.

https://youtu.be/612Ad0W9ZeY Our last example shows you how to write a system of three equations that represents ticket sales for a theater that has three different prices for tickets. https://youtu.be/Wg_v5R7BFo0

Summary

  • The solution to a system of linear equations in three variables is an ordered triple in the form [latex](x,y,z)[/latex]
  • Solutions can be verified using substitution and the order of operations
  • Systems of three variables can be solved using the same techniques as we used to solve systems with two variables, including elimination and substitution.
  • A system with three variables can have one, none, or many solutions
  • A system with no solutions will have a non-true result when solving
  • A system with many solutions will have an identity result when solving

Licenses & Attributions

CC licensed content, Original

CC licensed content, Shared previously

  • College Algebra: 8.1 Systems of Linear Equations: Gaussian Elimination. Authored by: Stitz, Carl and Zeager, Jeff. Located at: https://www.stitz-zeager.com/szca07042013.pdf. License: CC BY: Attribution.
  • Ex: Solve a System of 3 Equations with 3 Unknowns Using Back Substitution. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex 2: System of Three Equations with Three Unknowns Using Elimination. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex 1: System of Three Equations with Three Unknowns Using Elimination. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex 4: System of Three Equations with Three Unknowns Using Elimination (No Solution). Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex 5: System of Three Equations with Three Unknowns Using Elimination (Infinite Solutions). Authored by: James Sousa (Mathispower4u.com) . License: Public Domain: No Known Copyright.
  • System of 3 Equations with 3 Unknowns Application - Concentration Problem. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • System of 3 Equations with 3 Unknowns Application - Ticket Sales. Authored by: JAMES SOUSA (MATHISPOWER4U.COM) . License: CC BY: Attribution.

CC licensed content, Specific attribution