### Learning Outcomes

- 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.

In order to solve systems of equations in three variables, known as three-by-three systems, the primary goal is to eliminate one variable at a time to achieve back-substitution. A solution to a system of three equations in three variables [latex]\left(x,y,z\right),\text{}[/latex] is called an **ordered triple**.

To find a solution, we can perform the following operations:

- 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.

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.

### 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 [latex]\left\{\left(x,y,z\right)\right\}[/latex]. 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 [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.
- 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.

### Example: Determining Whether an Ordered Triple Is a Solution to a System

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]

### 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:

[latex]\begin{align}x - 2y+3z=9& &\text{(1)} \\ -x+3y-z=-6& &\text{(2)} \\ 2x - 5y+5z=17& &\text{(3)} \end{align}[/latex]

### Try It

Solve the system of equations in three variables.

[latex]\begin{array}{l}2x+y - 2z=-1\hfill \\ 3x - 3y-z=5\hfill \\ x - 2y+3z=6\hfill \end{array}[/latex]

In the following video, you will see a visual representation of the three possible outcomes for solutions to a system of equations in three variables. There is also a worked example of solving a system using elimination.

### 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?

### Try It