Skip to content
IB Diploma ProgrammeSL & HL

Differentiation rules

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Differentiation rules notes as a printable PDF.

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

Read the notes

The full Differentiation rules notes as text: skim, search, and jump between subtopics.

~12 min read

1. Derivatives of standard functions

The derivative of a function gives the gradient of its curve. The derivatives of xⁿ, sin x, cos x, tan x, e^(x) and ln x are in the formula booklet; know how to use each one.

For xⁿ, n can be any rational number. Rewrite roots and reciprocals as powers of x first: √x = x^(1/2) and 1/x² = x⁻². Then multiply by the power and subtract 1 from it.

The derivative of cos x has a minus sign. The trigonometric results are true only when x is in radians, so set the graphic display calculator to radian mode.

f(x) = xⁿ ⇒ f'(x) = nxⁿ⁻¹

d/dx(sin x) = cos x

d/dx(cos x) = -sin x

d/dx(tan x) = 1/(cos² x)

d/dx(e^(x)) = e^(x)

d/dx(ln x) = 1/x

Worked example 14 marks

Find f'(x) for f(x) = 6√x - 2/x² + 4ln x + 3cos x.

  1. 1

    rewrite as powers: f(x) = 6x^(1/2) - 2x⁻² + 4ln x + 3cos x (M1) [1]

  2. 2

    6(1/2)x^(-1/2) = 3x^(-1/2) and -2(-2)x⁻³ = 4x⁻³ (A1) [1]

  3. 3

    d/dx(4lnx) = 4/x (A1) [1]

  4. 4

    f'(x) = 3x^(-1/2) + 4x⁻³ + 4/x - 3sin x (A1) [1]

2. The chain rule

A composite function has an inner function inside an outer function, such as (3x² - 1)⁴ or e^(-0.051t). To differentiate it, differentiate the outer function, leave the inner function unchanged, then multiply by the derivative of the inner function.

When a quotient has a constant numerator, rearrange it as a power first: a/(f(x)) = a (f(x))⁻¹. Then the chain rule applies. A common special case is d/dx(e^(kx)) = ke^(kx).

dy/dx = dy/du × du/dx

d/dx f(g(x)) = f'(g(x)) × g'(x)

Worked example 14 marks

The population of fish in a pond is modelled by p(t) = 9216/(1 + 6.68e^(-0.051t)), t ≥ 0, where t is the number of weeks after the initial stock of fish is introduced. Find p'(t) as a function of t.

  1. 1

    rearranging p(t) in preparation of using the chain rule: p(t) = 9216(1 + 6.68e^(-0.051t))⁻¹ (M1) [1]

  2. 2

    outer function: (-1)(9216)(1 + 6.68e^(-0.051t))⁻² (A1) [1]

  3. 3

    derivative of the inner function: 6.68(-0.051)e^(-0.051t) (A1) [1]

  4. 4

    p'(t) = (3140e^(-0.051t))/((1 + 6.68e^(-0.051t))²) A1 [1]

3. The product rule

When a function is two factors multiplied, such as x³ln x, call them u and v. Write down u, v, u' and v' before you combine them.

The product rule is: first factor times the derivative of the second, plus second factor times the derivative of the first. Differentiating each factor and multiplying the results is wrong.

y = uv ⇒ dy/dx = udv/dx + vdu/dx

Worked example 14 marks

Find dy/dx for y = x³ln x. Hence find the gradient of the curve at x = 1.

  1. 1

    attempt to use the product rule with u = x³ and v = ln x (M1) [1]

  2. 2

    u' = 3x² and v' = 1/x (A1) [1]

  3. 3

    dy/dx = x³(1/x) + 3x²ln x = x² + 3x²ln x (A1) [1]

  4. 4

    at x = 1: 1 + 3(1)ln 1 = 1, so the gradient is 1 (A1) [1]

4. The quotient rule

When a function is one expression divided by another, y = u/v, use the quotient rule. The numerator is v u' - u v' and the denominator is v².

The order in the numerator matters, because subtraction is not commutative. Write u, v, u' and v' first. If u is a constant, u' = 0 and the first term vanishes.

The derivative of a population model is its growth rate. The greatest growth rate is the maximum of g'(x), so look for the highest point of the graph of g'(x), not of g(x).

y = u/v ⇒ dy/dx = (vdu/dx - udv/dx)/v²

Worked example 13 marks

Avery proposes that the population of a city follows a logistic model of the form

g(x) = 4000/(1 + 14e^(-0.05x))

where x is the number of years after 1900. Find g'(x).

  1. 1

    attempt to differentiate g(x) using the chain or quotient rule, with u = 4000, u' = 0, v = 1 + 14e^(-0.05x), v' = 14(-0.05)e^(-0.05x) = -0.7e^(-0.05x) (M1) [1]

  2. 2

    numerator: 0 - 4000(-0.7e^(-0.05x)) = 2800e^(-0.05x) A1 [1]

  3. 3

    denominator: (1 + 14e^(-0.05x))², so g'(x) = (2800e^(-0.05x))/((1 + 14e^(-0.05x))²) A1 [1]

End-of-chapter exercise

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

  1. Which of the following is d/dx(cos x)? A.sin x B.-sin x C.cos x D.-cos x1 mark
    Answer
    1. B. -sin x [1].
    2. A drops the minus sign. C leaves the function unchanged. D is the result of differentiating cos x twice.

    Trap: Dropping the minus sign and choosing sin x.

  2. Find f'(x) for f(x) = 4x^(-1/2) + 5e^(x).2 marks
    Answer
    1. 4(-1/2)x^(-3/2) = -2x^(-3/2) [1].
    2. f'(x) = -2x^(-3/2) + 5e^(x) [1].

    Trap: Adding 1 to the power instead of subtracting it, which gives x^(1/2): the new power is -1/2 - 1 = -3/2 and the coefficient is 4×(-1/2) = -2.

  3. Find dy/dx for y = (3x² - 1)⁴.2 marks
    Answer
    1. Outer function: 4(3x² - 1)³ [1].
    2. Multiply by the inner derivative 6x: dy/dx = 24x(3x² - 1)³ [1].

    Trap: Forgetting to multiply by the derivative of the inner function, 6x.

  4. The function h is given by h(x) = xtan x. Find the exact gradient of the curve y = h(x) at x = π/4.3 marks
    Answer
    1. Product rule: h'(x) = tan x + x/(cos² x) [1].
    2. At x = π/4: tanπ/4 = 1 and cos²π/4 = 1/2 [1].
    3. h'(π/4) = 1 + π/4× 2 = 1 + π/2 (2.57) [1].

    Trap: Using tan x as its own derivative, or evaluating tanπ/4 and cosπ/4 with the calculator in degrees mode.

  5. Given f(x) = (ln x)/x² for x > 0, find f'(x). Hence determine the exact x-coordinate of the point where f'(x) = 0.4 marks
    Answer
    1. Quotient rule with u = ln x, v = x²: u' = 1/x, v' = 2x [1].
    2. f'(x) = (x²(1/x) - 2xln x)/x⁴ = (x - 2xln x)/x⁴ = (1 - 2ln x)/x³ [1].
    3. f'(x) = 0 gives 1 - 2ln x = 0, so ln x = 1/2 [1].
    4. x = e^(1/2) [1].

    Trap: Reversing the numerator as u v' - v u', which gives f'(x) = (2ln x - 1)/x³: the sign of the gradient is wrong everywhere, even though the zero is the same.

  6. Given y = e^(2x)cos x, show that dy/dx = e^(2x)(2cos x - sin x). Hence find the gradient of the curve at x = 0.4 marks
    Answer
    1. Product rule with u = e^(2x) and v = cos x [1].
    2. u' = 2e^(2x) (chain rule) and v' = -sin x [1].
    3. dy/dx = e^(2x)(-sin x) + 2e^(2x)cos x = e^(2x)(2cos x - sin x) [1].
    4. At x = 0: e⁰(2cos 0 - sin 0) = 2 [1].

    Trap: Writing u' = e^(2x) with no factor 2, or v' = +sin x.

  7. The depth of water in a harbour, in metres, is modelled by d(t) = 8 + 3sin(0.5t), where t is the time in hours after midnight. Find d'(t). Hence find the rate at which the depth is changing at t = 2, stating whether the depth is rising or falling.4 marks
    Answer
    1. Chain rule: d/dtsin(0.5t) = 0.5cos(0.5t) [1].
    2. d'(t) = 3(0.5)cos(0.5t) = 1.5cos(0.5t) [1].
    3. d'(2) = 1.5cos 1 = 0.810 m h⁻¹ [1], with the calculator in radian mode.
    4. d'(2) > 0, so the depth is rising [1].

    Trap: Differentiating sin(0.5t) as cos(0.5t) with no factor 0.5, or evaluating cos 1 in degrees mode, which gives 1.50.

  8. The radius of a circular oil slick increases at a constant rate of 0.4 m min⁻¹. The area of the slick is A = π r². Find the rate at which the area is increasing when the radius is 5 m.4 marks
    Answer
    1. dA/dr = 2π r [1].
    2. dA/dt = dA/dr×dr/dt = 2π r× 0.4 [1].
    3. At r = 5: dA/dt = 2π(5)(0.4) [1].
    4. = 4π = 12.6 m² min⁻¹ [1].

    Trap: Writing dA/dt = 2π r and forgetting to multiply by dr/dt, or leaving out the units.

  9. Grain is poured onto a flat floor at a constant rate of 2 m³ min⁻¹. It forms a cone whose height, h m, is always 0.75 times its base radius, r m. The volume of a cone is V = 1/3π r² h. Find the rate at which the height of the pile is increasing when the volume of grain is 16π m³.5 marks
    Answer
    1. Write V in terms of r only: V = 1/3π r²(0.75r) = 0.25π r³ [1].
    2. dV/dt = 0.75π r²dr/dt (chain rule) [1].
    3. V = 16π gives 0.25π r³ = 16π, so r³ = 64 and r = 4 [1].
    4. 2 = 0.75π(4)²dr/dt = 12πdr/dt, so dr/dt = 1/6π = 0.0531 m min⁻¹ [1].
    5. h = 0.75r, so dh/dt = 0.75×1/6π = 1/8π = 0.0398 m min⁻¹ [1].

    Trap: Stopping at dr/dt = 0.0531 when the question asks for the height, or substituting the volume 16π for r.

  10. A rumour spreads through a town. The number of people, N, who have heard it t hours after 08:00 is modelled by N(t) = 6000/(1 + 299e^(-0.8t)), t ≥ 0. (a) Find N'(t). [3] (b) Find N'(2) and interpret this value in context. [2] (c) Determine the time of day, to the nearest minute, when the rumour spreads fastest. [3]8 marks
    Answer
    1. (a)
    2. Chain or quotient rule with u = 6000, u' = 0, v = 1 + 299e^(-0.8t), v' = 299(-0.8)e^(-0.8t) = -239.2e^(-0.8t) [1].
    3. Numerator: 0 - 6000(-239.2e^(-0.8t)) = 1435200e^(-0.8t) [1].
    4. N'(t) = (1435200e^(-0.8t))/((1 + 299e^(-0.8t))²) [1].
    5. (b)
    6. N'(2) = 76.9 (76.9432…) [1].
    7. At 10:00 the rumour is spreading at about 77 people per hour [1].
    8. (c)
    9. Recognise that the fastest spread is the maximum of N'(t), not of N(t) [1].
    10. From the graph of y = N'(t): t = 7.13 (7.12555…) hours [1].
    11. 0.12555… × 60 = 7.53 minutes, so 7 h 8 min after 08:00: at 15:08 [1].

    Trap: Reading 7.13 hours as 7 h 13 min (15:13), or looking for the maximum of N(t), which has none, instead of the maximum of N'(t).

Say this, not that

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

Loses the markGets the mark
f'(110) = 24.2 with no meaning givenannual growth in 2010 of 24 200 per year (24.2 thousand per year): the value, its units and what it measures
r = ± 3.64, then x = 2(-3.64) - 4substitute their positive r: x = 2(3.64) - 4 = 3.28 cm
greatest growth rate in x = 52.8, or in 1953x = 52.78…, so the greatest growth rate occurred during the year 1952: round down to match the context
a sketch of p'(t) drawn for t < 0 as well, with no intercept markedgraph does not extend to t < 0, axes labelled and the y-intercept correctly labelled

Frequently asked questions

What are the derivatives of sin x, cos x, tan x, e^x and ln x?
The derivative of sin x is cos x, and the derivative of cos x is -sin x, with a minus sign. The derivative of tan x is 1/(cos² x), of e^(x) is e^(x), and of ln x is 1/x. Rewrite roots and reciprocals as powers of x first, so √x = x^(1/2). Trigonometric results are true only in radians.
How do you differentiate a function with a composite inside, such as (3x^2 - 1)^4?
Use the chain rule: differentiate the outer function and leave the inner function unchanged, then multiply by the derivative of the inner function. For (3x² - 1)⁴ the outer derivative is 4(3x² - 1)³ and the inner derivative is 6x, so dy/dx = 24x(3x² - 1)³. Forgetting the multiplication by the inner derivative is a common error.
What is the product rule and how do you apply it to x^3 ln x?
For y = uv, the product rule is dy/dx = udv/dx + vdu/dx: the first factor times the derivative of the second, plus the second factor times the derivative of the first. Do not multiply the two derivatives together. For y = x³ln x the result is x² + 3x²ln x, so the gradient at x = 1 is 1.
What is the quotient rule and why does the order of the numerator matter?
For y = u/v the quotient rule is dy/dx = (v du/dx - u dv/dx)/v², with v² as the denominator. Subtraction is not commutative, so write u, v, u' and v' first. Reversing the numerator to u v' - v u' changes the sign of the gradient everywhere, even though the zeros stay the same.
How do you find a rate of change in a related rates question?
Write the link between the quantities first, such as V in terms of r. Then differentiate with respect to t using the chain rule, dV/dt = dV/dr × dr/dt, and substitute the given rate and value. Answer the quantity the question asks for, which may be a different one, such as a height instead of a radius, and use the positive value of r.
What does a derivative value like f'(110) = 24.2 mean in a population model?
The number alone earns no meaning. Give it as a rate with its units and what it measures: here, annual growth in 2010 of 24 200 per year, which is 24.2 thousand per year. A derivative in context is a rate of change, so the value, its units and its meaning all belong in the answer.

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