Lesson 2: The chain rule with sine, cosine, e and ln

Composites of ee, ln⁡\ln and trigonometric functions

SkillThe chain rule with e, ln and trig

Worked example

  • Complex familiar
  • Technology free

(a) Differentiate y=esin⁡(2x)y = e^{\sin(2x)}.

(b) Differentiate y=ln⁡(2+cos⁡(x))y = \ln\left(2 + \cos(x)\right), and hence find the gradient of its graph at x=π2x = \frac{\pi}{2}.

1 of 5 steps
  1. Step 1: (a) Identify the outside and inside

    Outside: eue^u. Inside: u=sin⁡(2x)u = \sin(2x), so dudx=2cos⁡(2x)\frac{du}{dx} = 2\cos(2x).

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Find the outside function: eue^u, ln⁡(u)\ln(u), sin⁡(u)\sin(u), cos⁡(u)\cos(u) or unu^n.

  2. Differentiate the inside, using the chain rule again if it is a composite.

  3. Apply the matching rule from the formula sheet.

Watch out for

  • Changing the exponent: esin⁡(2x)e^{\sin(2x)} differentiates to 2cos⁡(2x)esin⁡(2x)2\cos(2x)e^{\sin(2x)}, not e2cos⁡(2x)e^{2\cos(2x)}.

  • Writing 12+cos⁡(x)\frac{1}{2 + \cos(x)}: the derivative of the inside goes on top.

Save your progress with a free account