Calculus › Section F · Logarithmic, exponential, and other transcendental functions › Topic F.5

Other bases and compound growth

Not every exponential is written in base e: computing loves base 2, chemistry loves base 10. All of them turn out to be e in disguise, and one conversion factor runs the whole family.

What is 2^x, really?

Integer and rational powers of 2 are clear enough from algebra, but \(2^{\pi}\) demands more than repeated multiplication. Now that \(e^x\) and \(\ln\) are defined rigorously, there is a clean answer: for any base \(a > 0\), define

a^x = e^{x \ln a}

Every ordinary law of exponents follows from the exponential and logarithm laws already proved, and the definition extends powers to all real exponents in one stroke. Geometrically, the graph of \(a^x\) is the graph of \(e^x\) rescaled horizontally by the factor \(\frac{1}{\ln a}\) (and reflected in the y-axis when \(0 < a < 1\), where \(\ln a < 0\)).

One logarithm family, rescaled

The same compression works on the log side. Any log base \(a\) is the natural log divided by a constant:

\log_a x = \frac{\ln x}{\ln a}

so a calculator with only an ln key can still find any logarithm. Here \(a > 0\), \(a \ne 1\), and \(\log_a x\) is the inverse of \(a^x\). For a check with numbers, \(\log_2 32 = \frac{\ln 32}{\ln 2} = \frac{5\ln 2}{\ln 2} = 5\), as \(2^5 = 32\) promises. The lesson to carry: every logarithm is a constant multiple of \(\ln\), and every exponential is \(e^x\) with a rescaled input.

The derivative of a^x

Differentiate the definition with the chain rule: \(a^x = e^{x\ln a}\) has inner slope \(\ln a\), so

\frac{d}{dx} a^x = (\ln a)\, a^x

The factor \(\ln a\) is the toll for leaving base \(e\). When \(a = e\) the toll is \(\ln e = 1\) and the rule collapses to the self-derivative from F.4; for every other base the derivative is a constant multiple, \(\ln a\), of the function itself. So \(a^x\) also grows at a rate proportional to its size.

d/dx of the general logarithm

Since \(\log_a x = \frac{\ln x}{\ln a}\) is just a constant times \(\ln x\), its derivative is equally civilised:

\frac{d}{dx} \log_a x = \frac{1}{x \ln a}

Same toll, now in the denominator. A sanity check: when \(a = e\), the formula returns \(\frac{1}{x}\), the F.1 rule. The pattern across both new rules is the same: base \(e\) is the one base where the toll equals 1, and any other base is computed identically, then corrected by a factor of \(\ln a\).

Worked example: the slope of 2^x where it crosses the y-axis

The graph of \(y = 2^x\) passes through \((0, 1)\), as every exponential \(a^x\) does. What is its slope there? The new rule gives \(2^x \ln 2\), evaluated at \(x = 0\) as \(\ln 2 \approx 0.693\). Compare with \(y = e^x\) at the same point: slope \(1\). And \(y = 3^x\): slope \(\ln 3 \approx 1.099\). Three curves through the same point, three different slopes, all measured by \(\ln a\), and the base where the crossing slope is exactly \(1\) is precisely \(e\). That is the geometric sense in which \(e\) is the uncorrected base.

Worked example: integrating any base

Evaluate \(\int 2^x\,dx\). Following E.5's constant-repair logic on \(u = x \ln 2\): the integral is \(\frac{1}{\ln 2}\int e^u\,du = \frac{2^x}{\ln 2} + C\), and in general \(\int a^x\,dx = \frac{a^x}{\ln a} + C\), good wherever \(a > 0\), \(a \ne 1\). Differentiate the answer to verify: \(\frac{d}{dx}\left(\frac{2^x}{\ln 2}\right) = \frac{2^x \ln 2}{\ln 2} = 2^x\). Exact. The same toll, \(\ln a\), shows up dividing integrals where it multiplied derivatives.

Compound interest, from annual to continuous

Principal \(P\) at annual rate \(r\), compounded \(n\) times per year for \(t\) years, grows to \(A = P\left(1 + \frac{r}{n}\right)^{nt}\). What does compounding every instant do? The key fact (proved in F.6 with L'Hôpital's rule) is that \(\left(1 + \frac{1}{m}\right)^m \to e\) as \(m \to \infty\); at \(m = 1{,}000\) it is already about 2.7169. With \(m = \frac{n}{r}\), the growth factor is \(\left(1 + \frac{1}{m}\right)^{mrt} \to e^{rt}\), giving the continuous-compounding formula

A = P e^{rt}

Numerically, 5,000 dollars at \(4\%\) for ten years: compounded annually, \(5{,}000(1.04)^{10} \approx 7{,}401\) dollars; continuously, \(5{,}000e^{0.4} \approx 7{,}459\) dollars. More frequent compounding helps, but only by a little.

Doubling and decay language

Any exponential \(y = A_0 e^{kt}\) has a doubling time independent of when you ask, since solving \(e^{kT} = 2\) gives \(T = \frac{\ln 2}{k} \approx \frac{0.693}{k}\). The investors' rule of 72, doubling time in years \(\approx 72 \div\) the interest rate in percent, is the same fact rounded for mental arithmetic, since \(100\ln 2 \approx 69\) sits near the easily divided \(72\). Bases other than \(e\) keep their place because fields are built on them: bits and algorithm halvings are base 2, decibels and pH base 10, and translating among them is always one \(\ln a\) away. G.2 will derive these growth models from a differential equation.

Common mistakes to avoid

The classics: using the power rule on \(a^x\), which has a variable exponent; dropping the \(\ln a\) toll in either direction, multiplying integrals and dividing derivatives are both wrong; mixing bases inside one simplification, \(2^x \cdot 3^x\) is \(6^x\), but \(2^x + 3^x\) simplifies to nothing; believing \(a^x\) is defined for negative bases, it is not for general real exponents; and quoting a continuous-compounding answer for an annual question, the formulas differ by design. Also note the reading trap: \((\ln a)\,a^x\) is one factor times \(a^x\), not \(\ln(a^x)\).

Key takeaways

Any base is \(e\) rescaled: \(a^x = e^{x \ln a}\), and \(\log_a x = \frac{\ln x}{\ln a}\). The toll for other bases is \(\ln a\): it multiplies derivatives, \(\frac{d}{dx}a^x = (\ln a)\,a^x\), and divides integrals, \(\int a^x\,dx = \frac{a^x}{\ln a} + C\). Compounding \(n\) times yearly approaches continuous compounding \(Pe^{rt}\) in the limit, and exponential answers carry an invariant doubling time \(\frac{\ln 2}{k}\). Next, F.6 handles indeterminate limits with L'Hôpital's rule, and F.7 and F.8 bring the inverse trig functions, whose derivatives turn out to be algebraic.

Flashcards

Flashcard

a^x

e^(x ln a), defined for a > 0

Every base is base e with a rescaled input.

Test your understanding

Question 1 of 5

What is the derivative of 3^x?

Question 2 of 5

What is log₂ 32?

Question 3 of 5

Evaluate ∫ 2^x dx.

Question 4 of 5

$5,000 invested at 4% compounded continuously for 10 years becomes about how much?

Question 5 of 5

What is the slope of y = 2^x at the y-axis crossing?

Standards: 2

← Previous topicNext topic →