It is often desirable or even necessary to use more than one variable to model a situation in a field such as business, science, psychology, engineering, education, and sociology, to name a few. 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 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. This is the equation of a plane.

**Example 5:**

Joe Avalos has taken three exams in precalculus this semester. His average
grade is 84. The highest grade is 18 points more than the average of the two
lowers grades, and his lowest grade is 15 points less than the average of
the two higher grades. What did he make on each exam?

There are three unknowns:

Let's rewrite the paragraph that asks the question we are to answer.

The first sentence can be rewritten as

The second sentence can be rewritten as

The third sentence can be rewritten as

.

It is going to get boring if we keep repeating the phrases

Let's create a shortcut by letting symbols represent these phrases. Let

in the three sentences, and then rewrite them.

The first sentence

can now be written in the algebraic form

The second sentence

can now be written in the algebraic form

The third sentence

can now be written in the algebraic form

We have converted the problem from one described by words to one that is
described by three equations.

L+M+H |
= | 252 | (1) |

2H-L-M |
= | 36 | (2) |

M+H-2L |
= | 30 | (3) |

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 *L* in equation (1).

Step 2: Substitute this value for

2H-L-M |
= | 36 | |

= | 36 | ||

2H+M+H-252-M |
= | 36 | |

3H-252 |
= | 36 | |

3H |
= | 288 | |

H |
= | 96 | (4) |

= | 30 | ||

M+H+2M+2H-504 |
= | 30 | |

3M+3H |
= | 534 | |

M+H |
= | 178 | (5) |

Step 3: Substitute

Step 4: Substitute 96 for

The solution: Joe's lowest grade was 74, his middle grade was 82, and his highest grade was 96. Step 5: Check the solutions:

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 *M* first..

Step 2: Add equations (1) and (2) to form equation (4).

Step 3: Add equations (2) and (3) to form equation (5).

Step 4: We now have two equations with two variables.

Step 5: Substitute 74 for

The solution is: and

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 *L*,
the second column contains the coefficients of *M*, the third column
contains the coefficients of *H*, 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

Step 2: We work with column 1 first. The number 1 is already in cell
11(Row1-Col 1). Add Row 1 to Row 2 to form a new Row 2, and add 2 times
Row 1 to Row 3 to form a new Row 3..

Step 3: We will now work with column 2. We want 1 in Cell 22, and we achieve this by interchaning Row 2 and Row 3.

Step 4: Multiply Row 2 by to form a new Row 2..

Step 5: Let's now manipulate the matrix so that there are zeros in Cell 12 and Cell 32. We do this by adding -1 times Row 2 to Row 1 to form a new Row 1.

Step 6: Let's now manipulate the matrix so that there is a 1 in Cell 33. We do this by multiplying Row 3 by

Step 7: Let's now manipulate the matrix so that there are zeros in Cell 13 and Cell 23. We do this by adding -1 times Row 3 to Row 2 for a new Row 2.

If you would like to work a similar example, click on
**Example**.

If you would like to test yourself by working some problem similar to this example, click on
**Problem**.

**
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.**

*
*

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

**Author**: Nancy Marcus

Contact us

Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA

users online during the last hour