Solve Systems of Three Equations in Three Variables
Learning Objectives
- Determine whether an ordered triple is a solution to a system of three equations
- Use back substitution to find a solution to a system of three equations
- Write the equations for a system given a scenario, and solve
- Interchange the order of any two equations.
- Multiply both sides of an equation by a nonzero constant.
- Add a nonzero multiple of one equation to another equation.
A General Note: Number of Possible Solutions
The planes illustrate possible solution scenarios for three-by-three systems.- Systems that have a single solution are those which, after elimination, result in a solution set consisting of an ordered triple . Graphically, the ordered triple defines a point that is the intersection of three planes in space.
- Systems that have an infinite number of solutions are those which, after elimination, result in an expression that is always true, such as . Graphically, an infinite number of solutions represents a line or coincident plane that serves as the intersection of three planes in space.
- Systems that have no solution are those that, after elimination, result in a statement that is a contradiction, such as . Graphically, a system with no solution is represented by three planes with no point in common.


Example: Determining Whether an Ordered Triple Is a Solution to a System
Determine whether the ordered triple is a solution to the system.
Answer: We will check each equation by substituting in the values of the ordered triple for , and .
The ordered triple is indeed a solution to the system.
How To: Given a linear system of three equations, solve for three unknowns.
- Pick any pair of equations and solve for one variable.
- Pick another pair of equations and solve for the same variable.
- You have created a system of two equations in two unknowns. Solve the resulting two-by-two system.
- Back-substitute known variables into any one of the original equations and solve for the missing variable.
Example: Solving a System of Three Equations in Three Variables by Elimination
Find a solution to the following system:
Answer: There will always be several choices as to where to begin, but the most obvious first step here is to eliminate by adding equations (1) and (2).
The second step is multiplying equation (1) by and adding the result to equation (3). These two steps will eliminate the variable .
\begin{array} \hfill−2x+4y−6z=−18 \hfill& \left(1\right)\text{ multiplied by }−2 \\ 2x−5y+5z=17 \hfill& \left(3\right) \\ \text{_____________________________} \\ \hfill−y−z=−1\left(5\right)\hfill& \end{array}
In equations (4) and (5), we have created a new two-by-two system. We can solve for by adding the two equations.Choosing one equation from each new system, we obtain the upper triangular form:
Next, we back-substitute into equation (4) and solve for .
Finally, we can back-substitute and into equation (1). This will yield the solution for .
The solution is the ordered triple .

Try It
Solve the system of equations in three variables.
Answer:
Example: Solving a Real-World Problem Using a System of Three Equations in Three Variables
In the problem posed at the beginning of the section, John invested his inheritance of $12,000 in three different funds: part in a money-market fund paying 3% interest annually; part in municipal bonds paying 4% annually; and the rest in mutual funds paying 7% annually. John invested $4,000 more in mutual funds than he invested in municipal bonds. The total interest earned in one year was $670. How much did he invest in each type of fund?Answer: To solve this problem, we use all of the information given and set up three equations. First, we assign a variable to each of the three investment amounts:
The first equation indicates that the sum of the three principal amounts is $12,000.
We form the second equation according to the information that John invested $4,000 more in mutual funds than he invested in municipal bonds.
The third equation shows that the total amount of interest earned from each fund equals $670.
Then, we write the three equations as a system.
To make the calculations simpler, we can multiply the third equation by 100. Thus,
Step 1. Interchange equation (2) and equation (3) so that the two equations with three variables will line up.
Step 2. Multiply equation (1) by and add to equation (2). Write the result as row 2.
Step 3. Add equation (2) to equation (3) and write the result as equation (3).
Step 4. Solve for in equation (3). Back-substitute that value in equation (2) and solve for . Then, back-substitute the values for and into equation (1) and solve for .
John invested $2,000 in a money-market fund, $3,000 in municipal bonds, and $7,000 in mutual funds.