We are asked to determine whether or not a given system of linear equations is consistent and, if so, solve. The given system is included below.
−x1 + 2x2 − x3 + 4x4 | = | 2 |
x1 − 3x2 + 4x3 + x4 | = | 0 |
x1 + x3 − 2x4 | = | 1 |
A system of linear equations is consistent if and only if there is at least one solution. An overdetermined or underdetermined system of linear equations does not necessarily imply the system is inconsistent or consistent, respectively.
Further, any combination of switching two equations, multiplying any equation by a nonzero constant, or adding any multiple of one equation to another equation results in an equivalent system of linear equations, hence, one with the same solution set.
The given system has three equations in four unknowns and is underdetermined. Note that this does not necessarily imply the system is consistent.
To determine whether or not the system is consistent we apply a sequence of operations resulting in a simpler, but equivalent, system. First, we isolate an
x1
term with coefficient 1 in the first equation by applying appropriate operations. Then we eliminate the
x1
term in equations two and three.
Switching equations one and two results in a system with an
x1
term in the first equation with coefficient 1.
x1 − 3x2 + 4x3 + x4 | = | 0 |
−x1 + 2x2 − x3 + 4x4 | = | 2 |
x1 + x3 − 2x4 | = | 1 |
Adding equation one to equation two results in the system
x1 − 3x2 + 4x3 + x4 | = | 0 |
−x2 + 3x3 + 5x4 | = | 2 |
x1 + x3 − 2x4 | = | 1. |
Further, subtracting equation one from equation three results in the system
x1 − 3x2 + 4x3 + x4 | = | 0 |
−x2 + 3x3 + 5x4 | = | 2 |
3x2 − 3x3 − 3x4 | = | 1. |
Next, eliminate
x2
from equation three by adding three times equation two to equation three.
x1 − 3x2 + 4x3 + x4 | = | 0 |
−x2 + 3x3 + 5x4 | = | 2 |
6x3 + 12x4 | = | 7 |
Note that
x4
can be treated as a free variable and moved to the right-hand side of each equation.
x1 − 3x2 + 4x3 | = | −x4 |
−x2 + 3x3 | = | 2 − 5x4 |
6x3 | = | 7 − 12x4 |
Using
α as a parameter that represents values of
x4,
each of
x1,
x2,
and
x3
can be solved in terms of
α.
x1 − 3x2 + 4x3 | = | −α |
−x2 + 3x3 | = | 2 − 5α |
6x3 | = | 7 − 12α |
First,
Plugging the value of
x3
into the second equation
x2
can be solved in terms of
α.
−x2 + 3x3 | = | 2 − 5α |
−x2 + 3 − 2α | = | 2 − 5α |
x2 | = | − 6α − 2 + 5α |
x2 | = | − α |
Lastly, using the values of
x2
and
x3
in terms of
α in equation one, the value of
x1
can be expressed in terms of
α.
x1 − 3x2 + 4x3 | = | −α |
x1 − 3 − α + 4 − 2α | = | −α |
x1 − + 3α + − 8α | = | −α |
x1 + − 5α | = | −α |
x1 | = | − + 4α |
Therefore,
−x1 + 2x2 − x3 + 4x4 | = | 2 |
x1 − 3x2 + 4x3 + x4 | = | 0 |
x1 + x3 − 2x4 | = | 1 |
is consistent with infinitely many solutions, which can be expressed in terms of a parameter
α,
(
x1,
x2,
x3,
x4) =
− + 4
α,
− α,
− 2
α,
α.