IB MATHEMATICS: ANALYSIS AND APPROACHES • FUNCTIONS

Function Inequalities — AHL 2.15 Inequalities involving functions g(x) ≥ f(x) (graphical and analytical) (HL)

Learn to determine where one function dominates another using graphs and algebra.

Historical Context & Motivation

Comparing functions is one of the oldest themes in mathematics. Long before formal algebra existed, ancient scholars needed to know when one quantity exceeded another — whether the supply of grain surpassed the demand, or whether one trajectory cleared a wall. The idea of function inequalities — asking when g(x) ≥ f(x) — grew naturally from these practical concerns and became a cornerstone of modern analysis, optimisation, and applied mathematics.

~300 BCE
Euclid's Geometric Comparisons
In Elements, Euclid compared magnitudes (lengths, areas) to establish when one exceeded another — an early, geometric form of inequality reasoning.
1637
Descartes & Coordinate Geometry
René Descartes linked algebra to geometry, making it possible to plot curves on axes and visually compare two functions by examining which graph sits higher.
1821
Cauchy Formalises Inequalities
Augustin-Louis Cauchy published rigorous treatments of inequalities in his Cours d'analyse, laying the groundwork for the analytic methods you will use in this topic.
1960s–Today
Modern Applications
Function inequalities underpin fields from economics (cost vs. revenue curves) to engineering (stress vs. material strength). GDC technology now lets students explore these relationships visually in seconds.

The central question this lesson addresses is deceptively simple: given two functions f and g, for which values of x is g(x) ≥ f(x)? Answering this question requires both graphical intuition and algebraic precision — two skills that the IB HL curriculum expects you to develop hand in hand.

Core Principles & Definitions

Before diving into techniques, you need a clear understanding of the foundational ideas behind function inequalities. These principles connect what you already know about solving equations to the richer question of solving inequalities between entire functions.

1

Intersection Points as Boundaries

The inequality g(x) ≥ f(x) changes truth value at points where g(x) = f(x). Finding these intersection points is always the first step.
2

The Difference Function

Define h(x) = g(x) − f(x). Then g(x) ≥ f(x) is equivalent to h(x) ≥ 0. This transformation simplifies many problems.
3

Graphical Interpretation

g(x) ≥ f(x) means the graph of g lies on or above the graph of f. Shade the region where this is true to visualise the solution set.
4

Interval Notation for Solutions

Solutions are expressed as unions of intervals. Use square brackets [ ] when the endpoint is included (equality holds) and round brackets ( ) when it is excluded or extends to infinity.
5

Domain Awareness

The inequality only makes sense where both f and g are defined. Always consider the domains of the original functions before stating your answer.
KEY TAKEAWAY
Think of two functions as two runners on a track. The inequality g(x) ≥ f(x) asks: "During which time intervals is Runner g at least as far ahead as Runner f?" The moments they are side by side — the intersection points — are where the lead changes. Between those moments, you only need to check one test point to determine who is in front for the entire interval.

Visual Explanation — Graphical Method

The graphical method is the most intuitive approach and is always available on your GDC. By plotting both functions on the same axes, you can directly see where one curve sits above the other. The diagram below shows f(x) = x² and g(x) = 2x + 3. The shaded region highlights where g(x) ≥ f(x), that is, where the line is on or above the parabola.

The violet parabola represents f(x) = x² and the cyan line represents g(x) = 2x + 3. The yellow dots mark the intersection points at (−1, 1) and (3, 9). The shaded region between the curves shows where g(x) ≥ f(x), namely x ∈ [−1, 3].

From the diagram, you can read the solution directly: the line sits on or above the parabola for −1 ≤ x ≤ 3. The two intersection points — found by solving x² = 2x + 3 — act as the boundaries of the solution interval. Between the intersections, a single test point (say, x = 0) confirms that g(0) = 3 > 0 = f(0), verifying that the line is indeed above the parabola throughout the interval.

📱 GDC Tip
On your GDC, graph both functions and use the intersect feature to find the boundary x-values. Then visually confirm which curve is higher between those x-values. This graphical approach is accepted in IB examinations when supported by clear sketches in your working.

Mathematical Framework — The Analytical Method

The analytical (algebraic) method provides exact answers without relying on a graph. The strategy has three stages: rearrange, find critical values, and test intervals. Every function inequality you encounter in AHL 2.15 can be attacked with this framework.

REARRANGEMENT
g(x) ≥ f(x) ⟺ g(x) − f(x) ≥ 0 ⟺ h(x) ≥ 0
Define h(x) = g(x) − f(x). The problem reduces to finding where the single function h is non-negative.
CRITICAL VALUES
Solve h(x) = 0 → x = x₁, x₂, …, xₙ
These roots of h split the real number line into intervals. The sign of h cannot change within an interval unless h passes through zero or is undefined.
SIGN ANALYSIS
Pick a test value c in each interval; if h(c) ≥ 0, the entire interval belongs to the solution.
By the Intermediate Value Theorem, a continuous function that is positive at one point and negative at another must cross zero between them. Since you have already found all zeros, the sign is constant on each sub-interval.
SOLUTION SET
S = { x ∈ Domain(f) ∩ Domain(g) : h(x) ≥ 0 }
Always express your final answer in interval notation, remembering to restrict to the intersection of the domains of f and g.
⚠️ Warning: Non-Polynomial Functions
When f or g involves logarithms, exponentials, or trigonometric functions, finding the roots of h(x) = 0 may not be possible algebraically. In those cases, use a combination of graphical and analytical methods: find the intersection points on the GDC, then confirm the sign of h in each interval analytically.

Detailed Breakdown — Sign Diagrams & Interval Testing

A sign diagram (also called a sign chart or number-line analysis) is a visual tool that organises the test-point information. It places the critical values on a number line and records the sign of h(x) = g(x) − f(x) in each resulting interval. This makes it easy to read off the solution set at a glance.

The sign diagram for h(x) = −x² + 2x + 3. The yellow dots mark the critical values x = −1 and x = 3. A test point in each interval reveals whether h is positive (green, included) or negative (red, excluded).

The process shown above can be summarised in a table for quick reference. Each row in the table corresponds to one interval between consecutive critical values.

Sign analysis for h(x) = −x² + 2x + 3
IntervalTest Pointh(x) ValueSignInclude?
(−∞, −1)x = −2−(4) + (−4) + 3 = −5NegativeNo
[−1, 3]x = 00 + 0 + 3 = 3PositiveYes ✓
(3, ∞)x = 5−25 + 10 + 3 = −12NegativeNo
📌 Strict vs Non-Strict Inequalities
For g(x) ≥ f(x) (non-strict), include the endpoints where h(x) = 0 — use square brackets. For g(x) > f(x) (strict), exclude them — use round brackets. This detail costs easy marks on IB exams if overlooked.

Worked Example — Full Analytical Solution

Let's work through a complete example involving non-polynomial functions. Find all values of x for which eˣ ≥ x + 1, i.e., determine where the exponential function is at least as large as the linear function g(x) = x + 1.

Solve eˣ ≥ x + 1 for x ∈ ℝ
1
Step 1 — Form the Difference FunctionLet h(x) = eˣ − (x + 1) = eˣ − x − 1. We need to find where h(x) ≥ 0. Both eˣ and x + 1 are defined for all real numbers, so the domain is ℝ.
h(x) = eˣ − x − 1, domain: x ∈ ℝ
2
Step 2 — Find the Critical Values (Roots of h)Set h(x) = 0: eˣ − x − 1 = 0, so eˣ = x + 1. We know that at x = 0, e⁰ = 1 and 0 + 1 = 1, so h(0) = 0. This means x = 0 is a root. To check whether there are other roots, we examine h'(x) = eˣ − 1. Setting h'(x) = 0 gives eˣ = 1, so x = 0 is the only critical point of h. Since h''(x) = eˣ > 0 for all x, the function h is concave up everywhere, so x = 0 is a minimum.
Only critical value: x = 0 (a minimum of h)
3
Step 3 — Sign AnalysisSince h has a global minimum at x = 0 and h(0) = 0, the function h is non-negative everywhere. We can verify: h(−1) = e⁻¹ − (−1) − 1 = e⁻¹ ≈ 0.368 > 0, and h(1) = e¹ − 1 − 1 = e − 2 ≈ 0.718 > 0. The difference function h(x) touches zero at x = 0 and is strictly positive everywhere else.
h(x) ≥ 0 for all x ∈ ℝ
4
Step 4 — State the SolutionSince h(x) = eˣ − x − 1 ≥ 0 for all real numbers, the inequality eˣ ≥ x + 1 holds for every x. The line y = x + 1 is the tangent to the curve y = eˣ at the point (0, 1), and the concavity of the exponential ensures the curve never dips below this tangent.
Solution: x ∈ ℝ (all real numbers), with equality only at x = 0
💡 INSIGHT
This example illustrates a special case: sometimes the inequality holds everywhere. The key was recognising that h has a global minimum of zero. In general, when the difference function is always non-negative (or always non-positive), the solution is the entire domain — or the empty set.

Graphical vs Analytical — Strengths & Limitations

Both the graphical and analytical methods have their place in your IB toolkit. Understanding when to use each one — and when to use them together — will help you work more efficiently and score more marks on examinations.

Comparison of graphical and analytical approaches to function inequalities
CriterionGraphical MethodAnalytical Method
PrecisionApproximate — limited by screen resolution and scaleExact — gives solutions in closed form when algebraically solvable
SpeedFast for an overview; use the GDC 'intersect' toolCan be slow for complex functions, but gives rigorous proof
ApplicabilityWorks for any pair of functions that can be graphedRequires h(x) = 0 to be solvable — may need numerical methods otherwise
IB Exam UseAccepted if sketch is shown with labelled pointsExpected for 'show that' or 'prove' questions
Risk of ErrorMisreading scale, missing intersections outside the windowAlgebraic mistakes, forgetting domain restrictions
🔑 BEST PRACTICE
The most reliable strategy is to use both methods together. Start with a graph to see the big picture — how many intersections there are, which function is on top, and whether the inequality holds on one interval or several. Then confirm with algebra for the exact boundary values. This combined approach protects you against both algebraic errors and misleading graphing windows.

Connections to Advanced Theory

Function inequalities do not exist in isolation; they connect to several topics you will encounter later in the HL course and beyond. Recognising these links deepens your understanding and prepares you for university-level mathematics.

How function inequalities connect to future topics
This LessonAdvanced ExtensionWhere You'll See It
Finding where g(x) ≥ f(x)Optimisation — finding max/min of g(x) − f(x)AHL 5.9 (Calculus optimisation)
Area between curves∫[a,b] (g(x) − f(x)) dx gives the enclosed areaAHL 5.12 (Applications of integration)
Sign of h(x) = g(x) − f(x)Differential inequalities and stability analysisUniversity differential equations
Interval notation solutionsSet-builder notation, measure theoryUniversity real analysis

Perhaps the most powerful forward connection is to integration. When you know that g(x) ≥ f(x) on [a, b], the integral ∫ₐᵇ [g(x) − f(x)] dx gives the exact area of the region between the two curves. The sign analysis you learn in this topic is therefore a prerequisite for correctly setting up area integrals — you must always integrate the upper function minus the lower function.

🔭 Looking Ahead
In the IA (Internal Assessment), function inequalities arise naturally in modelling. For instance, you might compare a model's predicted values g(x) with actual data f(x), and an inequality analysis tells you for which input ranges the model over- or under-estimates. This is a sophisticated application that examiners love to see.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why solving g(x) ≥ f(x) is equivalent to solving h(x) ≥ 0, where h(x) = g(x) − f(x). Why is this rearrangement useful?
PROBLEM 2BASIC CALCULATION
Solve x² ≤ 4x − 3, expressing your answer in interval notation.
PROBLEM 3INTERMEDIATE
Find all values of x for which ln(x) ≥ x − 1, where ln denotes the natural logarithm. State the domain and use calculus-based reasoning or a sign diagram.
PROBLEM 4APPLIED
A company's revenue is modelled by R(x) = −2x² + 20x (in thousands of dollars) and its cost by C(x) = 4x + 6, where x is the number of units sold (in thousands). Find the range of x for which the company makes a non-negative profit, i.e., R(x) ≥ C(x).
PROBLEM 5CRITICAL THINKING
Let f(x) = sin(x) and g(x) = x for x ≥ 0. Show that f(x) ≤ g(x) for all x ≥ 0, i.e., sin(x) ≤ x. Use the difference function approach and explain why the inequality is strict for x > 0.

Lesson Summary

To solve a function inequality of the form g(x) ≥ f(x), begin by forming the difference function h(x) = g(x) − f(x) and rewrite the problem as h(x) ≥ 0. Find the critical values where h(x) = 0 — these are the intersection points of the original graphs. Use a sign diagram with test points to determine the sign of h in each interval, then express the solution in interval notation, remembering to use square brackets for ≥ (non-strict) and round brackets for > (strict).

The graphical method — plotting both functions and reading where one sits above the other — provides intuition and a quick check. The analytical method delivers exact answers and is required for proof-style questions. In practice, combining both approaches is the most reliable strategy. Always check the domain of both functions before finalising your answer, and connect your work to broader ideas like area between curves in integration.

Varsity Tutors • IB Mathematics: Analysis and Approaches • Function Inequalities — AHL 2.15