Differentiating exponential, logarithmic and trigonometric functions

Differentiating exponential, logarithmic and trigonometric functions

Spec 4.1 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • ddx(ekx)=kekx\frac{d}{dx}(e^{kx})=ke^{kx} and ddx(ln⁡kx)=1x\frac{d}{dx}(\ln kx)=\frac1x.
  • ddx(sin⁡kx)=kcos⁡kx\frac{d}{dx}(\sin kx)=k\cos kx, ddx(cos⁡kx)=−ksin⁡kx\frac{d}{dx}(\cos kx)=-k\sin kx, ddx(tan⁡kx)=ksec⁡2kx\frac{d}{dx}(\tan kx)=k\sec^2kx.
  • Trigonometric derivatives need xx in radians.
  • ddx(ax)=axln⁡a\frac{d}{dx}(a^x)=a^x\ln a.
  • At a stationary point dydx=0\frac{dy}{dx}=0.

Exponentials and logarithms

The derivative of ekxe^{kx} is kk times itself, and ln⁡kx\ln kx differentiates to 1x\frac1x whatever kk is.

For ln⁡kx\ln kx, write ln⁡kx=ln⁡k+ln⁡x\ln kx=\ln k+\ln x. Since ln⁡k\ln k is a constant, the kk disappears.

The derivative of ekxe^{kx} is a multiple of ekxe^{kx} itself, which is why exponentials model growth and decay.

−2−1.5−1−0.50.511.522468xyy = e^(kx)dy/dx = k e^(kx)
The dashed curve is the gradient of y = e^(kx), which is k e^(kx): move k to see it scale
  • ddx(ekx)\dfrac{d}{dx}\left(e^{kx}\right)kekxke^{kx}
  • ddx(ln⁡x)\dfrac{d}{dx}\left(\ln x\right)1x\dfrac1x

Worked example

Differentiate 5e2x5e^{2x} and ln⁡3x\ln3x.

Differentiate e4x+ln⁡5xe^{4x}+\ln5x.

Trigonometric functions

Each gains a factor of kk from the chain rule, and cos⁡\cos changes sign.

With xx in radians, sums and differences are differentiated term by term.

The derivative of tan⁡kx\tan kx comes from tan⁡kx=sin⁡kxcos⁡kx\tan kx=\frac{\sin kx}{\cos kx}, with sec⁡x=1cos⁡x\sec x=\frac{1}{\cos x}.

  • ddx(sin⁡kx)\dfrac{d}{dx}(\sin kx)kcos⁡kxk\cos kx
  • ddx(cos⁡kx)\dfrac{d}{dx}(\cos kx)−ksin⁡kx-k\sin kx
  • ddx(tan⁡kx)\dfrac{d}{dx}(\tan kx)ksec⁡2kxk\sec^{2}kx
−11234567−1.5−1−0.50.511.5xy(π/2, 1)y = sin xy = cos x
y = sin x and its derivative y = cos x (dashed). The gradient of sin x is zero where cos x crosses the x-axis.

Worked example

Differentiate y=4sin⁡3x+cos⁡2xy=4\sin3x+\cos2x.

What is ddx(tan⁡5x)\frac{d}{dx}(\tan5x)?

Differentiating aˣ

ddx(ax)=axln⁡a\frac{d}{dx}(a^x)=a^x\ln a for a positive constant aa.

This follows from ax=exln⁡aa^{x}=e^{x\ln a}, so the derivative is ln⁡a×exln⁡a\ln a\times e^{x\ln a}.

For a=ea=e, ln⁡e=1\ln e=1 gives back ddx(ex)=ex\frac{d}{dx}(e^x)=e^x.

−3−2−11232468xy(0, 1)y = 2ˣdy/dx = 2ˣ ln 2
y = 2ˣ and its gradient 2ˣ ln 2: at (0, 1) the gradient is ln 2 ≈ 0.69
  • ddx(ax)\dfrac{d}{dx}\left(a^{x}\right)axln⁡aa^{x}\ln a

Worked example

Find the gradient of y=2xy=2^x at x=3x=3.

Differentiate 3x3^{x}.

Second derivatives and stationary points

Set dydx=0\frac{dy}{dx}=0 for stationary points; differentiate again for d2ydx2\frac{d^2y}{dx^2}.

For y=5e2x−ln⁡3xy=5e^{2x}-\ln3x: dydx=10e2x−x−1\frac{dy}{dx}=10e^{2x}-x^{-1} and d2ydx2=20e2x+x−2\frac{d^{2}y}{dx^{2}}=20e^{2x}+x^{-2}.

At a stationary point dydx=0\frac{dy}{dx}=0. For trigonometric curves you may need an identity such as cos⁡2x=1−2sin⁡2x\cos2x=1-2\sin^{2}x to form a quadratic in sin⁡x\sin x.

0.511.522.53−2−112xy(0, 1)(π/2, −1)(π, 1)y = cos 2xdy/dx = −2 sin 2x
y = cos 2x and dy/dx = −2 sin 2x: the gradient is zero at the stationary points x = 0, π/2 and π
  • Stationary pointdydx=0\dfrac{dy}{dx}=0

Worked example

Find the values of sin⁡x\sin x at the stationary points of y=3sin⁡2x−2cos⁡xy=3\sin2x-2\cos x.

What is d2ydx2\frac{d^{2}y}{dx^{2}} for y=e3xy=e^{3x}?

Try an exam question

(a) Differentiate y=5e2x+3sin⁡4x−ln⁡7xy=5e^{2x}+3\sin4x-\ln7x. (b) Find the exact gradient of the curve y=2xy=2^x at x=4x=4.

[5 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find dydx\dfrac{dy}{dx}.

1 mark, marked against the mark scheme

Revision notes