Solving systems of three equations with substitution

Systems of equations with three variables are only slightly more complicated to solve than those with two variables. The two most straightforward methods of solving these types of equations are by elimination and by using 3 × 3 matrices.

To use elimination to solve a system of three equations with three variables, follow this procedure:

  1. Write all the equations in standard form cleared of decimals or fractions.
  2. Choose a variable to eliminate; then choose any two of the three equations and eliminate the chosen variable.
  3. Select a different set of two equations and eliminate the same variable as in Step 2.
  4. Solve the two equations from steps 2 and 3 for the two variables they contain.
  5. Substitute the answers from Step 4 into any equation involving the remaining variable.
  6. Check the solution with all three original equations.

Example 1

Solve this system of equations using elimination.

Solving systems of three equations with substitution

All the equations are already in the required form.

Choose a variable to eliminate, say x, and select two equations with which to eliminate it, say equations (1) and (2). 

Solving systems of three equations with substitution

Select a different set of two equations, say equations (2) and (3), and eliminate the same variable.

Solving systems of three equations with substitution

Solve the system created by equations (4) and (5).

Solving systems of three equations with substitution

Now, substitute z = 3 into equation (4) to find y. 

Solving systems of three equations with substitution

Use the answers from Step 4 and substitute into any equation involving the remaining variable.

Using equation (2),

Solving systems of three equations with substitution

Check the solution in all three original equations.

Solving systems of three equations with substitution

Solving systems of three equations with substitution

Solving systems of three equations with substitution

The solution is x = –1, y = 2, z = 3. 

Example 2

Solve this system of equations using the elimination method.

Solving systems of three equations with substitution

Write all equations in standard form.

Solving systems of three equations with substitution

Notice that equation (1) already has the y eliminated. Therefore, use equations (2) and (3) to eliminate y. Then use this result, together with equation (1), to solve for x and z. Use these results and substitute into either equation (2) or (3) to find y. 

Solving systems of three equations with substitution

Solving systems of three equations with substitution

Substitute z = 3 into equation (1). 

Solving systems of three equations with substitution

Substitute x = 4 and z = 3 into equation (2). 

Solving systems of three equations with substitution

Use the original equations to check the solution (the check is left to you).

The solution is x = 4, y = –2, z = 3. 

How do you solve systems of equations using the substitution method?

Here's how it goes:.
Step 1: Solve one of the equations for one of the variables. Let's solve the first equation for y: ... .
Step 2: Substitute that equation into the other equation, and solve for x. ... .
Step 3: Substitute x = 4 x = 4 x=4 into one of the original equations, and solve for y..

How do you solve systems of equations with 3 variables by elimination?

To use elimination to solve a system of three equations with three variables, follow this procedure: Write all the equations in standard form cleared of decimals or fractions. Choose a variable to eliminate; then choose any two of the three equations and eliminate the chosen variable.