Functions: Lines and linear functions
Solving systems of equations by addition
A general method of solving two linear equations with two unknowns is by eliminating one unknown. Here we discuss a method that is also suitable for larger systems of linear equations, with more unknowns.
The goal is to give the first equation the form and the second equation the form .
- The strategy is to edit the equations in such a way that the new system will be equivalent to the old;
- the new system looks more like a solution than the old one.
Steps that will occur are multiplying all terms in the same equation by the same non-zero number and subtracting one equation from the other.
The addition method for linear equations
A system of two linear equations with unknowns and can be solved as follows.
- Make sure occurs in the first equation: if this is not the case, then switch the two equations; this way, will occur in the first equation.
- Replace the second equation by the difference of this equation with a suitable multiple of the first equation, in such a way that no longer occurs in the second equation.
- Replace the first equation by the difference of this equation with a suitable multiple of the second equation in such a way that no longer occurs in the first equation.
- The first equation is now a linear equation with as the only unknown, and the second is a linear equation with as the only unknown. These equations can be solved with the theory of linear equations with one unknown.
For the system it is assumed that and really occur in the system.
- If only occurs, then we are dealing with a system of equations with one unknown which has been dealt with earlier. For each solution of that system, and every real number , we have the solution to the system (and these are all solutions).
- If only occurs, then the same observations hold, with and interchanged.
- If both and do not occur, then each pair is a solution if all equations are satisfied (think of ), and not a single pair is a solution if at least one of the equations is a contradiction (like ).
Solving by addition
This method is known as the addition method.
After all, you mostly add a multiple of one equation to another.
It may be that after the second step, the second equation becomes true (if ) or a contraction (if ) because not only but also disappears. In that case, the solution is a line given by the first equation.
There are many ways to get to this solution. We will describe one.
- To make sure that the unknown is present in the first equation, we switch the two equations if this was not the case in the original system: .
- Next we get rid of the term with from the second equation by multiplying the first equation with and subtracting from the second: .
- By dividing (left and right hand side) in the second equation by we find . We now have the system .
- If we enter the solution of (the second equation) in the first equation (or stated different: we subtract times the second equation from the first), then we find the system: .
- The first equation can be solved as discussed in in Solving by reduction of a linear equation with one unknown. The result is .
Or visit omptest.org if jou are taking an OMPT exam.