The addition method is a method for solving systems of equations.
To solve a system of equations using the addition method, the equations or their multiples are added or subtracted until there is only one variable in each equation.
Procedure with examples
System of equations with two variables and two equations
II−IIII−4a3a+−3b6b==63
A variable is selected and the least common multiple (lcm) of the coefficients is determined. Here b is chosen and calculated:
lcm(3;6)=6
Now the equations must be multiplied so that the coefficients of the variable in both equations are equal to the lcm.
In this case: the first equation is multiplied by 2.
2⋅I→I′II−I→′II−8a3a+−6b6b==123
Now the equations are added (or subtracted) from each other to eliminate the selected variable.
In this case: Equations I′ and II are added.
I′II+I′→II′−8a3a−6b−8a+6b+6b=12=3+12
I′II−I→II′−8a−5a+6b==1215
Now a is the only variable in the second equation. It is solved for a.
I′II−I→II′−8aa+6b==12−3
The value for b is still missing. Since it is known that a=−3, the value is put into I′ and the equation is solved for b.
a in I′→I′′−8⋅(−3)+6b=12
II−I′→I′′I′′I′′24+6b6bb===12−12−2∣−24∣:6
The values of a and b are a=−3,b=−2. The values are written into a tuple. The solution set is:
L={(−3;−2)}
System of equations with three variables and three equations
III2⋅IIII′→III2aa3a+−−3bb2b−++c2c3c===1138
As above, one selects a variable and finds the least common multiple of the coefficients. Here a is chosen and the lcm is calculated:
lcm(1;2;3)=6
Now the equations are multiplied so that the coefficients of the variable in all equations are equal to [lcm]().
In this case: the first equation is multiplied by 3, the second by 6, the third by 2.
3⋅I→I′6⋅II→II′2⋅III→III′6a6a6a+−−9b6b4b−++3c12c6c===331816
Now the equations are added (or subtracted) from each other to eliminate the chosen variable.
In this case: Equation I′ is subtracted from II′ and from III′.
I′II′−I′→II′′III′−I′→III′′6a6a−6a6a−6a+−−9b6b−9b4b−9b−++3c12c−(−3c)6c−(−3c)===3318−3316−33
I′II′−I′→II′′III′−I′→III′′6a6a−6a6a−6a+−−9b6b−9b4b−9b−++3c12c−(−3c)6c−(−3c)===3318−3316−33
Now II′′ and III′′ form a system of equations with two unknowns. This new system of equations is solved as described above and it yields:
b=2;c=1.
These two values are then substituted into I′ and solved for a.
b and c in I′→I′′6a+9⋅2−3⋅16a+156aa====3333183∣−15∣:6
The values of a, b and c are a=3,b=2;c=1. They are written into a tuple. The solution set is:
L={(3;2;1)}