Mathematics (4024)
Topic 13 of 18Cambridge O Levels

Calculus (Differentiation)

Using differentiation to find gradients, stationary points, and solve kinematics problems.

### Introduction to Differentiation


Calculus is a branch of mathematics that deals with rates of change. Differentiation is the process of finding the exact rate of change of one quantity with respect to another. In the context of graphs, this means finding the gradient (or steepness) of a curve at a specific point. While you can find the gradient of a straight line using `(y2 - y1) / (x2 - x1)`, a curve's gradient is constantly changing. Differentiation gives us a tool, the gradient function, which allows us to calculate this gradient at any point on the curve.


The gradient function is denoted as dy/dx (read as 'dee-why by dee-ex'), which represents the rate of change of `y` with respect to `x`.


### The Power Rule for Differentiation


The fundamental rule for differentiating polynomial functions at the O Level is the power rule. For any function of the form y = axⁿ, where `a` and `n` are constants, its derivative is given by the formula:


dy/dx = anxⁿ⁻¹


To apply this rule, you bring the power (`n`) down to multiply with the coefficient (`a`) and then reduce the original power by one (`n-1`).


Let's break this down with examples:

* If `y = x³`, then `a=1` and `n=3`. So, `dy/dx = (1)(3)x³⁻¹ = 3x²`.

* If `y = 5x⁴`, then `a=5` and `n=4`. So, `dy/dx = (5)(4)x⁴⁻¹ = 20x³`.


This rule applies to each term in a polynomial. Two special cases are:

* Differentiating a constant: If `y = c` (e.g., `y = 7`), the line is horizontal, so its gradient is zero. d/dx (c) = 0.

* Differentiating x: If `y = ax` (e.g., `y = 6x`), this is `y = 6x¹`. Applying the rule, `dy/dx = (6)(1)x¹⁻¹ = 6x⁰ = 6(1) = 6`.


Example Process: Differentiate `y = 2x³ - 4x² + 7x - 5`.

We differentiate term by term:

`dy/dx = d/dx(2x³) - d/dx(4x²) + d/dx(7x) - d/dx(5)`

`dy/dx = 6x² - 8x + 7 - 0`

`dy/dx = 6x² - 8x + 7`


### Finding Stationary Points


Stationary points (or turning points) are points on a curve where the gradient is zero. At these points, the curve is momentarily flat, neither rising nor falling. These can be a local maximum (the peak of a hill) or a local minimum (the bottom of a valley).


The process to find stationary points is:

  • Find the gradient function, dy/dx.
  • Set the gradient function to zero: dy/dx = 0.
  • Solve the resulting equation for `x` to find the x-coordinates of the stationary points.
  • Substitute these `x` values back into the original equation for `y` to find the full coordinates.

  • To determine the nature of these stationary points (whether they are a maximum or a minimum), we use the second derivative test.

    The second derivative, written as d²y/dx², is found by differentiating `dy/dx` a second time.


    The Second Derivative Test:

    * If at the stationary point, d²y/dx² > 0 (positive), the point is a local minimum.

    * If at the stationary point, d²y/dx² < 0 (negative), the point is a local maximum.


    Example: Find and determine the nature of the stationary points of `y = x³ - 12x + 1`.

  • Find dy/dx: `dy/dx = 3x² - 12`.
  • Set dy/dx = 0: `3x² - 12 = 0` => `3x² = 12` => `x² = 4` => `x = 2` or `x = -2`.
  • Find coordinates:
  • * When `x = 2`, `y = (2)³ - 12(2) + 1 = 8 - 24 + 1 = -15`. Point is (2, -15).

    * When `x = -2`, `y = (-2)³ - 12(-2) + 1 = -8 + 24 + 1 = 17`. Point is (-2, 17).

  • Find d²y/dx²: `d²y/dx² = d/dx(3x² - 12) = 6x`.
  • Test the points:
  • * At `x = 2`: `d²y/dx² = 6(2) = 12`. Since `12 > 0`, the point (2, -15) is a local minimum.

    * At `x = -2`: `d²y/dx² = 6(-2) = -12`. Since `-12 < 0`, the point (-2, 17) is a local maximum.


    ### Application to Kinematics


    Differentiation is essential for describing motion (kinematics). We relate displacement (s), velocity (v), and acceleration (a) with respect to time (`t`).


    * Velocity (v) is the rate of change of displacement. Therefore, v = ds/dt.

    * Acceleration (a) is the rate of change of velocity. Therefore, a = dv/dt.


    This also means that acceleration is the second derivative of displacement: a = d²s/dt².


    Example: A particle's displacement `s` in metres from a point O after `t` seconds is given by `s = t³ - 6t² + 9t`.

    (a) Find its velocity at `t = 4`.

    (b) Find the time when the particle is momentarily at rest.


    (a) Find the velocity function: `v = ds/dt = 3t² - 12t + 9`.

    At `t = 4`, `v = 3(4)² - 12(4) + 9 = 3(16) - 48 + 9 = 48 - 48 + 9 = 9` m/s.


    (b) The particle is at rest when v = 0:

    `3t² - 12t + 9 = 0`

    Divide by 3: `t² - 4t + 3 = 0`

    Factorise: `(t - 1)(t - 3) = 0`

    So, the particle is at rest at t = 1 second and t = 3 seconds.

    Key Points to Remember

    • 1Differentiation finds the gradient of a curve at any point.
    • 2The power rule for differentiation is: if y = axⁿ, then dy/dx = anxⁿ⁻¹.
    • 3The gradient function, dy/dx, gives the formula for the gradient of the tangent.
    • 4Stationary points occur when the gradient is zero, i.e., dy/dx = 0.
    • 5Use the second derivative test to classify stationary points: d²y/dx² > 0 for a minimum, d²y/dx² < 0 for a maximum.
    • 6In kinematics, velocity is the derivative of displacement: v = ds/dt.
    • 7Acceleration is the derivative of velocity: a = dv/dt.
    • 8An object is momentarily at rest or changes direction when its velocity v = 0.

    Pakistan Example

    PSL Cricket Ball Trajectory

    The height, `h` metres, of a cricket ball hit by a batsman in a Pakistan Super League (PSL) match after `t` seconds is modelled by the equation `h = 24t - 4.9t²`. Use differentiation to find: (a) the time it takes for the ball to reach its maximum height, and (b) the maximum height it reaches. This involves finding the time `t` when the vertical velocity (`dh/dt`) is zero.

    Quick Revision Infographic

    Mathematics — Quick Revision

    Calculus (Differentiation)

    Key Concepts

    1Differentiation finds the gradient of a curve at any point.
    2The power rule for differentiation is: if y = axⁿ, then dy/dx = anxⁿ⁻¹.
    3The gradient function, dy/dx, gives the formula for the gradient of the tangent.
    4Stationary points occur when the gradient is zero, i.e., dy/dx = 0.
    5Use the second derivative test to classify stationary points: d²y/dx² > 0 for a minimum, d²y/dx² < 0 for a maximum.
    6In kinematics, velocity is the derivative of displacement: v = ds/dt.

    Formulas to Know

    The power rule for differentiation is: if y = axⁿ, then dy/dx = anxⁿ⁻¹.
    Stationary points occur when the gradient is zero, i.e., dy/dx = 0.
    In kinematics, velocity is the derivative of displacement: v = ds/dt.
    Acceleration is the derivative of velocity: a = dv/dt.
    Pakistan Example

    PSL Cricket Ball Trajectory

    The height, `h` metres, of a cricket ball hit by a batsman in a Pakistan Super League (PSL) match after `t` seconds is modelled by the equation `h = 24t - 4.9t²`. Use differentiation to find: (a) the time it takes for the ball to reach its maximum height, and (b) the maximum height it reaches. This involves finding the time `t` when the vertical velocity (`dh/dt`) is zero.

    SeekhoAsaan.com — Free RevisionCalculus (Differentiation) Infographic

    Test Your Knowledge!

    5 questions to test your understanding.

    Start Quiz