The number under the square root
The quadratic formula is / 2a. The expression under the square root, , is called the discriminant, and it is often written , the Greek capital letter delta.
The sign of the discriminant decides how many real roots the equation has, before any other working is done. There are three cases: above zero, equal to zero, and below zero.
Above zero: two roots
Take , where a = 1, b = 0 and c = −4. The discriminant is . Its square root is 4, so / 2, which gives x = 2 and x = −2.
When the discriminant is above zero, its square root is a positive number. Adding it gives one root and subtracting it gives a different one, so there are two different real roots, and the curve crosses the x-axis at two places.
the roots sit √Δ = 4 apart
Drag the vertex until the discriminant is zero
The curve , with its lowest point as the handle. Slide it up and the two crossings close in on each other. When the discriminant reaches zero, they meet.
Zero: one repeated root
Take , where a = 1, b = −2 and c = 1. The discriminant is . The square root of 0 is 0, so the adds and subtracts nothing: / 2 = 1, both times.
The two roots are the same number. Factoring shows why: , the same bracket twice. The root x = 1 is called a repeated root. The curve comes down, touches the x-axis at x = 1, and turns back up without crossing it.
The curve touches the x-axis at x = 1, its one repeated root.
Below zero: no real roots
Take , where a = 1, b = 0 and c = 2. The discriminant is . The square of every real number is 0 or more, so no real number squares to −8. The formula cannot be finished with real numbers, and the equation has no real roots.
The curve shows the same thing. is never less than 2, so the curve stays above the x-axis and never meets it.
The curve never comes down to the x-axis, so has no real roots.
Beyond the real numbers
There is a larger number system, the complex numbers, which includes numbers whose squares are negative. In that system does have two roots. Among the real numbers, a discriminant below zero means there are no solutions.
Deciding before solving
For , the discriminant is , which is above zero, so there are two real roots. For , it is , which is below zero, so there are none.
The discriminant also answers questions with an unknown coefficient. For which k does have equal roots? Equal roots mean the discriminant is 0, so , which is , so k = 6 or k = −6. Check k = 6: , a repeated root at x = −3.
The usual mistakes
Squaring a negative b as a negative number. When b = −2, , not −4.
Losing the sign of c. When c is negative, −4ac is positive: for , the discriminant is 0 − 4 × 1 × (−4) = 16, not −16.
Reading a discriminant of 0 as "no roots". Zero means one repeated root, where the curve touches the axis. Only a negative discriminant means no real roots.
A rectangle with a fixed perimeter
A rectangle has a perimeter of 24 m. Its two lengths and two widths add to 24 m, so one length and one width add to 12 m. Let the width be x m. Then the length is (12 − x) m, and the area is x(12 − x) square meters.
Can the area be ? That needs x(12 − x) = 40. Expand and move every term to one side: . The discriminant is , which is below zero, so no real width works, and the area cannot be .
The largest area comes from writing the area with a square in it: . Check it by expanding: , so . The square is never negative, so the area is never more than . It is exactly when x = 6, which makes the rectangle a square of side 6 m.
Worked example: Whether a Given Length of Fencing Can Enclose a Given Area
Question A farmer has 40 m of fencing to make a rectangular pen, and he uses all of it. (a) Can the pen have an area of 120 m2? (b) What is the greatest area that the pen can have, and what shape is it then?
1.The perimeter is 40 m, so the length and the width add up to 20 m. Let the width be x m. Then the length is (20 − x) m, and an area of 120 m2 needs x(20 − x) = 120.
The length and the width add up to 20 m, so an area of 120 m2 needs x(20 − x) = 120. 2.Expand the bracket: 20x − x2 = 120. Add x2 to both sides and subtract 20x from both sides: x2 − 20x + 120 = 0.
Expand and bring every term to one side: x2 − 20x + 120 = 0. 3.Here a = 1, b = −20 and c = 120, so the discriminant is b2 − 4ac = (−20)2 − 4 × 1 × 120 = 400 − 480 = −80. It is negative, so the equation has no real roots. (a) No width gives 120 m2, so the pen cannot have that area.
(a) The discriminant is 400 − 480 = −80. It is negative, so there are no real roots, and the pen cannot have an area of 120 m2. 4.The area of the pen is A = 20x − x2 = −(x2 − 20x). Half of 20 is 10, and (x − 10)2 = x2 − 20x + 100, so x2 − 20x = (x − 10)2 − 100 and A = 100 − (x − 10)2.
Complete the square: A = 20x − x2 = 100 − (x − 10)2. 5.The square (x − 10)2 is never negative, so A is never more than 100, and A = 100 when x = 10. (b) The greatest area is 100 m2, when the pen is a square of side 10 m. Check: a pen of 9 m by 11 m has an area of 99 m2.
(b) The greatest area is 100 m2, when x = 10 and the pen is a square of side 10 m. A pen of 9 m by 11 m has 99 m2.
Answer: (a) No: the discriminant is −80, so no width gives an area of 120 m2; (b) 100 m2, when the pen is a square of side 10 m
Common mistakes
- Letting the length be (40 − x) m. The 40 m is the whole perimeter, which is two lengths and two widths, so one length and one width add up to 20 m.
- Working out b2 as −400 because b = −20. The square of a negative number is positive: (−20)2 = 400, and the discriminant is 400 − 480 = −80.