2.15 · AHL · HL onlyPaper 1Paper 2

Function inequalities

In a minute

To solve g(x)≥f(x)g(x) \ge f(x), find where the graph of gg is on or above the graph of ff. The xx-values where the graphs meet, and any vertical , are the boundaries. For polynomials up to degree 3 you find them exactly by algebra. For other functions, your GDC finds them.

You'll be able to

  • Read the solution of g(x)≥f(x)g(x) \ge f(x) from the graphs of ff and gg, using where they meet as boundaries.
  • Solve an inequality between polynomials of degree 3 or less exactly, by factorising and using a .
  • Handle xx in a denominator without multiplying by an expression of unknown sign.
  • Use your GDC to solve inequalities with logs, exponentials, rational and other functions, giving end points to 3 s.f.
Before you start2 quick questions on what this builds on
Check yourself
Solve x2−2x−15>0x^{2} - 2x - 15 > 0.
Check yourself
Given that (x−2)(x - 2) is a factor of x3−3x2−4x+12x^{3} - 3x^{2} - 4x + 12, factorise it fully.

Revise first: 2.7 Quadratic equations and inequalities and 2.12 Polynomial functions

Reading an inequality from two graphs

In 2.7 you solved x2−x−12<0x^{2} - x - 12 < 0 by asking where one graph is below the xx-axis. Now there are two functions on the two sides, such as 4−x2≥x+24 - x^{2} \ge x + 2.

Draw both graphs on the same axes. At each xx, the inequality g(x)≥f(x)g(x) \ge f(x) asks one question: is the point on the graph of gg level with or above the point on the graph of ff?

The parabola y equals 4 minus x squared and the line y equals x plus 2. They meet at the points with x equal to minus 2 and 1. Between those x-values the parabola is above the line, and outside them it is below. x y −2 1 (1, 3) (−2, 0) y = x + 2 y = 4 − x²
The parabola is above the line only between the two meeting points, so 4−x2≥x+24 - x^{2} \ge x + 2 when −2≤x≤1-2 \le x \le 1.

The xx-coordinates of the meeting points, together with any vertical , are the . They split the number line into pieces, and on each piece one graph stays on top.

In algebra, g(x)≥f(x)g(x) \ge f(x) exactly when the difference g(x)−f(x)g(x) - f(x) is 00 or positive:

Learn this
g(x)≥f(x)  ⟺  g(x)−f(x)≥0g(x) \ge f(x) \iff g(x) - f(x) \ge 0

1. Sketch both graphs on one set of axes.

2. Find the xx-coordinates where they meet by solving g(x)=f(x)g(x) = f(x). Note any vertical asymptotes too.

3. On each piece between these values, see which graph is on top. If you are unsure, test one xx-value from that piece.

4. Write the solution as inequalities. With ≤\le or ≥\ge, include the meeting points. Never include an asymptote, because a function has no value there.

Worked exampleLet f(x)=4−x2f(x) = 4 - x^{2} and g(x)=x+2g(x) = x + 2, as in the figure. Solve f(x)≥g(x)f(x) \ge g(x).

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

  1. Find where the graphs meet: 4−x2=x+24 - x^{2} = x + 2. Move every term to one side: x2+x−2=0x^{2} + x - 2 = 0.
Check yourself
Let f(x)=x2−1f(x) = x^{2} - 1 and g(x)=x+1g(x) = x + 1. Solve f(x)<g(x)f(x) < g(x).

Now a function with a break. The graph of y=6xy = \frac{6}{x} has a vertical asymptote at x=0x = 0, where it jumps from far below the axis to far above it.

Worked exampleSolve 6x<x+1\frac{6}{x} < x + 1 by sketching the graphs of y=6xy = \frac{6}{x} and y=x+1y = x + 1.

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

  1. Sketch both. The curve y=6xy = \frac{6}{x} has two branches, with asymptotes x=0x = 0 and y=0y = 0.
Check yourself
Solve 4x≤x\frac{4}{x} \le x.

Solving with algebra: polynomials up to degree 3

A sketch tells you which pieces you want. When both sides are polynomials of degree 3 or less, algebra finds the exactly.

1. Move every term to one side, so you compare h(x)=g(x)−f(x)h(x) = g(x) - f(x) with 00.

2. Factorise h(x)h(x) fully. For a cubic, find one root with the factor theorem from 2.12, then factorise the quadratic that is left.

3. Mark the roots on a : a number line showing where h(x)h(x) is positive and where it is negative.

4. Read off the pieces you want, and include the roots for ≤\le or ≥\ge.

For a cubic with a positive x3x^{3} term, h(x)h(x) is positive to the right of the largest root. Moving left, the sign swaps at each single root.

Worked exampleSolve x3+6≥2x2+5xx^{3} + 6 \ge 2x^{2} + 5x.

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

  1. Move every term to the left: x3−2x2−5x+6≥0x^{3} - 2x^{2} - 5x + 6 \ge 0.
The cubic y equals x plus 2, times x minus 1, times x minus 3. It crosses the x-axis at minus 2, 1 and 3. It is below the axis to the left of minus 2, above it between minus 2 and 1, below it between 1 and 3, and above it to the right of 3. x y −2 1 3 − + − +
The sign diagram of (x+2)(x−1)(x−3)(x + 2)(x - 1)(x - 3) is the sketch read along the xx-axis: the sign swaps at each single root.
Worked exampleLet f(x)=x3f(x) = x^{3} and g(x)=3x2−4g(x) = 3x^{2} - 4. Solve f(x)<g(x)f(x) < g(x).

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

  1. Move every term to the left: x3−3x2+4<0x^{3} - 3x^{2} + 4 < 0.
Check yourself
Solve x3+x2≤2xx^{3} + x^{2} \le 2x.

When xx is in a denominator, you may not multiply by it: you don't know its sign. Multiply by its square instead. A square is positive whenever it isn't zero, so the inequality sign stays the same.

Worked exampleSolve 12x≥x+4\frac{12}{x} \ge x + 4.

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

  1. x≠0x \ne 0, so x2>0x^{2} > 0. Multiply both sides by x2x^{2}: 12x≥x3+4x212x \ge x^{3} + 4x^{2}.
Check yourself
Solve x3−2x2>4x−8x^{3} - 2x^{2} > 4x - 8.

Using your GDC for other functions

Algebra can't find where y=ln⁡(x+3)y = \ln(x + 3) meets y=x2−2xy = x^{2} - 2x. On Paper 2 your GDC finds such , as in 2.10. It also saves time on a cubic whose roots aren't whole numbers.

1. Write down the two functions you graph.

2. Find each intersection. Zoom out, so that no meeting point is hidden outside the .

3. Note any vertical and the of each function.

4. Read which graph is on top on each piece. Round the end points to 3 s.f. only at the end.

Worked exampleUse your calculator to solve ln⁡(x+3)>x2−2x\ln(x + 3) > x^{2} - 2x. Give the end points to 3 s.f.

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

  1. Graph y=ln⁡(x+3)y = \ln(x + 3) and y=x2−2xy = x^{2} - 2x. The log is defined only for x>−3x > -3.

A vertical asymptote is a boundary that your GDC won't report as an intersection. Find it yourself: it is where the denominator is zero.

Worked exampleUse your calculator to solve 2x+1x−1≤x+2\frac{2x + 1}{x - 1} \le x + 2. Give any end points that are not whole numbers to 3 s.f.

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

  1. Graph y=2x+1x−1y = \frac{2x + 1}{x - 1} and y=x+2y = x + 2. The curve has a vertical asymptote x=1x = 1, where x−1=0x - 1 = 0.
Check yourself
The solution of e−x≥x+2\mathrm{e}^{-x} \ge x + 2 is x≤ax \le a. Use your calculator to find aa. Give your answer to 3 s.f.
Check yourself
Solve 4x+1>2−x\frac{4}{x + 1} > 2 - x.

Common mistakes

  • Multiplying or dividing both sides by xx, or by a bracket such as x−1x - 1. Its sign is unknown, so the inequality may need to flip. Multiply by its square, or move every term to one side and factorise.
  • Cancelling a common factor: turning x3+x2≤2xx^{3} + x^{2} \le 2x into x2+x≤2x^{2} + x \le 2 loses solutions. Take the factor out instead: x(x+2)(x−1)≤0x(x + 2)(x - 1) \le 0.
  • Forgetting a vertical asymptote. It is a boundary even though the graphs don't meet there, and it is never part of the answer.
  • Treating a double root like a single root. (x−2)2(x - 2)^{2} is never negative, so the sign doesn't swap at x=2x = 2.
  • Giving only the intersections. “Solve” wants the set of xx-values, written as inequalities or intervals.
  • Missing a meeting point that lies outside the GDC window. Zoom out and think about how each graph behaves at both ends.

Exam tips

  • “Solve” an inequality means give every xx that works. Choose << or ≤\le at each end to match the question and the domain.
  • On Paper 1, show the factorised form and a sketch or sign diagram. Method marks are for that working, not only the final set.
  • On Paper 2, write down the functions you graph and the intersection values, unrounded. Then give the end points to 3 s.f.
  • “Hence” after finding where two graphs meet means use those xx-values as your critical values.

Key takeaways

Learn thisg(x)≥f(x)  ⟺  g(x)−f(x)≥0g(x) \ge f(x) \iff g(x) - f(x) \ge 0
Learn thisg(x)≥f(x)g(x) \ge f(x) where the graph of gg is on or above the graph of ff.
Learn thisBoundaries: where the graphs meet, plus vertical asymptotes and domain ends. Never include an asymptote.
Learn thisPolynomials up to degree 3: move to one side, factorise, then use a sign diagram.
Learn thisThe sign swaps at a single root and stays the same at a double (squared) root.
Learn thisNever multiply by an expression of unknown sign, such as xx. Multiply by its square.
Learn thisPaper 2: write down the functions you graph and the intersections, then round end points to 3 s.f.

Practise this

1 past-paper question on 2.15 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 2.15 →