The discriminant and the nature of roots · Mathematics Class 9–10 | StemPy Lab
Course 4.2·Lesson 3 of 3
The discriminant and the nature of roots
The number b2−4ac under the root decides the roots before we solve. It is called the discriminant, D
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
The number under the root
Look again at the formula:
x=2a−b±b2−4ac
Everything depends on the number under the square root. It discriminates between the kinds of roots, so it is called the discriminant:
D=b2−4ac.
Three cases
D>0.D is a positive number. The + and the − give two different answers: two distinct real roots.
D=0.D=0, and both signs give x=−2ab: two equal real roots, the same number twice.
D<0. No real number has a negative square: no real roots.
Three graphs of quadratic expressions side by side. The first, marked D greater than 0, is a U-shaped curve that crosses the x-axis at two points, x equals 1 and x equals 3. The second, marked D equals 0, touches the x-axis at one point only, x equals 2. The third, marked D less than 0, stays above the x-axis and never meets it, so there are no real roots.
On a graph, the roots are where the curve y=ax2+bx+c meets the x-axis. Two crossings, one touch, or none: the three pictures match the three cases.
Using the discriminant
Example 1. What kind of roots does 2x2−3x+5=0 have? D=9−40=−31. It is negative, so there are no real roots. We knew it without solving.
Example 2. For which values of k does x2+kx+49=0 have two equal roots?
Equal roots mean D=0.
D=k2−4×1×49=k2−196.
k2=196, so k=14 or k=−14.
Example 3. For which value of k does kx2+12x+4=0 have two equal roots? D=144−16k=0, so k=9. Then the equation is 9x2+12x+4=0, which is (3x+2)2=0, with the root x=−32 twice.
Is the design possible?
A school wants a rectangular garden with a fence of 60m all round and an area of 250m2. Can it be done?
Half the perimeter is 30m. If the length is l, the width is 30−l.
The area gives l(30−l)=250, that is l2−30l+250=0.
D=900−1000=−100. Negative, so no such garden exists.
With an area of 200m2 instead, D=900−800=100. Then l=230±10: a garden of 20m by 10m is possible.
Practise with new numbers
Try it in Python
The function nature works out D and names the kind of roots. The program tests four equations.
Common mistakes
Saying "no roots" for D=0. There is a root: the same number counted twice.
Forgetting the second value of k.k2=196 gives k=14andk=−14.
Using b2+4ac. The sign in the middle is a minus.
Expecting two roots from every quadratic equation. When D<0 there are no real roots at all.
Remember these
D=b2−4ac.
D>0: two distinct real roots. D=0: two equal real roots. D<0: no real roots.
To make the roots equal, set D=0 and solve for the unknown number.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Without solving, what kind of roots has x2−7x+13=0?
Find the positive k for which 9x2+kx+1=0 has equal roots.
The graph of a quadratic expression just touches the x-axis. What is its discriminant?
Why does an equation with a and c of opposite signs always have two distinct real roots?
Can two numbers have a sum of 10 and a product of 30?
Enroll free in The Quadratic Formula and the Nature of Roots
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.