Skip to content

Search topics

Practise for free Sign in

Calculator Work with quadratic functions

Quadratic from its roots

In one sentence

Builds the quadratic with given roots α and β and expands it.

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

Quadratic from its roots

Formula ref
x² − (α + β)x + αβ = 0
Topic
Work with quadratic functions

Inputs

  • α, β: the roots

Worked input

  • Input α = 2/3, β = −4.
  • Sum = −10/3, product = −8/3.
  • x² + (10/3)x − 8/3 = 0, or 3x² + 10x − 8 = 0.
  • Take the roots 3 and −2, one positive and one negative, so the product comes out negative. The sum of the roots is 1 and the product is −6, so the equation is x² − (1)x + (−6) = 0. Building a quadratic from its roots is the reverse of solving, and the sum and product shortcut avoids multiplying out two brackets, which is both faster and safer when the roots are not whole numbers. Check: substituting x = 3 gives 9 − 3 − 6 = 0 and substituting x = −2 gives 4 + 2 − 6 = 0.
  • Take the roots 1/2 and 1/3, which are fractions, so the monic form has fractional coefficients and the tool also clears them. The sum of the roots is 5/6 and the product is 1/6, so the equation is x² − (5/6)x + (1/6) = 0. With fractional roots the monic quadratic has fractional coefficients, so multiply through by the lowest common denominator to get integer coefficients, a step that exam mark schemes often reward separately. Check: multiplying through by 6 gives 6x² − 5x + 1 = 0, which factorises as (2x − 1)(3x − 1), and that returns the two roots.
  • Take the same root twice, 4 and 4, which describes a repeated root. The sum of the roots is 8 and the product is 16, so the equation is x² − (8)x + (16) = 0. A repeated root produces a perfect square, so the quadratic touches the x-axis, and the discriminant of the result is zero, which is a useful consistency check on the working. Check: the result is the perfect square (x − 4)², whose discriminant 64 − 64 is zero, as repeated roots require.

How to use it

  • Enter both roots.
  • Add them for the x coefficient, multiply for the constant.
  • Scale by any constant for integer coefficients.

Quadratic from its roots in your study of A-level maths, set out with its source.

See also Quadratic turning point calculator, Quadratic equation solver, Sum and product of roots calculator and Line and circle intersection.

Study brief

  • Quadratic equations can be solved through several methods, including factorisation, using the formula, completing the square, or employing a calculator. For an equation expressed as ax2 + bx + c = 0, the roots are calculated using the formula -b ± sqrt(b2 - 4ac) / 2a. The discriminant, b2 - 4ac, is used to determine the nature of these roots. Specifically, the conditions b2 - 4ac > 0, b2 - 4ac = 0, and b2 - 4ac < 0 identify whether the roots are real or repeated. When working with quadratic functions, such as ax2 + bx + c, completing the square allows the expression to be rewritten as a (x + b/2a)2 + c - (b2/4a). Additionally, solving simultaneous equations may involve quadratic expressions, such as y = 2x + 3 and y = x2 - 4x. These mathematical processes are part of the Pure Mathematics requirements for the Pearson Edexcel Level 3 Advanced GCE in Mathematics specification, issue 4, from February 2020.

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