top of page

9.1 Differentiation

OCR A-level Maths Year 2 · H240 · Chapter 9: Calculus of Exponential and Trigonometric Functions

What is in the full lesson (22 activities)

Every item below opens free in the course.

A free OCR A-level Maths Year 2 lesson for OCR A Level Mathematics A (H240) from OBA School: derivatives of exponentials, logarithms and trigonometric functions, including first principles (OCR H240: 1.07h, 1.07j, 1.07k, 1.07l). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Differentiate eᵏˣ, aᵏˣ and ln x
  • Differentiate sin kx, cos kx and tan kx, with x in radians
  • Prove the derivatives of sin x and cos x from first principles
  • Use these results to find gradients, tangents, normals and stationary points

Key words

  • Radian: The angle unit used in calculus. π radians = 180°. All the trig results here need radians.
  • Natural logarithm: ln x is the logarithm to base e. It is the inverse of eˣ.
  • First principles: Finding a derivative as the limit of (f(x + h) − f(x))/h as h → 0.
  • Small angles: For small h in radians: sin h ≈ h and cos h ≈ 1 − h²/2.
  • Stationary point: A point where dy/dx = 0: a maximum, a minimum or a point of inflection.

Exponentials and logarithms

The gradient of y = eˣ at any point equals its y-value. Stretching parallel to the x-axis gives eᵏˣ, and the gradient picks up a factor k. Because y = ln x is the reflection of y = eˣ in y = x, its gradients are the reciprocals of those of eˣ.

Key results: (d/dx)(eᵏˣ) = keᵏˣ (d/dx)(ln x) = 1/x (d/dx)(aᵏˣ) = kaᵏˣ ln a

For aˣ, write a = exp(ln a), so aˣ = exp(x ln a). This is eᵏˣ with k = ln a, so its derivative is ln a × exp(x ln a) = aˣ ln a.

Worked example: simplify first

Differentiate y = ln (5x³) + 2e⁻³ˣ
ln (5x³) = ln 5 + 3 ln x, and ln 5 is a constant
dy/dx = 0 + 3/x + 2 × (−3)e⁻³ˣ

Answer: dy/dx = 3/x − 6e⁻³ˣ

Worked example: a general exponential

Find the exact gradient of y = 4ˣ at x = 1/2
dy/dx = 4ˣ ln 4. At x = 1/2: 4¹ᐟ² ln 4 = 2 ln 4

Answer: gradient = 2 ln 4 = 4 ln 2

Trigonometric functions

The graph of y = sin x has gradient 1 at the origin, 0 at its peaks and troughs, and −1 at x = π. That gradient pattern is exactly the graph of cos x. These results only work when x is measured in radians.

  • sin kx; dy/dx k cos kx
  • cos kx; dy/dx −k sin kx
  • tan kx; dy/dx k sec ² kx

Worked example: a gradient

Find the gradient of y = 2 sin 3x − cos x/2 at x = π/3
dy/dx = 6 cos 3x + (1/2)sin x/2
At x = π/3: 6 cos π + (1/2)sin π/6 = −6 + 1/4

Answer: gradient = −23/4

Worked example: tan

Find the gradient of y = tan 4x at x = π/16
dy/dx = 4 sec ² 4x, and sec ²π/4 = 1/(cos ²π/4) = 2

Answer: gradient = 8

Proof from first principles

You can prove the result for sin x with the compound angle formula and the small angle approximations. The same method works for cos x. Write each step clearly: OCR asks you to show the limit, not just quote the answer.

Tools for the proof: f ′(x) = lim (h → 0) (f(x + h) − f(x))/h sin h ≈ h, cos h ≈ 1 − h²/2

Worked example: prove that (d/dx)(sin x) = cos x

(sin (x + h) − sin x)/h = (sin x cos h + cos x sin h − sin x)/h
≈ (sin x(1 − h²/2) + h cos x − sin x)/h = −(h/2)sin x + cos x
As h → 0, −(h/2)sin x → 0

Answer: (d/dx)(sin x) = cos x

Worked example: prove that (d/dx)(cos x) = −sin x

(cos (x + h) − cos x)/h = (cos x cos h − sin x sin h − cos x)/h
≈ (cos x(1 − h²/2) − h sin x − cos x)/h = −(h/2)cos x − sin x
As h → 0, −(h/2)cos x → 0

Answer: (d/dx)(cos x) = −sin x

Tangents, normals and stationary points

The methods are the ones you already know. For a tangent or normal: find the point, find the gradient, use y − y₁ = m(x − x₁). For stationary points: solve dy/dx = 0, then use (d²y)/dx² to decide the nature.

Worked example: tangent and normal

Find the tangent and normal to y = e²ˣ − 3x at the point where x = 0
y = 1. dy/dx = 2e²ˣ − 3 = −1 at x = 0
Tangent: y − 1 = −(x − 0). Normal: gradient 1, y − 1 = x

Answer: tangent x + y − 1 = 0; normal y = x + 1

Worked example: a stationary point

Find and classify the stationary point of y = 6x − e³ˣ
dy/dx = 6 − 3e³ˣ = 0, so e³ˣ = 2 and x = (1/3)ln 2
y = 2 ln 2 − 2. (d²y)/dx² = −9e³ˣ = −18 < 0

Answer: maximum at ((1/3)ln 2, 2 ln 2 − 2)

Worked example: a rate of change in context

The temperature in a greenhouse is T = 18 + 7 sin ((π t)/12) °C, t hours after 6 am
dT/dt = (7π/12)cos ((π t)/12). At t = 4: 7π/12 × 1/2 = 7π/24

Answer: rising at 7π/24 = 0.916 °C per hour at 10 am

Common mistakes

  • Working in degrees. Every trig derivative here assumes radians: set your calculator to radians.
  • Writing (d/dx)(ln 3x) = 3/x. Since ln 3x = ln 3 + ln x, the answer is 1/x.
  • Treating eᵏˣ like a power of x and writing kx exp(kx − 1). The answer is keᵏˣ.
  • Losing the minus sign: (d/dx)(cos kx) = −k sin kx.
  • Writing (d/dx)(aˣ) = xaˣ⁻¹. That rule is for xⁿ only; (d/dx)(aˣ) = aˣ ln a.

Revision questions

Try these, then check your answers below each one.

Question 1. Differentiate y = e⁴ˣ. (Choose from: 4e⁴ˣ; e⁴ˣ; 4x exp(4x − 1); (1/4)e⁴ˣ.)

Answer: 4e⁴ˣ

Working: With k = 4: dy/dx = 4e⁴ˣ. The power is not brought down as for xⁿ.

Question 2. Find the gradient of y = 3 ln x at the point where x = 6.

Answer: 1/2

Working: dy/dx = 3/x. At x = 6: 3/6 = 1/2.

Question 3. Differentiate y = sin 3x, where x is in radians. (Choose from: 3 cos 3x; −3 cos 3x; cos 3x; (1/3)cos 3x.)

Answer: 3 cos 3x

Working: dy/dx = 3 cos 3x. Only the derivative of cos brings a minus sign.

Related lessons

Continue in the full course

This lesson is section 9.1 of our free OCR A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 9.1 in the free course →

 

 

 

 

 

 

 

bottom of page