2.7 · SLPaper 1Paper 2

Quadratic equations and inequalities

Builds on 2.6 Quadratic functions26 min read

In a minute

A quadratic equation ax2+bx+c=0ax^{2} + bx + c = 0 has at most two solutions, called or zeros. You find them by factorising, by or with the quadratic formula, and the same roots solve quadratic inequalities. The b2−4acb^{2} - 4ac tells you how many real roots there are before you solve anything.

You'll be able to

  • Solve a quadratic equation by factorising, and know that its solutions are called or zeros.
  • Solve a quadratic equation by or with the quadratic formula, exactly on Paper 1 and with a GDC on Paper 2.
  • Solve a quadratic inequality using its roots and a sketch of the .
  • Use the Δ=b2−4ac\Delta = b^{2} - 4ac to tell how many real roots an equation has: two different ones, one repeated one, or none.
  • Find the values of a that give a quadratic equation a stated type of roots.
Before you start2 quick questions on what this builds on
Check yourself
Which point is the vertex of the parabola y=2(x+1)2−5y = 2(x + 1)^{2} - 5?
Check yourself
Where does the graph of y=(x−2)(x+6)y = (x - 2)(x + 6) cross the xx-axis?

Revise first: 2.6 Quadratic functions

Roots and solving by factorising

If two numbers multiply to give 00, one of them must be 00. This one fact solves most quadratic equations on Paper 1.

A quadratic equation is one that can be written as ax2+bx+c=0ax^{2} + bx + c = 0 with a≠0a \neq 0. It has at most two roots, because a crosses the xx-axis at most twice.

1. Rearrange so one side is 00.

2. Factorise the other side into two brackets.

3. Set each bracket equal to 00 and solve.

Worked exampleSolve x2+3x−28=0x^{2} + 3x - 28 = 0.

Try it first, then reveal one step at a time.

  1. One side is already 00. Look for two numbers that multiply to −28-28 and add to 33.

When a≠1a \neq 1, split the middle term. Find two numbers that multiply to acac and add to bb, then factorise in pairs.

Worked exampleSolve 6x2=7x+36x^{2} = 7x + 3.

Try it first, then reveal one step at a time.

  1. Rearrange so one side is 00: 6x2−7x−3=06x^{2} - 7x - 3 = 0. Here a=6a = 6, b=−7b = -7, c=−3c = -3.
Check yourself
Solve 3x2=12x3x^{2} = 12x.
Check yourself
Solve 2x2+5x−12=02x^{2} + 5x - 12 = 0.

Completing the square and the quadratic formula

Try to factorise x2−8x+3x^{2} - 8x + 3. No two whole numbers multiply to 33 and add to −8-8. The exist, but they are not whole numbers. You need a method that always works.

You can solve (x−4)2=13(x - 4)^{2} = 13 at once: take square roots of both sides. rewrites any quadratic in this shape. It is the vertex form from 2.6.

Learn this
x2+bx=(x+b2)2−(b2)2x^{2} + bx = \left(x + \frac{b}{2}\right)^{2} - \left(\frac{b}{2}\right)^{2}

Halve the coefficient of xx to get the number in the bracket. Then subtract its square, because squaring the bracket adds it.

Worked exampleSolve x2−8x+3=0x^{2} - 8x + 3 = 0 by completing the square. Give your answers in exact form.

Try it first, then reveal one step at a time.

  1. Half of −8-8 is −4-4, so x2−8x=(x−4)2−16x^{2} - 8x = (x - 4)^{2} - 16.

Completing the square on ax2+bx+c=0ax^{2} + bx + c = 0 itself, with letters instead of numbers, gives a formula for the roots of every quadratic.

In the formula booklet
ax2+bx+c=0  ⇒  x=−b±b2−4ac2a,a≠0ax^{2} + bx + c = 0 \;\Rightarrow\; x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}, \quad a \neq 0

The quadratic formula is in the formula booklet, so you don't need to memorise it. You do need to read off aa, bb and cc with their signs.

Worked exampleSolve 3x2−4x−2=03x^{2} - 4x - 2 = 0. Give your answers in the form p±qr\frac{p \pm \sqrt{q}}{r}, where p,q,r∈Zp, q, r \in \mathbb{Z}.

Try it first, then reveal one step at a time.

  1. Read off the coefficients, signs included: a=3a = 3, b=−4b = -4, c=−2c = -2.

On Paper 2 your GDC solves a quadratic directly with its polynomial root finder. Write down the equation you are solving first, since that line earns the method mark.

Worked exampleA stone is thrown from a cliff. Its height above the sea, in metres, tt seconds after it is thrown is h(t)=18+7t−4.9t2h(t) = 18 + 7t - 4.9t^{2}. Use your calculator to find how long the stone takes to reach the sea. Give your answer to 3 s.f.

Try it first, then reveal one step at a time.

  1. The stone reaches the sea when h(t)=0h(t) = 0. Write down the equation: −4.9t2+7t+18=0-4.9t^{2} + 7t + 18 = 0.
Check yourself
Solve x2+10x+18=0x^{2} + 10x + 18 = 0 by completing the square.
Check yourself
Find the larger root of 2x2−7x+1=02x^{2} - 7x + 1 = 0. Give your answer to 3 s.f.

Quadratic inequalities

When is x2−x−12x^{2} - x - 12 negative? The graph of y=x2−x−12y = x^{2} - x - 12 answers this. It is a that opens upwards and crosses the xx-axis at x=−3x = -3 and x=4x = 4.

Graph of y equals x squared minus x minus 12, crossing the x-axis at minus 3 and 4. It is above the axis to the left of minus 3 and to the right of 4, and below the axis between them. x y −3 4 y > 0 y > 0 y < 0
Between its the parabola y=x2−x−12y = x^{2} - x - 12 is below the xx-axis. Outside them it is above.

The graph can only change sign where it crosses the axis. So the roots split the number line into pieces where the sign stays the same. These boundary values are called .

1. Rearrange so one side is 00, with a positive x2x^{2} term.

2. Solve the equation to find the critical values.

3. Sketch the parabola and mark the critical values.

4. Read off where the graph is above or below the axis. Use ≤\le or ≥\ge if the inequality includes 00, and << or >> if it doesn't.

Worked exampleSolve x2−x−12<0x^{2} - x - 12 < 0.

Try it first, then reveal one step at a time.

  1. Find the critical values: x2−x−12=(x+3)(x−4)=0x^{2} - x - 12 = (x + 3)(x - 4) = 0, so x=−3x = -3 or x=4x = 4.
Worked exampleSolve 3+5x≥2x23 + 5x \ge 2x^{2}.

Try it first, then reveal one step at a time.

  1. Move every term to the right, so the x2x^{2} term stays positive: 0≥2x2−5x−30 \ge 2x^{2} - 5x - 3, that is 2x2−5x−3≤02x^{2} - 5x - 3 \le 0.

On Paper 2, when the roots are not nice numbers, graph the quadratic on your GDC and find its zeros. Then read the answer off the graph in the same way.

Check yourself
Solve x2>9xx^{2} > 9x.
Check yourself
Solve x2+4x−5≤0x^{2} + 4x - 5 \le 0.

The discriminant and the nature of the roots

Look at the part of the quadratic formula under the square root, b2−4acb^{2} - 4ac. Positive: ±\pm gives two different . Zero: both signs give the same root. Negative: there is no real square root.

In the formula booklet
Δ=b2−4ac\Delta = b^{2} - 4ac

Two equal real roots means one , x=−b2ax = -\frac{b}{2a}. The graph then touches the xx-axis at its vertex without crossing it.

Discriminant and rootsDrag the sliders
−6−4−2246−8−6−4−224681.003.00

y = x² − 4x + 3

Δ = b² − 4ac = 4.00

2 distinct real roots

Roots: 1.00, 3.00

1
−4
3
The roots are where the curve crosses the x-axis. Δ tells you how many there are before you solve anything.

Drag cc from 33 up to 44: the lifts until it just touches the axis and Δ=0\Delta = 0. Keep going and it leaves the axis, so Δ<0\Delta < 0 and there are no real roots.

Worked exampleFind the value of the discriminant of 2x2−5x+4=02x^{2} - 5x + 4 = 0. Hence state the nature of its roots.

Try it first, then reveal one step at a time.

  1. Read off a=2a = 2, b=−5b = -5, c=4c = 4.

A is a letter, such as kk or mm, standing for a fixed number you don't know yet. To find the values that give a type of roots, turn the condition into a statement about Δ\Delta, then solve it.

Learn this
two distinct real roots: Δ>0two equal real roots: Δ=0no real roots: Δ<0\text{two distinct real roots: } \Delta > 0 \qquad \text{two equal real roots: } \Delta = 0 \qquad \text{no real roots: } \Delta < 0

For "two equal real roots" you solve the equation Δ=0\Delta = 0. For "no real roots" or "two distinct real roots" you get a quadratic inequality in the parameter: solve it as in the last section.

Worked exampleThe equation (m−2)x2+4x+(m+1)=0(m - 2)x^{2} + 4x + (m + 1) = 0 has no real roots. Find the possible values of mm.

Try it first, then reveal one step at a time.

  1. No real roots, so Δ<0\Delta < 0. Here a=m−2a = m - 2, b=4b = 4, c=m+1c = m + 1.

If the parameter is in the x2x^{2} term, find the value that makes that term 00. At that value the equation is not a quadratic, so it can't have two distinct roots. Leave that value out of your answer.

Check yourself
The equation kx2−6x+(k+8)=0kx^{2} - 6x + (k + 8) = 0 has two distinct real roots. Find the possible values of kk.
Check yourself
Which describes the roots of 9x2−30x+25=09x^{2} - 30x + 25 = 0?
Check yourself
The equation 4x2+cx+9=04x^{2} + cx + 9 = 0 has two equal real roots, and c>0c > 0. Find cc.
Check yourself
How many times does the line y=2x+1y = 2x + 1 meet the curve y=x2+4x+3y = x^{2} + 4x + 3?

Common mistakes

  • Using Δ≥0\Delta \ge 0 for two distinct real roots. A repeated root has Δ=0\Delta = 0, so distinct roots need Δ>0\Delta > 0.
  • Giving the region between the critical values when the parabola is positive outside them, or the reverse. Sketch it before you write the answer.
  • Taking only the positive square root. (x+p)2=q(x + p)^{2} = q gives x+p=±qx + p = \pm\sqrt{q}, so there are two roots.
  • Dividing by xx or by a parameter. It can lose a root such as x=0x = 0, or reverse an inequality if the divisor is negative. Factorise instead.
  • Keeping a value the question rules out, such as k=0k = 0 when it says k≠0k \neq 0, or a negative time in a context. Check each answer against the conditions.

Exam tips

  • "Solve" means find every root. On Paper 1, show the factorisation or the substitution into the formula, and leave answers exact, for example 2±103\frac{2 \pm \sqrt{10}}{3}.
  • On Paper 2, write down the equation you put into the GDC, then give each root to 3 s.f. Reject roots that make no sense in the context and say why.
  • "Show that" a line and a curve meet when a quadratic equals 00: set the two expressions equal and rearrange line by line until you reach the given equation exactly.

Key takeaways

In bookletax2+bx+c=0  ⇒  x=−b±b2−4ac2a,a≠0ax^{2} + bx + c = 0 \;\Rightarrow\; x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}, \quad a \neq 0
In bookletΔ=b2−4ac\Delta = b^{2} - 4ac
Learn thisTo solve ax2+bx+c=0ax^{2} + bx + c = 0: rearrange to =0= 0, then factorise, complete the square or use the formula. The solutions are called roots or zeros.
Learn thisCompleting the square: x2+bx=(x+b2)2−(b2)2x^{2} + bx = \left(x + \frac{b}{2}\right)^{2} - \left(\frac{b}{2}\right)^{2}. Then take square roots with ±\pm.
Learn thisQuadratic inequality: find the critical values, sketch the parabola, read off. With a>0a > 0, <0< 0 is between the roots and >0> 0 is outside them.
Learn thisΔ>0\Delta > 0 gives two distinct real roots. Δ=0\Delta = 0 gives one repeated root (two equal roots). Δ<0\Delta < 0 means the equation has no real roots.
Learn thisParameter questions: write the condition on Δ\Delta, substitute, solve the equation or inequality in the parameter, and reject any value the question rules out.

Practise this

14 past-paper questions on 2.7 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 2.7 →