Systems of linear equations: Basic concepts and methods
Solving a linear equation with several unknowns
In the same way as we previously described the general solution of a linear equation with a single unknown, we can also solve a linear equation with two or more unknowns; it is only a matter of selecting unknowns for their roles as temporary parameters.
First, we discuss equations with two unknowns.
Solving the linear equation with two unknowns The linear equation , with unknown and where , , and are numbers of parameters, are numbers or parameters, can be solved in the following two ways:
- Viewing as a temporary parameter we solve the linear equation with unknown , and conclude that . This is possible if only if ; therefore the solutions are all pairs of the form . Here, the role of as a parameter becomes clear: for each value of there is exactly one solution.
- Viewing as a temporary parameter we solve the linear equation with unknown , and conclude that . This is possible if and only if ; therefore, the solutions are all pairs of the form . Here, the role of as a parameter becomes clear: for each value of there is exactly one solution.
If both and , then there is overlap between the first and second case. Each of the two provides a way to describe the set of solutions. The former does so by viewing as a function of , the latter by viewing as a function of . Exclusively for the first case, the vertical line for occurs, and for the second case, the horizontal line for occurs.
We proceed as in solving a linear equation with unknown . Thus, we consider as a parameter.
Remains the general case.
Isolating an unknown in a linear equation with unknowns Consider the linear equation
- Suppose that the coefficient of one of the unknowns is distinct from zero, say ; then the unknown can be isolated by viewing all the other unknowns as temporary parameters:
- If all coefficients are zero, there remain two cases:
- if , then each list of numbers is a solution;
- if , then there is no solution