Skip to content
Marlbridge

Study Guides

OCR A Level Mathematics A: Differentiation fundamentals: gradients, second derivatives, first principles and standard derivatives (H240)

Study guide to OCR A Level Mathematics A (H240) differentiation basics: gradients, second derivatives, first principles and standard derivatives.

Subject
Mathematics
Level
A LEVELS
Topic
Differentiation fundamentals: gradients, second derivatives, first principles and standard derivatives
Updated

Aligned to OCR A Level Mathematics (H240), Version 3.1 (August 2026), for first assessment in 2018. Official specification .

Syllabus page (what it covers and how it is assessed): OCR A Level Mathematics.

Syllabus points this page covers

H240

  • 1.07 Differentiation

Found an error? Report a correction.

Need help with this topic? Request a free trial class for A Level Mathematics (H240).

This guide covers the first half of differentiation in OCR A Level Mathematics A (H240), content references 1.07a to 1.07l of the specification, Version 3.1 (August 2026). Most of it is Stage 1, common to AS and A Level. Content marked A Level only is Stage 2. Tangents, normals, stationary points, optimisation, the product, quotient and chain rules, implicit and parametric differentiation and differential equations are separate topics, so they are not taught here.

Use it with the revision notes and the practice questions. The wider course is on the OCR A Level Mathematics hub, the printable checklist shows what to tick off, and the pure mathematics overview gives the bigger picture. If you are unsure where to start, take a free 10-minute diagnostic.

What this unit covers

Reference What you must be able to do Stage
1.07a, 1.07b Use the derivative as the gradient of the tangent, as the limit of chord gradients and as a rate of change; use f’(x) and dy/dx 1
1.07c Sketch the gradient function for a given curve 1
1.07d, 1.07e Find second derivatives f’’(x) and d²y/dx²; use them as the rate of change of gradient 1
1.07f Use the second derivative for convex and concave sections and points of inflection A Level only
1.07g Differentiate from first principles for small positive integer powers of x (the specification excludes powers above 4) 1
1.07h First principles for sin x and cos x A Level only
1.07i Differentiate xⁿ for rational n, with constant multiples, sums and differences 1
1.07j, 1.07k, 1.07l Differentiate e^kx, a^kx, sin kx, cos kx, tan kx and ln x A Level only

1. The derivative as a gradient (1.07a, 1.07b)

A curve y = f(x) bends, so its gradient changes from point to point. The derivative f’(x) is the gradient of the tangent at the general point (x, y). The same thing is written dy/dx, and you should treat f’(x) and dy/dx as equivalent.

Take two points on the curve: A at x = a and B at x = a + h. The chord AB has gradient

[f(a + h) − f(a)] / h

As h gets smaller, B slides towards A and the chord turns into the tangent. So the gradient of the tangent at x = a is the limit of the gradient of a chord as h → 0. The same number is the rate of change of y with respect to x at that point, which is how you read dy/dx in context: “y changes by 12 units for each unit of x, at that instant”.

Worked example. For y = x³, find the gradient of the chord from x = 2 to x = 2 + h, then the gradient at x = 2.

y(2 + h) = 8 + 12h + 6h² + h³
chord gradient = (12h + 6h² + h³) / h = 12 + 6h + h²

With h = 0.1 the chord gradient is 12.61. As h → 0 the terms 6h and h² vanish, so the gradient at x = 2 is 12.

2. Sketching the gradient function (1.07c)

You can sketch f’(x) from the picture of f(x) without any algebra. Read the curve from left to right and ask what the tangent is doing.

On the curve y = f(x) On the graph of y = f’(x)
Rising Above the x-axis
Falling Below the x-axis
Turning point Crosses or touches the x-axis
Getting steeper Rising
Straight section Horizontal line at the gradient value

The degree drops by one: the gradient function of a cubic is a quadratic, and of a quadratic is a straight line.

Worked example. A cubic with a positive x³ coefficient has a maximum at x = −1 and a minimum at x = 3. Describe y = f’(x).

f is rising for x < −1       so f' > 0 there
f is falling for −1 < x < 3  so f' < 0 there
f is rising for x > 3        so f' > 0 there

So f’ is a U-shaped parabola crossing the x-axis at −1 and 3. It is symmetrical about x = 1, which is where its lowest point lies. For f(x) = x³ − 3x² − 9x, f’(x) = 3(x + 1)(x − 3), with f’(0) = −9 and a minimum value of −12 at x = 1. Label the intercepts and the minimum on your sketch.

3. Second derivatives (1.07d, 1.07e)

Differentiate f’(x) again to get the second derivative, written f’’(x) or d²y/dx². It is the rate of change of the gradient.

  • f’’(x) > 0: the gradient is increasing.
  • f’’(x) < 0: the gradient is decreasing.

This is why the second derivative can help to tell a maximum point (gradient going from positive to negative) from a minimum point (gradient going from negative to positive).

Do not read d²y/dx² as (dy/dx)². It means “apply d/dx twice”.

4. Convex, concave and points of inflection (1.07f, A Level only)

On an interval where f’‘(x) > 0 the function is convex (the curve bends upwards, like a bowl). Where f’‘(x) < 0 it is concave (it bends downwards). A point of inflection is where the curve changes from concave to convex or the other way round. At such a point f’‘(x) = 0 and f’’ changes sign.

Worked example. Let f(x) = x⁴ − 8x³ + 18x² + 5. Find where f is convex and concave and locate the points of inflection.

f'(x)  = 4x³ − 24x² + 36x = 4x(x − 3)²
f''(x) = 12x² − 48x + 36 = 12(x − 1)(x − 3)

f’’ is a U-shaped parabola with roots 1 and 3, so f’’ > 0 for x < 1 and x > 3 (convex) and f’’ < 0 for 1 < x < 3 (concave). The sign changes at both roots, so there are points of inflection at x = 1 and x = 3. Their y-values are f(1) = 16 and f(3) = 32. At x = 3 the gradient f’(3) is also 0, so the curve flattens as it passes through; at x = 1, f’(1) = 16.

Warning. f’‘(x) = 0 alone is not enough. For y = x⁴, f’‘(0) = 0 but f’’ = 12x² is positive on both sides, so the curve stays convex and there is no inflection.

5. First principles for powers of x (1.07g)

The definition you must be able to use, with its notation, is

f'(x) = lim (h → 0) [f(x + h) − f(x)] / h

For small positive integer powers (the specification excludes integer powers above 4), expand (x + h)ⁿ, cancel the xⁿ, divide by h, then let h → 0.

Worked example. Differentiate f(x) = x⁴ from first principles.

f(x + h) = x⁴ + 4x³h + 6x²h² + 4xh³ + h⁴
f(x + h) − f(x) = 4x³h + 6x²h² + 4xh³ + h⁴
divided by h: 4x³ + 6x²h + 4xh² + h³

As h → 0 the last three terms go to 0, so f’(x) = 4x³. Write the limit notation on every line until you take the limit; dropping it early loses the point of the method.

6. First principles for sin x and cos x (1.07h, A Level only)

Angles are in radians. You need two limits, which you can quote:

as h → 0:   sin h / h → 1     and     (cos h − 1) / h → 0

Worked example. Differentiate sin x from first principles.

sin(x + h) − sin x = sin x cos h + cos x sin h − sin x
divided by h: sin x · (cos h − 1)/h + cos x · (sin h / h)

As h → 0 the first term tends to sin x × 0 = 0 and the second to cos x × 1. So d/dx(sin x) = cos x.

The cos x case follows the same steps from cos(x + h) = cos x cos h − sin x sin h and gives −sin x. The practice questions include it.

7. Differentiating xⁿ (1.07i)

For any rational n: d/dx (xⁿ) = nxⁿ⁻¹. Constant multiples stay in place, sums and differences are handled one term at a time, and a lone constant gives 0.

The skill is rewriting first. Roots and reciprocals must become powers: √x = x^(1/2), 1/x³ = x⁻³, 1/√x = x^(−1/2). Split fractions that have a single term in the denominator.

Worked example. Differentiate y = (x² + 3)/√x and find dy/dx at x = 4.

y = x^(3/2) + 3x^(−1/2)
dy/dx = (3/2)x^(1/2) − (3/2)x^(−3/2)
at x = 4: (3/2)(2) − (3/2)(1/8) = 3 − 3/16 = 45/16

8. Exponentials and logarithms (1.07j, 1.07l, A Level only)

Function Derivative
e^kx k e^kx
a^kx (a > 0) k ln a · a^kx
ln x 1/x

The result for a^kx comes from writing a^kx = e^(kx ln a). In every case k is a constant. The function e^x itself is the case k = 1, and it is its own derivative.

9. Trigonometric functions (1.07k, A Level only)

Function Derivative
sin kx k cos kx
cos kx −k sin kx
tan kx k sec² kx

These hold for x in radians only. If a question gives degrees, the factor k picks up an extra π/180, and you should convert to radians.

Worked example. Differentiate each function.

(a) f(x) = 6e^(x/3) − 4(5^(2x)) + 7 ln x
    f'(x) = 2e^(x/3) − 8 ln 5 · 5^(2x) + 7/x

(b) y = 3 sin 2x − 5 cos(x/2) + tan 4x
    dy/dx = 6 cos 2x + (5/2) sin(x/2) + 4 sec² 4x

Check the signs in (b): the derivative of cos kx is −k sin kx, and the −5 in front turns it positive.

Common errors

  • Writing the derivative of 5^(2x) as 2x · 5^(2x−1). The power rule only works when the variable is in the base.
  • Forgetting ln a in the derivative of a^kx.
  • Differentiating cos kx as +k sin kx.
  • Leaving a root or a denominator unconverted before applying the power rule.
  • Claiming an inflection because f’’(x) = 0, without checking for a sign change.
  • Dropping “lim” or the h → 0 step in a first-principles answer.
  • Using degrees when differentiating trigonometric functions.
  • Confusing the sketch of f’ with the sketch of f: the roots of f’ are the turning points of f.

Official syllabus

OCR Level 3 Advanced GCE in Mathematics A (H240) specification, Version 3.1 (August 2026), for first assessment in 2018, published by OCR: section 1.07, Differentiation, references 1.07a to 1.07l.

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.

Subjects (optional, up to 6)

Choose a qualification to see its subjects.

Related resources

Related articles

Studying this with a teacher

Working through Mathematics A LEVELS?

This page is free and stays free. If you would rather be taught it, Marlbridge runs Mathematics classes one-to-one, online in your own time zone. One-to-one only for this course: Rs 6,000 per class in Pakistan, with other currencies on the fees page. The first trial class is free. WhatsApp replies within an hour (8am–11pm Pakistan time, every day); email the same day.