How do you solve #4x + y = -9# and #3x + 7y = 37#?
Solve one equation for x in terms of y, then substitute in the result for x in the second equation. Solve second equation for y, then plug in the value for y into either equation to solve for x.
x = -4 y = 7
If we wished to do so here, we could multiply equation 2 by 4/3, and subtract the result from equation 1 (or subtract equation 1 from the result). However, that will require substantial dealing with fractions. The below method should help us avoid some of that.
a) Solve either equation for one variable.
In this case, the easiest way to do this is to solve (1) for
b) Plug the solution for y into the other equation.
Since from (a) we have
c) Now that we have a solution for x, we can plug it into either of our initial equations (or into our revised version of equation 1, which put y in terms of x) to obtain a value for y. Below we use the revised equation 1 for simplicity's sake.
Thus our solution is