Skip to content
IB Diploma ProgrammeSL & HL

Limits and the derivative

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Limits and the derivative notes as a printable PDF.

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

Read the notes

The full Limits and the derivative notes as text: skim, search, and jump between subtopics.

~13 min read

1. The idea of a limit

The limit of f(x) as x approaches a is the value that f(x) gets closer and closer to, as x gets closer and closer to a from either side.

The limit is about what happens near a. It does not need f(a) to exist. A function can be undefined at a and still have a limit there.

To estimate a limit from a table, choose values of x on both sides of a. Watch what the values of f(x) approach. The command term 'estimate' means obtain an approximate value.

lim_x → a f(x) = L

Worked example 13 marks

The table shows values of f(x) = (x² - 4)/(x - 2) for values of x close to 2. The function is not defined at x = 2. Estimate the value of lim_x → 2 f(x).

x1.91.992.012.1
f(x)3.93.994.014.1
  1. 1

    from below 2, f(x) takes the values 3.9 and 3.99, getting closer to 4 (M1) [1]

  2. 2

    from above 2, f(x) takes the values 4.1 and 4.01, getting closer to 4 (M1) [1]

  3. 3

    lim_x → 2 f(x) = 4 (A1) [1]

2. Estimating a limit from a graph

On a graph, read the limit as the height the curve is heading for as you move along it towards x = a. Check from the left and from the right.

A gap (or open circle) in the curve marks a point that is missing from it. A filled dot marks the value the function actually takes. The two need not be at the same height.

The limit is where the curve is heading, which is the gap. The value f(a) is the filled dot. Read each from its own point.

lim_x → a f(x) ≠ f(a) is possible

Worked example 13 marks

The graph shows y = f(x). The gap in the line at x = 2 is a missing point and the filled dot is on the graph. Use the graph to estimate lim_x → 2 f(x) and to state the value of f(2).

  1. 1

    as x approaches 2 from either side, the curve approaches a height of 3 (M1) [1]

  2. 2

    lim_x → 2 f(x) = 3 (A1) [1]

  3. 3

    f(2) = 1, the filled dot (A1) [1]

3. From chords to the gradient of a curve

A curve has a different steepness at every point. The gradient of a curve at a point is the gradient of the tangent there, the straight line that touches the curve at that point.

Take a second point on the curve, a horizontal distance h from the first. The line joining them is a chord. As h gets smaller the chord turns towards the tangent. Its gradient approaches the gradient of the curve. So the gradient of a curve is a limit of chord gradients.

To estimate a gradient this way, work out the chord gradient for several smaller values of h. Stop when the values settle. State the value they approach.

gradient of chord = (f(x + h) - f(x))/h

h → 0 ⇒ chord gradient → gradient of curve

Worked example 14 marks

Estimate the gradient of the curve y = x² at the point where x = 3. Find the gradient of the chord from x = 3 to x = 3 + h for h = 0.1 and h = 0.01.

  1. 1

    gradient of chord = (f(3.1) - f(3))/0.1 = (9.61 - 9)/0.1 (M1) [1]

  2. 2

    = 6.1 (A1) [1]

  3. 3

    for h = 0.01: (9.0601 - 9)/0.01 = 6.01 (A1) [1]

  4. 4

    the chord gradients approach 6, so the gradient at x = 3 is about 6 (A1) [1]

4. The derivative as the gradient function

The derivative of f is the gradient function f'(x). It gives the gradient of the curve y = f(x) at every value of x.

There are several forms of notation. For y as a function of x write dy/dx or f'(x). Other letters are used for other variables: dV/dr for V against r, and ds/dt for s against t. dy/dx is one symbol for the derivative. It is not a fraction to simplify.

The value f'(a) is a gradient, not a height. When f'(a) = 0 the tangent at x = a is horizontal.

f'(a) = gradient of the tangent at x = a

dy/dx, f'(x), dV/dr, ds/dt

Worked example 15 marks

A function f has gradient function f'(x) = 6 - 2x.(a) Determine the gradient of the graph of f at x = 1.(b) Determine the value of x at which the tangent to the graph is horizontal.(c) State the gradient of the graph of f at x = 5.

  1. 1

    (a) substitute x = 1: f'(1) = 6 - 2(1) (M1) [1]

  2. 2

    f'(1) = 4 (A1) [1]

  3. 3

    (b) a horizontal tangent has gradient zero: 6 - 2x = 0 (M1) [1]

  4. 4

    x = 3 (A1) [1]

  5. 5

    (c) f'(5) = 6 - 2(5) = -4 (A1) [1]

5. The derivative as a rate of change

The derivative dy/dx is the rate of change of y with respect to x. It says how fast y changes as x increases, at that instant.

Its units are the units of y per unit of x. If s is in metres and t in seconds, ds/dt is in m s⁻¹.

To interpret a value, say three things: which quantity is changing, whether it is increasing or decreasing, and the rate with its units. A negative value means a decrease. The command term 'explain' asks for these with reasons.

units of dy/dx = (units of y)/(units of x)

Worked example 13 marks

Water is poured into a tank. The volume of water in the tank is V litres, t minutes after the pouring starts. When t = 4, dV/dt = 12.(a) State the units of dV/dt.(b) Explain what dV/dt = 12 tells you about the water in the tank.

  1. 1

    (a) litres per minute (litres min⁻¹) (A1) [1]

  2. 2

    (b) dV/dt is positive, so the volume of water is increasing (R1) [1]

  3. 3

    at t = 4 minutes it is increasing at a rate of 12 litres per minute (A1) [1]

Recap

  • A limit is the value f(x) approaches as x approaches a. f(a) need not exist.
  • Estimate a limit from a table or graph by looking on both sides of a.
  • The gradient of a curve at a point is the gradient of the tangent there.
  • Chord gradients (f(x + h) - f(x))/h approach the gradient of the curve as h → 0.
  • The derivative is the gradient function: dy/dx or f'(x).
  • f'(a) is a gradient, not a height. f'(a) = 0 means the tangent is horizontal.
  • Rate of change: say increasing or decreasing, the rate and the units.

End-of-chapter exercise

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

  1. Which of the following does f'(a) represent on the graph of y = f(x)? A. the y-coordinate of the curve at x = a B. the gradient of the chord from x = 0 to x = a C. the gradient of the tangent to the curve at x = a D. the value f(x) approaches as x approaches a1 mark
    Answer
    1. C (A1)
    2. A and D are values of f, not gradients. B is a chord through two points; f'(a) is the gradient at one point, which is the tangent.

    Trap: A chord joins two points. f'(a) is the gradient at one point, so it is the tangent.

  2. Do not use a calculator. The table shows values of f(x) = (x² - x - 6)/(x - 3) near x = 3. Estimate lim_x → 3 f(x). | x | 2.9 | 2.99 | 3.01 | 3.1 | | --- | --- | --- | --- | --- | | f(x) | 4.9 | 4.99 | 5.01 | 5.1 |2 marks
    Answer
    1. values from both sides approach 5 (M1)
    2. lim_x → 3 f(x) = 5 (A1)

    Trap: Putting x = 3 gives 0/0, but the limit looks at nearby values. It is 5, not 'undefined'.

  3. Do not use a calculator. The points A(2, 4) and B(2.5, 6.25) lie on the curve y = x². Calculate the gradient of the chord AB.2 marks
    Answer
    1. (6.25 - 4)/(2.5 - 2) (M1)
    2. = 2.25/0.5 = 4.5 (A1)

    Trap: Divide by the change in x, which is 0.5. Dividing by 2.5 or by 2 gives a wrong gradient.

  4. A runner's distance from the start is s metres, t seconds after the start. At t = 8, ds/dt = 5. State the units of ds/dt and what the value 5 means.2 marks
    Answer
    1. units: metres per second (m s⁻¹) (A1)
    2. at t = 8 the runner is moving away from the start at 5 metres per second (A1)

    Trap: The units are units of s per unit of t. Giving 'm' or 's' alone loses the mark.

  5. Do not use a calculator. The derivative of f is f'(x) = x² - 4x. Determine f'(1) and f'(4). State what each tells you about the graph of f.3 marks
    Answer
    1. f'(1) = 1 - 4 = -3 (A1)
    2. the gradient of the tangent to the graph at x = 1 is -3 (A1)
    3. f'(4) = 16 - 16 = 0, so the tangent at x = 4 is horizontal (A1)

    Trap: f'(1) is a gradient, not a height. f'(1) = -3 does not mean the curve passes through y = -3.

  6. A tank is being filled. The volume of water is V litres, t minutes after the start. When t = 2, dV/dt = 15. When t = 6, dV/dt = 9. Explain what these values show about how the tank is filling.3 marks
    Answer
    1. both values are positive, so the volume is increasing at both times (R1)
    2. the rate falls from 15 to 9 litres per minute (A1)
    3. so the tank fills more slowly at t = 6 than at t = 2, but it is still filling (R1)

    Trap: A falling rate of change is not a falling volume. The volume decreases only when dV/dt is negative.

  7. Do not use a calculator. Consider the curve y = x². Show that the gradient of the chord from x = 3 to x = 3 + h is 6 + h. Hence state the gradient of the curve at x = 3.3 marks
    Answer
    1. gradient of chord = ((3 + h)² - 9)/h (M1)
    2. = (9 + 6h + h² - 9)/h = (6h + h²)/h (A1)
    3. = 6 + h (AG)
    4. as h → 0, 6 + h → 6, so the gradient at x = 3 is 6 (A1)

    Trap: (3 + h)² is 9 + 6h + h², not 9 + h². The middle term gives the 6.

  8. For the curve y = f(x) where f(x) = x² - 3x, the gradient of the chord from x = 2 to x = 2 + h is given in the table. Estimate f'(2), and explain why h = 0.5 gives a poor estimate. | h | 0.5 | 0.1 | 0.01 | 0.001 | | --- | --- | --- | --- | --- | | chord gradient | 1.5 | 1.1 | 1.01 | 1.001 |3 marks
    Answer
    1. the gradients approach 1 as h gets smaller (M1)
    2. f'(2) ≈ 1 (A1)
    3. when h = 0.5 the second point is far from x = 2, so the chord is not close to the tangent (R1)

    Trap: The first row of data is not the answer. The estimate is the value the chord gradients settle towards.

  9. Do not use a calculator. A stone is dropped from a cliff. After t seconds it has fallen s = 4.9t² metres. (a) Show that the gradient of the chord from t = 2 to t = 2 + h is 19.6 + 4.9h. (b) Explain why this working is valid only for h ≠ 0. (c) Hence determine the speed of the stone at t = 2. Give the units.5 marks
    Answer
    1. (a) s(2) = 19.6 and s(2 + h) = 4.9(4 + 4h + h²) = 19.6 + 19.6h + 4.9h² (M1)
    2. gradient = (19.6h + 4.9h²)/h (A1)
    3. = 19.6 + 4.9h (AG)
    4. (b) cancelling h divides by h, which is allowed only when h ≠ 0; at h = 0 the fraction is 0/0 and there is no chord (R1)
    5. (c) as h → 0, 19.6 + 4.9h → 19.6 (M1)
    6. speed at t = 2 is 19.6 m s⁻¹ (A1)

    Trap: Dividing by an expression that can be zero: you may cancel h only because h ≠ 0, so the speed comes from the limit as h → 0, not from putting h = 0.

  10. The temperature of a bowl of soup is T °C, t minutes after it is served. The table gives T for times close to t = 10. (a) Calculate the gradient of the chord from t = 10 to each of the other four times. (b) Hence estimate dT/dt when t = 10. Give the units. (c) Explain what your answer means for the soup. | t (min) | 9.9 | 9.99 | 10 | 10.01 | 10.1 | | --- | --- | --- | --- | --- | --- | | T (°C) | 40.402 | 40.04002 | 40 | 39.96002 | 39.602 |6 marks
    Answer
    1. (a) chord gradient = (T - 40)/(t - 10) (M1)
    2. t = 10.1: (-0.398)/0.1 = -3.98; t = 10.01: (-0.03998)/0.01 = -3.998 (A1)
    3. t = 9.9: 0.402/(-0.1) = -4.02; t = 9.99: 0.04002/(-0.01) = -4.002 (A1)
    4. (b) from both sides the gradients approach -4, so dT/dt ≈ -4 (A1)
    5. units: °C per minute (°C min⁻¹) (A1)
    6. (c) dT/dt is negative, so at t = 10 the soup is cooling: its temperature is falling at about 4 °C per minute (R1)

    Trap: A sign lost: to the left of t = 10 the change in t is negative, so dividing by +0.1 gives +4.02. A negative rate means the temperature is falling, not that it is -4 °C.

Say this, not that

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

Loses the markGets the mark
The limit is f(2). It does not exist because f(2) is undefined.The limit is the value f(x) approaches as x approaches 2. f(2) need not exist or match it.
dy/dx is dy divided by dx, so the d cancels.dy/dx is the gradient function: the gradient of the tangent at each x.
The gradient is 6.1.The chord gradients approach 6 as h gets smaller, so the gradient is about 6.
dV/dt = -3 means the volume is -3.The volume is decreasing at a rate of 3 litres per minute.

Frequently asked questions

What is a limit of a function?
The limit of f(x) as x approaches a is the value that f(x) gets closer and closer to, as x gets closer and closer to a from either side. It is about what happens near a. The limit does not need f(a) to exist, so a function can be undefined at a and still have a limit there.
How do I estimate a limit from a table or a graph?
Choose values of x on both sides of a and watch what f(x) approaches. In a table, check that values from below and from above both approach the same number. On a graph, read the height the curve is heading for, which is the gap, not the filled dot. For (x² - 4)/(x - 2) near 2, the values approach 4, so lim_x → 2 f(x) = 4.
How is the gradient of a curve found from chord gradients?
The gradient of a curve at a point is the gradient of the tangent there. Take a second point a horizontal distance h away and work out the chord gradient (f(x + h) - f(x))/h for smaller and smaller values of h. The chord gradients settle towards the gradient of the curve. For y = x² at x = 3, the chord gradients approach 6.
What does the derivative tell me about a graph?
The derivative f'(x) is the gradient function. It gives the gradient of the curve y = f(x) at every value of x. The value f'(a) is a gradient, not a height. When f'(a) = 0 the tangent at x = a is horizontal. For f'(x) = 6 - 2x, f'(1) = 4 and the tangent is horizontal at x = 3.
What are the units of a derivative, and what does a negative value mean?
The units are units of y per unit of x. If V is in litres and t is in minutes, dV/dt is in litres per minute, litres min⁻¹. A negative value means the quantity is decreasing. For dV/dt = -3, the volume is decreasing at a rate of 3 litres per minute.
Can I cancel the d in dy/dx like a fraction?
No. Putting the derivative as a fraction and cancelling the d is wrong. The symbol dy/dx is dy divided by dx in form only, but it is one symbol for the derivative, the gradient function. It is not a fraction to simplify. For y in terms of x write dy/dx or f'(x).

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