B3PureCore

Quadratic Functions

A quadratic is any expression with an x2x^{2} term as its highest power. Solving one means finding where its curve crosses the xx-axis — and you have three tools for the job: factorising, the formula, and completing the square.

30 min Video by TLMaths Algebra and Functions

The big picture

Quadratics are the first genuinely curved functions you study, and they are everywhere: the path of a thrown ball, the area of a rectangle with a fixed perimeter, the profit at a given price. Their U-shaped (parabola) graph turns once, which is why they can have two solutions, one, or none. Almost every later topic — the discriminant, completing the square, quadratic inequalities, even disguised quadratics in trigonometry and logarithms — is built on being fluent here. The goal of this lesson is not just to solve a quadratic, but to know instantly which of the three methods will be fastest.

A-Level Maths B3-15: Three Ways to Solve a Quadratic EquationCurated by Kepler, not produced by us. Watch it, then work through the notes below.
Open on YouTube

What you'll be able to do

  • Recognise a quadratic and connect its roots to where the graph meets the xx-axis
  • Solve a quadratic by factorising, using the zero-product idea
  • Solve any quadratic with the quadratic formula
  • Choose the most efficient method for a given equation
1

What a quadratic is, and what a root means

A quadratic function has the form f(x)=ax2+bx+cf(x) = ax^{2} + bx + c, where a≠0a \neq 0 (if aa were 0 there would be no x2x^2 term and it would just be a straight line). Its graph is a parabola\textbf{parabola} — a symmetric U-shape (or ∩-shape if a<0a < 0).

The roots\textbf{roots} (or solutions) of ax2+bx+c=0ax^2 + bx + c = 0 are the xx-values that make the function zero. Graphically, these are exactly the points where the curve crosses the xx-axis. A parabola can cross twice, touch once, or miss entirely — which is why a quadratic has two, one, or no real roots.

Why this works

Setting f(x)=0f(x) = 0 and asking “where does the curve hit the xx-axis?” are the same question. Keeping the graph in mind stops you accepting an impossible answer, like a single crossing where the algebra should give two.

2

Method 1 — factorising

Factorising rewrites the quadratic as a product of two brackets. It relies on one powerful fact: if two things multiply to give zero, at least one of them must be zero. So once (x−p)(x−q)=0(x - p)(x - q) = 0, either x=px = p or x=qx = q.

This is the fastest method when it works\textbf{when it works} — but not every quadratic factorises with whole numbers, which is where the other methods come in.

(x−p)(x−q)=0  ⇒  x=p or x=q(x - p)(x - q) = 0 \;\Rightarrow\; x = p \text{ or } x = q
The zero-product principle — the engine of factorising.
Example 1Solve x2−7x+12=0x^{2} - 7x + 12 = 0.
1Find two numbers that multiply to +12+12 and add to −7-7: they are −3-3 and −4-4.
2Factorise: (x−3)(x−4)=0(x - 3)(x - 4) = 0.
3Set each bracket to zero: x−3=0x - 3 = 0 or x−4=0x - 4 = 0.
Answer
x=3x = 3 or x=4x = 4
Example 2Solve 2x2+x−6=02x^{2} + x - 6 = 0.
1Multiply a×c=2×(−6)=−12a \times c = 2 \times (-6) = -12; find two numbers multiplying to −12-12 and adding to +1+1: +4+4 and −3-3.
2Split the middle term: 2x2+4x−3x−6=02x^2 + 4x - 3x - 6 = 0.
3Factorise in pairs: 2x(x+2)−3(x+2)=0⇒(2x−3)(x+2)=02x(x + 2) - 3(x + 2) = 0 \Rightarrow (2x - 3)(x + 2) = 0.
Answer
x=32x = \tfrac{3}{2} or x=−2x = -2

Tip — Never “divide through by xx” to solve a quadratic — you would throw away the root x=0x = 0. Instead factor the xx out: x2−5x=0x^2 - 5x = 0 becomes x(x−5)=0x(x - 5) = 0, giving x=0x = 0 or x=5x = 5.

3

Method 2 — the quadratic formula

When factorising is awkward or impossible, the quadratic formula solves ax2+bx+c=0ax^2 + bx + c = 0 every time. It is derived by completing the square on the general quadratic (the next lesson), so it carries all the same information.

The ±\pm is what produces the two roots — one from adding the square root, one from subtracting it. Getting the signs of aa, bb and cc right (including their own minus signs) is where care pays off.

x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
Works for every quadratic — memorise it exactly.
Example 1Solve 3x2−5x−1=03x^{2} - 5x - 1 = 0, giving answers to 3 significant figures.
1Identify a=3a = 3, b=−5b = -5, c=−1c = -1.
2Substitute: x=−(−5)±(−5)2−4(3)(−1)2(3)=5±25+126x = \dfrac{-(-5) \pm \sqrt{(-5)^2 - 4(3)(-1)}}{2(3)} = \dfrac{5 \pm \sqrt{25 + 12}}{6}.
3=5±376= \dfrac{5 \pm \sqrt{37}}{6}.
4Evaluate: 5+6.0836=1.85\dfrac{5 + 6.083}{6} = 1.85 and 5−6.0836=−0.180\dfrac{5 - 6.083}{6} = -0.180.
Answer
x=1.85x = 1.85 or x=−0.180x = -0.180 (3 s.f.)
Why this works

The part under the root, b2−4acb^2 - 4ac, is the discriminant\textbf{discriminant}. Its sign alone tells you how many roots exist before you finish the calculation — the subject of a lesson all its own.

4

Choosing your method

Try to factorise first\textbf{factorise first} — if it factorises cleanly it is quickest, and it gives exact answers. If it resists factorising (the numbers do not fall out, or the question asks for surds or decimals), go straight to the formula\textbf{formula}. Save completing the square\textbf{completing the square} for when you also need the turning point or an exact surd form.

A quick check: if the question says “give your answer to 2 decimal places” or “in the form p±qrp \pm q\sqrt{r}”, the quadratic almost certainly does not factorise, so reach for the formula immediately.

Think like an examiner

  • Read the instruction: “to 2 d.p.” signals the formula; “in exact/surd form” signals the formula or completing the square; a clean question often factorises.
  • When using the formula, write aa, bb, cc (with signs) before substituting — this earns a method mark and prevents sign slips.
  • A quadratic set to “=0= 0” is essential before any method. If it is not, rearrange first: everything on one side, zero on the other.
  • Give both\textbf{both} roots unless the context (e.g. a length) rules one out — and if it does, state why you reject it.

Common misconceptions

Dividing x2=5xx^{2} = 5x by xx to get x=5x = 5.
Move everything to one side: x2−5x=0⇒x(x−5)=0x^2 - 5x = 0 \Rightarrow x(x-5)=0, so x=0x = 0 or x=5x = 5. Dividing by xx loses the x=0x=0 root.
Mishandling signs in the formula, e.g. taking b=5b = 5 when the equation has −5x-5x.
Use b=−5b = -5. Substitute the coefficients exactly as they appear, including their signs.
Forgetting the ±\pm and giving only one root.
The ±\pm gives two roots; report both unless the context excludes one.
Applying the formula to an equation not yet equal to zero.
Rearrange to ax2+bx+c=0ax^2 + bx + c = 0 first, or the coefficients will be wrong.

Solving a quadratic

ax2+bx+c=0ax^{2} + bx + c = 0
Standard form (a≠0a \neq 0).
(x−p)(x−q)=0⇒x=p, q(x-p)(x-q)=0 \Rightarrow x = p,\, q
Zero-product (factorising).
x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^{2}-4ac}}{2a}
The quadratic formula.

Stretch yourself

Solve x4−5x2+4=0x^{4} - 5x^{2} + 4 = 0. (Hint: it is secretly a quadratic.)

Hint — Let u=x2u = x^2. The equation becomes a quadratic in uu. Solve for uu, then work back to xx — and expect up to four values.

Reveal solution
SolutionLet u=x2u = x^2, so u2−5u+4=0u^2 - 5u + 4 = 0. Factorise: (u−1)(u−4)=0(u - 1)(u - 4) = 0, giving u=1u = 1 or u=4u = 4. Back-substitute: x2=1⇒x=±1x^2 = 1 \Rightarrow x = \pm1, and x2=4⇒x=±2x^2 = 4 \Rightarrow x = \pm2. So x=−2,−1,1,2x = -2, -1, 1, 2. This “hidden quadratic” trick (also called a quadratic in disguise) reappears constantly — with exe^x, with x\sqrt x, and with sin⁡x\sin x later on. ■\blacksquare

Questions students ask

How do I know whether to factorise or use the formula?
Try factorising first; if two whole numbers multiply to acac and add to bb, it factorises and that is quickest. If they do not exist, or the question asks for decimals or surds, use the formula, which always works.
Why can’t I just divide both sides by xx?
Because xx might be zero, and dividing by it deletes the root x=0x = 0. Always move everything to one side and factor the xx out instead.
What does it mean if the formula gives a negative under the square root?
It means b2−4ac<0b^2 - 4ac < 0, so there are no real roots — the parabola never crosses the xx-axis. The discriminant lesson explains this in full.
What is a “quadratic in disguise”?
An equation that becomes a quadratic after a substitution, such as x4−5x2+4=0x^4 - 5x^2 + 4 = 0 with u=x2u = x^2, or an equation in exe^x or sin⁡x\sin x. Spotting the hidden u2+…u^2 + \ldots pattern lets you solve it with the usual tools.

Key takeaways

  • A quadratic is ax2+bx+cax^2 + bx + c with a≠0a \neq 0; its roots are where the parabola meets the xx-axis.
  • Factorising uses the zero-product idea — fastest when it works.
  • The quadratic formula x=−b±b2−4ac2ax = \tfrac{-b\pm\sqrt{b^2-4ac}}{2a} solves any quadratic.
  • Rearrange to “=0=0” first, and never divide by xx.
  • Substitution turns disguised quadratics (in x2x^2, exe^x, sin⁡x\sin x) into ordinary ones.

How this fits the course

Build on

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. Solve x2−9=0x^{2} - 9 = 0.

    • x=±3x = \pm 3
    • x=3x = 3
    • x=9x = 9
    • x=±9x = \pm 9
    Show answer and explanation

    Answer: x=±3x = \pm 3

    (x−3)(x+3)=0(x-3)(x+3)=0, so x=3x = 3 or x=−3x = -3.

  2. The roots of a quadratic correspond graphically to:

    • where the curve crosses the xx-axis
    • the turning point
    • the yy-intercept
    • the line of symmetry
    Show answer and explanation

    Answer: where the curve crosses the xx-axis

    Roots are the xx-values making y=0y = 0, i.e. the xx-axis crossings.

  3. Solve x2+2x−15=0x^{2} + 2x - 15 = 0.

    • x=3x = 3 or x=−5x = -5
    • x=−3x = -3 or x=5x = 5
    • x=3x = 3 or x=5x = 5
    • x=15x = 15 or x=−1x = -1
    Show answer and explanation

    Answer: x=3x = 3 or x=−5x = -5

    (x−3)(x+5)=0(x-3)(x+5)=0: two numbers multiplying to −15-15, adding to +2+2.

  4. In the formula, for 2x2−3x−4=02x^{2} - 3x - 4 = 0, the values are:

    • a=2, b=−3, c=−4a=2,\ b=-3,\ c=-4
    • a=2, b=3, c=4a=2,\ b=3,\ c=4
    • a=2, b=−3, c=4a=2,\ b=-3,\ c=4
    • a=−2, b=3, c=−4a=-2,\ b=3,\ c=-4
    Show answer and explanation

    Answer: a=2, b=−3, c=−4a=2,\ b=-3,\ c=-4

    Read coefficients with their signs exactly as written.

  5. Solve x2=6xx^{2} = 6x.

    • x=0x = 0 or x=6x = 6
    • x=6x = 6
    • x=±6x = \pm 6
    • x=0x = 0
    Show answer and explanation

    Answer: x=0x = 0 or x=6x = 6

    x2−6x=0⇒x(x−6)=0x^2 - 6x = 0 \Rightarrow x(x-6)=0. Do not divide by xx.

  6. Using u=x2u = x^{2}, the equation x4−13x2+36=0x^{4} - 13x^{2} + 36 = 0 has how many real solutions?

    • 4
    • 2
    • 1
    • 0
    Show answer and explanation

    Answer: 4

    u2−13u+36=(u−4)(u−9)=0u^2-13u+36=(u-4)(u-9)=0, so x2=4,9⇒x=±2,±3x^2 = 4, 9 \Rightarrow x = \pm2, \pm3 — four roots.

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 15 lessons

Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.