Solving quadratic equations

Solving quadratic equations

Spec B3 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A quadratic equation can be written ax2+bx+c=0ax^2+bx+c=0 with a≠0a\neq0: always make one side zero first.
  • Solve by factorising, the formula or completing the square.
  • The roots are where the graph crosses the xx-axis; they sum to −ba-\frac ba and multiply to ca\frac ca.
  • A hidden quadratic needs a substitution such as u=x2u=x^2, and you must substitute back.
  • In a worded problem, reject any root that does not fit the context.
  • Quadratic formulax=−b±b2−4ac2ax=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a}

Solving by factorising

Rearrange to zero, factorise, then set each bracket equal to zero.

A quadratic equation has the form ax2+bx+c=0ax^2+bx+c=0. If AB=0AB=0 then A=0A=0 or B=0B=0, so 2x2−5x−12=(2x+3)(x−4)=02x^2-5x-12=(2x+3)(x-4)=0 gives x=−32x=-\frac32 or x=4x=4.

A quadratic has up to two roots. Check with the sum 52=−ba\frac52=-\frac ba and product −6=ca-6=\frac ca.

−3−2−112345−20−15−10−55101520xy(−1.5, 0)(4, 0)(0, −12)y = 2x² − 5x − 12
The roots of 2x² − 5x − 12 = 0 are where the curve crosses the x-axis.

Worked example

Solve x2+x−12=0x^2+x-12=0.

What are the solutions of x2−5x+6=0x^2-5x+6=0?

The quadratic formula

When a quadratic will not factorise easily, the formula solves it for any a≠0a\neq0.

Write down aa, bb and cc with their signs, then substitute using brackets, so b=−5b=-5 gives −(−5)=+5-(-5)=+5.

If the question asks for an exact answer, leave surds in root form. Otherwise keep full calculator values until the end, then round to the accuracy asked.

−6−5−4−3−2−112−15−10−5510xy(0.345, 0)(−4.345, 0)(0, −3)y = 2x² + 8x − 3
The roots of 2x² + 8x − 3 = 0 are x ≈ 0.345 and x ≈ −4.345.

Worked example

Solve 2x2+8x−3=02x^2+8x-3=0, giving exact answers.

What are the exact solutions of x2−6x+4=0x^2-6x+4=0?

Completing the square

Write the quadratic as a bracket squared plus a constant, then take square roots with both signs.

For x2+bx+c=0x^2+bx+c=0 write (x+b2)2=b24−c\left(x+\frac b2\right)^2=\frac{b^2}{4}-c, then take the square root, remembering ±\pm.

If a≠1a\neq1, divide the equation by aa or take out the factor aa first. This method also gives the turning point: (x+2)2−9(x+2)^2-9 has turning point (−2,−9)(-2,-9).

−7−6−5−4−3−2−1123−10−551015xy(−2, −9)(−5, 0)(1, 0)y = (x + 2)² − 9
Turning point (−2, −9) from the form (x + 2)² − 9.

Worked example

Solve x2+4x−5=0x^2+4x-5=0 by completing the square.

Complete the square to solve x2−6x+1=0x^2-6x+1=0.

Hidden quadratics

Spot a repeated expression, call it uu, solve for uu, then substitute back to find the unknown.

A substitution turns the equation into a quadratic.

  • x4−13x2+36=0x^4-13x^2+36=0: let u=x2u=x^2, so u=4u=4 or 99 and x=±2x=\pm2 or ±3\pm3.
  • x−7x+10=0x-7\sqrt x+10=0: let u=xu=\sqrt x, so u=2u=2 or 55 and x=4x=4 or 2525.
  • 2(y+1)2−5(y+1)−12=02(y+1)^2-5(y+1)-12=0: let u=y+1u=y+1, so u=4u=4 or −32-\frac32 and y=3y=3 or −52-\frac52.
−3−2−1123−1010203040xy(−3, 0)(−2, 0)(2, 0)(3, 0)y = x⁴ − 13x² + 36
Four crossings of the x-axis: x = ±2 and x = ±3.

Worked example

Solve x4−5x2+4=0x^4-5x^2+4=0.

With u=xu=\sqrt x you find u=−2u=-2 or u=5u=5. What are the solutions for xx?

Solving problems in context

Form a quadratic from the information, solve it, then check every solution against the context.

Use area, Pythagoras or products to form the equation.

A garden of length (x+5)(x+5) and width (x−1)(x-1) has area 72, so x2+4x−77=0x^2+4x-77=0 and (x+11)(x−7)=0(x+11)(x-7)=0. A width must be positive, so reject x=−11x=-11 and keep x=7x=7.

If its diagonal is 15 m instead, 2x2+8x−199=02x^2+8x-199=0, giving x=8.17x=8.17; the root −12.2-12.2 is rejected.

12 m6 mABCD
The garden for x = 7: 12 m by 6 m, area 72 m².

Worked example

A rectangle has width xx cm and length (x+3)(x+3) cm. Its area is 40 cm2^2. Find xx.

Which solutions of x2+3x−40=0x^2+3x-40=0 fit a rectangle of width xx cm?

Try an exam question

Solve x4−10x2+9=0x^4-10x^2+9=0.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the solutions of the equation.

1 mark, marked against the mark scheme

Revision notes