Substitute the coefficients, signs included, into the quadratic formula
The quadratic formula is on the Higher tier only, and it finds the roots of a quadratic equation written as ax2+bx+c=0,{ax^2 + bx + c = 0\text{,}}ax2+bx+c=0, the values of x{x}x that make it true, even when the quadratic will not factorise.
Quadratic formula
The quadratic formula gives the roots of ax2+bx+c=0{ax^2 + bx + c = 0}ax2+bx+c=0 as
x=−b±b2−4ac2a x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} x=2a−b±b2−4acRead off each letter with its sign, once every term is on one side:
- a{a}a is the coefficient of x2{x^2}x2
- b{b}b is the coefficient of x{x}x
- c{c}c is the constant term
The two roots differ only in the sign in front of 40.{\sqrt{40}\text{.}}40.
If b2−4ac{b^2 - 4ac}b2−4ac is negative, it has no square root, so the equation has no real roots. When x2{x^2}x2 has a coefficient other than 1, use the formula unless the factors come quickly, because factorising or completing the square is then slow and easy to get wrong.
Wrong. For 2x2−3x−4=0,{2x^2 - 3x - 4 = 0\text{,}}2x2−3x−4=0, b2−4ac=−32−4×2×(−4)=−9+32=23,b^2 - 4ac = -3^2 - 4 \times 2 \times (-4) = -9 + 32 = 23\text{,}b2−4ac=−32−4×2×(−4)=−9+32=23, so x=3±234.{x = \dfrac{3 \pm \sqrt{23}}{4}\text{.}}x=43±23.
Right. b=−3{b = -3}b=−3 is substituted in brackets, because (−3)2=9{(-3)^2 = 9}(−3)2=9 but −32=−9.{-3^2 = -9\text{.}}−32=−9. So b2−4ac=(−3)2−4×2×(−4)=9+32=41,b^2 - 4ac = (-3)^2 - 4 \times 2 \times (-4) = 9 + 32 = 41\text{,}b2−4ac=(−3)2−4×2×(−4)=9+32=41, and x=3±414.{x = \dfrac{3 \pm \sqrt{41}}{4}\text{.}}x=43±41.
Wrong. For x=4+406,{x = \dfrac{4 + \sqrt{40}}{6}\text{,}}x=64+40, typing 4+40÷6{4 + \sqrt{40} \div 6}4+40÷6 gives x=5.05.{x = 5.05\text{.}}x=5.05.
Right. The fraction line runs under the whole numerator, so x=(4+40)÷6=1.72{x = (4 + \sqrt{40}) \div 6 = 1.72}x=(4+40)÷6=1.72 to 3 significant figures.
Check each root by substituting it back, since ax2+bx+c{ax^2 + bx + c}ax2+bx+c should come to 0, or very nearly 0 for a rounded root.
A request for roots to 3 significant figures or in surd form usually means the formula is needed. Write it down with the values substituted, because a correct substitution earns a mark even if a later step goes wrong. Give both roots.
Give exact roots as simplified surds or fractions
When b2−4ac{b^2 - 4ac}b2−4ac is not a square number, an exact root keeps its square root as a simplified surd instead of rounding it.
The common factor 2 appears in every term only once 24{\sqrt{24}}24 is simplified to 26.{2\sqrt{6}\text{.}}26.
Simplifying a surd is covered in the guide Surds. To give the roots in the form p±qr,{p \pm q\sqrt{r}\text{,}}p±qr, split the fraction, so 4±62=2±126.{\frac{4 \pm \sqrt{6}}{2} = 2 \pm \frac{1}{2}\sqrt{6}\text{.}}24±6=2±216.
Wrong. Dividing every term of 6±202{\dfrac{6 \pm \sqrt{20}}{2}}26±20 by 2 gives 3±10.{3 \pm \sqrt{10}\text{.}}3±10.
Right. Halving a square root does not halve the number under it, because 20÷2=20÷4=5{\sqrt{20} \div 2 = \sqrt{20 \div 4} = \sqrt{5}}20÷2=20÷4=5. Simplify first, so 20=25{\sqrt{20} = 2\sqrt{5}}20=25 and 6±252=3±5.{\dfrac{6 \pm 2\sqrt{5}}{2} = 3 \pm \sqrt{5}\text{.}}26±25=3±5.
When b2−4ac{b^2 - 4ac}b2−4ac is a square number, the roots are integers or fractions.
Roots that are fractions
Solve 3x2−2x−5=0,{3x^2 - 2x - 5 = 0\text{,}}3x2−2x−5=0, giving exact answers.
- b2−4ac=(−2)2−4×3×(−5)=4+60=64.b^2 - 4ac = (-2)^2 - 4 \times 3 \times (-5) = 4 + 60 = 64\text{.}b2−4ac=(−2)2−4×3×(−5)=4+60=64.
- 64=8,{\sqrt{64} = 8\text{,}}64=8, so x=2±86,{x = \dfrac{2 \pm 8}{6}\text{,}}x=62±8, giving x=106=53{x = \dfrac{10}{6} = \dfrac{5}{3}}x=610=35 or x=−66=−1.{x = \dfrac{-6}{6} = -1\text{.}}x=6−6=−1.
Give the roots in exactly the form asked, such as p±q2,{\dfrac{p \pm \sqrt{q}}{2}\text{,}}2p±q, or as decimals when 3 significant figures are asked for. With no form asked, leave a root such as 53{\dfrac{5}{3}}35 as a fraction, not a rounded decimal.
Algebraic fractions and linear–quadratic pairs become a three-term quadratic first
Some questions first form the quadratic from algebraic fractions or from a linear and a quadratic equation, then collect every term on one side to give ax2+bx+c=0.{ax^2 + bx + c = 0\text{.}}ax2+bx+c=0.
Only the first step differs between the two kinds of question.
Clearing fractions from an equation is covered in the guide Algebraic Fractions.
Clearing algebraic fractions
Solve 3x−2+1x=2,{\dfrac{3}{x - 2} + \dfrac{1}{x} = 2\text{,}}x−23+x1=2, giving your answers in the form p±q.{p \pm \sqrt{q}\text{.}}p±q.
- Multiplying every term by the common denominator x(x−2){x(x - 2)}x(x−2) gives 3x+(x−2)=2x(x−2).{3x + (x - 2) = 2x(x - 2)\text{.}}3x+(x−2)=2x(x−2).
- Expanding gives 4x−2=2x2−4x,{4x - 2 = 2x^2 - 4x\text{,}}4x−2=2x2−4x, so collecting every term on one side gives 2x2−8x+2=0,{2x^2 - 8x + 2 = 0\text{,}}2x2−8x+2=0, or x2−4x+1=0{x^2 - 4x + 1 = 0}x2−4x+1=0 after dividing by 2.
- With a=1,{a = 1\text{,}}a=1, b=−4{b = -4}b=−4 and c=1,{c = 1\text{,}}c=1, b2−4ac=(−4)2−4×1×1=16−4=12,b^2 - 4ac = (-4)^2 - 4 \times 1 \times 1 = 16 - 4 = 12\text{,}b2−4ac=(−4)2−4×1×1=16−4=12, so x=4±122.{x = \dfrac{4 \pm \sqrt{12}}{2}\text{.}}x=24±12.
- 12=23,{\sqrt{12} = 2\sqrt{3}\text{,}}12=23, so x=4±232=2±3.{x = \dfrac{4 \pm 2\sqrt{3}}{2} = 2 \pm \sqrt{3}\text{.}}x=24±23=2±3.
Wrong. Multiplying 4x+1x+3=1{\dfrac{4}{x} + \dfrac{1}{x + 3} = 1}x4+x+31=1 by x(x+3){x(x + 3)}x(x+3) gives 4(x+3)+x=1,{4(x + 3) + x = 1\text{,}}4(x+3)+x=1, so 5x+11=0.{5x + 11 = 0\text{.}}5x+11=0.
Right. The 1 on the right is multiplied by x(x+3){x(x + 3)}x(x+3) too, so 4(x+3)+x=x(x+3).{4(x + 3) + x = x(x + 3)\text{.}}4(x+3)+x=x(x+3). Expanding and collecting every term on one side gives x2−2x−12=0.{x^2 - 2x - 12 = 0\text{.}}x2−2x−12=0.
For a linear and a quadratic equation, make x{x}x or y{y}y the subject of the linear one and substitute it into the quadratic.
A linear and a quadratic equation
Solve the simultaneous equations 2x2+y2=15{2x^2 + y^2 = 15}2x2+y2=15 and y=x+2,{y = x + 2\text{,}}y=x+2, giving your answers to 3 significant figures.
- Substituting y=x+2{y = x + 2}y=x+2 into the quadratic gives 2x2+(x+2)2=15.{2x^2 + (x + 2)^2 = 15\text{.}}2x2+(x+2)2=15.
- Expanding gives 2x2+x2+4x+4=15,{2x^2 + x^2 + 4x + 4 = 15\text{,}}2x2+x2+4x+4=15, so 3x2+4x−11=0.{3x^2 + 4x - 11 = 0\text{.}}3x2+4x−11=0.
- With a=3,{a = 3\text{,}}a=3, b=4{b = 4}b=4 and c=−11,{c = -11\text{,}}c=−11, b2−4ac=42−4×3×(−11)=16+132=148,b^2 - 4ac = 4^2 - 4 \times 3 \times (-11) = 16 + 132 = 148\text{,}b2−4ac=42−4×3×(−11)=16+132=148, so x=−4±1486.{x = \dfrac{-4 \pm \sqrt{148}}{6}\text{.}}x=6−4±148.
- x=−4+1486=1.3609…x = \dfrac{-4 + \sqrt{148}}{6} = 1.3609\ldotsx=6−4+148=1.3609… or x=−4−1486=−2.6942…x = \dfrac{-4 - \sqrt{148}}{6} = -2.6942\ldotsx=6−4−148=−2.6942…
- Substituting each full value into y=x+2{y = x + 2}y=x+2 gives x=1.36,{x = 1.36\text{,}}x=1.36, y=3.36{y = 3.36}y=3.36 and x=−2.69,{x = -2.69\text{,}}x=−2.69, y=−0.694,{y = -0.694\text{,}}y=−0.694, to 3 significant figures.
Linear and quadratic simultaneous equations are covered in full in the guide Quadratic Simultaneous Equations.
- Why should a negative value of b{b}b go into the formula in brackets?
- Why are the roots rounded only at the end?
- How do you decide whether to factorise a quadratic or use the formula?
What is the value of b2−4ac{b^2 - 4ac}b2−4ac for 2x2−5x−1=0?{2x^2 - 5x - 1 = 0\text{?}}2x2−5x−1=0?
Solution
33
Which quadratic ax2+bx+c=0,{ax^2 + bx + c = 0\text{,}}ax2+bx+c=0, with a=3,{a = 3\text{,}}a=3, comes from clearing the fractions in 1x+2x−1=3?{\dfrac{1}{x} + \dfrac{2}{x - 1} = 3\text{?}}x1+x−12=3?
Solution
3x2−6x+1=0{3x^2 - 6x + 1 = 0}3x2−6x+1=0
Which quadratic ax2+bx+c=0,{ax^2 + bx + c = 0\text{,}}ax2+bx+c=0, with a=2,{a = 2\text{,}}a=2, comes from substituting y=x+3{y = x + 3}y=x+3 into y=2x2−1?{y = 2x^2 - 1\text{?}}y=2x2−1?
Solution
2x2−x−4=0{2x^2 - x - 4 = 0}2x2−x−4=0