Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Method · Quadratic Functions

Using the Discriminant to Find the Nature of Roots

The discriminant of ax2+bx+c=0ax^2+bx+c=0 is b24acb^2-4ac. If it is positive there are two distinct real roots; if it is zero there are two equal real roots; if it is negative there are no real roots.

What the discriminant is for

The discriminant tells you how many real roots a quadratic equation has, and what kind, without actually solving it. For a quadratic written as ax2+bx+c=0ax^2+bx+c=0, the discriminant is the expression b24acb^2-4ac, the part that sits under the square root in the quadratic formula.

Because a real square root only exists for a value that is zero or positive, the sign of b24acb^2-4ac decides everything: positive gives two distinct real roots, zero gives two equal real roots (a repeated root), and negative gives no real roots at all. This method answers questions such as "state the nature of the roots", "find the value of kk for which the equation has equal roots", or "show that the roots are always real".

It is a core Form 4 Quadratic Functions skill, closely linked to whether a graph meets the xx-axis.

Because the discriminant works from the coefficients alone, it is fast and reliable. You never have to factorise or reach for the full formula just to classify the roots, reading the sign of one expression is enough.

When to use this method

Reach for the discriminant whenever a question asks about the number or type of roots rather than their exact values. Phrases such as "nature of the roots", "has two distinct roots", "has equal roots", "has no real roots", or "the roots are real and different" are the direct cue.

It is also the method for questions that contain an unknown, such as "find the range of values of kk for which the equation has real roots", because the condition becomes an inequality or equation in kk. Geometrically, use it when a question asks whether a curve cuts, touches, or misses the xx-axis, or whether a line is a tangent to a curve.

Nature-of-roots work appears in both Paper 1 and Paper 2, so recognising these cues quickly is worthwhile.

The steps

Work through the classification like this:

  1. 1

    Write the equation as ax2+bx+c=0ax^2+bx+c=0

    Move every term to one side so the right-hand side is zero, then read off aa, bb and cc.

  2. 2

    Identify aa, bb and cc with their signs

    Be careful with negatives; the coefficient bb includes its sign, and so do aa and cc.

  3. 3

    Compute the discriminant b24acb^2-4ac

    Substitute the coefficients and simplify to a single number or an expression in the unknown.

  4. 4

    Compare with zero

    Decide whether b24acb^2-4ac is positive, zero, or negative to classify the roots.

  5. 5

    State the conclusion (or solve for the unknown)

    Report the nature of the roots, or set up the matching condition b24ac>0b^2-4ac>0, =0=0, or <0<0 and solve for the unknown.

The three cases are summarised here:

Value of b24acb^2-4acNature of the roots
b24ac>0b^2-4ac>0Two distinct (different) real roots
b24ac=0b^2-4ac=0Two equal real roots (a repeated root)
b24ac<0b^2-4ac<0No real roots

Equal roots means the discriminant is zero

If a question says the roots are equal, or the line is a tangent, translate it straight to b24ac=0b^2-4ac=0. That single condition usually gives the unknown.

Worked example

Try this yourself first, then check each line against the solution.

Q1[3 marks]

The equation x2+kx+9=0x^2+kx+9=0 has two equal roots. Find the possible values of kk.

Show worked solution

The equation is already in the form ax2+bx+c=0ax^2+bx+c=0, so read off the coefficients:

a=1,b=k,c=9a=1,\qquad b=k,\qquad c=9

Two equal roots means the discriminant is zero, so set b24ac=0b^2-4ac=0:

k24(1)(9)=0k^2-4(1)(9)=0

Simplify and solve for kk:

k236=0k2=36k=±6k^2-36=0 \quad\Rightarrow\quad k^2=36 \quad\Rightarrow\quad k=\pm 6

Answer

k=6k=6 or k=6k=-6. Check: when k=6k=6, x2+6x+9=(x+3)2=0x^2+6x+9=(x+3)^2=0, giving the repeated root x=3x=-3; when k=6k=-6, x26x+9=(x3)2=0x^2-6x+9=(x-3)^2=0, giving the repeated root x=3x=3.

Both give exactly one repeated value, as required.

Notice that squaring produces two answers, k=6k=6 and k=6k=-6, and both are valid. A common slip is to keep only the positive value; the check by factorising confirms that each choice really does give a perfect square, so neither can be dropped.

Common mistakes to avoid

  • Not rearranging to ax2+bx+c=0ax^2+bx+c=0 first. If the equation is not equal to zero, the coefficients aa, bb, cc will be wrong.
  • Getting the sign of bb or cc wrong. A negative coefficient stays negative inside b24acb^2-4ac.
  • Reading "equal roots" as "no roots". Equal roots means b24ac=0b^2-4ac=0; no real roots means b24ac<0b^2-4ac<0.
  • Keeping only one value of kk after k2=36k^2=36. Squaring gives both k=6k=6 and k=6k=-6.
  • Flipping the inequality when solving for the unknown, for example writing b24ac>0b^2-4ac>0 as the condition for no real roots instead of two distinct roots.

How a teacher helps you get it right

The step that quietly loses marks is the translation, turning the words "equal roots" or "no real roots" into the correct condition on b24acb^2-4ac. In a one-to-one lesson our teacher checks that translation with you before any algebra, so you never solve the wrong inequality.

Because our teachers are experienced, you get someone who links the sign of the discriminant to the picture of the parabola cutting, touching, or missing the xx-axis, so the rule sticks. Lessons are online and taught in English, while SPM papers are set in both Malay and English.

We also drill the habit of keeping both values from a square root, and of checking a chosen coefficient by factorising, so the final line is always secure.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

What is the discriminant of a quadratic equation?

For ax2+bx+c=0ax^2+bx+c=0, the discriminant is b24acb^2-4ac. Its sign tells you the nature of the roots: positive means two distinct real roots, zero means two equal real roots, and negative means no real roots.

What condition gives equal roots?

Equal roots occur exactly when b24ac=0b^2-4ac=0. This is the same condition as a straight line being a tangent to a curve, since a tangent meets the curve at one repeated point.

How do I show a quadratic always has real roots?

Show that b24ac0b^2-4ac\ge 0 for every allowed value. If the discriminant simplifies to something that can never be negative, for example a perfect square, then the roots are always real.

Do I need to solve the equation to find the nature of the roots?

No. The whole point of the discriminant is that you classify the roots from the coefficients alone, using b24acb^2-4ac, without factorising or applying the full quadratic formula.

What does the discriminant tell me about the graph?

It tells you how the parabola meets the xx-axis: b24ac>0b^2-4ac>0 means it cuts the axis at two points, b24ac=0b^2-4ac=0 means it touches at one point, and b24ac<0b^2-4ac<0 means it does not meet the axis.

Source:SRC-DSKP-EN

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply