Skip to content
IB Diploma ProgrammeSL & HL

Function inequalities

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Function inequalities notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Function inequalities notes as text: skim, search, and jump between subtopics.

~14 min read

1. Reading the solution from graphs

The solution of g(x) ≥ f(x) is the set of x-values where the graph of g is above or on the graph of f.

The graphs meet where g(x) = f(x). These intersections are the boundaries of the solution.

Read the x-values of the intersections, not the y-values. Write the answer as an inequality in x.

g(x) ≥ f(x) iff graph of g is above or on graph of f

g(x) = f(x) at the intersections

Worked example 14 marks

Let f(x) = x² and g(x) = 5x - 4. Determine the values of x for which g(x) ≥ f(x).

  1. 1

    intersections where f(x) = g(x): x² = 5x - 4 (M1) [1]

  2. 2

    x² - 5x + 4 = 0, so (x - 1)(x - 4) = 0 and x = 1, x = 4 (A1) [1]

  3. 3

    f is a concave up parabola and g is a straight line, so g is above f between the intersections (R1) [1]

  4. 4

    1 ≤ x ≤ 4 (A1) [1]

2. The analytic method for a quadratic

Move everything to one side. g(x) ≥ f(x) becomes g(x) - f(x) ≥ 0.

Solve g(x) - f(x) = 0 to find the critical values. Then sketch y = g(x) - f(x), or test one value in each interval, to see where it is ≥ 0.

Reverse the inequality when you multiply or divide by a negative number. Never divide by an expression that could be negative or zero.

g(x) ≥ f(x) iff g(x) - f(x) ≥ 0

p < q: (x - p)(x - q) ≤ 0 iff p ≤ x ≤ q

p < q: (x - p)(x - q) ≥ 0 iff x ≤ p or x ≥ q

Worked example 14 marks

Let f(x) = 2x² - 3x and g(x) = x + 6. Solve g(x) ≥ f(x).

  1. 1

    x + 6 - (2x² - 3x) ≥ 0, so -2x² + 4x + 6 ≥ 0 (M1) [1]

  2. 2

    divide by -2 and reverse the inequality: x² - 2x - 3 ≤ 0, so (x - 3)(x + 1) ≤ 0 (A1) [1]

  3. 3

    critical values x = -1 and x = 3; the parabola y = x² - 2x - 3 is concave up, so it is ≤ 0 between them (R1) [1]

  4. 4

    -1 ≤ x ≤ 3 (A1) [1]

3. Cubic inequalities

Move everything to one side and factorise fully. A cubic has up to three critical values.

A cubic with a positive leading coefficient is below the axis for x less than its smallest root. It then changes sign at each single root.

Do not divide both sides by x. You lose the root x = 0 and you do not know the sign of x.

p < q < r: (x - p)(x - q)(x - r) ≥ 0 iff p ≤ x ≤ q or x ≥ r

p < q < r: (x - p)(x - q)(x - r) ≤ 0 iff x ≤ p or q ≤ x ≤ r

Worked example 14 marks

Solve x³ ≥ 4x.

  1. 1

    x³ - 4x ≥ 0 (M1) [1]

  2. 2

    factorise x(x - 2)(x + 2) ≥ 0, so the critical values are -2, 0 and 2 (A1) [1]

  3. 3

    positive leading coefficient: the graph is below the axis for x < -2, above for -2 < x < 0, below for 0 < x < 2 and above for x > 2 (M1) [1]

  4. 4

    -2 ≤ x ≤ 0 or x ≥ 2 (A1) [1]

4. Using technology for other functions

Where the functions are not simple polynomials, use technology. Enter y = f(x) and y = g(x), sketch both and find the intersection points.

Read the x-values of the intersections. Decide from the sketch which graph is above, then write the inequality.

Give the x-values to three significant figures, unless they are exact.

intersections: f(x) = g(x) at x = a, b

Worked example 14 marks

Use technology to solve 3x ≥ e^(x). Give your answers to three significant figures.

  1. 1

    sketch y = 3x and y = e^(x) on the same axes (M1) [1]

  2. 2

    the intersections are at x = 0.619 and x = 1.51 (A1) [1]

  3. 3

    the line y = 3x is above the curve y = e^(x) between the intersections (R1) [1]

  4. 4

    0.619 ≤ x ≤ 1.51 (A1) [1]

5. A known solution inside a composite function

A solution can be reused. If f(u) ≤ 40 has solution -5 ≤ u ≤ 1, then (f ° g)(x) ≤ 40 means -5 ≤ g(x) ≤ 1.

Replace the variable in the solution with g(x). Then solve for x.

Check the domain of g. ln x needs x > 0. The domain of g ° f needs f(x) > 0, which is another inequality in x.

(f ° g)(x) = f(g(x))

f(u) ≤ k iff a ≤ u ≤ b ⇒ (f ° g)(x) ≤ k iff a ≤ g(x) ≤ b

Worked example 17 marks

The function f is defined by f(x) = 5(x + 1)(x + 3), where x ∈ R.

(c) Solve the inequality f(x) ≤ 40. [4]

The function g is defined by g(x) = ln x, where x ∈ R, x > 0.

(d)(i) Write down an expression for (f ° g)(x).

(ii) Solve the inequality (f ° g)(x) ≤ 40. [3]

  1. 1

    (c) 5(x + 2)² - 5 ≤ 40 OR 5(x + 1)(x + 3) ≤ 40, leading to (x + 2)² ≤ 9 (A1) [1]

  2. 2

    valid attempt to find the critical values: x + 2 = ± 3 (M1) [1]

  3. 3

    x = -5, x = 1 (A1) [1]

  4. 4

    -5 ≤ x ≤ 1 A1 [1]

  5. 5

    (d)(i) (f ° g)(x) = 5(ln x + 1)(ln x + 3) A1 [1]

  6. 6

    (ii) attempt to replace x with ln x in the solution to part (c): -5 ≤ ln x ≤ 1 (M1) [1]

  7. 7

    e⁻⁵ ≤ x ≤ e A1 [1]

Recap

  • g(x) ≥ f(x) where the graph of g is above or on the graph of f. The boundaries are the intersections.
  • Analytic: g(x) ≥ f(x) iff g(x) - f(x) ≥ 0. Find the critical values, then the sign in each interval.
  • Reverse the inequality when you multiply or divide by a negative number. Never divide by an expression of unknown sign.
  • Concave up quadratic: ≤ 0 between the roots, ≥ 0 outside. Positive cubic: below the axis left of the smallest root.
  • Other functions: use technology and give intersections to three significant figures.
  • For (f ° g)(x) replace the variable in the known solution with g(x), within the domain of g.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. The graphs of y = f(x) and y = g(x) intersect at x = 2 and x = 7. Between these values g is above f, and outside them g is below f. State the solution of g(x) ≥ f(x).1 mark
    Answer
    1. 2 ≤ x ≤ 7.

    Trap: Giving x = 2 and x = 7 names the boundaries only. The solution is the whole interval, ends included because of ≥.

  2. Do not use a calculator. Solve x² - 4x - 5 > 0.2 marks
    Answer
    1. (x - 5)(x + 1) > 0, so the critical values are -1 and 5.
    2. The parabola is concave up, so it is above the axis outside the roots: x < -1 or x > 5.

    Trap: -1 < x < 5 is the region where x² - 4x - 5 < 0: test x = 0, which gives -5, not above 0.

  3. Do not use a calculator. Find the set of values of x for which 3x + 10 ≥ x².3 marks
    Answer
    1. 3x + 10 - x² ≥ 0, so x² - 3x - 10 ≤ 0 (reversing the inequality).
    2. (x - 5)(x + 2) ≤ 0, so the critical values are -2 and 5.
    3. -2 ≤ x ≤ 5.
    4. Check x = 0: 10 ≥ 0 is true. Check x = 6: 28 ≥ 36 is false.

    Trap: Writing (x - 5)(x + 2) ≥ 0 after dropping the minus sign on x² gives the outside region x ≤ -2 or x ≥ 5: dividing by -1 reverses the inequality.

  4. Do not use a calculator. Solve 2x² ≥ 5x + 3.3 marks
    Answer
    1. 2x² - 5x - 3 ≥ 0, so (2x + 1)(x - 3) ≥ 0.
    2. The critical values are x = -1/2 and x = 3.
    3. The parabola is concave up, so x ≤ -1/2 or x ≥ 3.
    4. Check x = 4: 32 ≥ 23 is true. Check x = 0: 0 ≥ 3 is false.

    Trap: The root of 2x + 1 = 0 is -1/2, not 1/2. The answer has two separate parts.

  5. Do not use a calculator. Solve x³ ≥ 9x.4 marks
    Answer
    1. x³ - 9x ≥ 0, so x(x - 3)(x + 3) ≥ 0.
    2. The critical values are -3, 0 and 3.
    3. Positive leading coefficient: below the axis for x < -3, above for -3 < x < 0, below for 0 < x < 3, above for x > 3.
    4. -3 ≤ x ≤ 0 or x ≥ 3.
    5. Check x = -1: -1 ≥ -9 is true. Check x = 1: 1 ≥ 9 is false.

    Trap: Dividing by x gives x² ≥ 9 and x ≤ -3 or x ≥ 3. That is wrong for -3 ≤ x ≤ 0, where x is negative, and it loses x = 0.

  6. A stone is thrown upwards. Its height above the ground after t seconds is h(t) = 20t - 5t² metres, for 0 ≤ t ≤ 4. Determine the length of time for which the stone is at least 15 m above the ground.4 marks
    Answer
    1. 20t - 5t² ≥ 15, so 5t² - 20t + 15 ≤ 0.
    2. t² - 4t + 3 ≤ 0, so (t - 1)(t - 3) ≤ 0 and 1 ≤ t ≤ 3.
    3. This lies inside 0 ≤ t ≤ 4.
    4. Length of time = 3 - 1 = 2 seconds.

    Trap: Stopping at 1 ≤ t ≤ 3 answers a different question: the length of time is 3 - 1 = 2 s.

  7. Use technology to solve 2^(x) ≥ x² + 1. Give any answer that is not exact to three significant figures.4 marks
    Answer
    1. Sketch y = 2^(x) and y = x² + 1.
    2. The intersections are at x = 0, x = 1 and x = 4.26.
    3. The curve y = 2^(x) is above or on the parabola for 0 ≤ x ≤ 1 and for x ≥ 4.26.
    4. Check x = 0.5: 1.41 ≥ 1.25 is true. Check x = 3: 8 ≥ 10 is false. Check x = 5: 32 ≥ 26 is true.

    Trap: Reporting only the intersections 0 and 1 misses the third, at x = 4.26, because the window did not extend far enough to the right.

  8. Let f(x) = x² - x - 6 and g(x) = e^(x). (a) Do not use a calculator. Solve f(x) > 0. [2] (b) Hence solve (f ° g)(x) > 0. [3]5 marks
    Answer
    1. (a)
    2. (x - 3)(x + 2) > 0, so the critical values are -2 and 3.
    3. The parabola is concave up: x < -2 or x > 3.
    4. (b)
    5. (f ° g)(x) > 0 means e^(x) < -2 or e^(x) > 3.
    6. e^(x) > 0 for all x, so e^(x) < -2 has no solution.
    7. e^(x) > 3 gives x > ln 3.
    8. Check x = 2: f(e²) = 54.6 - 7.39 - 6 > 0, true. Check x = 0: f(1) = -6, not > 0.

    Trap: Solving e^(x) < -2 with a logarithm is impossible. e^(x) is always positive, so that part of the solution is empty.

  9. Do not use a calculator. An open box is made from a square sheet of card of side 12 cm. A square of side x cm is cut from each corner and the sides are folded up, so the volume of the box is V = x(12 - 2x)² cm³, for 0 < x < 6. (a) Show that V ≥ 108 leads to x³ - 12x² + 36x - 27 ≥ 0. [2] (b) Hence determine the exact values of x for which the volume is at least 108 cm³. [4]6 marks
    Answer
    1. (a)
    2. x(144 - 48x + 4x²) ≥ 108, so 4x³ - 48x² + 144x - 108 ≥ 0.
    3. Divide by 4, which is positive, so the inequality keeps its direction: x³ - 12x² + 36x - 27 ≥ 0.
    4. (b)
    5. x = 3 is a root: 27 - 108 + 108 - 27 = 0. So x³ - 12x² + 36x - 27 = (x - 3)(x² - 9x + 9).
    6. x² - 9x + 9 = 0 gives x = (9 ± √45)/2 = (9 ± 3√5)/2.
    7. Positive leading coefficient: the cubic is ≥ 0 for (9 - 3√5)/2 ≤ x ≤ 3 or x ≥ (9 + 3√5)/2.
    8. 3√5 > 3, so (9 + 3√5)/2 > 6 lies outside 0 < x < 6. 3√5 = √45 < 9, so (9 - 3√5)/2 > 0.
    9. (9 - 3√5)/2 ≤ x ≤ 3.
    10. Check x = 2: V = 2 × 8² = 128 ≥ 108, true. Check x = 4: V = 4 × 4² = 64, false.

    Trap: Keeping x ≥ (9 + 3√5)/2 ignores the domain 0 < x < 6: no box can be made there, just as ln needs a positive input.

  10. Let f(x) = x² and g(x) = px + q, where p, q ∈ R. The solution of g(x) ≥ f(x) is -1 ≤ x ≤ 4. (a) Determine the values of p and q. [3] (b) Hence solve 3 × 2^(x) + 4 ≥ 4^(x). [4]7 marks
    Answer
    1. (a)
    2. g(x) - f(x) ≥ 0 has critical values -1 and 4, and -x² + px + q = -(x + 1)(x - 4).
    3. -(x² - 3x - 4) = -x² + 3x + 4, so p = 3 and q = 4.
    4. (b)
    5. Let u = 2^(x), so 4^(x) = u² and the inequality is 3u + 4 ≥ u².
    6. By part (a), -1 ≤ u ≤ 4.
    7. 2^(x) > 0, so 0 < 2^(x) ≤ 4.
    8. 2^(x) ≤ 2², so x ≤ 2.
    9. Check x = 2: 12 + 4 = 16 ≥ 16 is true. Check x = 3: 28 ≥ 64 is false.

    Trap: Treating 2^(x) ≥ -1 as a condition, or solving 2^(x) = -1 with a logarithm, is a trap: 2^(x) is always positive, so only the upper bound 2^(x) ≤ 4 matters.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
x = -5 and x = 1, the critical values given as the answer-5 ≤ x ≤ 1: the final inequality earns the last A1
(x + 2)² ≤ 9, so x + 2 ≤ 3 and x ≤ 1x + 2 = ± 3: a valid attempt to find the critical values -5 and 1 (M1)
-5 ≤ x ≤ 1 for (f ° g)(x) ≤ 40-5 ≤ ln x ≤ 1, so e⁻⁵ ≤ x ≤ e: replace x with ln x (M1)
(x + 1)(x + 3) > 0 gives -3 < x < -1x < -3, x > -1: one A1 for the critical values and one A1 for the correct inequalities

Frequently asked questions

What does it mean to solve g(x) ≥ f(x) from a graph?
The solution is the set of x-values where the graph of g is above or on the graph of f. The graphs meet where g(x) = f(x), and these intersections are the boundaries of the solution. Read the x-values of the intersections, not the y-values, and write the answer as an inequality in x.
How do you solve a quadratic inequality by the analytic method?
Move everything to one side, so g(x) ≥ f(x) becomes g(x) - f(x) ≥ 0. Solve g(x) - f(x) = 0 to find the critical values, then sketch the graph or test one value in each interval to see where the expression is ≥ 0. Reverse the inequality when you multiply or divide by a negative number.
Why must a cubic inequality be factorised fully before you solve it?
A cubic has up to three critical values, so the factors must show all of them. With a positive leading coefficient the cubic is below the axis for x less than its smallest root, and it changes sign at each single root. Do not divide both sides by x, because you lose the root x = 0 and do not know the sign of x.
How do you solve an inequality such as 3x ≥ e^(x) when the functions are not simple polynomials?
Use technology. Enter y = 3x and y = e^(x), sketch both and find the intersection points. Decide from the sketch which graph is above, then write the inequality. Here the intersections are at x = 0.619 and x = 1.51, so the solution is 0.619 ≤ x ≤ 1.51, with the answers given to three significant figures.
How do you use a known solution inside a composite function?
Replace the variable in the known solution with g(x), then solve for x. If f(u) ≤ 40 has solution -5 ≤ u ≤ 1, then (f ° g)(x) ≤ 40 means -5 ≤ g(x) ≤ 1. Check the domain of g, because ln x needs x > 0; with g(x) = ln x the answer is e⁻⁵ ≤ x ≤ e.
What goes wrong when you divide both sides of x³ ≥ 9x by x?
Dividing by x gives x² ≥ 9, so x ≤ -3 or x ≥ 3. That is wrong for -3 ≤ x ≤ 0, where x is negative, and it loses x = 0. Factorise instead: x(x - 3)(x + 3) ≥ 0 has critical values -3, 0 and 3, so the answer is -3 ≤ x ≤ 0 or x ≥ 3.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters