It is often desirable or even necessary to use more than one variable to model situations in many fields. 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
Example 7:
Solve the following system of equations for x, y and z:
= | 20 | (1) | |
3x-5y+2z | = | 11 | (2) |
= | 7 | (3) | |
1) Substitution,
2) Elimination
3) Matrices
SUBSTITUTION:
The process of substitution involves several steps:
Step 1: Let's get rid of the fractions. We can do this by multiplying
both sides of equation (1) by 12, and both sides of equation (3) by 2.
= | 11 | ||
= | 11 | ||
= | 11 | ||
-13y-28z | = | -229 | |
13y+28z | = | 229 | (4) |
= | 14 | ||
= | 14 | ||
= | 42 | ||
1,200-40y-150z+18y-90z | = | 42 | |
-22y-240z | = | -1,158 | |
11y+120z | = | 579 | (5) |
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 z first.
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
Step 2: We work with column 1 first. We would like the number 1 in
cell 11(Row1-Col 1). We can achieve this by multiplying Row 1 by
.
If you would like to test yourself by working some problem similar to this example, click on Problem.