Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›2 Functions
  4. ›2.7 Quadratic equations and inequalities

IB Mathematics: Analysis and Approaches · Topic 2 · Functions

2.7 Quadratic equations and inequalities

Solve quadratic equations by factorising or the formula, use the discriminant, and solve quadratic inequalities by reading the graph.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Factorising turns a quadratic equation into two simple ones
  1. 1Factorising turns a quadratic equation into two simple ones
  2. 2The quadratic formula solves any quadratic equation
  3. 3The discriminant shows how many real roots exist
  4. 4Roots of the equation are where the graph meets the axis
  5. 5Quadratic inequalities are solved by reading the graph
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Factorising turns a quadratic equation into two simple ones

A quadratic equation asks for the inputs that make a quadratic expression equal zero. It can be written as ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0, with a≠0a\ne0a=0.

Solving it means finding inputs where f(x)=0f(x)=0f(x)=0. Each such input is a root. On a graph, a root is a point where the curve meets the xxx-axis.

Factorising works because of one fact. If a product is zero, one factor must be zero. So (x−p)(x−q)=0(x-p)(x-q)=0(x−p)(x−q)=0 gives x=px=px=p or x=qx=qx=q. Always rearrange so that one side is zero first.

Worked example

Solve by factorising

Solve 2x2+x−6=02x^2+x-6=02x2+x−6=0.
  1. 1
    Factorise: (2x−3)(x+2)=0(2x-3)(x+2)=0(2x−3)(x+2)=0.
  2. 2
    Set each factor to zero: 2x−3=02x-3=02x−3=0 or x+2=0x+2=0x+2=0.
  3. 3
    Solve each: x=32x=\frac{3}{2}x=23​ or x=−2x=-2x=−2.

Answer: x=32x=\frac{3}{2}x=23​ or x=−2x=-2x=−2.

Exam tip

Take care with the letter ccc. In the definition of a root it is an input. In ax2+bx+cax^2+bx+cax2+bx+c it is the constant term.

Key terms · tap one for its definition

quadratic equation

A quadratic equation is an equation that can be written as ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0, where a≠0a\ne0a=0.

root

A root is an input ccc for which f(c)=0f(c)=0f(c)=0.

Part 1 done

2

Part 2 of 5: The quadratic formula solves any quadratic equation

Some quadratics do not factorise neatly. The quadratic formula still solves them. For ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0 it states x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}x=2a−b±b2−4ac​​.

The ±\pm± sign gives two answers, one with +++ and one with −-−. Substitute aaa, bbb and ccc with their signs. Put brackets around negative numbers. The formula comes from completing the square on the general quadratic. It works even when the quadratic does not factorise.

Worked example

Use the quadratic formula

Solve x2+4x−3=0x^2+4x-3=0x2+4x−3=0. Give exact answers, then answers to 3 significant figures.
  1. 1
    Here a=1a=1a=1, b=4b=4b=4 and c=−3c=-3c=−3.
  2. 2
    Substitute: x=−4±16−4(1)(−3)2x=\frac{-4\pm\sqrt{16-4(1)(-3)}}{2}x=2−4±16−4(1)(−3)​​.
  3. 3
    Simplify: x=−4±282x=\frac{-4\pm\sqrt{28}}{2}x=2−4±28​​.
  4. 4
    Since 28=27\sqrt{28}=2\sqrt{7}28​=27​, this gives x=−2±7x=-2\pm\sqrt{7}x=−2±7​.

Answer: x=−2+7≈0.646x=-2+\sqrt{7}\approx0.646x=−2+7​≈0.646 or x=−2−7≈−4.65x=-2-\sqrt{7}\approx-4.65x=−2−7​≈−4.65.

Common mistake

When bbb is negative, −b-b−b is positive. Many errors come from losing this sign in the first step.

A graphing calculator can also solve the equation. Use it to check your exact answers.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the discriminant of ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0.
Show answer and explanation

Answer: A · Worked explanation

The discriminant is the expression under the square root in the quadratic formula, which is b2−4acb^2-4acb2−4ac. The square root of this expression is not the discriminant itself. The formula gives the roots as −b±Δ2a\frac{-b\pm\sqrt{\Delta}}{2a}2a−b±Δ​​, so everything depends on this expression.
3

Part 3 of 5: The discriminant shows how many real roots exist

In the formula, one part decides whether any real answers exist. The expression under the square root is b2−4acb^2-4acb2−4ac. It is the discriminant, written Δ\DeltaΔ.

A negative number has no real square root, so the sign of Δ\DeltaΔ matters. A repeated root means both factors are equal, as in (x+3)2=0(x+3)^2=0(x+3)2=0.

What the discriminant tells you

Value of Δ\DeltaΔReal rootsGraph
Δ>0\Delta>0Δ>0Two distinct rootsCrosses the xxx-axis twice
Δ=0\Delta=0Δ=0One repeated rootTouches the xxx-axis
Δ<0\Delta<0Δ<0No real rootsDoes not meet the xxx-axis
Value of $\Delta$
Δ>0\Delta>0Δ>0
Real roots
Two distinct roots
Graph
Crosses the xxx-axis twice
Value of $\Delta$
Δ=0\Delta=0Δ=0
Real roots
One repeated root
Graph
Touches the xxx-axis
Value of $\Delta$
Δ<0\Delta<0Δ<0
Real roots
No real roots
Graph
Does not meet the xxx-axis

Worked example

Use the discriminant to find a value

Find the values of kkk for which x2+kx+9=0x^2+kx+9=0x2+kx+9=0 has one repeated root.
  1. 1
    Here a=1a=1a=1, b=kb=kb=k and c=9c=9c=9.
  2. 2
    Set Δ=0\Delta=0Δ=0: k2−4(1)(9)=0k^2-4(1)(9)=0k2−4(1)(9)=0.
  3. 3
    So k2=36k^2=36k2=36.
  4. 4
    Take square roots: k=±6k=\pm6k=±6.

Answer: k=6k=6k=6 or k=−6k=-6k=−6.

The discriminant does not give the roots themselves. It tells you their number and type. Use it first when you only need to know whether roots exist. A quick check can save a long calculation.

Key term

discriminant

The discriminant of ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0 is Δ=b2−4ac\Delta=b^2-4acΔ=b2−4ac, and its sign decides the number of real roots.

Part 3 done

4

Part 4 of 5: Roots of the equation are where the graph meets the axis

The table already linked roots to graphs. The roots of ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0 are the xxx-coordinates where y=ax2+bx+cy=ax^2+bx+cy=ax2+bx+c meets the xxx-axis.

The curve is symmetric about a vertical line through its turning point. So two roots sit evenly either side of that line. Their midpoint is x=−b2ax=-\frac{b}{2a}x=−2ab​.

Compare three parabolas with the same a=1a=1a=1. One crosses the axis twice, one touches it, and one stays above it. Each curve is a vertical shift of the same shape, which changes only the constant term.

Figure 1. The same parabola shifted up or down crosses the xxx-axis twice, touches it once, or misses it.

Their discriminants are 4, 0 and -4 respectively. The sign of Δ\DeltaΔ matches the number of intersections with the xxx-axis.

Part 4 done

Quick check

One question on the part you just read

Easy

State the number of real roots of a quadratic equation whose discriminant is positive.
Show answer and explanation

Answer: B · Worked explanation

When Δ>0\Delta>0Δ>0, the formula gives two different values because the square root is a non-zero real number. One repeated root occurs only when Δ=0\Delta=0Δ=0. A repeated root requires Δ=0\Delta=0Δ=0, and no real roots requires Δ<0\Delta<0Δ<0. There are two roots because the ±\pm± in the formula gives two different values.
5

Part 5 of 5: Quadratic inequalities are solved by reading the graph

An inequality asks for a range of inputs, not just single values. A quadratic inequality compares a quadratic expression with zero. The graph shows which range works.

First find the roots of the related equation. Then sketch the parabola. Read off where the curve lies above or below the xxx-axis. Always sketch the parabola, even roughly, because it prevents choosing the wrong region.

Worked example

Solve a quadratic inequality

Solve x2−x−6<0x^2-x-6<0x2−x−6<0.
  1. 1
    Factorise: (x−3)(x+2)=0(x-3)(x+2)=0(x−3)(x+2)=0, so the roots are x=3x=3x=3 and x=−2x=-2x=−2.
  2. 2
    The parabola opens upwards, so it lies below the axis between the roots.
  3. 3
    The inequality is strict, so the roots are not included.

Answer: −2<x<3-2<x<3−2<x<3.

For x2−x−6>0x^2-x-6>0x2−x−6>0, the curve is above the axis outside the roots. The solution is x<−2x<-2x<−2 or x>3x>3x>3. In interval notation, (−2,3)(-2,3)(−2,3) means the open interval from -2 to 3.

Common mistake

The outside region is not one interval. Write x<−2x<-2x<−2 or x>3x>3x>3, never 3<x<−23<x<-23<x<−2.

Key term

quadratic inequality

A quadratic inequality is a statement that compares a quadratic expression with zero using <<<, >>>, ≤\le≤ or ≥\ge≥.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Define[1 mark]

    Define the term root of a function.

    Show mark schemeHide mark scheme

    Model answer

    A root of a function fff is an input ccc for which f(c)=0f(c)=0f(c)=0.

    • 1 mark for stating that a root is an input at which the function value is zero
  2. 2.Calculate[3 marks]

    Calculate the roots of 3x2−7x+2=03x^2-7x+2=03x2−7x+2=0.

    Show mark schemeHide mark scheme

    Model answer

    Factorise: (3x−1)(x−2)=0(3x-1)(x-2)=0(3x−1)(x−2)=0. Setting each factor to zero gives x=13x=\frac{1}{3}x=31​ or x=2x=2x=2.

    • 1 mark for factorising to (3x−1)(x−2)=0(3x-1)(x-2)=0(3x−1)(x−2)=0
    • 1 mark for setting each factor equal to zero
    • 1 mark for stating x=13x=\frac{1}{3}x=31​ and x=2x=2x=2
  3. 3.Calculate[2 marks]

    Calculate the discriminant of 2x2−3x+52x^2-3x+52x2−3x+5 and state what it shows about the roots.

    Show mark schemeHide mark scheme

    Model answer

    Δ=(−3)2−4(2)(5)=9−40=−31\Delta=(-3)^2-4(2)(5)=9-40=-31Δ=(−3)2−4(2)(5)=9−40=−31. Since Δ<0\Delta<0Δ<0, there are no real roots.

    • 1 mark for calculating Δ=−31\Delta=-31Δ=−31
    • 1 mark for concluding that there are no real roots because Δ<0\Delta<0Δ<0
  4. 4.Determine[3 marks]

    Determine the values of kkk for which x2+kx+16=0x^2+kx+16=0x2+kx+16=0 has one repeated root.

    Show mark schemeHide mark scheme

    Model answer

    Set Δ=k2−4(1)(16)=0\Delta=k^2-4(1)(16)=0Δ=k2−4(1)(16)=0. Then k2=64k^2=64k2=64, so k=8k=8k=8 or k=−8k=-8k=−8.

    • 1 mark for setting the discriminant equal to zero
    • 1 mark for obtaining k2−64=0k^2-64=0k2−64=0
    • 1 mark for stating k=±8k=\pm8k=±8
  5. 5.Determine[3 marks]

    Determine the solution set of x2−2x−8>0x^2-2x-8>0x2−2x−8>0.

    Show mark schemeHide mark scheme

    Model answer

    The roots are found from (x−4)(x+2)=0(x-4)(x+2)=0(x−4)(x+2)=0, so x=4x=4x=4 and x=−2x=-2x=−2. The parabola opens upwards, so it is above the axis outside the roots. The solution is x<−2x<-2x<−2 or x>4x>4x>4.

    • 1 mark for finding the roots x=−2x=-2x=−2 and x=4x=4x=4
    • 1 mark for using the upward-opening parabola to select the outside region
    • 1 mark for stating x<−2x<-2x<−2 or x>4x>4x>4
  6. 6.Explain[2 marks]

    Explain, using the graph, why x2+1=0x^2+1=0x2+1=0 has no real roots.

    Show mark schemeHide mark scheme

    Model answer

    The graph of y=x2+1y=x^2+1y=x2+1 opens upwards with its lowest point at height 1. It never reaches the xxx-axis, so there is no input where y=0y=0y=0.

    • 1 mark for stating that the lowest point of the graph is above the xxx-axis
    • 1 mark for concluding that the graph never meets the xxx-axis, so there are no real roots

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Determine[1 mark]

Determine the roots of (x−2)(x+5)=0(x-2)(x+5)=0(x−2)(x+5)=0.
Show answer and explanation

Answer: D · Worked explanation

A product is zero when a factor is zero. So x−2=0x-2=0x−2=0 gives x=2x=2x=2 and x+5=0x+5=0x+5=0 gives x=−5x=-5x=−5. The pair x=−2x=-2x=−2 and x=5x=5x=5 results from copying the signs in the brackets without reversing them. Check: (2−2)(2+5)=0(2-2)(2+5)=0(2−2)(2+5)=0 and (−5−2)(−5+5)=0(-5-2)(-5+5)=0(−5−2)(−5+5)=0. Each factor gives one root, so a product of two linear factors gives at most two roots.
4.

Medium·Calculate[1 mark]

Calculate the discriminant of 3x2−2x−53x^2-2x-53x2−2x−5.
Show answer and explanation

Answer: A · Worked explanation

Δ=(−2)2−4(3)(−5)=4+60=64\Delta=(-2)^2-4(3)(-5)=4+60=64Δ=(−2)2−4(3)(−5)=4+60=64. The value -56 comes from treating −4ac-4ac−4ac as -60 instead of +60+60+60, ignoring that ccc is negative. Since 64=8\sqrt{64}=864​=8, the roots are rational: 2±86\frac{2\pm8}{6}62±8​ gives 53\frac{5}{3}35​ and -1. Take care with the sign of ccc when it is negative, because −4ac-4ac−4ac then becomes positive.
5.

Medium·Determine[2 marks]

Determine the exact solutions of x2−6x+2=0x^2-6x+2=0x2−6x+2=0.
Show answer and explanation

Answer: C · Worked explanation

Here Δ=36−8=28\Delta=36-8=28Δ=36−8=28, so x=6±282=6±272=3±7x=\frac{6\pm\sqrt{28}}{2}=\frac{6\pm2\sqrt{7}}{2}=3\pm\sqrt{7}x=26±28​​=26±27​​=3±7​. The form with 14\sqrt{14}14​ comes from dividing 28\sqrt{28}28​ by 2 inside the root, which is not valid. Numerically, 3−7≈0.3543-\sqrt{7}\approx0.3543−7​≈0.354 and 3+7≈5.6463+\sqrt{7}\approx5.6463+7​≈5.646, which sum to 6, as the equation requires. Simplify the surd by taking out the largest square factor, here 28=4×728=4\times728=4×7.
6.

Medium·Determine[2 marks]

Determine the values of kkk for which 2x2−4x+k=02x^2-4x+k=02x2−4x+k=0 has two distinct real roots.
Show answer and explanation

Answer: B · Worked explanation

We need Δ>0\Delta>0Δ>0. Here Δ=(−4)2−4(2)(k)=16−8k\Delta=(-4)^2-4(2)(k)=16-8kΔ=(−4)2−4(2)(k)=16−8k. So 16−8k>016-8k>016−8k>0, which gives k<2k<2k<2. The inequality k>2k>2k>2 has the wrong direction, because kkk enters Δ\DeltaΔ with a negative sign. For example, k=1k=1k=1 gives Δ=8>0\Delta=8>0Δ=8>0, and k=3k=3k=3 gives Δ=−8<0\Delta=-8<0Δ=−8<0. Two distinct roots need a positive discriminant, not one equal to zero.
7.

Medium·Determine[2 marks]

Determine the solution of x2−5x+4≤0x^2-5x+4\le0x2−5x+4≤0.
Show answer and explanation

Answer: A · Worked explanation

Factorise to (x−1)(x−4)≤0(x-1)(x-4)\le0(x−1)(x−4)≤0, with roots 1 and 4. The upward parabola is on or below the axis between the roots, and the roots are included. The set x≤1x\le1x≤1 or x≥4x\ge4x≥4 describes where the curve is on or above the axis. Check: at x=2x=2x=2 the expression is 4−10+4=−24-10+4=-24−10+4=−2, which is below zero, as expected between 1 and 4.
8.

Hard·Determine[2 marks]

The equation 2x2+bx+8=02x^2+bx+8=02x2+bx+8=0 has exactly one root, and b>0b>0b>0. Determine that root.
Show answer and explanation

Answer: D · Worked explanation

One root needs Δ=b2−64=0\Delta=b^2-64=0Δ=b2−64=0, so b=8b=8b=8 because b>0b>0b>0. Then 2x2+8x+8=2(x+2)22x^2+8x+8=2(x+2)^22x2+8x+8=2(x+2)2, so x=−2x=-2x=−2. The value -4 comes from using −ba-\frac{b}{a}−ab​ instead of −b2a-\frac{b}{2a}−2ab​. Check: 2(−2)2+8(−2)+8=02(-2)^2+8(-2)+8=02(−2)2+8(−2)+8=0. The words 'exactly one root' signal a repeated root, so set the discriminant equal to zero.
9.

Hard·Determine[2 marks]

Determine the solution of x2+2x>15x^2+2x>15x2+2x>15.
Show answer and explanation

Answer: B · Worked explanation

Rearrange to x2+2x−15>0x^2+2x-15>0x2+2x−15>0, so (x+5)(x−3)>0(x+5)(x-3)>0(x+5)(x−3)>0 with roots -5 and 3. An upward parabola is above the axis outside the roots. The set −5<x<3-5<x<3−5<x<3 is the region where the curve is below the axis. Check: at x=0x=0x=0 the statement 0>150>150>15 is false, and 0 lies between the roots, so that region is rejected.
10.

Hard·Calculate[2 marks]

A rectangle has perimeter 20 cm20\,\mathrm{cm}20cm and area 21 cm221\,\mathrm{cm^2}21cm2. Calculate the length of its longer side.
Show answer and explanation

Answer: C · Worked explanation

Let one side be xxx, so the other is 10−x10-x10−x. Then x(10−x)=21x(10-x)=21x(10−x)=21, giving x2−10x+21=0x^2-10x+21=0x2−10x+21=0 and (x−3)(x−7)=0(x-3)(x-7)=0(x−3)(x−7)=0. The sides are 3 cm and 7 cm. The value 3 cm is the shorter side. Check: 3×7=213\times7=213×7=21 and 2(3+7)=202(3+7)=202(3+7)=20, so both conditions hold.

Keep going

Next topic2.8 Reciprocal and rational functionsPrevious topic2.6 Quadratic functions

More in Topic 2 · Functions

  1. 2.3Graphs of functionsNotes · 10 questions
  2. 2.4Key features of graphsNotes · 10 questions
  3. 2.5Composite and inverse functionsNotes · 10 questions
  4. 2.6Quadratic functionsNotes · 10 questions
  5. 2.7Quadratic equations and inequalitiesNotes · 10 questions
  6. 2.8Reciprocal and rational functionsNotes · 10 questions
  7. 2.9Exponential and logarithmic functionsNotes · 10 questions
  8. 2.10Solving equationsNotes · 10 questions
  9. 2.11Transformations of graphsNotes · 10 questions

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Factorising turns a quadratic equation into two simple ones
  2. 2The quadratic formula solves any quadratic equation
  3. 3The discriminant shows how many real roots exist
  4. 4Roots of the equation are where the graph meets the axis
  5. 5Quadratic inequalities are solved by reading the graph
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

Three parabolas and the x-axis

y-3-2-10123-202468x
  • y = x² − 1
  • y = x²
  • y = x² + 1