We already know how to find where two straight lines cross, and now we want to find where a straight line and a parabola cross.
1
How a Line and a Parabola Can Cross
To solve a system made of a linear equation and a quadratic equation, we are looking for the intersection points (x,y) where the line and the parabola are at the exact same spot on the grid.
How a Line and a Parabola Can Cross
2
Solving a System by Graphing
Let's find the intersection points of the system
yy=x2−3=x−1
When the crossings land right on the grid corners, we can graph both equations on the same axes and read the coordinates straight off the graph.
Solving a System by Graphing
y=x2−3
y=x−1
−2
−1
1
2
−3
−2
−1
1
2
3
x
y
x
y
y=x2−3
(0,−3)
y=x−1
(0,−1)
(−1,−2)
(2,1)
Text solution
1. Graph the parabola and the line on the same grid to find where they crossStart the parabola y=x2−3 at its vertex (0,−3) and step out 1 and 2 units to the left and right, then draw the line y=x−1 through (0,−1) with slope 1 to see where the two graphs meet at the same points.
(−1,−2)and(2,1)
2. Check both intersection points in each original equationPlug each point into both equations to be sure both equations give the same height y at that x.
At (−1,−2):yyAt (2,1):yy=(−1)2−3=1−3=−2=−1−1=−2=22−3=4−3=1=2−1=1
So the parabola and the line cross at (−1,−2) and (2,1).
3
Solving a System with Algebra
If the graphs cross high up on the grid or in between grid lines, a hand-drawn graph won't give us exact coordinates. Let's use algebra to find where the parabola and the line cross in the system
yy=x2=2x+3
Solving a System with Algebra
y=x2
y=2x+3
−1
1
2
3
4
4
6
8
10
Text solution
1. Set the two heights equalAt a crossing point, the parabola and the line have the exact same height y, so we set their equations for y equal to each other.
x2=2x+3
2. Subtract the heights and factorMove 2x and 3 to the left side so the equation asks where the vertical gap between the parabola and the line equals 0, then factor the quadratic to find x.
x2−2x−3(x−3)(x+1)x=3,x=0=0=−1
3. Plug each x-value back in to find the height yEach crossing is a point (x,y), so substitute x=−1 and x=3 into the original equations to find the height at each spot and confirm they match.
At x=−1:yandyAt x=3:yandy=(−1)2=1=2(−1)+3=1⟹(−1,1)=32=9=2(3)+3=9⟹(3,9)
So the two intersection points are (−1,1) and (3,9).
> Watch out on tests: Stopping as soon as you find x=−1 and x=3 gives an incomplete answer. Those x-values only tell you how far left and right the crossings are. Always plug them back in to get the heights y, and check each point in both original equations to confirm that it is a solution.
Here is how the height difference x2−2x−3 becomes 0 at the intersections (−1,1) and (3,9).
The vertical gap between the two graphs hits zero right where they have the same height.
4
One Solution or No Real Solution
Now let's keep the parabola y=x2 and slide our slope-2 line down the grid to see what happens in the algebra when the line only touches the parabola once, or misses it completely:
yy=x2withy=2x−1and=x2withy=2x−5
When a quadratic ax2+bx+c=0 doesn't factor, the expression inside the square root of the Quadratic Formula tells us whether real solutions exist:
discriminantb2−4ac
One Solution or No Real Solution
y=x2
y=2x+3
−1
1
2
3
4
−4
4
8
Text solution
1. Set the heights equal and factor for y=2x−1Setting x2 equal to 2x−1 and moving all terms to the left side gives two identical factors, showing that the two crossings have merged into one x-value.
x2x2−2x+1(x−1)(x−1)x=2x−1=0=0=1
2. Plug x=1 back in to find the single point where they touchSubstitute x=1 into the height equation to get the coordinates where the line touches the parabola.
y=12=1⟹(1,1)
3. Set the heights equal and check b2−4ac for y=2x−5Setting x2 equal to 2x−5 gives a quadratic that does not factor, so we plug a=1,b=−2, and c=5 into b2−4ac inside the square root.
Because −16 is not a real number, the vertical gap never reaches 0 and the system with y=2x−5 has no real solution.
Here is what happens to the crossings and to b2−4ac as we slide the line up and down:
Whether the line crosses the parabola twice, touches it once, or misses it completely matches whether the number inside the square root is positive, zero, or negative.
5
When y Is Not by Itself
Now let's solve a system where the linear equation isn't written as y= right from the start:
yx+y=x2−4x+5=5
When an Equation Is in Disguise
yx+y(x,y)=x2−4x+5=5=?
Text solution
1. Substitute for y in the linear equation (or rewrite the line as y=−x+5)Because the top equation already tells us that y equals x2−4x+5, we can substitute that whole expression in place of y in x+y=5.
x+(x2−4x+5)=5
2. Simplify to 0 and factor out the shared xCombine the x-terms and subtract 5 from both sides, then factor out the shared x.
x2−3x+5x2−3xx(x−3)x=0,x=5=0=0=3
3. Plug each x-value into the linear equation to find yUse the rewritten line y=−x+5 to get the height at each crossing.
At x=0:yAt x=3:y=−0+5=5⟹(0,5)=−3+5=2⟹(3,2)
So the parabola and the line cross at (0,5) and (3,2).
6
Systems in the Real World
Let's use the same method on a real-world path problem. You toss a ball upward from a 12-meter balcony so its height y, in meters, after x seconds follows y=−x2+4x+12, while at the exact same moment a camera drone rises from a 4-meter platform along y=2x+4. We want to find when the ball and the drone are at the same height and what that height is.
Systems in the Real World
y=−x2+4x+12
y=2x+4
12 m
4 m
1
2
3
4
5
8
16
x(seconds)
y(meters)
1
2
3
4
5
6
0
x(seconds)
y(meters)
y=−x2+4x+12
(0,12)
y=2x+4
(0,4)
(4,12)
(−2,0)rejected
Text solution
1. Set the two heights equal and move all terms to the side that keeps x2 positiveSet the two heights equal at the same time x. Moving every term to the right side gives a positive coefficient of x2 for easy factoring.
−x2+4x+120=2x+4=x2−2x−8
2. Factor to find the times xFind the two numbers that multiply to −8 and add to −2.
(x−4)(x+2)x=4,x=0=−2
3. Keep only the time that makes sense in the story and find the height yBecause x measures seconds after the ball is thrown, we discard x=−2 and substitute x=4 into both equations to find the height.
At x=4:yandy=2(4)+4=12=−42+4(4)+12=−16+16+12=12
So the ball and the drone are at the same height 4 seconds after the throw, at 12 meters.
Key concepts
When you see a system with a parabola and a line on a test, you are always looking for the points (x,y) where both graphs have the exact same height.
Graphing vs. algebra
If a problem gives you a grid and the crossings sit right on grid corners (like y=x2−3 and y=x−1 meeting at (−1,−2) and (2,1)), read the points off the graph and plug them into both equations to check. There is no need to factor. Otherwise, solve with algebra.
Setting the gap to zero
Get y by itself in both equations (or substitute the quadratic directly for y, as in x+(x2−4x+5)=5), set the heights equal, and move every term to one side so the equation equals 0. If the coefficient of x2 is negative, like in −x2+4x+12=2x+4, move everything to the other side to get 0=x2−2x−8 so the coefficient of x2 is positive.
How the gap equation tells you the number of crossings
Two different real x-values from factors like (x−3)(x+1)=0 or x(x−3)=0 give two crossings. Don't use the Quadratic Formula when you can factor or factor out a shared x.
Two identical factors like (x−1)(x−1)=0 give just one x-value, meaning the line touches the parabola at a single point.
Does not factor: Check the discriminant b2−4ac inside the square root b2−4ac. When b2−4ac is negative, like (−2)2−4(1)(5)=−16 in x2−2x+5=0, stop right there. The line misses the parabola and there is no real solution.
Finishing the answer
Always plug each x back into the original equations to get the height y for each point (x,y), and in a real-world story, reject any solution that doesn't make sense in real life, such as negative time x=−2.
7
Practice
1
Solve the system by graphing y=x2−4 and y=x−2, then check both intersection points in the equations.
Where does the vertex of y=x2−4 sit on the vertical axis, and what are the y-intercept and slope of y=x−2?
Graph the parabola y=x2−4 starting at its vertex (0,−4), stepping out 1 unit left and right to (−1,−3) and (1,−3), and 2 units left and right to (−2,0) and (2,0). Graph the line y=x−2 starting at (0,−2). Step right 1 and up 1 twice to reach (2,0). From (0,−2), step left 1 and down 1 to reach (−1,−3).(Watch out: when checking x=−1 in y=x2−4, square the negative sign too so (−1)2−4=1−4=−3; leaving off the parentheses gives −1−4=−5 and makes a valid crossing look wrong.)
(−1,−3)and(2,0)
In y=x2−4:In y=x−2:(−1)2−4=−3and22−4=0−1−2=−3and2−2=0
2
Solve the system algebraically: y=x2−2x−1 and y=x+3.
Watch out: when factoring x2−3x−4=0, the numbers must add to −3, so use (x−4)(x+1)=0; flipping the signs to (x+4)(x−1)=0 gives the wrong points (−4,−1) and (1,4).
Set the two heights equal and move all terms to the left side. What quadratic equals 0?
x2−2x−1x2−3x−4=x+3=0
(Watch out: when factoring x2−3x−4=0, the numbers must add to −3, so use (x−4)(x+1)=0; flipping the signs to (x+4)(x−1)=0 gives the wrong points (−4,−1) and (1,4).)
(x−4)(x+1)x=−1,x=0=4
At x=−1:yAt x=4:y=−1+3=2=4+3=7
(−1,2)and(4,7)
3
Solve the system algebraically: y=x2+3 and y=4x−1.
Watch out: x−2=0 solves to x=2, not x=−2; using x=−2 gives y=−9 in the line and y=7 in the parabola, which immediately warns you the heights don't match.
Once you move 4x−1 to the left side to get =0, look closely at the two factors you get.
x2+3x2−4x+4(x−2)(x−2)=4x−1=0=0
(Watch out: x−2=0 solves to x=2, not x=−2; using x=−2 gives y=−9 in the line and y=7 in the parabola, which immediately warns you the heights don't match.)
x=2⟹y=22+3=7
(2,7)
4
Solve the system algebraically: y=x2+3 and y=2x+1.
Set the heights equal to get the gap equation =0. Does any pair of numbers multiply to c and add to b, or should you check inside b2−4ac?
x2+3x2−2x+2=2x+1=0
(Watch out: don't force x2−2x+2=0 to factor as (x−2)(x+1)=0, which multiplies to −2 at the end instead of +2 and gives the false crossings (2,5) and (−1,−1).)
b2−4ac=(−2)2−4(1)(2)=4−8=−4
No real solution, because x2−2x+2=0 has a negative number inside the square root, b2−4ac=(−2)2−4(1)(2)=−4, so the line and parabola never touch.
5
Solve the system: y=x2−6x+4 and 2x+y=4.
In 2x+y=4, how can you replace y (or get y by itself) so your equation has only x's?
2x+(x2−6x+4)x2−4x+4x2−4x=4=4=0
(Watch out: factor x out front as x(x−4)=0 rather than dividing both sides by x; dividing by x loses the x=0 crossing and leaves only (4,−4).)
x(x−4)x=0,x=0=4
Using y=−2x+4:at x=0,y=4;at x=4,y=−2(4)+4=−4
(0,4)and(4,−4)
6
A flare is launched upward from an 18-meter cliff, and its height y, in meters, after x seconds is given by y=−x2+4x+18. At the same moment, a weather balloon rises from a 3-meter platform according to y=2x+3. After how many seconds are the flare and the balloon at the same height, and what is that height?
Watch out: don't keep x=−3 as a second answer of −3 seconds at a height of −3 meters. Here x is time after the launch, so negative time is before the flare was even fired.
Set the heights equal and move every term to the side that makes x2 positive. Once you find both values of x, what does x stand for in the story?
−x2+4x+1800x=5,x=2x+3=x2−2x−15=(x−5)(x+3)=−3
(Watch out: don't keep x=−3 as a second answer of −3 seconds at a height of −3 meters. Here x is time after the launch, so negative time is before the flare was even fired.)
At x=5:y=2(5)+3=13
5 seconds, at a height of 13 meters(x=−3 is rejected because it is before the launch).