## SYSTEMS OF EQUATIONS in THREE VARIABLES

It is often desirable or even necessary to use more than one variable to model a situation in many fields. When this is the case, we write and solve a system of equations in order to answer questions about the situation.

If a system of linear equations has at least one solution, it is consistent. If the system has no solutions, it is inconsistent. If the system has an infinity number of solutions, it is dependent. Otherwise it is independent.

A linear equation in three variables describes a plane and is an equation equivalent to the equation

where A, B, C, and D are real numbers and A, B, C, and D are not all 0.

Problem 3.1e:

Solve the following system of equations for x, y and z:

 7x+5y-3z = 16 (1) 3x-5y+2z = -8 (2) 5x+3y-7z = 0 (3)

Solution:

We are going to show you how to solve this system of equations three different ways:

1)        Substitution, 2)        Elimination 3)        Matrices

SUBSTITUTION:

The process of substitution involves several steps:

Step 1:        Solve for one of the variables in one of the equations. It makes no difference which equation and which variable you choose. Let's solve for x in equation (1).

Step 2:        Substitute this value for x in equations (2) and (3). This will change equations (2) and (3) to equations in the two variables y and z. Call the changed equations (4) and (5), respectively.
 3x-5y+2z = -8 = -8 = = -56 9z-15y+48-35y+14z = -56 -50y+23z = -104 50y-23z = 104 (4) 5x+3y-7z = 0 = 0 = = 0 15z-25y+80+21y-49z = 0 -4y-34z = -80 2y+17z = 40 (5)

Step 3:        Solve for y in equation (5).
 2y+17z = 40 y = (6)

Step 4:        Substitute this value of y in equation (4). This will give you an equation in z. Solve for z.

Step 5:        Substitute this value of z in equation (6) and solve for y.

Step 7:        Substitute 3 for y and 2 for z in equation (1) and solve for x.

The solution is: and z=2.

Step 8:        Check the solutions:

ELIMINATION:

The process of elimination involves several steps: First you reduce three equations to two equations with two variables, and then to one equation with one variable.

Step 1:        Decide which variable you will eliminate. It makes no difference which one you choose. Let us eliminate y first.

Step 2:        Add equation (1) to equation (2) to form Equation (4). Add 3 times equation (2) to 5 times equation (3) to form equation (5).

Step :        We now have two equations with two variables.

Step 4:        Multiply both sides of equation (4) by -29 and add the transformed equation (4) to equation (5) to create equation (6) with just one variable.

Step 5:        Solve for x in equation (5).

Step 6:        Substitute 1 for x in equation (5) and solve for z.

Step 7:        Substitute 1 for x and 2 for z in equation (1) and solve for y.

The solution is: and z=2.

MATRICES:

The process of using matrices is essentially a shortcut of the process of elimination. Each row of the matrix represents an equation and each column represents coefficients of one of the variables.

Step 1: Create a three-row by four-column matrix using coefficients and the constant of each equation.

The vertical lines in the matrix stands for the equal signs between both sides of each equation. The first column contains the coefficients of x, the second column contains the coefficients of y, the third column contains the coefficients of z, and the last column contains the constants.

We want to convert the original matrix

to the following matrix.

Because then you can read the matrix as x=a, y=b, and z=c..

Step 2:        We work with column 1 first. Multiply Row 1 by to form a new Row 1.

Step 3:        We will now complete with column 1. We want zeros in Cell 21 and Cell 31. We achieve this by adding -3 times Row 1 to Row 2 to form a new Row 2 and, by adding -5 times Row 1 to Row 3 to form a new Row 3.

Step 4:        Let's now work with column 2.We want the number 1 in Cell 22. We do this by multiplying row 2 by to form a new row 2.

Step 5:        To complete our work with Row 2 we want zeros in cell 12 and cell 32. We achieve this by adding times Row 2 to Row 1 for a new Row 1, and adding times Row 2 to Row 3 for a new Row 3.

Step 6:        Let's now work the Column 3. We first want the number 1 in Cell 33. We can do this by multiplying Row 3 by to form a new Row 3.

Step 6:        Let's now put zeros in Cell 13 and Cell 33. We do this by adding times Row 3 to Row 1 to form a new Row 1, and by adding times Row 3 to Row 2 to form a new Row 2.

The solution can now be ready off the last matrix: and z=2.

If you would like to go back to the problem page, click on Problem.

If you would like to review the solution to the next problem, click on Problem

If you would like to return to the beginning of the three by three system of equations, click on Example.

This site was built to accommodate the needs of students. The topics and problems are what students ask for. We ask students to help in the editing so that future viewers will access a cleaner site. If you feel that some of the material in this section is ambiguous or needs more clarification, or if you find a mistake, please let us know by e-mail at sosmath.com.

[Two--Variable Systems] [Three-Variable Systems]
[Algebra] [Geometry] [Trigonometry ]

Do you need more help? Please post your question on our S.O.S. Mathematics CyberBoard.

Author: Nancy Marcus