Educerie · IB Diploma · Mathematics: analysis and approaches
Topic 5 Calculus · 5.1 Limits and the derivative
What you must be able to do
| You must be able to | Level | What it looks like in the exam |
|---|---|---|
| Explain what a limit is, informally | SL, HL | "Explain why g(3) cannot be found, and estimate the value g(x) approaches" (2 marks) |
| Estimate a limit from a table of values or from a graph | SL, HL | A table of x and f(x) close to a value: "Write down the limit" (1 to 2 marks) |
| Explain the gradient of a curve at a point as the limit of chord gradients | SL, HL | "Complete the table of gradients of PQ… Hence estimate the gradient at P" (3 to 4 marks, Paper 2) |
| Interpret the derivative as the gradient function f′(x) | SL, HL | "The gradient of the tangent at P is…"; sketching or reading f′ from f |
| Interpret the derivative as a rate of change, with units | SL, HL | "Interpret dV/dt = −12 in context" (1 to 2 marks); average versus instantaneous rate |
| Read and use the notation dy/dx, f′(x), dV/dr, ds/dt | SL, HL | Every calculus question; the letters change with the context |
Before you start
You need gradient as rise over run, the equation of a straight line and function notation f(x), all from 2.1 and 2.2. You also need the idea of an asymptote from 2.8, since a limit is what an asymptote was describing all along. Nothing on this page is in the formula booklet, and nothing needs to be: it is the idea the rest of the topic is built on. Higher level students meet the formal version, differentiation from first principles, in 5.12; the informal version here is all standard level needs.
1The idea in one paragraph
On a curve the gradient keeps changing, so you cannot find it with two far-apart points. But you can take two points very close together. The gradient of the line joining them, a chord, is nearly the gradient of the curve there, and the closer the points, the better the approximation. Push the second point towards the first and the chord gradients settle on one number. That settling-down value is a limit, and the number it gives is the derivative: the gradient of the curve at that point, and equally the rate at which one quantity is changing with respect to another at that instant. Do this at every point and you get a whole new function, the gradient function f′(x).
2What a limit is
A limit is the value a function's output gets closer and closer to as its input gets closer and closer to some number, whether or not the function actually reaches that value, and whether or not the function is even defined there.
We write it like this:
limx→a f(x) = L · "as x tends to a, f(x) tends to L". It says what happens near a, and nothing about what happens at a.
That last sentence is the whole point. Take
f(x) = (x² − 4) ÷ (x − 2).
Try to substitute x = 2 and you get 0 ÷ 0, which has no value. So f(2) does not exist. But ask what happens near 2 and there is a perfectly clear answer.
| x | 1.9 | 1.99 | 1.999 | 2 | 2.001 | 2.01 | 2.1 |
|---|---|---|---|---|---|---|---|
| f(x) | 3.9 | 3.99 | 3.999 | undefined | 4.001 | 4.01 | 4.1 |
From the left and from the right, the outputs close in on 4. So limx→2 f(x) = 4, even though f(2) does not exist.
Figure 1 shows why. For every x except 2, the top factorises as (x − 2)(x + 2), the (x − 2) cancels, and f(x) = x + 2. The graph is the line y = x + 2 with a single point missing at (2, 4): a hole. The limit is the height of the hole.
Two facts from this example carry through the whole topic.
Approach from both sides. A limit exists only if the values from the left and the values from the right head for the same number. In the table, check both halves.
The limit need not equal the value. Here f(2) does not exist at all. For the smooth functions you will differentiate, the limit and the value usually do agree, but the definition of a limit never uses the value at the point, and derivatives depend on exactly that.
3Estimating a limit from a table or a graph
The guide asks you to estimate limits, not to calculate them by formal methods; formal methods are not required at standard level. Estimating means choosing inputs closer and closer to the target, reading the outputs, and saying what they approach.
From a table. Take y = sin x ÷ x, with x in radians. You cannot cancel anything this time, and x = 0 gives 0 ÷ 0 again. So build a table, which on Paper 2 is a job for the GDC's table function.
| x | 1 | 0.5 | 0.1 | 0.01 | −0.01 | −0.1 |
|---|---|---|---|---|---|---|
| sin x ÷ x | 0.841 | 0.959 | 0.998 | 0.99998 | 0.99998 | 0.998 |
The values approach 1 from both sides, so limx→0 (sin x ÷ x) = 1. Figure 2 draws the function, with the hollow circle at the point it approaches but never reaches.
Three habits make an estimate reliable:
- Use inputs that get much closer each time, such as 0.1, 0.01, 0.001, not 0.1, 0.09, 0.08.
- Check both sides of the target.
- State the limit as the value the outputs approach, not as the last number in your table. The last entry above is 0.99998, but the limit is 1.
From a graph. Follow the curve towards the x-value from each side with your finger and read the height it is heading for. A hollow circle on a graph means "the curve comes right up to here, but this point is not included"; a filled circle means it is.
As x grows without bound. A limit can also describe what happens as x → ∞. For g(x) = (2x + 1) ÷ (x − 3):
| x | 10 | 100 | 1000 | 10 000 |
|---|---|---|---|---|
| g(x) | 3 | 2.072 | 2.007 | 2.0007 |
so limx→∞ g(x) = 2. That is exactly the horizontal asymptote y = 2 you met in 2.8: an asymptote is a limit drawn as a line.
4The gradient of a curve, as a limit
A straight line has the same gradient everywhere. A curve does not: y = x² is flat at the origin and steep further out. So "the gradient of the curve at P" needs a definition, and the definition is this.
The gradient of a curve at a point P is the gradient of the tangent at P, the straight line that touches the curve at P and runs in the same direction as the curve there.
You cannot measure a tangent's gradient with rise over run directly, because you only know one point on it. So approximate. Take a second point Q on the curve, join P to Q with a chord, and find the chord's gradient. Then move Q closer to P and do it again.
For y = x² and P(3, 9), let Q be the point with x-coordinate 3 + h, where h is a small step.
| h | 2 | 1 | 0.5 | 0.1 | 0.01 | 0.001 | −0.01 | −0.1 |
|---|---|---|---|---|---|---|---|---|
| gradient of PQ | 8 | 7 | 6.5 | 6.1 | 6.01 | 6.001 | 5.99 | 5.9 |
As h → 0 the chord gradients approach 6, from above when Q is to the right and from below when it is to the left. So the gradient of y = x² at (3, 9) is 6. Figure 3 shows the chords swinging round to the tangent as Q slides down to P.
Notice what the limit did. At h = 0 the chord gradient would be 0 ÷ 0, meaningless, because P and Q would be the same point. The limit asks what happens near h = 0 instead, which is exactly what section 2 was for. This is why limits come first in calculus.
Why a tangent makes sense at all. Zoom in far enough on any smooth curve and it looks like a straight line. Figure 4 does it for y = x² at (1, 1): by the third window the curve is indistinguishable from a line of gradient 2. The gradient of the curve at a point is the gradient of that line you see when you zoom in.
Your GDC does precisely this when it reports a gradient: it takes a very small h and calculates the chord gradient. That is why its answers are occasionally a hair away from the exact value, 5.9999999 instead of 6.
5The derivative as the gradient function
Repeat section 4 at other points of y = x². The same algebra, with a general point (x, x²) in place of (3, 9), gives a chord gradient of 2x + h, which tends to 2x. So:
| x | −2 | −1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|---|
| gradient of y = x² at x | −4 | −2 | 0 | 2 | 4 | 6 |
Every gradient is double the x-coordinate. The gradient is itself a function of x, and Figure 5 plots it.
That new function is called the derivative, or the gradient function, and finding it is called differentiation. For f(x) = x², the derivative is f′(x) = 2x. Put in any x and it hands you the gradient of the original curve at that x.
Read Figure 5 panel by panel, because the exam will ask you to move between the two graphs.
- Where f is falling (x < 0), its tangents slope down, so f′(x) is negative: panel (b) is below the axis.
- At the bottom of the bowl the tangent is horizontal, so f′(0) = 0: panel (b) crosses the axis.
- Where f is rising (x > 0), f′(x) is positive, and it grows as the curve steepens.
Subtopic 5.2 turns those three bullet points into a method, and 5.3 gives you the rule that produced 2x without any tables.
6The derivative as a rate of change, and its notation
A gradient is a rate of change: how fast y changes compared with x. For a straight line the rate is constant (2.1). For a curve it varies, and the derivative gives the rate at one precise value, the instantaneous rate of change.
The chord from section 4 has a meaning too. Its gradient is the average rate of change over the interval from P to Q. The derivative is what the average rate tends to as the interval shrinks to nothing.
A ball is thrown upwards, and its height after t seconds is h(t) = 20t − 5t² metres. Figure 6 draws it.
The ball is slowing down all the time, so at t = 1 exactly it must be going faster than its average over the next second. Shrink the interval:
| interval | [1, 1.5] | [1, 1.1] | [1, 1.01] | [1, 1.001] |
|---|---|---|---|---|
| average velocity (m s⁻¹) | 7.5 | 9.5 | 9.95 | 9.995 |
The averages tend to 10, so at the instant t = 1 the ball is rising at 10 m s⁻¹. That is the gradient of the tangent in Figure 6, and it is the derivative of h at t = 1.
The notation. The guide expects you to read and write all of these. They mean the same kind of thing: "the derivative of the top quantity with respect to the bottom one".
| Notation | Say it | Means |
|---|---|---|
| dy/dx | "d y by d x" | the derivative of y with respect to x; the gradient of y against x |
| f′(x) | "f dash of x" or "f prime of x" | the derivative of the function f; f′(3) is its value at x = 3 |
| dV/dr | "d V by d r" | the rate of change of V (say a volume) with respect to r (a radius) |
| ds/dt | "d s by d t" | the rate of change of s (a displacement) with respect to t (time): a velocity |
dy/dx comes from the Δy/Δx of a chord, the Greek letter for "a change in", with the d marking that the change has shrunk to the limit. It is not a fraction you can cancel: the d's do not divide out. Treat dy/dx as one symbol.
The value at a point is written either f′(1) = 10 or dh/dt = 10 when t = 1. Both are fine.
Units and interpretation. The units of a derivative are always units of the top per unit of the bottom. If V is in cm³ and r in cm, dV/dr is in cm³ per cm. If s is in metres and t in seconds, ds/dt is in m s⁻¹. This gives you the template for every "interpret" question:
dy/dx = k when x = a means: at the instant x = a, y is increasing at k (units of y) per (unit of x). A negative k means y is decreasing.
For a sphere, V = (4/3)πr³. The chord method at r = 3 cm gives
| h | 0.1 | 0.01 | 0.001 |
|---|---|---|---|
| (V(3 + h) − V(3)) ÷ h | 116.9 | 113.5 | 113.1 |
so dV/dr ≈ 113 cm³ per cm when r = 3. In words: when the radius is 3 cm, the volume is increasing at about 113 cm³ for each extra centimetre of radius. (The exact value is 36π, which 5.3 will let you find in one line.)
7Estimating a derivative with technology
On Paper 2 you are expected to use technology. Every GDC has a numerical derivative, usually written d/dx or reached from the graph screen as dy/dx at a chosen x. It works by the chord method with a tiny h. Two things to remember:
- Round sensibly. If the screen says 9.0000003, the derivative is 9. Give other answers to 3 significant figures unless told otherwise.
- The GDC gives the gradient at one point, not the gradient function. When a question wants f′(x) as an expression, you must find it algebraically (5.3 and 5.6); when it wants f′(2) as a number on Paper 2, the GDC is enough, and you should write "using GDC" beside the value.
For a table of chord gradients, as in section 4, type the chord-gradient expression into the GDC's table and let it fill in the values. The working mark is for showing the expression you used.
8Where marks are lost
Reading the limit as the function's value. limx→2 f(x) = 4 does not say f(2) = 4. In Figure 1, f(2) does not exist. The limit is about what happens near 2.
Giving the last table entry as the limit. If the outputs run 0.998, 0.99998, the limit is 1, not 0.99998. Say what the values are approaching.
Checking one side only. A limit needs both sides to agree. Table values from just one side give half the evidence.
Using a chord when the question wants a tangent. The gradient between two points on a curve is an average rate. "At t = 1" means the instantaneous rate, the derivative.
Treating dy/dx as a fraction. "Cancel the d's" is a classic mistake. dy/dx is one symbol meaning the derivative of y with respect to x.
Interpreting without context or units. "The gradient is −12" scores nothing on an interpret question. "The volume of water is decreasing at 12 litres per minute at t = 5" scores.
Dropping the sign of a rate. A derivative of −12 means decreasing at 12 per unit. Writing "decreasing at −12" is a double negative and loses the mark.
9Work it right
- For a limit from a table, look at both sides and state the value the outputs approach, not the last value.
- For a limit from a graph, follow the curve from both sides to the x-value; a hollow circle is not part of the graph.
- For a gradient at a point by chords, write the chord-gradient expression, (f(a + h) − f(a)) ÷ h, before filling in values.
- Say in words what the chord gradients approach, then give that as the gradient of the tangent.
- Match the notation to the letters in the question: dV/dt if V depends on t, not dy/dx.
- Give the units of a derivative as top unit per bottom unit.
- Interpret every rate in the context of the question, with the value, the units, the instant, and increasing or decreasing.
10Try it
Marks in brackets. Q1 to Q3 are Paper 1 style, no calculator. Q4 and Q5 are Paper 2 style, with a GDC.
Q1. The function g is defined by g(x) = (x³ − 1) ÷ (x − 1) for x ≠ 1. Some values of g(x) are shown.
| x | 0.9 | 0.99 | 1.01 | 1.1 |
|---|---|---|---|---|
| g(x) | 2.71 | 2.9701 | 3.0301 | 3.31 |
(a) Explain why g(1) cannot be found by substituting x = 1. 1 mark
(b) Write down an estimate of the limit of g(x) as x tends to 1. 1 mark
(c) Given that x³ − 1 = (x − 1)(x² + x + 1), show that your estimate in (b) is exact. 2 marks
Q2. The tangent to the curve y = f(x) at the point P(2, 5) also passes through the point (4, 11).
(a) Write down the value of f(2). 1 mark
(b) Find the value of f′(2). 2 marks
Q3. A tank is emptied through a valve. The volume of water in the tank t minutes after the valve is opened is V litres. When t = 5, dV/dt = −12.
(a) State the units of dV/dt. 1 mark
(b) Interpret dV/dt = −12 in the context of the question. 2 marks
Q4. The curve y = x³ passes through P(2, 8). The point Q on the curve has x-coordinate 2 + h.
(a) Complete the table, giving the gradient of the chord PQ for each h. 2 marks
| h | 0.1 | 0.01 | 0.001 |
|---|---|---|---|
| gradient of PQ |
(b) Hence estimate the gradient of the curve at P. 1 mark
(c) The curve y = x³ has rotational symmetry about the origin. Use this to write down the gradient of the curve at (−2, −8), giving a reason. 2 marks
Q5. A particle moves along a straight line. Its displacement from a fixed point O after t seconds is s(t) = 6t² − t³ metres, for 0 ≤ t ≤ 4.
(a) Find the average velocity of the particle between t = 1 and t = 2. 2 marks
(b) By considering shorter and shorter intervals starting at t = 1, or otherwise, estimate the velocity of the particle when t = 1. 2 marks
(c) Explain why your answers to (a) and (b) are different. 1 mark
11In one breath
A limit is the value f(x) closes in on as x gets near a number, from both sides, whether or not f is defined there, and you estimate it from a table or graph by going ever closer and saying what the outputs approach. The gradient of a curve at a point is the gradient of its tangent, found as the limit of chord gradients as the second point slides onto the first: for y = x² at (3, 9) the chords give 6 + h, which tends to 6. Doing this at every x gives the gradient function, the derivative, written f′(x) or dy/dx, and for x² it is 2x. A chord gradient is an average rate of change; the derivative is the instantaneous rate, in units of the top per unit of the bottom, so ds/dt is a velocity and dV/dt a rate of flow. Interpret a derivative by saying what is increasing or decreasing, how fast, in what units, and at what instant.
Answers
Q1. (a) Substituting gives (1 − 1) ÷ (1 − 1) = 0 ÷ 0, which is undefined. R1 for 0 ÷ 0 or "division by zero". "Because x ≠ 1" alone scores 0; say why.
(b) The values approach 3 from both sides. A1 for 3. 2.9701 or 3.0301 scores 0.
(c) For x ≠ 1, g(x) = (x − 1)(x² + x + 1) ÷ (x − 1) = x² + x + 1. As x → 1 this tends to 1 + 1 + 1 = 3. M1 for cancelling the factor (x − 1), A1 for substituting x = 1 into x² + x + 1 to get 3. Stating that cancelling needs x ≠ 1 is good practice but not required.
Q2. (a) f(2) = 5, since P is on the curve. A1.
(b) The tangent has gradient (11 − 5) ÷ (4 − 2) = 6 ÷ 2 = 3, and the gradient of the curve at P equals the gradient of the tangent, so f′(2) = 3. M1 for the gradient of the line through the two points, A1 for 3.
Q3. (a) Litres per minute (L min⁻¹). A1.
(b) Five minutes after the valve is opened, the volume of water in the tank is decreasing at 12 litres per minute. A1 for "decreasing" with the rate 12 (not −12), A1 for the units and the time t = 5. "The gradient is −12" scores 0.
Q4. (a) Gradient of PQ = ((2 + h)³ − 8) ÷ h. For h = 0.1, 0.01, 0.001 this gives 12.61, 12.0601, 12.006001 (accept 12.1 and 12.0 to 3 s.f. for the last two). A1 for any two correct, A1 for all three. M marks are implied by correct values.
(b) The chord gradients approach 12, so the gradient at P is 12. A1 for 12. 12.006 scores 0.
(c) Rotating the curve by 180° about the origin maps P to (−2, −8) and turns the tangent at P into the tangent at (−2, −8). A half-turn does not change the direction of a line, so the gradient is also 12. A1 for 12, R1 for the symmetry reason. 12 with no reason scores A1 R0.
Q5. (a) s(1) = 6 − 1 = 5 and s(2) = 24 − 8 = 16, so the average velocity is (16 − 5) ÷ (2 − 1) = 11 m s⁻¹. M1 for (s(2) − s(1)) ÷ (2 − 1), A1 for 11 with or without units.
(b) (s(1 + h) − s(1)) ÷ h gives 9.29 for h = 0.1, 9.0299 for h = 0.01 and 9.003 for h = 0.001, approaching 9 m s⁻¹. A GDC's numerical derivative at t = 1 also gives 9. M1 for chord gradients over shrinking intervals from t = 1, or for "GDC ds/dt at t = 1", A1 for 9.
(c) The answer to (a) is an average over a whole second, while (b) is the velocity at one instant; the velocity is not constant (it increases between t = 1 and t = 2), so the two differ. R1 for average versus instantaneous, with the velocity changing.
Educerie · written from the published IB Diploma Programme Mathematics: analysis and approaches guide, first assessment 2021, section 5.1 Limits and the derivative. Original text, examples and questions. Diagrams drawn by Educerie. Last reviewed 25 September 2026.