# 3.12: Solving Linear Systems in Three Variables

You want to make a fruit salad for a summer picnic. Three pounds of strawberries plus five pounds of grapes plus one pound of melon cost $20. Three pounds of strawberries plus two pounds of grapes plus two pounds of melon cost $21. Four pounds of strawberries plus three pounds of grapes plus three pounds of melon cost $30. How much does each fruit cost?

### Guidance

An equation in three variables, such as , is an equation of a plane in three dimensions. In other words, this equation expresses the relationship between the three coordinates of each point on a plane. The solution to a system of three equations in three variables is a point in space which satisfies all three equations. When we add a third dimension we use the variable, , for the third coordinate. For example, the point (3, -2, 5) would be and . A solution can be verified by substituting the and values into the equations to see if they are valid.

A system of three equations in three variables consists of three planes in space. These planes could intersect with each other or not as shown in the diagrams below.

- In the first diagram, the three planes intersect at a single point and thus a unique solution exists and can be found.
- The second diagram illustrates one way that three planes can exist and there is no solution to the system. It is also possible to have three parallel planes or two that are parallel and a third that intersects them. In any of these cases, there is no point that is in all three planes.
- The third diagram shows three planes intersecting in a line. Every point on this line is a solution to the system and thus there are infinite solutions.

To solve a system of three equations in three variables, we will be using the linear combination method. This time we will take two equations at a time to eliminate one variable and using the resulting equations in two variables to eliminate a second variable and solve for the third. This is just an extension of the linear combination procedure used to solve systems with two equations in two variables.

#### Example A

Determine whether the point, (6, -2, 5), is a solution to the system:

**
Solution:
**
In order for the point to be a solution to the system, it must satisfy each of the three equations.

First equation:

Second equation:

Third equation:

The point, (6, -2, 5), satisfies all three equations. Therefore, it is a solution to the system.

#### Example B

Solve the system using linear combinations:

**
Solution:
**
We can start by taking two equations at a time and eliminating the same variable. We can take the first two equations and eliminate
, then take the second and third equations and also eliminate
.

Result from equations 1 and 2:

Result from equations 2 and 3:

Now we have reduced our system to two equations in two variables. We can eliminate most easily next and solve for .

Now use this value to find :

Finally, we can go back to one of the original three equations and use our and values to find .

Therefore the solution is (5, -2, 3).

Don’t forget to check your answer by substituting the point into each equation.

Equation 1:

Equation 2:

Equation 3:

#### Example C

Solve the system using linear combinations:

**
Solution:
**
We can start by combining equations 1 and 2 together by multiplying the first equation by -5.

Since the result is a false equation, there is no solution to the system. If you end up with 0 = 0, then there will be infinitely many solutions.

**
Intro Problem Revisit
**
The system of linear equations represented by this situation is:

The easiest way to solve this system is to first solve
for
*
m
*
. If we do so, we get:

Now we can substitute this value for
*
m
*
into the other two equations. When we do so we get a new system of linear equations:

Simplifying both equations results in:

If we multiply the first of these equations by –2, we get the new system of equations:

Now we can add these two equations to eliminate the
*
s
*
variable. When we do so, we get
*
g
*
= 2.

Next, we can substitute this value of
*
g
*
into either of these two equations to get the value of
*
s
*
:

results in
*
s
*
= 3.

Finally we subsitute these values for
*
g
*
and
*
s
*
into one of our original equations.

results in
*
m
*
= 4

Therefore, strawberries cost $3 per pound, grapes cost $2 per pound, and melon costs $4 per pound.

### Guided Practice

1. Is the point, (-3, 2, 1), a solution to the system:

2. Solve the following system using linear combinations:

3. Solve the following system using linear combinations:

#### Answers

1. Check to see if the point satisfies all three equations.

Equation 1:

Equation 2:

Equation 3:

Since the third equation is not satisfied by the point, the point is not a solution to the system.

2. Combine the first and second equations to eliminate . Then combine the first and third equations to eliminate .

Result from equations 1 and 2:

Result from equations 1 and 3:

Now we have reduced our system to two equations in two variables. We can eliminate most easily next and solve for .

Now find :

Finally, we can go back to one of the original three equations and use our and values to find .

Therefore the solution is (-1, 0, 4).

Don’t forget to check your answer by substituting the point into each equation.

Equation 1:

Equation 2:

Equation 3:

3. Combine equations 1 and two to eliminate . Then combine equations 2 and 3 to eliminate .

Result from equations 1 and 2:

Result from equations 2 and 3:

Now we have reduced our system to two equations in two variables. Now we can combine these two equations and attempt to eliminate another variable.

Since the result is a false equation, there is no solution to the system.

### Practice

- Is the point, (2, -3, 5), the solution to the system:

- Is the point, (-1, 3, 8), the solution to the system:

- Is the point, (0, 3, 5), the solution to the system:

- Is the point, (1, -1, 1), the solution to the system:

Solve the following systems in three variables using linear combinations.

### Image Attributions

## Description

## Learning Objectives

Here you will identify solutions to and solve linear systems in three variables.

## Difficulty Level:

At Grade## Tags:

## Categories:

## Concept Nodes:

## Date Created:

Mar 12, 2013## Last Modified:

Feb 23, 2014## Vocabulary

# We need you!

At the moment, we do not have exercises for **Solving Linear Systems in Three Variables**.