Lesson 3: Differentiating e to the power of a function

Expand, then differentiate (ex+e−x)2\left(e^x + e^{-x}\right)^2

SkillDifferentiating exponentials

Worked example

  • Complex familiar
  • Technology free

Let f(x)=(ex+e−x)2f(x) = \left(e^x + e^{-x}\right)^2.

(a) Show that f(x)=e2x+2+e−2xf(x) = e^{2x} + 2 + e^{-2x}.

(b) Hence find f′(x)f'(x), and show that the graph of y=f(x)y = f(x) has a horizontal tangent at x=0x = 0.

1 of 4 steps
  1. Step 1: Expand the square

    (ex+e−x)2=(ex)2+2exe−x+(e−x)2\left(e^x + e^{-x}\right)^2 = \left(e^x\right)^2 + 2e^x e^{-x} + \left(e^{-x}\right)^2

Try a similar one

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

Method

  1. Rewrite the function as a sum of exponentials with index laws.

  2. Differentiate each term.

  3. Substitute to find the gradient.

Watch out for

  • Writing (ex+e−x)2=e2x+e−2x\left(e^x + e^{-x}\right)^2 = e^{2x} + e^{-2x}: the middle term 2exe−x=22e^x e^{-x} = 2 is missing.

  • Writing (ex)2=ex2\left(e^x\right)^2 = e^{x^2}: a power of a power multiplies the indices, giving e2xe^{2x}.

Save your progress with a free account