This is one of the ways in which linear-quadratic systems often differ from just linear ones. We often get two solutions. What happens now is we have to solve for y using each value of x separately. But once we substitute, the procedure is the same as we are used to for the linear systems. If x=2, then using the equation y=x+5 gives
y=x+5=2+5=7
Thus (2,7) is one solution of the system. If on the other hand x=−6, then we can use y=x+5 again, but this time it gives us
y=x+5=−6+5=−1
So our other solution is (−6,1).
It so turns out that any system of the form
yy=f(x)=g(x)
where f is quadratic and g is linear can be tackled with this technique. However, the quadratic equation in x that results can't always be factored, and it might not even have solutions. If there are no solutions then we stop, just like in the linear problems.
Let's look at another system.
y+6(y+3)2=x=x2−2x−20
The way we chose which variable to eliminate in the first problem was based on which variable only had linear terms appearing in the system. The problem is, y,y2,x, and x2 all appear in this system (we have to expand (y+3)2 to have a y2 term, but it's there in disguise). So we can't just use the same technique. We can still do an elimination, but it's going to be trickier to identify. We have to eliminate both linear and quadratic terms of the same variable, which will be done in steps.
One option is to leave the x2 alone and focus on eliminating the linear x terms. Multiply the first equation by 2 and our system becomes
2y+12(y+3)2=2x=x2−2x−20.
Now if we add the two equations, the 2x terms cancel out, leaving
2y+12+(y+3)2=x2−20.
This equation still has two variables, which is worrisome. There's a pretty cheeky way around this, though. We have found a third equation that is true and is "closer" to eliminating a variable than the second equation was. So now we look at the system
y+62y+12+(y+3)2=x=x2−20
We need to make an x2 term appear in the first equation so we can get rid of the one in our new second equation. This can be done by squaring both sides of the first equation, which gives
(y+6)2=x2
As a result we're looking to compare the equations
(y+6)22y+12+(y+3)2=x2=x2−20.
We can subtract the second of these equations from the first, removing the last instances of x2.
(y+6)2−2y−12−(y+3)2=20.
This is just a one-variable equation now; it just took two eliminations to get there: one of x, and one of x2. Let's expand the squares and combine like terms.
(y+6)2−2y−12−(y+3)2y2+12y+36−2y−12−y2−6y−912y+36−2y−12−6y−910y+36−12−6y−910y+24−6y−94y+24−94y+154yy=20⇒=20⇒=20⇒=20⇒=20⇒=20⇒=20⇒=5⇒=45
We only have one solution for y. This is because as soon as we got an equation only involving y, the y2 terms cancelled out with each other. So we don't need to worry, we just need to find one value of x.
One of our original equations was
y+6=x
We can use this to find the value of x when y=45:
x=y+6=45+6=45+424=429
Finally, then, our solution is (429,45).
If your system only has linear terms in one of the variables, look to eliminate that variable right away and solve for the other one. If the system has quadratic terms in both variables, then other tricks are required. Of course, if all else fails you can try substitution or graphing methods.