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
Example 6:
Solve the following system of equations for x, y and z:
2x+y-3z | = | 1 | (1) |
x-4y+z | = | 6 | (2) |
4x-7y-z | = | 13 | (3) |
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 to choose. Let's solve
for x in equation (2).
2x+y-3z | = | 1 | |
= | 1 | ||
8y-2z+12+y-3z | = | 1 | |
9y-5z | = | -11 | (4) |
4x-7y-z | = | 13 | |
= | 13 | ||
16y-4z+24-7y-z | = | 13 | |
9y-5z | = | -11 | (5) |
Step 4: Solve for y in equation (4).
2x+y-3z | = | 1 | (6) |
= | |||
= | (7) | ||
= | 13 | (8) | |
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.
Solve for y in equation (5).
= | (9) | ||
= | (10) | ||
= | (11) | ||
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 interchanging Rows 1 and 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.