IB Diploma Programme · Maths AI Higher Level

Calculus

Cover illustration for Calculus (Maths AI Higher Level (HL)).
IBDP · Maths AI HL

Calculus

AI HL Topic 5: Calculus

34 min readAdvanced~30% of AI HL — the largest single topic, tested across Paper 1 and Paper 2 and almost guaranteed a full Paper 2 question

Calculus in AI HL is graded on translation, not just mechanics: can you turn a cooling cup of coffee, a spreading population or a drug leaving the bloodstream into an equation, solve it properly, and read the answer back into the real situation? These notes follow the four moves examiners actually test — building and solving differential equations, using limits to justify what a derivative even is, applying derivatives to real optimisation and rate problems, and using integration to accumulate area, volume and displacement.

Overview: How the Four Strands Fit Together

One skill, four costumes

Every calculus question is secretly asking whether you can translate a real situation into one of four operations and back again: differentiate to describe rate of change, integrate to reverse that process and accumulate it, use limits to justify why any of this is legitimate, and set up a differential equation when the rate of change IS the physical law you've been given.

  • New at HL beyond the SL toolkit: implicit differentiation, related rates, integration by substitution and by parts, volumes of revolution, and the full differential equations strand (separation, integrating factor, Euler's method, logistic model).
  • The GDC is powerful but does not replace algebra on 'show that' or 'verify' questions — command terms decide how much working you must physically write.
  • Almost every context question (drug concentration, population, cooling, harvesting) recycles the same four or five differential equation structures — recognising the structure is half the battle.

The shape of the chapter

Command terms that decide your marks

Command termWhat it demandsAOMark-earning move
Show thatDerive the given result using every algebraic step — no jumping straight to the answer even if your GDC confirms it instantly.AO2Marks are awarded for intermediate lines, not just for matching the given final answer.
HenceYou must use the result just obtained in the previous part — a correct answer reached by a different method scores 0.AO2Follow-through only applies if the earlier result is visibly used in the working.
VerifySubstitute the given expression into the equation or condition and confirm both sides match — don't re-derive it from scratch.AO2One mark for the substitution, one for the explicit confirming statement.
Determine / FindAny valid method including GDC is acceptable, but the equation you solved must appear on paper.AO1/AO2The method mark needs the equation written down even when the GDC gives the number directly.
SketchShow shape, intercepts, and asymptotic/limiting behaviour with labels — axes don't need scale but key features do.AO1Marks lost for missing turning-point coordinates or unlabelled asymptote equations.

Key point

If a question says 'show that', your GDC answer is worth nothing without the line-by-line algebra — examiners award zero for a correct final line with no working when the command term demands derivation.

Differential Equations

Setting up and solving

A differential equation is a sentence about rates translated into symbols: 'the rate of cooling is proportional to the temperature difference' becomes . At HL you need three solution routes — separation of variables, the integrating factor for linear equations that won't separate, and Euler's method when there's no algebraic solution at all — plus the logistic model as a named special case.

  • Separable form : collect all terms with on one side, all terms with on the other, integrate both sides, then use the boundary condition to pin down .
  • Linear form : separation fails because and are tangled additively, not multiplicatively — multiply through by the integrating factor instead.
  • Logistic model : growth that slows as it approaches a carrying capacity , solved by partial fractions after separating.
  • Euler's method builds an approximate numerical solution step by step when the equation cannot be solved algebraically — you trade exactness for a computable estimate.
General solution
A solution containing an arbitrary constant , representing the whole family of curves satisfying the differential equation.The 'not yet pinned down' version.
Particular solution
The single curve from that family selected by a given boundary or initial condition.
Integrating factor
The function that turns the left side of a linear DE into the derivative of a product, making it directly integrable.
Slope field (direction field)
A grid of short line segments, each showing the gradient at that point, sketched without solving the equation — reveals the shape of solution curves by eye.
Euler's method step
— approximate the next point by walking a small horizontal step along the current tangent.
Equilibrium (steady-state) solution
A constant solution where for all — for logistic growth these occur at and carrying capacity.

Separation of variables

Add the constant of integration on ONE side only, then rearrange for the particular solution.

Integrating factor for

Memorise

Solving a linear DE once is known

Euler's method (HL)

— step size (same unit as x)

Logistic growth general solution (HL)

is fixed by the initial population: .

Slope field for logistic growth

The solution curve always 'flows' along the local gradient shown by the field — sketch it by following the arrows, not by guessing a shape.

t-axis (0 to 10)P-axis (0 to 12)P = 8 (carrying capacity)P = 0 (equilibrium)solution curve from (0,2)

Worked example

Solving a linear DE with an integrating factor (drug concentration)

, . Find .

Worked example

Deriving a logistic solution by separation and partial fractions

, . Show .

Three routes to solve a differential equation

MethodWhen to useWhat you getLevel
Separation of variables — variables split as a productExact algebraic solution (often via partial fractions)SL/HL
Integrating factorLinear form — cannot be separatedExact algebraic solutionHL only
Euler's methodNo algebraic method works, or only a slope field / numerical data is givenApproximate numerical values at discrete stepsHL only

Common mistake

Writing the integrating factor as instead of , or forgetting to integrate the coefficient of first.

Consequence: Every subsequent line is built on the wrong — the setup method mark for may still be awarded, but the final answer mark is lost.

Fix: Write explicitly, integrate it, then exponentiate — three separate lines, never skip straight to the exponential.

Examiner tip

For 'show that satisfies the DE and the initial condition' questions, marks are given for BOTH differentiating the given and substituting back into the original equation AND checking the boundary value at separately — do both explicitly even though it feels repetitive.

Newton's law of cooling in forensics

Pathologists estimate time of death using : measure body temperature at two known times, solve for using the initial ~37°C boundary condition, then run the model backwards to find when . Same equation as a cooling coffee cup — much higher stakes.

Key point

Separation of variables needs and to split as a PRODUCT ; if instead they're tangled by addition (), you need the integrating factor — check the structure before picking a method.

Key takeaways

  • Separable ⇒ split and integrate both sides; linear (additive) ⇒ integrating factor ; unsolvable algebraically ⇒ Euler's method.
  • The constant from integration is found AFTER integrating, using the boundary condition — never before.
  • Logistic equations always solve via partial fractions with .
  • 'Show that' verification questions need substitution into both the DE and the initial condition — two separate checks, both explicit.

Limits and Continuity

What a limit actually says

A limit answers 'what value is heading towards as approaches some point (or infinity), even if it never quite gets there?' Continuity asks the stronger question: does the function actually arrive at that value AND is it defined there? These ideas quietly justify every derivative you calculate — is itself defined as a limit, so if that limit doesn't exist, neither does the derivative.

  • means gets arbitrarily close to as approaches from either side — both one-sided limits must agree.
  • A function is continuous at if exists, exists, and the two are equal — break any of these three and you have a discontinuity.
  • Limits at infinity describe end behaviour: for a rational function, divide top and bottom by the highest power of before taking the limit — plugging in directly is meaningless.
  • The derivative is defined as a limit: — this is why the topic is called differential CALCULUS, not just 'a set of rules'.
Removable discontinuity
A 'hole' in the graph where the limit exists but doesn't equal , or isn't defined — often created by a common factor cancelling in a rational function.
Jump discontinuity
The left- and right-hand limits both exist but are different values — typical of piecewise-defined functions at the join.
Infinite discontinuity
The function shoots off to near — a vertical asymptote.
Horizontal asymptote
The value approaches — describes long-run behaviour, not behaviour near any finite point.
Differentiability
is differentiable at if exists — a stronger condition than continuity.

Derivative from first principles (HL)

Memorise

Divide every term by the highest power of in the denominator before evaluating

If the limit is 0; if it's ; if it diverges.

Three types of discontinuity on one graph

Same word 'discontinuous' — three completely different graph behaviours. Examiners test which one you can name from a sketch.

removable discontinuity (hole)jump discontinuityinfinite discontinuity (vertical asymptote x = 4)

Worked example

Differentiating from first principles

Show from first principles that the derivative of is .

Frequently confused

Concept AConcept BThe distinction that matters
ContinuousDifferentiableContinuous only needs the graph to have no breaks or jumps; differentiable additionally needs no sharp corners or vertical tangents — is continuous at 0 but not differentiable there because the left and right gradients disagree.

Common mistake

Substituting directly into a rational function's limit instead of dividing through by the highest power of .

Consequence: Produces a meaningless '' expression with no method mark, since the required algebraic step of dividing by was skipped entirely.

Fix: Divide numerator and denominator by the highest power of appearing in the denominator, then take the limit term by term.

Examiner tip

When a rational function has a common factor cancelling (giving ), factor first, cancel, THEN substitute — writing 'undefined' without attempting to factor loses the method mark even if you correctly identify it as an indeterminate form.

Key takeaways

  • A limit exists only if the left- and right-hand limits agree — check both, especially for piecewise functions.
  • Continuity needs three things to line up: defined, the limit exists, and they're equal.
  • For limits at infinity of rational functions, divide by the highest power of — never substitute infinity directly.
  • The first-principles definition is examinable by name — know how to expand and simplify it for simple polynomials.

Derivatives and Their Applications

From rules to real decisions

Once you can differentiate, exams stop asking 'find ' in isolation and start asking what that derivative MEANS: is the function growing or shrinking, where's the steepest point, what's the optimal design. HL adds implicit differentiation (when can't be isolated) and related rates (when two quantities change together through a shared variable, usually time).

  • Chain rule: differentiate the outside, keep the inside, multiply by the derivative of the inside — .
  • Product rule and quotient rule — both are the chain rule applied differently.
  • Implicit differentiation (HL): differentiate every term with respect to , treating as a function of so each -term picks up a via the chain rule, then collect and isolate .
  • Related rates (HL): connect two rates through a shared equation, differentiate with respect to time, then substitute known values LAST.
Stationary point
A point where — could be a local maximum, local minimum, or a stationary point of inflexion.
Local maximum / minimum
A point where and the sign of changes from + to − (max) or − to + (min) either side of it.
Point of inflexion
A point where AND changes sign — concavity flips; it need not have .
Normal to a curve
The line through a point on the curve perpendicular to the tangent there; gradient .
Related rates
Two or more quantities that both vary with time, connected by an equation; differentiating that equation with respect to links their rates.

Product rule

Memorise

Quotient rule

Memorise

Chain rule

Memorise

Tangent at

Normal at

Undefined when — the normal is vertical there.

Related rates chain (HL) — connects two rates through a shared variable

Reading f, f' and f'' off one graph

A stationary point of inflexion needs ; an ordinary point of inflexion (like the one at here) only needs to change sign — the gradient there can be anything.

local maximum (-1, 6)point of inflexion (1, 2)local minimum (3, -2)

Worked example

Optimisation: minimising material for a can

A cylindrical can must hold a fixed volume of . Find the radius that minimises the total surface area, and justify it's a minimum.

Worked example

Related rates: expanding sphere (HL)

A spherical balloon is inflated so that its volume increases at a constant rate of . Find the rate of increase of the radius when cm.

Common mistake

Using the second derivative test when and simply concluding 'point of inflexion' without checking for a sign change.

Consequence: is inconclusive on its own — could be a stationary inflexion OR a max/min with a flat second derivative there; stating a conclusion without the sign-change check loses the justification mark.

Fix: When , test the sign of either side of that point (nature table), or check that itself changes sign.

Examiner tip

For 'find the equation of the normal' questions, the most common lost mark is using instead of as the gradient — write the tangent gradient down first as an intermediate step, then flip and negate it for the normal.

Key takeaways

  • Reduce optimisation problems to ONE variable using the given constraint before differentiating — the step examiners test hardest.
  • Related rates always follow the same structure: state the connecting equation, differentiate w.r.t. time via chain rule, substitute known values last.
  • locates stationary points; tests their nature — but needs a sign-change check, not an automatic 'inflexion' label.
  • Normal gradient is the negative reciprocal of the tangent gradient — never the same as itself.

Integration and Its Applications

Accumulating change

Integration reverses differentiation, but the exam applications matter more than the mechanics: area under and between curves, volumes generated by spinning a region around an axis (HL), and kinematics where integrating acceleration gives velocity and integrating velocity gives displacement. HL adds two extra techniques — substitution and integration by parts — for integrals that don't fit a standard rule directly.

  • Definite integral gives SIGNED area — area below the -axis counts negative, so for TOTAL area you must split at the roots and take of each piece.
  • Substitution (HL): spot a function and its derivative living inside the same integral; let equal the 'inside' function.
  • Integration by parts (HL): for a product of two different function types (polynomial × exponential, or × trig, or × ln) where substitution doesn't work.
  • Volumes of revolution (HL): spinning the region under about the -axis between and sweeps out a solid of volume .
Indefinite integral
— a family of antiderivatives differing by a constant.
Definite integral
— a specific number representing signed net area.
Area between two curves
over an interval where — always subtract the lower curve from the upper one.
Volume of revolution
The 3D solid swept out when a 2D region is rotated about an axis; computed by integrating (about the -axis) or (about the -axis).

Power rule for integration

Data booklet

Integration by parts (HL)

Data booklet

Integration by substitution (HL)

Volume of revolution about the -axis (HL)

Data booklet

Volume of revolution about the -axis (HL)

Kinematics via integration

Standard derivatives and their reverse (antiderivatives)

(HL)

Area between a parabola and a line

Always confirm which curve is on top across the WHOLE interval before subtracting — sketch first, don't assume from the algebra alone.

y = x + 1y = x^2 - 4x + 5intersection (1,2)intersection (4,5)

Worked example

Area between curves (non-trivial shape)

Find the area enclosed between and .

Worked example

Volume of revolution (HL)

The region bounded by , the -axis, and is rotated about the -axis. Find the volume of the solid formed.

Worked example

Integration by parts

Find .

Mnemonic

LIATE

Priority order for choosing in integration by parts: Logarithmic, Inverse trig, Algebraic, Trig, Exponential — pick as whichever type appears earliest in this list.

Common mistake

Computing directly for a 'total area' question when the curve dips below the -axis somewhere in .

Consequence: The negative and positive regions partially cancel, giving an answer smaller than the true total area — loses the final accuracy mark even with correct integration technique.

Fix: Find where inside , split the integral there, take the absolute value of any negative piece, then add.

Examiner tip

Volume of revolution questions almost always drop the before the last line — keep it factored out through the whole integral rather than multiplying it in early, so you don't accidentally square it or lose it during simplification.

Area under the curve in pharmacokinetics

The 'AUC' (area under the concentration-time curve) — exactly the curve from the integrating-factor drug example — tells doctors the total drug exposure a patient receives, computed as . It's a genuine hospital dosing calculation, not just a textbook abstraction.

Key takeaways

  • Definite integrals give SIGNED area — split at roots and take absolute values for a genuine 'total area' question.
  • Area between curves: always (upper − lower), confirmed by a test point, never assumed from the equations.
  • Volume of revolution: square (or ) BEFORE integrating, and keep factored out to the final line.
  • Integration by parts needs chosen by LIATE priority so the remaining integral is simpler, not harder.

Quick Reference

Calculus (AI HL) — quick reference

Formulas

  • Separation of variables from
  • Integrating factor for
  • Euler's method step
  • Logistic solution of
  • First principles derivative
  • Product and quotient rules
  • Normal line at a point
  • Integration by parts
  • Volume of revolution about the x-axis
  • Kinematics via integration

Key facts

First principles derivative definition
Logistic equilibria
and for

Mnemonics

  • LIATEOrder for choosing u in integration by parts: Log, Inverse trig, Algebraic, Trig, Exponential

Don't confuse

  • Continuous vs Differentiable: Continuous = no break in the graph; differentiable = additionally no corner or vertical tangent — differentiable always implies continuous, not the reverse.
  • Separation of variables vs Integrating factor: Use separation when the DE splits as ; use the integrating factor when it's linear () and won't split.

Command terms

Show that:
Full algebraic derivation, no skipped lines
Hence:
Must reuse the previous result
Determine / Find:
GDC fine, but the equation solved must be shown

Exam checklist

  • Boundary condition applied AFTER integrating, not before
  • Integrating factor built from , not
  • Area between curves: upper minus lower, checked with a test point
  • Volume of revolution: square BEFORE integrating, keep to the end
  • If , use a sign-change / nature check instead of an automatic 'inflexion' label
  • Normal gradient = negative reciprocal of the tangent gradient
  • Total area crossing the x-axis: split at roots, take absolute values, then add