The method of solving "by substitution" works by solving one of the equations (you choose which one) for one of the variables (you choose which one), and then plugging this back into the other equation, "substituting" for the chosen variable and solving for the other. Then you back-solve for the first variable.Here is how it works. (I'll use the same systems as were in a previous page.)Solve the following system by substitution.2x – 3y = –2
4x +   y = 24
The idea here is to solve one of the equations for one of the variables, and plug this into the other equation. It does not matter which equation or which variable you pick. There is no right or wrong choice; the answer will be the same, regardless. But — some choices may be better than others.For instance, in this case, can you see that it would probably be simplest to solve the second equation for "y =", since there is already a y floating around loose in the middle there? I could solve the first equation for either variable, but I'd get fractions, and solving the second equation for x would also give me fractions. It wouldn't be "wrong" to make a different choice, but it would probably be more difficult. Being lazy, I'll solve the second equation for y:4x + y = 24
y = –4x + 24
Now I'll plug this in ("substitute it") for "y" in the first equation, and solve for x:2x – 3(–4x + 24) = –2
2x + 12x – 72 = –2
14x = 70
x = 5