IGCSE · Mathematics · CHAPTER 12 · CAMBRIDGE

Differentiation and functions

Extended: use function notation, form composite and inverse functions, differentiate polynomials and find maximum and minimum points.

Original learning companion

Original companion for selected outcomes of Cambridge IGCSE Mathematics (0580) syllabus topics E2.12–E2.13 (Algebra and graphs, Extended only): functions with domain, range, composite and inverse functions; gradients of curves and differentiation of terms axⁿ; and stationary points with maxima and minima. It is not a Cambridge publication and does not replace the syllabus or an endorsed textbook.

Watch: Differentiation and functions in three lessons

Silent animation. The same steps are explained in the lessons below.

Concept animations

Functions and their types · Lesson 1
Composition of functions · Lesson 1
Inverse functions · Lesson 1
Differentiation and gradients of curves · Lesson 2
Stationary points · Lesson 3

Silent animations of one idea each. An animation is shared by every lesson that teaches the idea.

Solution animations

Every problem of this chapter, solved step by step. Try the problem first, then watch.

Lesson 1 · Functions, composite functions and inverses (Extended) (9)
Lesson 2 · Gradients of curves and differentiation (Extended) (9)
Lesson 3 · Stationary points, maxima and minima (Extended) (9)

Read all lessons

These explanations remain available without JavaScript. The separate learner and solution pages can be printed on A4.

LESSON 1

Functions, composite functions and inverses (Extended)

Extended: use function notation, find domain and range, and form composite and inverse functions.

Functions and their types
Functions and their types
Composition of functions
Composition of functions
Inverse functions
Inverse functions

Substituting x = 4 into 3x − 5 gives 12 − 5 = 7.

  1. Function notation

    f(x) = 3x − 5 means multiply by 3, then subtract 5. f(4) = 3 × 4 − 5 = 7 and f(−2) = −6 − 5 = −11. The input goes in the bracket.

    input 4× 3× 3 gives 12− 5− 5 gives 7f(4) = 7
  2. Domain and range

    f(x) = x² + 1 with domain −2 ≤ x ≤ 3. The smallest output is f(0) = 1 and the largest is f(3) = 10, so the range is 1 ≤ f(x) ≤ 10. Note f(−2) = 5 is not the smallest.

    x−2013f(x) = x² + 151210
  3. Composite functions

    With f(x) = 2x + 1 and g(x) = x²: fg(x) = f(x²) = 2x² + 1, but gf(x) = g(2x + 1) = (2x + 1)². So fg(3) = 19 and gf(3) = 49: the order matters. In fg, g is applied first.

    x = 3apply gg: 3² = 9apply ff: 2 × 9 + 1 = 19fg(3) = 19; in the other order gf(3) = 7² = 49
  4. Inverse functions

    To find the inverse of f(x) = (x + 4)/3, write y = (x + 4)/3, make x the subject: x = 3y − 4, then swap letters: f⁻¹(x) = 3x − 4. Check: f(5) = 3 and f⁻¹(3) = 9 − 4 = 5.

    y = (x + 4)/33y = x + 4x = 3y − 4f⁻¹(x) = 3x − 4

Worked example: f(x) = 3x + 2 and g(x) = x − 4. Solve fg(x) = 11. fg(x) = f(x − 4) = 3(x − 4) + 2 = 3x − 10. So 3x − 10 = 11, 3x = 21 and x = 7. Check: g(7) = 3 and f(3) = 11.

Watch for this: f⁻¹(x) is not 1/f(x). For f(x) = 2x, the inverse is f⁻¹(x) = x/2, which undoes doubling, while 1/f(x) = 1/(2x) is a different function.

Discuss: Discuss why f(x) = x² with domain all real numbers has no inverse function, but it does when the domain is x ≥ 0.

LESSON 2

Gradients of curves and differentiation (Extended)

Extended: estimate gradients with tangents, differentiate sums of terms axⁿ and find the gradient at a point.

The gradient of a straight line is rise ÷ run, and y = 5x + 2 has gradient 5.

  1. Gradient from a tangent

    A curve's steepness changes. On y = x², draw the tangent at (3, 9): it also passes through (1.5, 0) and (4.5, 18), so its gradient is 18 ÷ 3 = 6. The gradient of the curve at x = 3 is 6.

    01234502468101214161820(3, 9)xy
  2. The rule for axⁿ

    To differentiate axⁿ, multiply by the power and reduce the power by 1: d/dx(axⁿ) = naxⁿ⁻¹. So y = x² gives 2x (at x = 3 this is 6, as the tangent showed). y = 4x³ gives 12x², y = 5x gives 5 and a constant gives 0.

    ydy/dxx²2x4x³12x²5x570
  3. Differentiating sums

    Differentiate each term separately. y = 2x³ − 5x² + 3x − 1 gives dy/dx = 6x² − 10x + 3. The −1 disappears because a constant does not change the gradient.

    y = 2x³ − 5x² + 3x − 1dy/dx = 3 × 2x² − 2 × 5x + 3 − 0dy/dx = 6x² − 10x + 3
  4. Gradient at a point

    Substitute the x-value into dy/dx. For y = x³ − 4x, dy/dx = 3x² − 4. At x = 2 the gradient is 3 × 4 − 4 = 8. At x = 0 it is −4, so the curve is going down there.

    y = x³ − 4xdy/dx = 3x² − 4x = 2: 3 × 4 − 4 = 8

Worked example: Find the point on y = x² − 4x + 7 where the gradient is 2. dy/dx = 2x − 4 = 2, so x = 3. Then y = 9 − 12 + 7 = 4. The point is (3, 4).

Watch for this: The derivative of a constant is 0, not the constant itself. In y = x² + 7, the 7 only moves the curve up; it does not change how steep it is, so dy/dx = 2x.

Discuss: Discuss why the tangent method only estimates a gradient, while differentiation gives the exact value, and how you could check one against the other.

LESSON 3

Stationary points, maxima and minima (Extended)

Extended: find stationary points with dy/dx = 0 and decide whether each is a maximum or a minimum.

Stationary points
Stationary points

A quadratic such as 3x² − 6x − 9 = 0 can be solved by factorising: 3(x − 3)(x + 1) = 0.

  1. Gradient zero

    At a turning point the tangent is horizontal, so dy/dx = 0. For y = x² − 6x + 10: dy/dx = 2x − 6 = 0, so x = 3 and y = 9 − 18 + 10 = 1. The stationary point is (3, 1).

    01234560123456(3, 1)xy
  2. Stationary points of a cubic

    y = x³ − 3x² − 9x + 2 gives dy/dx = 3x² − 6x − 9 = 3(x − 3)(x + 1). This is 0 at x = 3 and x = −1. y(3) = 27 − 27 − 27 + 2 = −25 and y(−1) = −1 − 3 + 9 + 2 = 7.

    dy/dx = 3x² − 6x − 9= 3(x − 3)(x + 1) = 0x = 3: y = −25x = −1: y = 7
  3. Maximum or minimum?

    Differentiate again: d²y/dx² = 6x − 6. At x = 3 it is 12, positive, so (3, −25) is a minimum. At x = −1 it is −12, negative, so (−1, 7) is a maximum. You can also check the sign of the gradient either side.

    xd²y/dx² = 6x − 6Type312 (positive)minimum (3, −25)−1−12 (negative)maximum (−1, 7)
  4. Using a maximum

    40 m of fencing makes a rectangle with sides x and 20 − x. Area A = x(20 − x) = 20x − x². dA/dx = 20 − 2x = 0 gives x = 10, and d²A/dx² = −2 < 0, so this is a maximum: a 10 m square of area 100 m².

    10 m10 m10 m10 mArea 10 × 10 = 100 m²

Worked example: y = 2x³ − 3x² − 12x + 5. dy/dx = 6x² − 6x − 12 = 6(x − 2)(x + 1), so x = 2 or −1. y(2) = 16 − 12 − 24 + 5 = −15 and y(−1) = −2 − 3 + 12 + 5 = 12. d²y/dx² = 12x − 6: at 2 it is 18 (minimum (2, −15)); at −1 it is −18 (maximum (−1, 12)).

Watch for this: Solving dy/dx = 0 gives only the x-coordinate of a stationary point. You still need to substitute into the original equation for y to find the point itself.

Discuss: A box is made from a square sheet by cutting squares from the corners. Discuss how differentiation could find the cut size that gives the biggest volume.

Continue on paper

Sources and coverage

Original companion for selected outcomes of Cambridge IGCSE Mathematics (0580) syllabus topics E2.12–E2.13 (Algebra and graphs, Extended only): functions with domain, range, composite and inverse functions; gradients of curves and differentiation of terms axⁿ; and stationary points with maxima and minima. It is not a Cambridge publication and does not replace the syllabus or an endorsed textbook.

Original HelioLearn teaching and questions, aligned to the listed Cambridge topics. It is not an official publication of the board or a textbook solution bank. Independent teacher review is pending.