## Solve Systems of Three Equations in Three Variables

### 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 $\left(x,y,z\right),\text{}$ is called an ordered triple.

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

1. Interchange the order of any two equations.
2. Multiply both sides of an equation by a nonzero constant.
3. 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 $\left\{\left(x,y,z\right)\right\}$. 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 $0=0$. 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 $3=0$. Graphically, a system with no solution is represented by three planes with no point in common.

(a)Three planes intersect at a single point, representing a three-by-three system with a single solution. (b) Three planes intersect in a line, representing a three-by-three system with infinite solutions.

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

Determine whether the ordered triple $\left(3,-2,1\right)$ is a solution to the system.

$\begin{array}{l}\text{ }x+y+z=2\hfill \\ 6x - 4y+5z=31\hfill \\ 5x+2y+2z=13\hfill \end{array}$

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

### Example: Solving a System of Three Equations in Three Variables by Elimination

Find a solution to the following system:

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

### Try It

Solve the system of equations in three variables.

$\begin{array}{l}2x+y - 2z=-1\hfill \\ 3x - 3y-z=5\hfill \\ x - 2y+3z=6\hfill \end{array}$

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?

## Contribute!

Did you have an idea for improving this content? We’d love your input.