Skip to content

The derivative of an exponential function

The derivative of an exponential function

Reminder from grade 11: the rules of differentiation

The rules of differentiation you learnt in grade 11 hold for the new functions too:

  • The derivative of a sum is the sum of the derivatives, and (c⋅f(x))′=c⋅f′(x)\displaystyle {(c\cdot f(x))'}={c\cdot f'(x)}.
  • The derivative of a product, of a quotient and of a composite function:
[f(x)⋅g(x)]′\displaystyle \left[f(x)\cdot g(x)\right]' =\displaystyle = f′(x)⋅g(x)+f(x)⋅g′(x)\displaystyle f'(x)\cdot g(x)+f(x)\cdot g'(x)
[f(x)g(x)]′\displaystyle \left[\frac{f(x)}{g(x)}\right]' =\displaystyle = f′(x)⋅g(x)−f(x)⋅g′(x)[g(x)]2\displaystyle \frac{f'(x)\cdot g(x)-f(x)\cdot g'(x)}{\left[g(x)\right]^{2}}
[f(u(x))]′\displaystyle \left[f(u(x))\right]' =\displaystyle = f′(u)⋅u′(x)\displaystyle f'(u)\cdot u'(x)
  • The second derivative f′′(x)\displaystyle f''(x) is the derivative of f′(x)\displaystyle f'(x). Where f′′(x)>0\displaystyle f''(x)>0 the graph is concave up, and where f′′(x)<0\displaystyle f''(x)<0 it is concave down.
  • An inflection point is a point of the graph where the concavity changes: f′′\displaystyle f'' changes sign there.
The slope of ax\displaystyle a^x at the point (0,1)\displaystyle (0,1)

All the graphs of y=ax\displaystyle {y}={a^x} pass through (0,1)\displaystyle (0,1), but at different slopes. We work out the slope roughly, as the slope of the chord between x=0\displaystyle {x}={0} and x=0.001\displaystyle {x}={0.001}, that is a0.001−10.001\displaystyle \frac{a^{0.001}-1}{0.001}:

  • a=2\displaystyle {a}={2}: ≈0.693\displaystyle \approx0.693.
  • a=2.7\displaystyle {a}={2.7}: ≈0.994\displaystyle \approx0.994.
  • a=3\displaystyle {a}={3}: ≈1.099\displaystyle \approx1.099.

There is one base for which the slope at the point (0,1)\displaystyle (0,1) is exactly 1 – the base e≈2.718\displaystyle e\approx2.718. The tangent to the graph of ex\displaystyle e^x at the point (0,1)\displaystyle (0,1) is y=x+1\displaystyle {y}={x+1}:

f(x)=2x\displaystyle f(x)=2^{x}
g(x)=ex\displaystyle g(x)=e^{x}
h(x)=3x\displaystyle h(x)=3^{x}
y=x+1\displaystyle y=x+1
The derivative of ex\displaystyle e^x

The slope of ex\displaystyle e^x at every point follows from its slope at the point (0,1)\displaystyle (0,1):

  • The slope of the chord between x\displaystyle x and x+h\displaystyle x+h is ex+h−exh=ex⋅eh−1h\displaystyle {\frac{e^{x+h}-e^x}{h}}={e^x\cdot\frac{e^h-1}{h}}.
  • As h\displaystyle h comes close to 0, eh−1h\displaystyle \frac{e^h-1}{h} comes close to the slope at the point (0,1)\displaystyle (0,1), that is to 1.
  • So the slope at the point where x\displaystyle x is is ex\displaystyle e^x: at every point the slope of the tangent equals the height of the graph.
(ex)′\displaystyle (e^{x})' =\displaystyle = ex\displaystyle e^{x}
The derivative of ef(x)\displaystyle e^{f(x)}

ef(x)\displaystyle e^{f(x)} is a composite function: the outer derivative ef(x)\displaystyle e^{f(x)} times the inner derivative f′(x)\displaystyle f'(x).

[ef(x)]′\displaystyle \left[e^{f(x)}\right]' =\displaystyle = ef(x)⋅f′(x)\displaystyle e^{f(x)}\cdot f'(x)
  • (e3x)′=3e3x\displaystyle {\left(e^{3x}\right)'}={3e^{3x}}.
  • (ex2−2x)′=(2x−2)ex2−2x\displaystyle {\left(e^{x^2-2x}\right)'}={(2x-2)e^{x^2-2x}}.
  • (e−x)′=−e−x\displaystyle {\left(e^{-x}\right)'}={-e^{-x}}.
The derivative of ax\displaystyle a^x

Every exponential function can be written to the base e\displaystyle e: ax=exln⁡a\displaystyle {a^x}={e^{x\ln a}}. By the derivative of ef(x)\displaystyle e^{f(x)}, with f(x)=xln⁡a\displaystyle {f(x)}={x\ln a}:

(ax)′\displaystyle (a^{x})' =\displaystyle = ax⋅ln⁡a\displaystyle a^{x}\cdot\ln a
  • (2x)′=2xln⁡2\displaystyle {(2^x)'}={2^x\ln2}, and (10x)′=10xln⁡10\displaystyle {(10^x)'}={10^x\ln10}.
  • The derivative of ax\displaystyle a^x is ax\displaystyle a^x times a constant, ln⁡a\displaystyle \ln a.
f(x)=2x\displaystyle f(x)=2^{x}
g(x)=2xln⁡2\displaystyle g(x)=2^{x}\ln2
h(x)=3x\displaystyle h(x)=3^{x}
k(x)=3xln⁡3\displaystyle k(x)=3^{x}\ln3

In the drawing: 2x\displaystyle 2^x and 3x\displaystyle 3^x, and beside them their derivatives (dashed).

  • ln⁡2≈0.69<1\displaystyle \ln2\approx0.69<1: the graph of (2x)′\displaystyle (2^x)' is below the graph of 2x\displaystyle 2^x.
  • ln⁡3≈1.10>1\displaystyle \ln3\approx1.10>1: the graph of (3x)′\displaystyle (3^x)' is above the graph of 3x\displaystyle 3^x.
  • For the base e\displaystyle e, ln⁡e=1\displaystyle {\ln e}={1}, and the graph of the derivative is the graph of the function itself.
The equation of a tangent

The example below finds the equation of the tangent to the graph of f(x)=e2x−2\displaystyle {f(x)}={e^{2x-2}} at the point where x=1\displaystyle {x}={1}:

  • The point of contact: f(1)=e0=1\displaystyle {f(1)}={e^0}={1}, that is (1,1)\displaystyle (1,1).
  • The slope: f′(x)=2e2x−2\displaystyle {f'(x)}={2e^{2x-2}}, so f′(1)=2\displaystyle {f'(1)}={2}.
  • The tangent: y−1=2(x−1)\displaystyle {y-1}={2(x-1)}, that is y=2x−1\displaystyle {y}={2x-1}.
The second derivative and concavity

The example below finds the intervals of concavity and the inflection points of f(x)=e−x2\displaystyle {f(x)}={e^{-x^2}}:

  • f′(x)=−2xe−x2\displaystyle {f'(x)}={-2xe^{-x^2}}.
  • f′′(x)=−2e−x2+(−2x)(−2x)e−x2=(4x2−2)e−x2\displaystyle {f''(x)}={-2e^{-x^2}+(-2x)(-2x)e^{-x^2}}={(4x^2-2)e^{-x^2}}.
  • e−x2>0\displaystyle e^{-x^2}>0, so the sign of f′′\displaystyle f'' is the sign of 4x2−2\displaystyle 4x^2-2: f′′(x)=0\displaystyle {f''(x)}={0} where x=±22≈±0.707\displaystyle {x}={\pm\frac{\sqrt{2}}{2}\approx\pm0.707}.
  • Concave up where x<−22\displaystyle x<-\frac{\sqrt{2}}{2} or x>22\displaystyle x>\frac{\sqrt{2}}{2}, and concave down where −22<x<22\displaystyle -\frac{\sqrt{2}}{2}<x<\frac{\sqrt{2}}{2}.
f(x)=e−x2\displaystyle f(x)=e^{-x^{2}}
P=(−0.707,0.607)\displaystyle P=(-0.707,0.607)
Q=(0.707,0.607)\displaystyle Q=(0.707,0.607)
  • The inflection points: (±22,e−12)≈(±0.707,0.607)\displaystyle \left(\pm\frac{\sqrt{2}}{2},e^{-\frac{1}{2}}\right)\approx(\pm0.707,0.607).
  • This graph is called a “bell”: concave down round the maximum (0,1)\displaystyle (0,1), and concave up on both sides, as it comes close to the asymptote y=0\displaystyle {y}={0}.
Exercise 1

Differentiate.

a

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    b

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      c

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        d

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          Exercise 2

          Differentiate, and take out a common factor.

          a

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            b

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

              Exercise 3

              The function f(x)=xe2x\displaystyle {f(x)}={xe^{2x}} is given.
              f′(x)=e2x(1+2x)\displaystyle {f'(x)}={e^{2x}(1+2x)}.

              a

              Find the second derivative f′′(x)\displaystyle f''(x), and take out a common factor.

              f(x)=xe2x\displaystyle f(x)=xe^{2x}

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                b

                Find where the graph is concave up: solve the inequality f′′(x)>0\displaystyle f''(x)>0.

                  c

                  Mark the inflection point on the graph.

                  f(x)=xe2x\displaystyle f(x)=xe^{2x}

                  Exercise 4

                  The function f(x)=3x\displaystyle {f(x)}={3^x} is given.

                  a

                  Calculate the slope of the tangent to the graph at the point where x=0\displaystyle {x}={0}.

                  f(x)=3x\displaystyle f(x)=3^{x}

                    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                    b

                    Write the equation of the tangent to the graph at the point (0,1)\displaystyle (0,1).

                    f(x)=3x\displaystyle f(x)=3^{x}
                    (0,1)\displaystyle (0,1)

                    Exercise 5

                    The function f(x)=e2x−4x\displaystyle {f(x)}={e^{2x}-4x} is given.

                    a

                    Find f′(x)\displaystyle f'(x).

                    f(x)=e2x−4x\displaystyle f(x)=e^{2x}-4x

                      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                      b

                      Solve the equation f′(x)=0\displaystyle {f'(x)}={0}.

                        c

                        Mark the extremum point on the graph.

                        f(x)=e2x−4x\displaystyle f(x)=e^{2x}-4x