Skip to content

The number e and derivatives

The number e and derivatives

Reminder: the rules of differentiation

The rules of differentiation from grades 10 and 11 hold for the new functions too:

  • (xn)′=nxn−1\displaystyle {(x^n)'}={nx^{n-1}}, (x)′=12x\displaystyle {(\sqrt{x})'}={\frac{1}{2\sqrt{x}}}, and the derivative of a sum is the sum of the derivatives.
  • The derivative of a product and the derivative of a quotient:
[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}}
  • The derivative of a composite function: the outer derivative times the inner derivative.
[f(u(x))]′\displaystyle \left[f(u(x))\right]' =\displaystyle = f′(u)⋅u′(x)\displaystyle f'(u)\cdot u'(x)
  • The equation of the tangent to the graph at the point where x=a\displaystyle {x}={a}:
y−f(a)=f′(a)(x−a)\displaystyle y-f(a)=f'(a)(x-a)
The number e\displaystyle e

The number e\displaystyle e is a constant, like π\displaystyle \pi: e≈2.718\displaystyle e\approx2.718. One way to reach it is the expression (1+1n)n\displaystyle \left(1+\frac{1}{n}\right)^n as n\displaystyle n grows:

  • n=10\displaystyle {n}={10}: (1+110)10≈2.594\displaystyle \left(1+\frac{1}{10}\right)^{10}\approx2.594
  • n=100\displaystyle {n}={100}: ≈2.705\displaystyle \approx2.705
  • n=1000\displaystyle {n}={1000}: ≈2.717\displaystyle \approx2.717
  • n=1,000,000\displaystyle {n}={1{,}000{,}000}: ≈2.71828\displaystyle \approx2.71828

The function ex\displaystyle e^x is the exponential function whose base is e\displaystyle e. Its graph runs between the graphs of 2x\displaystyle 2^x and of 3x\displaystyle 3^x:

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
  • Like every exponential function, ex\displaystyle e^x is positive and increasing, passes through (0,1)\displaystyle (0,1), and its horizontal asymptote is y=0\displaystyle {y}={0}.
  • 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}: its slope is 1. That is what is special about the base e\displaystyle e.
The natural logarithm ln⁡x\displaystyle \ln x

The logarithm to the base e\displaystyle e is called the natural logarithm, written ln⁡\displaystyle \ln:

ln⁡x=log⁡ex\displaystyle \ln x=\log_{e}x
  • ln⁡x\displaystyle \ln x is defined only when x>0\displaystyle x>0.
  • ln⁡1=0\displaystyle {\ln1}={0}, ln⁡e=1\displaystyle {\ln e}={1}, ln⁡ex=x\displaystyle {\ln e^x}={x}, eln⁡x=x\displaystyle {e^{\ln x}}={x}.
  • The laws of logarithms hold for ln⁡\displaystyle \ln too: ln⁡(xy)=ln⁡x+ln⁡y\displaystyle {\ln(xy)}={\ln x+\ln y}, ln⁡xy=ln⁡x−ln⁡y\displaystyle {\ln\frac{x}{y}}={\ln x-\ln y}, ln⁡xb=bln⁡x\displaystyle {\ln x^b}={b\ln x}.
  • ex=5\displaystyle {e^x}={5} means x=ln⁡5\displaystyle {x}={\ln5}.
The derivatives of ex\displaystyle e^x and of ln⁡x\displaystyle \ln x

The derivative of ex\displaystyle e^x is ex\displaystyle e^x itself: at every point the slope of the tangent equals the height of the graph. The derivative of ln⁡x\displaystyle \ln x is 1x\displaystyle \frac{1}{x}, in the domain x>0\displaystyle x>0.

(ex)′\displaystyle (e^{x})' =\displaystyle = ex\displaystyle e^{x}
(ln⁡x)′\displaystyle (\ln x)' =\displaystyle = 1x\displaystyle \frac{1}{x}

The example below differentiates a sum of the two new functions and a polynomial:

(3ex−2ln⁡x+x2)′=3ex−2x+2x\left(3e^x-2\ln x+x^2\right)'=3e^x-\frac{2}{x}+2x
The derivatives of ef(x)\displaystyle e^{f(x)} and of ln⁡f(x)\displaystyle \ln f(x)

When f(x)\displaystyle f(x) is a polynomial, ef(x)\displaystyle e^{f(x)} and ln⁡f(x)\displaystyle \ln f(x) are composite functions: the outer derivative 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)
[ln⁡(f(x))]′\displaystyle \left[\ln(f(x))\right]' =\displaystyle = f′(x)f(x)\displaystyle \frac{f'(x)}{f(x)}
  • (ex2−3x)′=(2x−3)ex2−3x\displaystyle {\left(e^{x^2-3x}\right)'}={(2x-3)e^{x^2-3x}}.
  • (ln⁡(x2+1))′=2xx2+1\displaystyle {\left(\ln(x^2+1)\right)'}={\frac{2x}{x^2+1}}.
  • ln⁡f(x)\displaystyle \ln f(x) is defined only where f(x)>0\displaystyle f(x)>0: the domain of ln⁡(x2+1)\displaystyle \ln(x^2+1) is every x\displaystyle x, that of ln⁡(x−2)\displaystyle \ln(x-2) only x>2\displaystyle x>2.
A product and a quotient with a polynomial

The examples below differentiate a product and a quotient, and take out a common factor, so that f′(x)=0\displaystyle {f'(x)}={0} is easy to solve later:

(xe2x)′=1⋅e2x+x⋅2e2x=e2x(1+2x)\left(xe^{2x}\right)'=1\cdot e^{2x}+x\cdot2e^{2x}=e^{2x}(1+2x)(ln⁡xx)′=1x⋅x−ln⁡x⋅1x2=1−ln⁡xx2\left(\frac{\ln x}{x}\right)'=\frac{\frac{1}{x}\cdot x-\ln x\cdot1}{x^2}=\frac{1-\ln x}{x^2}
The equation of a tangent

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

  • The point of contact: f(1)=e\displaystyle {f(1)}={e}, that is (1,e)\displaystyle (1,e).
  • The slope: f′(x)=ex\displaystyle {f'(x)}={e^x}, so f′(1)=e\displaystyle {f'(1)}={e}.
  • The tangent: y−e=e(x−1)\displaystyle {y-e}={e(x-1)}, that is y=ex\displaystyle {y}={ex}. The tangent passes through the origin.
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 if there is one.

          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 3

                  The function f(x)=xe−x\displaystyle {f(x)}={xe^{-x}} is given.

                  a

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

                  f(x)=xe−x\displaystyle f(x)=xe^{-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

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

                    f(x)=xe−x\displaystyle f(x)=xe^{-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

                      c

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

                      f(x)=xe−x\displaystyle f(x)=xe^{-x}
                      (0,0)\displaystyle (0,0)

                      Exercise 4

                      The function f(x)=ln⁡(x2−3)\displaystyle {f(x)}={\ln(x^2-3)} is given.

                      a

                      Find the domain of the function.

                      b

                      Calculate f′(2)\displaystyle f'(2).

                      f(x)=ln⁡(x2−3)\displaystyle f(x)=\ln(x^{2}-3)

                        / – 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

                        f(2)=ln⁡1=0\displaystyle {f(2)}={\ln1}={0}.
                        Write the equation of the tangent to the graph at the point (2,0)\displaystyle (2,0).

                        f(x)=ln⁡(x2−3)\displaystyle f(x)=\ln(x^{2}-3)
                        (2,0)\displaystyle (2,0)

                        Exercise 5

                        The function f(x)=e2x\displaystyle {f(x)}={e^{2x}} is given.
                        At one point of the graph the slope of the tangent is 2.
                        Find the point: solve an equation, and write the point’s coordinates.