Using the discriminant to determine the number of rootsWorked examples

Whether the discriminant is greater than zero, equal to zero or less than zero can be used to determine if a quadratic equation has no real roots, real and equal roots or real and unequal roots.

Part ofMathsAlgebraic skills

Worked examples

Example

For the quadratic function \(y=2x^{2}-7x-15\) determine the nature of the roots.

Answer

\(y = 2{x^2} - 7x - 15\)

Using the discriminant:

\({b^2} - 4ac\) where a = 2, b = -7 and c = -15

\(= {( - 7)^2} - (4 \times 2 \times - 15)\)

= \(49-(-120)\)

= \(49+120\)

= \(169\) which is \(\textgreater0\) therefore there are two real roots.

Example

Find the value of \(k\) if the quadratic function \(y=x^{2}+6x+k\) has one real root .

Answer

If the quadratic has one real root, then \(b^{2}-4ac=0\)

We have a=1, b=6, c=k

\(b^{2}-4ac=0\)

\(36-(4\times 1\times k)=0\)

\(36-4k=0\)

\(36=4k\)

\(k=9\)