Where a line meets a curve
The line y = 2x and the curve meet at two points. At a meeting point the two y values agree, so there. Gather on one side and factor: , so x(x − 2) = 0, and x = 0 or x = 2. The meeting points are (0, 0) and (2, 4).
Each meeting point comes from a root of that quadratic equation. So the number of real roots is the number of meeting points.
The curve is , and the straight line is y = 2x. The line cuts the curve at (0, 0) and at (2, 4).
Slide the line up and down
Now let the line be y = 2x + k, where k is a number that moves the line up or down without changing how steep it is. At a meeting point, . Gathering on one side gives .
You do not need to solve this to count its roots. The discriminant, , does that. Here a = 1, b = −2 and c = −k, so .
Cuts, touches or misses
When k = 3, the discriminant is 4 + 12 = 16, which is above 0. The equation has two real roots, x = 3 and x = −1, so the line cuts the curve twice.
When k = −1, the discriminant is 4 − 4 = 0. The equation is , which is , so it has one repeated root, x = 1. The two meeting points have slid together into one, at (1, 1). The line touches the curve there without crossing it, and a line that touches a curve like this is a tangent to it.
When k = −3, the discriminant is 4 − 12 = −8, which is below 0. The equation has no real roots, so the line misses the curve altogether.
k = 0: Δ = 4 > 0, so x² − 2x − k = 0 has two roots, x = 0 and x = 2, one for each crossing
Slide the line down until it only just touches the parabola
The line is y = 2x + k, and the handle moves k. The discriminant 4 + 4k is worked out as you drag. Slide the line down until it only just touches the parabola: that happens at k = −1, where the discriminant is 0.
At k = −3 the straight line, y = 2x − 3, passes below the curve and never meets it.
One test, three answers
Substitute the line into the curve, gather the terms on one side, and work out the discriminant of the quadratic equation that results. If it is above 0, the line cuts the curve at two points. If it is exactly 0, the line touches the curve at one point and is a tangent. If it is below 0, the line misses the curve.
It does not matter which side you gather the terms on. Multiplying a quadratic equation by −1 changes the signs of a, b and c, but stays the same.
Finding k
The test can be run backwards. For y = 2x + k to be a tangent to , the discriminant must be 0: 4 + 4k = 0, so k = −1.
For the line to cut the curve twice, the discriminant must be above 0: 4 + 4k > 0, so k > −1. For it to miss, 4 + 4k < 0, so k < −1.
Another curve
Does the line y = 3x − 5 meet the curve ? Set the y values equal: . Gather on one side: . Here a = 1, b = −2 and c = 5, so the discriminant is 4 − 20 = −16. It is below 0, so the line misses the curve.
The usual mistakes
Working out the discriminant of the curve on its own. The discriminant of is 0, but that says only that touches the x-axis. The line comes into it through the substitution, so use the equation .
Getting the sign of c wrong. In the constant term is −k, so −4ac is −4 × 1 × (−k) = +4k.
Using a discriminant above 0 for a tangent. A tangent touches the curve at exactly one point, so its discriminant is exactly 0.
The length between two points: Pythagoras' theorem
Part (b) of the next application asks for the length of a straight beam between two points. Going from one point to the other, count how far across and how far up it goes. Those two distances are the two shorter sides of a right-angled triangle, and the beam is its longest side, the hypotenuse.
Pythagoras' theorem says that the squares of the two shorter sides add up to the square of the hypotenuse. For sides 3 and 4, the hypotenuse is .
Worked example: Where a Straight Beam Crosses a Parabolic Arch
Question The arch of a bridge follows the curve y = 6x − x2, where x m is the distance along the ground from the left foot of the arch and y m is the height. A straight steel beam follows the line y = x + 4. (a) Find the coordinates of the two points where the beam meets the arch. (b) Find the length of the beam between these two points, correct to 2 decimal places.
1.At a meeting point both equations hold, so the two expressions for y are equal: x + 4 = 6x − x2.
Where the beam meets the arch both equations hold, so x + 4 = 6x − x2. 2.Add x2 to both sides and subtract 6x from both sides: x2 − 5x + 4 = 0. Its discriminant is b2 − 4ac = 25 − 16 = 9, which is positive, so there are two real roots and the beam meets the arch at two points.
Bring every term to one side: x2 − 5x + 4 = 0. The discriminant is 9, which is positive, so there are two meeting points. 3.Factorize: two numbers with a product of 4 and a sum of −5 are −1 and −4, so (x − 1)(x − 4) = 0, and x = 1 or x = 4.
Factorize: (x − 1)(x − 4) = 0, so x = 1 or x = 4. 4.Substitute each root into y = x + 4: y = 5 when x = 1, and y = 8 when x = 4. (a) The beam meets the arch at (1, 5) and (4, 8). Check in the curve: 6 × 1 − 12 = 5 and 6 × 4 − 42 = 8.
(a) The line gives y = 5 and y = 8, so the beam meets the arch at (1, 5) and (4, 8). 5.(b) From (1, 5) to (4, 8) the beam goes 3 m across and 3 m up. These are the two shorter sides of a right-angled triangle, so by Pythagoras' theorem the length is √32 + 32 = √18 ≈ 4.24 m.
(b) The beam goes 3 m across and 3 m up, so by Pythagoras' theorem its length is √18 ≈ 4.24 m.
Answer: (a) (1, 5) and (4, 8); (b) √18 ≈ 4.24 m
Common mistakes
- Stopping at x = 1 and x = 4. A point has two coordinates, so each root must be substituted back to find its y-coordinate. The linear equation is the easier one to use.
- Adding the two equations as if they were a pair of linear equations. Elimination by adding or subtracting cannot remove x2 here. Substitution works because both equations give y in terms of x.