Skip to main content
Logo image

Modeling, Functions, and Graphs

Section 8.2 Systems of Linear Equations in Three Variables

Some problems involve three (or more) unknown quantities, and efficient techniques for solving linear systems in many variables are available. In this section, we solve systems of three linear equations in three variables.

Subsection \(3\times 3\) Linear Systems

A solution to an equation in three variables, such as
\begin{equation*} x + 2y - 3z = -4 \end{equation*}
is an ordered triple of numbers that satisfies the equation. For example, \((0, -2, 0)\) and \((-1, 0, 1)\) are solutions to the equation above, but \((1, 1, 1)\) is not. You can verify this by substituting the coordinates into the equation to see if a true statement results.
\begin{alignat*}{5} \amp\text{For }(0,-2, 0):{}\amp 0 {}+{}\amp 2(-2) \amp{}-{}\amp 3(0) \amp = -4{}\amp\hphantom{blank} \blert{\text{True}}\amp\\ \amp\text{For }(-1, 0, 1):{}\amp {-}1 {}+{}\amp 2(0) \amp{}-{}\amp 3(1) \amp = -4{}\amp\hphantom{blank} \blert{\text{True}}\amp\\ \amp\text{For }(1, 1, 1):{}\amp 1 {}+{}\amp 2(1) \amp{}-{}\amp 3(1) \amp = -4{}\amp\hphantom{blank} \blert{\text{Not true}}\amp \end{alignat*}
As with the two-variable case, a single linear equation in three variables has infinitely many solutions.
An ordered triple \((x, y, z)\) can be represented geometrically as a point in space using a three-dimensional Cartesian coordinate system, as shown below. In this coordinate system, the graph of a linear equation in three variables is a plane, and the fact that there are infinitely many solutions to the equation tells us that that there are infinitely many points in the corresponding plane.
point in 3D space
A solution to a system of three linear equations in three variables is an ordered triple that satisfies each equation in the system. That triple represents a point that must lie on all three graphs. The figure below shows the different ways in which three planes may intersect in space.
8 cases of how 3 planes can intersect
  • In figure (a), the three planes intersect in a single point, so the corresponding system of three equations has a unique solution.
  • In figures (b), (c), and (d), the intersection is either a line or an entire plane, so the corresponding system has infinitely many solutions. Such a system is called dependent.
  • In figures (e), (f), (g), and (h), the three planes have no common intersection, so the corresponding system has no solution. In this case, the system is said to be inconsistent.
It is impractical to solve \(3\times 3\) systems by graphing. Even when technology for producing three-dimensional graphs is available, we cannot read coordinates on such graphs with any confidence. Thus, we will restrict our attention to algebraic methods of solving such systems.

Checkpoint 8.28. Pause and Reflect.

What is a solution to a 3x3 linear system?

Subsection Back-Substitution

When we review our algebraic methods for \(2\times 2\) systems—substitution and linear combinations—we find features common to both. In both methods, we obtain an equation in one variable. Once we have solved for that variable, we substitute the value into an earlier equation to find the other variable.
One strategy for solving a \(3\times 3\) system extends this idea to include a third variable and a third equation. The following special case illustrates the substitution part of the procedure.

Example 8.29.

Solve the system
\begin{alignat*}{3} x +{} 2y \amp {}+{} \amp 3z \amp {}={} \amp 2\\ -2y \amp {}-{} \amp 4z \amp {}={} \amp -2\\ \amp {}{} \amp 3z \amp {}={} \amp -3 \end{alignat*}
Solution.
The third equation involves only the variable \(z\text{,}\) so we solve that equation to find \(z = -1\text{.}\) Then we substitute \(-1\) for \(z\) in the second equation and solve for \(y\text{.}\)
\begin{align*} -2y - 4(\alert{-1}) \amp = -2\\ -2y + 4 \amp= -2\\ -2y \amp = -6\\ y\amp=3 \end{align*}
Finally, we substitute \(-1\) for \(z\) and \(3\) for \(y\) into the first equation to find \(x\text{.}\)
\begin{align*} x + 2(\blert{3}) + 3(\alert{-1}) \amp= 2\\ x + 6 - 3 \amp = 2\\ x\amp=-1 \end{align*}
The solution is the ordered triple \((-1, 3, -1)\text{.}\) You should verify that this triple satisfies all three equations of the system.
The technique used in Example 8.29 is called back-substitution. It works in the special case where one of the equations involves exactly one variable, and a second equation involves that same variable and just one other variable. A \(3\times 3\) linear system with these properties is said to be in triangular form. If we can transform a system into triangular form, we can use back-substitution to complete the solution.

Checkpoint 8.30. Practice 1.

Use back-substitution to solve the system
\begin{equation*} \begin{alignedat}{5} 2x +{} 2y \amp {}+{} \amp z \amp {}={} \amp 10\\ y \amp {}-{} \amp 4z \amp {}={} \amp 9\\ \amp {}{} \amp 3z \amp {}={} \amp -6 \end{alignedat} \end{equation*}
Solution:
Answer.
\(\left(5,1,-2\right)\)
Solution.
\((5, 1, -2)\)

Checkpoint 8.31. QuickCheck 1.

What sort of system can be solved by back-substitution?
  • Any linear system
  • A triangular system
  • A dependent system
  • A complex system
Answer.
\(\text{A triangular system}\)
Solution.
A triangular system

Subsection Gaussian Reduction

We can use linear combinations to reduce a \(3\times 3\) system to triangular form and then use back-substitution to find the solutions. Our strategy will be to eliminate one of the variables from each of the three equations by considering them in pairs. This results in a \(2\times 2\) system that we can solve using elimination. As an example, consider the system
\begin{alignat*}{4} x \amp {}+{} \amp 2y \amp {}-{} \amp 3z \amp {}={} \amp -4\amp\hphantom{blankblank} (1)\\ 2x \amp {}-{} \amp y \amp {}+{} \amp z \amp {}={} \amp 3\amp\hphantom{blankblank} (2)\\ 3x \amp {}+{} \amp 2y \amp {}+{} \amp z \amp {}={} \amp 10\amp\hphantom{blankblank} (3) \end{alignat*}
  1. This system is already in standard form. We can choose any one of the three variables to eliminate first. For this example, we will eliminate \(x\text{.}\)
  2. Choose two of the equations, say (1) and (2), and use a linear combination: We multiply Equation (1) by \(-2\) and add the result to Equation (2) to produce Equation (4).
    \(-2x\) \(-\) \(4y\) \(+\) \(6z\) \(=\) \(8\) \(\hphantom{blank}\) \(-2\times (1)\)
    \(2x\) \(-\) \(y\) \(+\) \(z\) \(=\) \(3\) \(\) \((2)\)
    \(\) \(\) \(-5y\) \(+\) \(7z\) \(=\) \(11\) \(\) \((4)\)
  3. Now we have an equation involving only two variables. But we need two equations in two unknowns to find the solution. So we choose a different pair of equations, say (1) and (3), and eliminate \(x\) again. We multiply Equation (1) by \(-3\) and add the result to Equation (3) to obtain Equation (5).
    \(-3x\) \(-\) \(6y\) \(+\) \(9z\) \(=\) \(12\) \(\hphantom{blank}\) \(-3\times (1)\)
    \(3x\) \(+\) \(2y\) \(+\) \(z\) \(=\) \(10\) \(\) \((3)\)
    \(\) \(\) \(-4y\) \(+\) \(10z\) \(=\) \(22\) \(\) \((5)\)
  4. We now form a \(2\times 2\) system with our new Equations (4) and (5).
    \begin{alignat*}{2} -5y\amp + \amp 7z \amp = 11 \hphantom{blankblank} (4)\\ -4y\amp + \amp 10z \amp = 22 \hphantom{blankblank} (5) \end{alignat*}
    We eliminate either \(y\) or \(z\) to obtain an equation in a single variable. If we choose to eliminate \(y\text{,}\) we add \(4\) times Equation (4) to \(-5\) times Equation (5) to obtain Equation (6).
    \(-20y\) \(+\) \(28z\) \(=\) \(44\) \(\hphantom{blank}\) \(4\times (4)\)
    \(20y\) \(-\) \(50z\) \(=\) \(-110\) \(\) \(-5\times (5)\)
    \(\) \(\) \(-22z\) \(=\) \(-66\) \(\) \((6)\)
  5. Now we can start solving for the variables. To keep things organized, we form a triangular system: Choose one of the original equations (in three variables), one of the equations from our \(2\times 2\) system, and our final equation in one variable. We choose Equations (1), (4), and (6).
    \begin{alignat*}{4} x \amp {}+{} \amp 2y \amp {}-{} \amp 3z \amp {}={} \amp -4\amp\hphantom{blankblank} (1)\\ \amp \amp-5y \amp{}+{}\amp 7z \amp = \amp 11 \amp\hphantom{blankblank} (4) \\ \amp \amp \amp\amp {-22z} \amp {}={} \amp -66\amp\hphantom{blankblank} (6) \end{alignat*}
    This new system is in triangular form, and it has the same solutions as the original system. We complete the solution by back-substitution. Solve Equation (6) to find \(z=3\text{.}\) Substituting \(\alert{3}\) for \(z\) in Equation (4), we find
    \begin{align*} -5y + 7(\alert{3}) \amp = 11\\ -5y + 21 \amp = 11\\ -5y \amp = -10\\ y \amp = 2 \end{align*}
    Finally, we substitute \(\alert{3}\) for \(z\) and \(\blert{2}\) for \(y\) into Equation (1) to find
    \begin{align*} x + 2(\blert{2}) - 3(\alert{3}) \amp = -4\\ x + 4 - 9 \amp = -4\\ x\amp =1 \end{align*}
    The solution to the system is the ordered triple \((1, 2, 3)\text{.}\) You can verify that this triple satisfies all three of the original equations.

Checkpoint 8.32. QuickCheck 2.

After we eliminate one variable from a pair of equations, what is the next step?
  • A) Eliminate a different variable from the same pair of equations.
  • B) Eliminate the same variable from a different pair of equations.
  • C) Eliminate a different variable from a different pair of equations.
  • D) Substitute into the third equation.
Answer.
\(\text{B) Eliminate ... of equations.}\)
Solution.
Eliminate the same variable from a different pair of equations.
The method described above for putting a linear system into triangular form is called Gaussian reduction, after the German mathematician Carl Gauss. We summarize our method for solving a \(3\times 3\) linear system as follows.

Steps for Solving a \(3\times 3\) Linear System.

  1. Clear each equation of fractions and put it in standard form.
  2. Choose two of the equations and eliminate one of the variables by forming a linear combination.
  3. Choose a different pair of equations and eliminate the same variable.
  4. Form a \(2\times 2\) system with the equations found in steps (2) and (3). Eliminate one of the variables from this \(2\times 2\) system by using a linear combination.
  5. Form a triangular system by choosing among the previous equations. Use back-substitution to solve the triangular system.

Example 8.33.

Solve the system
\begin{alignat*}{4} x\amp{}+{}\amp 2y \amp {}-{} \amp z \amp {}={} \amp -3\amp\hphantom{blankblank} (1)\\ \frac{1}{3}x \amp {}-{} \amp y \amp {}+{} \amp\frac{1}{3} z \amp {}={} \amp 2\amp\hphantom{blankblank} (2)\\ x \amp {}+{} \amp\frac{1}{2} y \amp {}+{} \amp z \amp {}={} \amp\frac{5}{2} \amp\hphantom{blankblank} (3) \end{alignat*}
Solution.
Follow the steps outlined above.
  1. We multiply each side of Equation (2) by \(3\text{,}\) and each side of Equation (3) by \(2\text{,}\) to obtain the equivalent system
    \begin{alignat*}{4} x\amp{}+{}\amp 2y \amp {}-{} \amp z \amp {}={} \amp -3\amp\hphantom{blankblank} (1)\\ x \amp {}-{} \amp 3 y \amp {}+{} \amp z \amp {}={} \amp 6\amp\hphantom{blankblank} (2\text{a})\\ 2x \amp {}+{} \amp y \amp {}+{} \amp 2z \amp {}={} \amp5 \amp\hphantom{blankblank} (3\text{a}) \end{alignat*}
  2. We eliminate \(z\) from Equations (1) and (2a) by adding them together.
    \(x\) \(+\) \(2y\) \(-\) \(z\) \(=\) \(-3\) \(\hphantom{blank}\) \((1)\)
    \(x\) \(-\) \(3y\) \(+\) \(z\) \(=\) \(6\) \(\) \((2\text{a})\)
    \(2x\) \(-\) \(y\) \(\) \(\) \(=\) \(3\) \(\) \((4)\)
  3. We eliminate \(z\) from Equations (1) and (3a): We multiply Equation (1) by \(2\) and add the result to Equation (3a).
    \(2x\) \(+\) \(4y\) \(-\) \(2z\) \(=\) \(-6\) \(\hphantom{blank}\) \((1\text{a})\)
    \(2x\) \(+\) \(y\) \(+\) \(2z\) \(=\) \(5\) \(\) \((3\text{a})\)
    \(4x\) \(+\) \(5y\) \(\) \(\) \(=\) \(-1\) \(\) \((5)\)
  4. We form the \(2\times 2\) system consisting of Equations (4) and (5).
    \begin{alignat*}{3} 2x\amp {}-{}\amp y\amp =\amp 3\amp\hphantom{blankblank} (4)\\ 4x\amp {}+{}\amp 5y\amp =\amp -1\amp\hphantom{blankblank} (5) \end{alignat*}
  5. We form a triangular system using Equations (1), (4), and (6).
    \begin{alignat*}{4} x \amp {}+{} \amp 2y \amp {}-{} \amp z \amp {}={} \amp -3\amp\hphantom{blankblank} (1)\\ 2x \amp{}-{}\amp y \amp \amp \amp = \amp 3 \amp\hphantom{blankblank} (4) \\ \amp \amp 7y \amp\amp \amp {}={} \amp -7\amp\hphantom{blankblank} (6) \end{alignat*}
    We use back-substitution to find the solution. You can verify that the ordered triple \((1, -1, 2)\) satisfies all three of the original equations of the system.

Checkpoint 8.34. Practice 2.

Use Gaussian reduction to solve the system
\begin{equation*} \begin{alignedat}{5} x\amp{}-{}\amp 2y \amp {}+{} \amp z \amp {}={} \amp -1\amp\hphantom{blankblank} (1)\\ \frac{2}{3}x \amp {}+{} \amp \frac{1}{3}y \amp {}-{} \amp z \amp {}={} \amp 1\amp\hphantom{blankblank} (2)\\ 3x \amp {}+{} \amp 3y \amp {}-{} \amp 2z \amp {}={} \amp 10 \amp\hphantom{blankblank} (3) \end{alignedat} \end{equation*}
Follow the steps suggested below:
  1. Clear the fractions from Equation (2).
  2. Eliminate \(z\) from Equations (1) and (2).
  3. Eliminate \(z\) from Equations (1) and (3).
  4. Eliminate \(x\) from your new \(2\times 2\) system.
  5. Form a triangular system and solve by back-substitution.
    Solution: Give your answer as an ordered triple.
Answer 1.
\(2x+y-3z = 3\)
Answer 2.
\(5x-5y = 0\)
Answer 3.
\(5x-y = 8\)
Answer 4.
\(4y = 8\)
Answer 5.
\(\left(2,2,1\right)\)
Solution.
  1. \(\displaystyle 2x+y-3z=3\)
  2. \(\displaystyle 5x-5y=0\)
  3. \(\displaystyle 5x-y=8\)
  4. \(\displaystyle 4y=8\)
  5. \(\displaystyle (2, 2, 1)\)

Checkpoint 8.35. Pause and Reflect.

What should you do if one of the original equations in a 3x3 system is “missing” one of the variables?

Subsection Inconsistent and Dependent Systems

The results in Section 8.1 for identifying dependent and inconsistent systems can be extended to \(3\times 3\) linear systems. If at any step in forming linear combinations we obtain an equation of the form
\begin{equation*} 0x + 0y + 0z = k, \hphantom{blank}(k\ne 0) \end{equation*}
then the system is inconsistent and has no solution. If we obtain an equation of the form
\begin{equation*} 0x + 0y + 0z = 0 \end{equation*}
then the system is dependent and has infinitely many solutions.

Example 8.36.

Solve the system
\begin{alignat*}{5} 3x\amp {}+{}\amp y\amp {}-{}\amp 2z\amp =\amp 1\amp\hphantom{blank} \amp(1)\\ 6x\amp {}+{}\amp 2y\amp {}-{}\amp 4z\amp =\amp 5\amp\hphantom{blank} \amp(2)\\ -2x\amp {}-{}\amp y\amp {}+{}\amp 3z\amp =\amp -1\amp\hphantom{blank} \amp(3) \end{alignat*}
Solution.
To eliminate \(y\) from Equations (1) and (2), we multiply Equation (1) by \(-2\) and add the result to Equation (2).
\(-6x\) \(-\) \(2y\) \(+\) \(4z\) \(=\) \(-2\)
\(6x\) \(+\) \(2y\) \(-\) \(4z\) \(=\) \(5\)
\(0x\) \(+\) \(0y\) \(+\) \(0z\) \(=\) \(3\)
Since the resulting equation has no solution, the system is inconsistent.

Checkpoint 8.37. Practice 3.

Decide whether the system is inconsistent, dependent, or consistent and independent.
\begin{equation*} \begin{alignedat}{5} x\amp {}+{}\amp 3y\amp {}-{}\amp z\amp =\amp 4 \\ -2x\amp {}-{}\amp 6y\amp {}+{}\amp 2z\amp =\amp 1\\ x\amp {}+{}\amp 2y\amp {}-{}\amp z\amp =\amp 3 \end{alignedat} \end{equation*}
  • inconsistent
  • dependent
  • consistent and independent
Answer.
\(\text{inconsistent}\)
Solution.
Inconsistent

Example 8.38.

Solve the system
\begin{alignat*}{5} -x\amp {}+{}\amp 3y\amp {}-{}\amp z\amp =\amp -2\amp\hphantom{blank} \amp(1)\\ 2x\amp {}+{}\amp y\amp {}-{}\amp 4z\amp =\amp 6\amp\hphantom{blank} \amp(2)\\ 2x\amp {}-{}\amp 6y\amp {}+{}\amp 2z\amp =\amp 4\amp\hphantom{blank} \amp(3) \end{alignat*}
Solution.
To eliminate \(x\) from Equations (1) and (3), we multiply Equation (1) by 2 and add Equation (3).
\(-2x\) \(+\) \(6y\) \(-\) \(2z\) \(=\) \(-4\)
\(2x\) \(-\) \(6y\) \(+\) \(2z\) \(=\) \(4\)
\(0x\) \(+\) \(0y\) \(+\) \(0z\) \(=\) \(0\)
Since the resulting equation vanishes, the system is dependent and has infinitely many solutions.

Checkpoint 8.39. QuickCheck 3.

What does it mean if you obtain an equation of the form \(0x+0y+0z=k\text{,}\) \(k \not= 0\text{?}\)
  • The system has no solution.
  • The system is dependent.
  • The solution is \((0,0,0)\text{.}\)
  • The system is triangular.
Answer.
\(\text{Choice 1}\)
Solution.
The system has no solution.

Checkpoint 8.40. Practice 4.

Decide whether the system is inconsistent, dependent, or consistent and independent.
\begin{equation*} \begin{alignedat}{5} a - c \amp = 2\\ 2a + b \amp = 5\\ a + b + c \amp = 3 \end{alignedat} \end{equation*}
  • inconsistent
  • dependent
  • consistent and independent
Answer.
\(\text{dependent}\)
Solution.
Dependent

Checkpoint 8.41. Pause and Reflect.

Explain how you know immediately that the following system is dependent:
\begin{equation*} \begin{gathered} x+y+z=3\\ 2x+2y+2z=6\\ -x-y-z=-3 \end{gathered} \end{equation*}

Subsection Applications

Here are some problems that can be modeled by a system of three linear equations. When writing such systems, we must be careful to find three independent equations describing the conditions of the problem.

Example 8.42.

One angle of a triangle measures \(4\degree\) less than twice the second angle, and the third angle is \(20\degree\) greater than the sum of the first two. Find the measure of each angle.
Solution.
  1. We represent the measure of each angle by a separate variable.
    \begin{align*} \amp\text{First angle: }\amp\amp x\\ \amp\text{Second angle: }\amp\amp y\\ \amp\text{Third angle:}\amp\amp z \end{align*}
  2. We write the conditions stated in the problem as three equations.
    \begin{gather*} x = 2y - 4\\ z = x + y + 20\\ x + y + z = 180 \end{gather*}
    (The third equation states the fact that the sum of the angles of a triangle is \(180\degree\text{.}\))
  3. We follow the steps for solving a \(3\times 3\) linear system.
    i. We write the three equations in standard form.
    \begin{alignat*}{5} x\amp {}-{}\amp 2y\amp {}{}\amp \amp =\amp -4\amp\hphantom{blank} \amp(1)\\ x\amp {}+{}\amp y\amp {}-{}\amp z\amp =\amp -20\amp\hphantom{blank} \amp(2)\\ x\amp {}+{}\amp y\amp {}+{}\amp z\amp =\amp 180\amp\hphantom{blank} \amp(3) \end{alignat*}
    ii-iii. Since Equation (1) has no \(z\)-term, it will be most efficient to eliminate the variable \(z\) from Equations (2) and (3). We add these two equations.
    \(x\) \(+\) \(y\) \(-\) \(z\) \(=\) \(-20\) \((2)\)
    \(x\) \(+\) \(y\) \(+\) \(2z\) \(=\) \(4\) \((3)\)
    \(2x\) \(+\) \(2y\) \(\) \(\) \(=\) \(160\) \((4)\)
    iv. We form a \(2\times 2\) system from Equations (1) and (4). We add the two equations to eliminate the variable \(y\text{,}\) yielding
    \(x\) \(-\) \(2y\) \(=\) \(-4\) \((1)\)
    \(2x\) \(+\) \(2y\) \(=\) \(160\) \((4)\)
    \(3x\) \(\) \(\) \(=\) \(156\) \((5)\)
    v. We form a triangular system using Equations (3), (1), and (5). We use back-substitution to complete the solution.
    \begin{alignat*}{4} x\amp {}+{}\amp y\amp {}+{}\amp z\amp =\amp 180\hphantom{blankblank} \amp(2)\\ x\amp {}-{}\amp 2y\amp \amp\amp =\amp -4\hphantom{blankblank} \amp(1)\\ 3x\amp\amp\amp\amp\amp = \amp156\hphantom{blankblank} \amp(5) \end{alignat*}
    We divide both sides of Equation (5) by \(3\) to find \(x = 52\text{.}\) We substitute \(52\) for \(x\) in Equation (1) and solve for \(y\) to find
    \begin{align*} \alert{52} - 2y \amp = -4\\ y \amp= 28 \end{align*}
    We substitute \(52\) for \(x\) and \(28\) for \(y\) in Equation (3) to find
    \begin{align*} \alert{52} + \blert{28} + z \amp= 180\\ z\amp=100 \end{align*}
  4. The angles measure \(52\degree\text{,}\) \(28\degree\text{,}\) and \(100\degree\text{.}\)

Checkpoint 8.43. Practice 5.

A manufacturer of office supplies makes three types of file cabinet: two-drawer, four-drawer, and horizontal. The manufacturing process is divided into three phases: assembly, painting, and finishing.
  • A two-drawer cabinet requires 3 hours to assemble, 1 hour to paint, and 1 hour to finish.
  • The four-drawer model takes 5 hours to assemble, 90 minutes to paint, and 2 hours to finish.
  • The horizontal cabinet takes 4 hours to assemble, 1 hour to paint, and 3 hours to finish.
The manufacturer employs enough workers for 500 hours of assembly time, 150 hours of painting, and 230 hours of finishing per week. How many of each type of file cabinet should he make in order to use all the hours available?
  1. Represent the number of each model of file cabinet by a different variable.
    Number of two-drawer cabinets: \(x\)
    Number of four-drawer cabinets: \(y\)
    Number of horizontal cabinets: \(z\)
  2. Organize the information into a table. (Convert all times to hours.)
    \(\displaystyle{}\) 2-Drawer 4-Drawer Horizontal Total available
    Assembly
    Painting
    Finishing
    Write three equations describing the time constraints in each of the three manufacturing phases. For example, the assembly phase requires \(3x\) hours for the two-drawer cabinets, \(5y\) hours for the four-drawer cabinets, and \(4z\) hours for the horizontal cabinets, and the sum of these times should be the time available, \(500\) hours.
    Assembly time: \((1)\)
    Painting time: \((2)\)
    Finishing time: \((3)\)
  3. Solve the system. Follow the steps suggested below.
    1. Clear the fractions from the second equation.
      (2)
    2. Subtract Equation (1) from \(3\) times Equation (3) to obtain a new Equation (4).
      (4)
    3. Subtract Equation (2) from twice Equation (3) to obtain a new Equation (5).
      (5)
    4. Equations (4) and (5) form a \(2\times 2\) system in \(y\) and \(z\text{.}\) Subtract Equation (5) from Equation (4) to obtain a new Equation (6).
      (6)
    5. Form a triangular system with Equations (3), (4), and (6). Use back-substitution to complete the solution.
      Enter the solution as an ordered triple.
  4. You should have found the following solution: The manufacturer should make \(60\) two-drawer cabinets, \(40\) four-drawer cabinets, and \(30\) horizontal cabinets.
Answer 1.
\(3x\)
Answer 2.
\(5y\)
Answer 3.
\(4z\)
Answer 4.
\(500\)
Answer 5.
\(x\)
Answer 6.
\(\frac{3}{2}y\)
Answer 7.
\(z\)
Answer 8.
\(150\)
Answer 9.
\(x\)
Answer 10.
\(2y\)
Answer 11.
\(3z\)
Answer 12.
\(230\)
Answer 13.
\(3x+5y+4z = 500\)
Answer 14.
\(x+1.5y+z = 150\)
Answer 15.
\(x+2y+3z = 230\)
Answer 16.
\(2x+3y+2z = 300\)
Answer 17.
\(y+5z = 190\)
Answer 18.
\(y+4z = 160\)
Answer 19.
\(z = 30\)
Answer 20.
\(\left(60,40,30\right)\)
Solution.
Assembly time: \(3*x+5*y+4*z = 500\) \((1)\)
Painting time: \(x+1.5*y+z = 150\) \((2)\)
Finishing time: \(x+2*y+3*z = 230\) \((3)\)
Clear the fractions from the second equation.
\({2x+3y+2z = 300} \quad (2)\text{;}\) then:
\({y+5z = 190} \quad (4)\text{,}\)
\({y+4z = 160} \quad (5)\text{,}\)
\({z = 30} \quad (6)\)
\(x = 60\text{,}\) \(y = 40\text{,}\) \(z = 30\text{,}\) so the solution is \((60,40,30)\text{.}\)

Subsection Section Summary

Subsubsection Vocabulary

Look up the definitions of new terms in the Glossary.
  • Ordered triple
  • Gaussian reduction
  • Triangular form
  • Back-substitution

Subsubsection CONCEPTS

  1. The solution to a \(3\times 3\) linear system is an ordered triple.
  2. A \(3\times 3\) system in triangular form can be solved by back-substitution.
  3. Gaussian reduction is a generalized form of the elimination method that can be used to reduce a \(3\times 3\) linear system to triangular form.
  4. Steps for Solving a \(3\times 3\) Linear System.
    1. Clear each equation of fractions and put it in standard form.
    2. Choose two of the equations and eliminate one of the variables by forming a linear combination.
    3. Choose a different pair of equations and eliminate the same variable.
    4. Form a \(2\times 2\) system with the equations found in steps (2) and (3). Eliminate one of the variables from this \(2\times 2\) system by using a linear combination.
    5. Form a triangular system by choosing among the previous equations. Use back-substitution to solve the triangular system.
  5. \(3\times 3\) linear systems may be inconsistent or dependent.

Subsubsection STUDY QUESTIONS

  1. How can you check whether an ordered triple \((a, b, c)\) is a solution of a \(3\times 3\) system?
  2. In order to solve by back-substitution, does the shortest equation in a triangular system have to be at the bottom?
  3. After you have eliminated one variable from two of the equations in a \(3\times 3\) linear system, what is the next step?
  4. How would you start Gaussian reduction on a \(3\times 3\) linear system if the first equation has only two variables?

Subsubsection SKILLS

Practice each skill in the Homework problems listed.
  1. Solve a triangular system by back-substitution: #1–6
  2. Solve a \(3\times 3\) linear system by Gaussian reduction: #7–20
  3. Identify inconsistent and dependent systems: #21–30
  4. Write a solve a \(3\times 3\) linear system to solve an applied problem: #31–40

Exercises Homework 8.2

Exercise Group.

Use back-substitution to solve Problems 1–6.
1.
\(\begin{aligned}[t] x + y + z \amp = 2\\ 3y + z \amp = 5 \\ -4y \amp = -8 \end{aligned}\)
2.
\(\begin{alignedat}[t]{5} 2x \amp{}+{} \amp 3y\amp {}-{} \amp z\amp {}={} {-7}\\ \amp \amp y \amp {}-{} \amp 2z \amp {}={} {-6} \\ \amp \amp \amp \amp 5z \amp {}={} \ 15 \end{alignedat}\)
3.
\(\begin{aligned}[t] 2x - y - z \amp = 6\\ 5y + 3z \amp = -8 \\ 13y \amp = -13 \end{aligned}\)
4.
\(\begin{aligned}[t] x + y +z \amp = 1\\ x + 4y \amp = 1 \\ 3x \amp = 3 \end{aligned}\)
5.
\(\begin{aligned}[t] 2x + z \amp = 5\\ 3y + 2z \amp = 6 \\ 5x \amp = 20 \end{aligned}\)
6.
\(\begin{aligned}[t] 3x - y \amp = 6\\ x-2z \amp = -7 \\ 13x \amp = 13 \end{aligned}\)

Exercise Group.

Use Gaussian reduction to solve Problems 7–20.
7.
\(\begin{alignedat}[t]{5} x\amp{}+{}\amp y\amp{}+{}\amp z\amp{}={}0\\ 2x\amp{}-{}\amp 2y\amp{}+{}\amp z\amp{}={}8\\ 3x\amp{}+{}\amp 2y\amp {}+{}\amp z\amp{}={}2 \end{alignedat}\)
8.
\(\begin{alignedat}[t]{5} x\amp{}-{}\amp 2y\amp{}+{}\amp 4z\amp{}={}{-3}\\ 3x\amp{}+{}\amp y\amp{}-{}\amp 2z\amp{}={}12\\ 2x\amp{}+{}\amp y\amp {}-{}\amp 3z\amp{}={}11 \end{alignedat}\)
9.
\(\begin{aligned}[t] 4x + z \amp= 3\\ 2x - y \amp = 2\\ 3y + 2z \amp = 0 \end{aligned}\)
10.
\(\begin{aligned}[t] 3y + z \amp= 3\\ -2x + 3y \amp = 7\\ 3x + 2z \amp = -6 \end{aligned}\)
11.
\(\begin{alignedat}[t]{5} 2x \amp{}+{}\amp 3y\amp{}-{}\amp 2z\amp{}={}5\\ 3x \amp{}-{}\amp 2y\amp{}-{}\amp 5z\amp{}={}5\\ 5x \amp{}+{}\amp 2y\amp {}+{}\amp 3z\amp{}={}{-9} \end{alignedat}\)
12.
\(\begin{alignedat}[t]{5} 3x \amp{}-{}\amp 4y\amp{}+{}\amp 2z\amp{}={}20\\ 4x \amp{}+{}\amp 3y\amp{}-{}\amp 3z\amp{}={}{-4}\\ 2x \amp{}-{}\amp 5y\amp{}+{}\amp 5z\amp{}={}24 \end{alignedat}\)
13.
\(\begin{alignedat}[t]{5} 4x \amp{}+{}\amp 6y\amp{}+{}\amp 3z\amp{}={}{-3}\\ 2x \amp{}-{}\amp 3y\amp{}-{}\amp 2z\amp{}={}5\\ -6x \amp{}+{}\amp 6y\amp {}+{}\amp 2z\amp{}={}{-5} \end{alignedat}\)
14.
\(\begin{alignedat}[t]{5} 3x\amp{}+{}\amp 4y\amp{}+{}\amp 6z\amp{}={}2\\ -2x\amp{}+{}\amp 2y\amp{}-{}\amp 3z\amp{}={}1\\ 4x\amp{}-{}\amp 10y\amp{}+{}\amp 9z\amp{}={}0 \end{alignedat}\)
15.
\(\begin{alignedat}[t]{5} x\amp{}-{}\amp \dfrac{1}{2}y\amp{}-{}\amp \dfrac{1}{2}z\amp{}={}4\\ x\amp{}-{}\amp \dfrac{3}{2}y\amp{}-{}\amp 2z\amp{}={}3\\ \dfrac{1}{4}x\amp{}+{}\amp \dfrac{1}{4}y\amp {}-{}\amp \dfrac{1}{4}z\amp{}={}0 \end{alignedat}\)
16.
\(\begin{alignedat}[t]{5} x\amp{}+{}\amp 2y\amp{}-{}\amp \dfrac{1}{2}z\amp{}={}0\\ x\amp{}+{}\amp \dfrac{3}{5}y\amp{}-{}\amp \dfrac{2}{5}z\amp{}={}\dfrac{1}{5}\\ 4x\amp{}-{}\amp 7y\amp {}-{}\amp 7z\amp{}={}6 \end{alignedat}\)
17.
\(\begin{alignedat}[t]{5} x\amp{}+{}\amp y\amp{}-{}\amp z\amp{}={}2\\ \dfrac{1}{2} x\amp{}-{}\amp y\amp{}+{}\amp \dfrac{1}{2}z\amp{}={}{-\dfrac{1}{2}}\\ x\amp{}+{}\amp \dfrac{1}{3}y\amp {}-{}\amp \dfrac{2}{3}z\amp{}={}\dfrac{4}{3} \end{alignedat}\)
18.
\(\begin{alignedat}[t]{5} x\amp{}+{}\amp y\amp{}-{}\amp 2z\amp{}={}3\\ x\amp{}-{}\amp \dfrac{1}{3}y\amp{}+{}\amp \dfrac{1}{3}z\amp{}={}\dfrac{5}{3}\\ \dfrac{1}{2} x\amp{}-{}\amp \dfrac{1}{2}y\amp {}-{}\amp z\amp{}={}\dfrac{3}{2} \end{alignedat}\)
19.
\(\begin{aligned}[t] x\amp=-y\\ x+z\amp=\dfrac{5}{6}\\ y-2z\amp = -\dfrac{7}{6} \end{aligned}\)
20.
\(\begin{aligned}[t] x\amp=y+\dfrac{1}{2}\\ y\amp= z + \dfrac{5}{4}\\ 2z\amp = x -\dfrac{7}{4} \end{aligned}\)

Exercise Group.

Solve the systems in Problems 21–30. If the system is inconsistent or dependent, say so.
21.
\(\begin{alignedat}[t]{5} 3x\amp{}-{}\amp 2y\amp{}+{}\amp z\amp{}={}6\\ 2x\amp{}+{}\amp y\amp{}-{}\amp z\amp{}={}2\\ 4x\amp{}+{}\amp 2y\amp {}-{}\amp 2z\amp{}={}3 \end{alignedat}\)
22.
\(\begin{aligned}[t] x - 2y + z\amp=5\\ -x + y\amp= -2\\ y-z\amp = -3 \end{aligned}\)
23.
\(\begin{alignedat}[t]{5} 2x\amp{}+{}\amp 3y\amp{}-{}\amp z\amp{}={}{-2}\\ x\amp{}-{}\amp y\amp{}+{}\amp\dfrac{1}{2} z\amp{}={}2\\ 4x\amp{}-{}\amp\dfrac{1}{3}y\amp{}+{}\amp 2z\amp{}={}8 \end{alignedat}\)
24.
\(\begin{alignedat}[t]{5} 3x\amp{}+{}\amp 6y\amp{}+{}\amp 2z\amp{}={}{-2}\\ \dfrac{1}{2} x\amp{}-{}\amp 3y\amp{}-{}\amp z\amp{}={}1\\ 4x\amp{}+{}\amp y\amp{}+{}\amp \dfrac{1}{3}z\amp{}={}{-\dfrac{1}{3}} \end{alignedat}\)
25.
\(\begin{aligned}[t] x\amp= 2y - 7\\ y\amp= 4z + 3\\ z\amp = 3x + y \end{aligned}\)
26.
\(\begin{aligned}[t] x\amp= y + z\\ y\amp= 2x - z\\ z\amp = 3x - y \end{aligned}\)
27.
\(\begin{aligned}[t] \dfrac{1}{2}x+y\amp= \dfrac{1}{2}z\\ x-y \amp= -z-2\\ -x-2y\amp = -z+\dfrac{4}{3} \end{aligned}\)
28.
\(\begin{aligned}[t] x\amp= \dfrac{1}{2}y -\dfrac{1}{2} z+1\\ x\amp= 2y + z-1\\ x\amp= \dfrac{1}{2}y -\dfrac{1}{2} z+\dfrac{1}{4} \end{aligned}\)
29.
\(\begin{aligned}[t] x-y\amp= 0\\ 2x+2y+z \amp= 5\\ 2x+y-\dfrac{1}{2}z\amp = 0 \end{aligned}\)
30.
\(\begin{aligned}[t] x+y\amp= 1\\ 2x - y + z\amp= -1\\ x - 3y - z\amp= -\dfrac{2}{3} \end{aligned}\)

Exercise Group.

Solve Problems 31–40 by using a system of equations.
  1. Identify three unknown quantities and choose variables to represent them.
  2. If appropriate, make a table organizing the information in the problem.
  3. Write three equations about the variables in the problem.
  4. Solve the system and answer the question in the problem.
31.
A box contains $\(6.25\) in nickels, dimes, and quarters. There are \(85\) coins in all, with \(3\) times as many nickels as dimes. How many coins of each kind are there?
32.
Vanita has $\(446\) in \(10\)-dollar, \(5\)-dollar, and \(1\)-dollar bills. There are \(94\) bills in all, with \(10\) more \(5\)-dollar bills than \(10\)-dollar bills. How many bills of each kind does she have?
33.
The perimeter of a triangle is \(155\) inches. Side \(x\) is \(20\) inches shorter than side \(y\text{,}\) and side \(y\) is \(5\) inches longer than side \(z\text{.}\) Find the lengths of the sides of the triangle.
34.
One angle of a triangle measures \(10\degree\) more than a second angle, and the third angle is \(10\degree\) more than six times the measure of the smallest angle. Find the measure of each angle.
35.
Vegetable Medley is made of carrots, green beans, and cauliflower. The package says that \(1\) cup of Vegetable Medley provides \(29.4\) milligrams of vitamin C and \(47.4\) milligrams of calcium.
  • One cup of carrots contains \(9\) milligrams of vitamin C and \(48\) milligrams of calcium.
  • One cup of green beans contains \(15\) milligrams of vitamin C and \(63\) milligrams of calcium.
  • One cup of cauliflower contains \(69\) milligrams of vitamin C and \(26\) milligrams of calcium.
How much of each vegetable is in \(1\) cup of Vegetable Medley?
36.
The Java Shoppe sells a house brand of coffee that is only \(2.25\%\) caffeine for $\(6.60\) per pound. The house brand is a mixture of:
  • Colombian coffee that sells for $\(6\) per pound and is \(2\%\) caffeine,
  • French roast that sells for $\(7.60\) per pound and is \(4\%\) caffeine,
  • and Sumatran that sells for $\(6.80\) per pound and is \(1\%\) caffeine.
How much of each variety is in a pound of house brand?
37.
The ABC Psychological Testing Service offers three types of reports on test results: score only, evaluation, and narrative report.
  • Each score-only test takes \(3\) minutes to score using an optical scanner and \(1\) minute to print the interpretation.
  • Each evaluation takes \(3\) minutes to score, \(4\) minutes to analyze, and \(2\) minutes to print.
  • Each narrative report takes \(3\) minutes to score, \(5\) minutes to analyze, and \(8\) minutes to print.
If ABC Services uses its optical scanner \(7\) hours per day, has \(8\) hours in which to analyze results, and has \(12\) hours of printer time available per day, how many of each type of report can it complete each day when it is using all its resources?
38.
Reliable Auto Company wants to ship \(1700\) Status Sedans to three major dealers in Los Angeles, Chicago, and Miami. From past experience, Reliable figures that it will sell twice as many sedans in Los Angeles as in Chicago. It costs $\(230\) to ship a sedan to Los Angeles, $\(70\) to Chicago, and $\(160\) to Miami. If Reliable Auto has $\(292,000\) to pay for shipping costs, how many sedans should it ship to each city?
39.
Ace, Inc. produces three kinds of wooden rackets: tennis rackets, Ping-Pong paddles, and squash rackets. After the pieces are cut, each racket goes through three phases of production: gluing, sanding, and finishing.
  • A tennis racket takes \(3\) hours to glue, \(2\) hours to sand, and \(3\) hours to finish.
  • A Ping-Pong paddle takes \(1\) hour to glue, \(1\) hour to sand, and \(1\) hour to finish.
  • A squash racket takes \(2\) hours to glue, \(2\) hours to sand, and \(2\frac{1}{2} \) hours to finish.
Ace has available \(95\) labor-hours in its gluing department, \(75\) labor-hours in sanding, and \(100\) labor-hours in finishing per day. How many of each racket should it make in order to use all the available personnel?
40.
A farmer has \(1300\) acres on which to plant wheat, corn, and soybeans. The seed costs $\(6\) for an acre of wheat, $\(4\) for an acre of corn, and $\(5\) for an acre of soybeans. An acre of wheat requires \(5\) acre-feet of water during the growing season, while an acre of corn requires \(2\) acre-feet and an acre of soybeans requires \(3\) acre-feet. If the farmer has $\(6150\) to spend on seed and can count on \(3800\) acre-feet of water, how many acres of each crop should he plant in order to use all his resources?