# 3.12: Solving Linear Systems in Three Variables

**At Grade**Created by: CK-12

**Practice**Systems of Linear Equations 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.

Consistent

A system of equations is consistent if it has at least one solution.eliminating a variable

Eliminating the variable means making the coefficient of the variable equal to zero thereby removing that variable from that particular system and reducing the number of unknown quantities.Inconsistent

A system of equations is inconsistent if it has no solutions.linearly independent

Three equations are linearly independent if each equation cannot be produced by a linear combination of the other two. Systems that are linearly independent will have just one solution.scaling a row

Scaling a row means multiplying every coefficient in the row by any number you choose (besides zero). This can be helpful for getting coefficients to match so that they can be eliminated.system of equations

A system of equations is a set of two or more equations.### Image Attributions

## Description

## Learning Objectives

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