Algebra
Textbooks
Boundless Algebra
Systems of Equations
Systems of Equations in Three Variables
Algebra Textbooks Boundless Algebra Systems of Equations Systems of Equations in Three Variables
Algebra Textbooks Boundless Algebra Systems of Equations
Algebra Textbooks Boundless Algebra
Algebra Textbooks
Algebra
Concept Version 10
Created by Boundless

Solving Systems of Equations in Three Variables

A system of equations in three variables involves two or more equations, each of which contains between one and three variables.

Learning Objective

  • Solve a system of equations in three variables, differentiating between systems that have no solutions and ones that have infinitely many solutions


Key Points

    • In a system of equations in three variables, you can have one or more equations, each of which may contain one or more of the three variables, usually x, y, and z. The introduction of the variable z means that the graphed functions now represent planes, rather than lines.
    • The substitution method involves solving for one of the variables in one of the equations, and plugging that into the rest of the equations to reduce the system. Repeat until there is a single equation left, and then using this equation, go backwards to solve the previous equations.
    • The graphical method involves graphing the system and finding the single point where the planes intersect.
    • The elimination method involves adding or subtracting multiples of one equation from the other equations, eliminating variables from each of the equations until one variable is left in each equation.

Terms

  • system of equations

    A set of equations with multiple variables which can be solved using a specific set of values.

  • system of equations in three variables

    A set of one or more equations, each of which may contain one ore more of the three variables usually x, y, and z.


Full Text

Systems of Equations in Three Variables

In mathematics, simultaneous equations are a set of equations containing multiple variables. This set is often referred to as a system of equations. A solution to a system of equations is a particular specification of the values of all variables that simultaneously satisfies all of the equations. Graphically, the solution is where the functions intersect.

In a system of equations in three variables, you can have one or more equations, each of which may contain one or more of the three variables, usually x, y, and z. The introduction of the variable z means that the graphed functions now represent planes, rather than lines. 

A Simple Example

This is a set of linear equations, also known as a linear system of equations, in three variables:

$\left\{\begin{matrix} 3x+2y-z=6\\ -2x+2y+z=3\\ x+y+z=4\\ \end{matrix}\right.$

The solution to this system of equations is:

 $\left\{\begin{matrix} x=1\\ y=2\\ z=1\\ \end{matrix}\right.$

Plug in these values to each of the equations to see that the solution satisfies all three of the equations.

Solving Systems of Equations in Three Variables

Graphical Method

The graphical method of solving a system of equations in three variables involves plotting the planes that are formed when graphing each equation in the system and then finding the intersection point of all three planes. The single point where all three planes intersect is the unique solution to the system.

System of linear equations

This images shows a system of three equations in three variables. The intersecting point (white dot) is the unique solution to this system.

Substitution Method

The substitution method of solving a system of equations in three variables involves identifying an equation that can be easily by written with a single variable as the subject (by solving the equation for that variable). Next, substitute that expression where that variable appears in the other two equations, thereby obtaining a smaller system with fewer variables. After that smaller system has been solved, whether by further application of the substitution method or by other methods, substitute the solutions found for the variables back into the first right-hand side expression.

For example, consider this system of equations:

$\left\{\begin{matrix} 3x+2y-z=6\\ -2x+2y+z=3\\ x+y+z=4\\ \end{matrix}\right.$

Since the coefficient of z is already 1 in the first equation, solve for z to get:

$z=3x+2y-6$

Substitute this expression for z into the other two equations:

$\left\{\begin{matrix} -2x+2y+(3x+2y-6)=3\\ x+y+(3x+2y-6)=4\\ \end{matrix}\right.$

This new system simplifies to:

$\left\{\begin{matrix} x+4y=9\\ 4x+3y=10\\ \end{matrix}\right.$

Now solving for x in the first equation, one gets: 

$x=9-4y$. 

Substitute this expression for x into the last equation in the system and solve for y:

$\displaystyle \begin{aligned} 4(9-4y)+3y &=10 \\36-16y+3y&=10 \\13y&=26 \\y&=2 \end{aligned} $

Now that you have the value of y, work back up the equation. Plug $y=2$ into the equation $x=9-4y$ to get $x=1$. 

Working up again, plug $(1,2)$ into the first substituted equation and solve for z: 

$\begin {aligned}z&=3x+2y-6 \\z&=(3 \cdot 1)+(2 \cdot 2) -6 \\z&=1 \end{aligned}$

Therefore, the solution to the system of equations is $(1,2,1)$.

Elimination Method

Elimination by judicious multiplication is the other commonly-used method to solve simultaneous linear equations. It uses the general principles that each side of an equation still equals the other when both sides are multiplied (or divided) by the same quantity, or when the same quantity is added (or subtracted) from both sides. 

As the equations grow simpler through the elimination of some variables, a variable will eventually appear in fully solvable form, and this value can then be "back-substituted" into previously derived equations by plugging this value in for the variable. Typically, each "back-substitution" can then allow another variable in the system to be solved.

Let's look at the following system:

$\left\{\begin{matrix} x+y+z=2\\ x-y+3z=4\\ 2x+2y+z=3\\ \end{matrix}\right.$

Using the elimination method, begin by subtracting the first equation from the second and simplifying:

$\displaystyle \begin{aligned} x-y+3z-(x+y+z)&=4-2 \\-2y+2z&=2 \end{aligned}$ 

We now have the following system of equations:

$\left\{\begin{matrix} x+y+z=2\\ -2y+2z=2\\ 2x+2y+z=3\\ \end{matrix}\right.$

Now subtract two times the first equation from the third equation to get

 $\begin {aligned}2x+2y+z-2(x+y+z)&=3-2(2) \\2x+2y+z-2x-2y-2z&=-1 \\z&=1 \end {aligned}$

Doing this shows the new system:

$\left\{\begin{matrix} x+y+z=2\\ -2y+2z=2\\ z=1\\ \end{matrix}\right.$

Next, subtract two times the third equation from the second equation and simplify:

$\begin {aligned} -2y+2z-2z&=2-2 \\y&=0 \end {aligned}$

Doing this shows the new system:

$\left\{\begin{matrix} x+y+z=2\\ y=0\\ z=1\\ \end{matrix}\right.$

Finally, subtract the third and second equation from the first equation to get 

$\begin {aligned} x+y+z-y-z&=2-0-1 \\x&=1 \end {aligned}$

The final, solved system, therefore, is:

$\left\{\begin{matrix} x=1\\ y=0\\ z=1\\ \end{matrix}\right.$

[ edit ]
Edit this content
Prev Concept
Applications of Systems of Equations
Inconsistent and Dependent Systems in Three Variables
Next Concept
Subjects
  • Accounting
  • Algebra
  • Art History
  • Biology
  • Business
  • Calculus
  • Chemistry
  • Communications
  • Economics
  • Finance
  • Management
  • Marketing
  • Microbiology
  • Physics
  • Physiology
  • Political Science
  • Psychology
  • Sociology
  • Statistics
  • U.S. History
  • World History
  • Writing

Except where noted, content and user contributions on this site are licensed under CC BY-SA 4.0 with attribution required.