Sec 4 G3 A-Maths

Differentiation of Trigonometric, Exponential and Logarithmic Functions

Why does differentiating sin⁡(3x)\sin(3x) give an extra factor of three?

As xx changes, the angle 3x3x changes three times as fast. The output changes because the sine function responds to its angle and the angle responds to xx. The chain rule multiplies those two rates. Trigonometric derivative rules use radians.

Worked example

Find the derivative of y=sin⁡(3x)y=\sin(3x) and its gradient at x=0x=0.

  1. u=3x,y=sin⁡uu=3x,\qquad y=\sin u

    Calling the angle uu makes the inner and outer changes visible.

  2. dydu=cos⁡u,dudx=3\frac{\mathrm{d}y}{\mathrm{d}u}=\cos u,\qquad \frac{\mathrm{d}u}{\mathrm{d}x}=3

    The first rate is per unit change in angle. The second converts a change in xx into a change in angle.

  3. dydx=3cos⁡(3x)\frac{\mathrm{d}y}{\mathrm{d}x}=3\cos(3x)

    Multiply the rates and substitute u=3xu=3x. At x=0x=0, the gradient is 3cos⁡0=33\cos 0=3.

Your turn

For x>0x>0, what is the derivative of y=(ln⁡x)3y=(\ln x)^3?

Show the reasoning

Take u=ln⁡xu=\ln x. The outer derivative is 3u23u^2 and the inner derivative is 1/x1/x. Multiplying gives dydx=3(ln⁡x)2x\frac{\mathrm{d}y}{\mathrm{d}x}=\frac{3(\ln x)^2}{x}.