Skip to content

Search topics

Practise for free Sign in

Calculator Work with quadratic functions

Discriminant calculator

In one sentence

Evaluates b² − 4ac and classifies the quadratic as having two real roots, one repeated root or none.

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Discriminant calculator

Formula ref
Δ = b² − 4ac
Topic
Work with quadratic functions

Inputs

  • a, b, c: coefficients of ax² + bx + c

Worked input

  • Input a = 3, b = 6, c = 3.
  • Δ = 36 − 36 = 0.
  • One repeated root: x = −b/2a = −1, since 3x² + 6x + 3 = 3(x + 1)².
  • Take x² + 5x − 14, a quadratic whose discriminant turns out to be a perfect square, which is the signal that the roots are rational. The value of b² − 4ac is 25 + 56 = 81, and its square root is 9. A discriminant that is a perfect square tells you before any solving that the quadratic factorises over the integers, which is a quick way to decide whether trying to factorise by inspection is worth the time. Check: because 81 is the square of a whole number the expression factorises over the integers, as (x + 7)(x − 2), with no surd anywhere.
  • Take 4x² − 12x + 9, where the coefficients are chosen so the two terms of the discriminant cancel exactly. The value of b² − 4ac is 144 − 144 = 0, so the equation has one repeated root and the graph just touches the axis. A zero discriminant is the algebraic form of a tangent, so exam questions about a line touching a curve are really asking you to set this value equal to zero and solve for the unknown. Check: the expression is the perfect square (2x − 3)², which is zero at x = 3/2 and nowhere negative.
  • Use the tool backwards on a parameter problem: x² + kx + 16 = 0 must have equal roots, so the discriminant k² − 64 has to be zero. Trying k = 8 gives 0, and the other solution k = −8 works equally well. In a parameter question the discriminant becomes an expression in the unknown, and the condition you impose, equal to zero, positive or negative, is what selects the answer you need, so read the wording of the condition carefully. Check: with k = 8 the equation is (x + 4)² = 0, a repeated root at x = −4, which confirms the choice.

How to use it

  • Enter the three coefficients.
  • Δ > 0: two roots; Δ = 0: one repeated root; Δ < 0: none.
  • For a parameter problem, set Δ equal to 0 and solve for it.

Discriminant calculator for your study of A-level maths, with its source.

Related pages include Sum and product of roots calculator, Quadratic turning point calculator, Quadratic from its roots and Quadratic equation solver.

Study brief

  • For the A level maths examination, understanding the discriminant of a quadratic function is essential. This mathematical concept involves evaluating the expression b2 – 4ac to determine the nature of roots. Specifically, the conditions b2 – 4ac > 0, b2 – 4ac = 0, and b2 – 4ac < 0 help identify real and repeated roots. Solving quadratic equations can be achieved through various methods, such as factorisation, using the formula, completing the square, or through the use of a calculator. When working with quadratic functions, the notation f(x) may be applied. These functions can include powers of x, trigonometric functions of x, or exponential and logarithmic functions of x. For the Pearson Edexcel Level 3 Advanced GCE in Mathematics, specifically regarding the February 2020 specification, candidates should be aware of how to handle these mathematical processes. In Paper 1 and Paper 2 for Pure Mathematics, the guidance clarifies the use of calculators or completing the square. Additionally, quadratic equations may involve powers of 2. Students must manage their own equipment during assessments, ensuring the calculator is in working condition and clearing any stored data, such as mathematical formulas, text, dictionaries, or databanks.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction