The Exponential Function

Polynomials grow faster as their degree rises — but every polynomial is eventually overtaken by the exponential function y=bxy = b^x (base b>1b > 1). At x=103x = 10^3, the polynomial x100x^{100} has reached 1030010^{300} while 10x10^x has reached 10100010^{1000} — no contest, and the gap only widens.

Salient features of y=bxy = b^x (for b>1b > 1):

  1. Domain: all of R\mathbb{R}; Range: the positive reals.
  2. The point (0,1)(0, 1) is on every exponential graph (b0=1b^0 = 1).
  3. Ever increasing, and approaching (never meeting) the xx-axis for large negative xx.

Base 1010 gives the common exponential; base e=1+11!+12!+⋯≈2.718e = 1 + \frac{1}{1!} + \frac{1}{2!} + \cdots \approx 2.718 gives the natural exponential exe^x — the star of calculus.

The Logarithm

The logarithm inverts the exponential: log⁡ba=x\log_b a = x means bx=ab^x = a. So log⁡28=3\log_2 8 = 3 and log⁡1010000=4\log_{10} 10000 = 4. As a function, log⁡b:R+→R\log_b : \mathbb{R}^+ \to \mathbb{R} — only positive numbers have logarithms. Base ee gives the natural logarithm log⁡x\log x (our default in calculus).

Working rules (all bases): log⁡(xy)=log⁡x+log⁡y\log(xy) = \log x + \log y, log⁡xy=log⁡x−log⁡y\log\frac{x}{y} = \log x - \log y, log⁡xn=nlog⁡x\log x^n = n\log x, and the base-change log⁡ap=log⁡bplog⁡ba\log_a p = \frac{\log_b p}{\log_b a}.

One subtlety worth a mark: x=elog⁡xx = e^{\log x} holds only for x>0x > 0 — the right side is not even defined otherwise.

The derivative pair

  ddx(ex)=exddx(log⁡x)=1x  \boxed{\;\frac{d}{dx}\left(e^x\right) = e^x \qquad\quad \frac{d}{dx}\left(\log x\right) = \frac{1}{x}\;}

exe^x is the function differentiation cannot change — its own derivative. Combined with the chain rule these two formulas unlock a large family: ddxeu(x)=eu(x)u′(x)\frac{d}{dx}e^{u(x)} = e^{u(x)}u'(x) and ddxlog⁡(u(x))=u′(x)u(x)\frac{d}{dx}\log(u(x)) = \frac{u'(x)}{u(x)}.

Solved Examples

Example 1 — Four chain-rule composites at once

Differentiate w.r.t. xx: (i) e−xe^{-x}, (ii) sin⁡(log⁡x)\sin(\log x) for x>0x > 0, (iii) cos⁡−1(ex)\cos^{-1}(e^x), (iv) ecos⁡xe^{\cos x}.

Step 1 — (i): ddxe−x=e−x⋅(−1)=−e−x\frac{d}{dx}e^{-x} = e^{-x} \cdot (-1) = -e^{-x}.

Step 2 — (ii): ddxsin⁡(log⁡x)=cos⁡(log⁡x)⋅1x=cos⁡(log⁡x)x\frac{d}{dx}\sin(\log x) = \cos(\log x) \cdot \frac{1}{x} = \frac{\cos(\log x)}{x}.

Step 3 — (iii): ddxcos⁡−1(ex)=−11−e2x⋅ex=−ex1−e2x\frac{d}{dx}\cos^{-1}(e^x) = \frac{-1}{\sqrt{1 - e^{2x}}} \cdot e^x = \frac{-e^x}{\sqrt{1 - e^{2x}}}.

Step 4 — (iv): ddxecos⁡x=ecos⁡x⋅(−sin⁡x)=−sin⁡x ecos⁡x\frac{d}{dx}e^{\cos x} = e^{\cos x} \cdot (-\sin x) = -\sin x \, e^{\cos x}.

Answer: each is one chain-rule link applied to the derivative pair — outer function's derivative at the inner value, times the inner derivative.

Example 2 — Is x=elog⁡xx = e^{\log x} always true?

Determine for which real xx the identity x=elog⁡xx = e^{\log x} holds.

Step 1 — domain first: log⁡x\log x exists only for x>0x > 0, so the right side is undefined for x≤0x \leq 0.

Step 2 — for x>0x > 0: taking logarithms of y=elog⁡xy = e^{\log x} gives log⁡y=log⁡x\log y = \log x, so y=xy = x.

Answer: the identity holds exactly for positive xx — a favourite true/false trap.

Example 3 — Logarithm of a logarithm

Differentiate log⁡(log⁡x)\log(\log x), x>1x > 1, w.r.t. xx.

Step 1 — outer log: 1log⁡x\frac{1}{\log x} at the inner value.

Step 2 — inner log: times 1x\frac{1}{x}.

Answer: 1xlog⁡x\dfrac{1}{x \log x} — the condition x>1x > 1 keeps log⁡x\log x positive so the outer logarithm is defined.

Example 4 — Exponential with a power inside

Differentiate ex3e^{x^3} w.r.t. xx.

Step 1 — chain rule: ex3e^{x^3} times the derivative of x3x^3.

Answer: 3x2ex33x^2 e^{x^3} — the exponential reproduces itself; only the inner derivative multiplies on.

Example 5 — Inverse trig meets exponential

Differentiate esin⁡−1xe^{\sin^{-1} x} w.r.t. xx.

Step 1 — chain rule: esin⁡−1xe^{\sin^{-1} x} times ddxsin⁡−1x\frac{d}{dx}\sin^{-1} x.

Answer: esin⁡−1x1−x2\dfrac{e^{\sin^{-1} x}}{\sqrt{1 - x^2}}, for −1<x<1-1 < x < 1 — two sections' formulas snapped together by one chain link.

Example 6 — A log-of-cos-of-exp triple

Differentiate log⁡(cos⁡ex)\log(\cos e^x) w.r.t. xx.

Step 1 — outer log: 1cos⁡ex\frac{1}{\cos e^x} at the inner value.

Step 2 — middle cos: times −sin⁡ex-\sin e^x.

Step 3 — inner exp: times exe^x.

Answer: −exsin⁡excos⁡ex=−extan⁡(ex)\dfrac{-e^x\sin e^x}{\cos e^x} = -e^x\tan(e^x) — three layers, three factors, then a trig clean-up.