Math Core

Lesson 5.2 · Exponential and Logarithmic Functions

The number e

Compound interest more and more often (monthly, daily, every second) and the balance grows, but not without limit. It creeps up to a ceiling set by one special number, e≈2.718e \approx 2.718. That number turns out to be the most natural base for exponential functions, which is why scientists and calculators use it everywhere.

Compounding more and more often

Imagine a bank that pays a generous 100%100\% interest per year on $1. The compound interest formula A=P(1+rn)ntA = P\left(1 + \tfrac{r}{n}\right)^{nt} with P=1P = 1, r=1r = 1 and t=1t = 1 gives

A=(1+1n)n,A = \left(1 + \frac{1}{n}\right)^{n},

where nn is the number of times per year the interest is compounded. Here is what happens as nn grows:

Compoundingnn(1+1n)n\left(1 + \tfrac{1}{n}\right)^n
yearly1122
twice a year222.252.25
quarterly442.441406…2.441406\ldots
monthly12122.613035…2.613035\ldots
daily3653652.714567…2.714567\ldots
a million times1,000,0001{,}000{,}0002.718280…2.718280\ldots

More frequent compounding helps, but the gains shrink. Going from daily to a million times a year adds less than half a cent. The values are closing in on a fixed number.

Definition

The number e

The number ee is the value that (1+1n)n\left(1 + \dfrac{1}{n}\right)^n approaches as nn grows without bound:

e≈2.718281828…e \approx 2.718281828\ldots

Like π\pi, ee is irrational: its decimal never ends or repeats.

The number is named after the mathematician Leonhard Euler, who studied it extensively. On your calculator, exe^x is usually the second function of the ln⁡\ln key.

Continuous compounding

If interest were compounded infinitely often, every instant, the $1 at 100%100\% would grow to exactly ee dollars in a year. For a general principal PP, rate rr and time tt, the same limit gives a remarkably clean formula.

Continuously compounded interest

A=PertA = Pe^{rt}

PP is the principal, rr the annual interest rate as a decimal, and tt the time in years.

Worked example: Continuous vs. monthly

You invest $5,000 at 4%4\% annual interest for 1010 years. Find the balance if interest is compounded (a) continuously and (b) monthly.

Solution.

(a) A=5000e0.04⋅10=5000e0.4≈5000(1.491825)≈7459.12A = 5000e^{0.04 \cdot 10} = 5000e^{0.4} \approx 5000(1.491825) \approx 7459.12. The balance is about $7,459.12.

(b) A=5000(1+0.0412)120≈7454.16A = 5000\left(1 + \tfrac{0.04}{12}\right)^{120} \approx 7454.16. The balance is about $7,454.16.

Continuous compounding earns only about $5 more. It's the upper limit for compounding at a given rate, not a dramatic bonus.

The natural base in general

Any exponential function can be written with base ee:

y=aekx.y = ae^{kx}.

This is called the natural exponential form. If k>0k > 0 it's growth; if k<0k < 0 it's decay. Scientists write models this way because kk has a direct meaning: it's the continuous rate. A population with k=0.02k = 0.02 is growing at 2%2\% per year continuously.

To find the ordinary growth factor per unit, notice that aekx=a(ek)xae^{kx} = a\left(e^k\right)^x. So the base is b=ekb = e^k.

y = e^x lies between y = 2^x and y = 3^x, since 2 < e < 3.Open in grapher →

The graph of y=exy = e^x has all the features you already know: domain all real numbers, range y>0y > 0, yy-intercept (0,1)(0, 1), and horizontal asymptote y=0y = 0. Because 2<e<32 < e < 3, it sits between y=2xy = 2^x and y=3xy = 3^x. It also has a special property you'll meet in calculus: at every point, its slope equals its height.

Worked example: A natural decay model

A drug's concentration in the blood, in mg/L, is modeled by C(t)=30e−0.2tC(t) = 30e^{-0.2t}, where tt is in hours.

  1. What is the initial concentration?
  2. What is the concentration after 55 hours?
  3. By what percent does the concentration drop each hour?

Solution.

  1. C(0)=30e0=30C(0) = 30e^0 = 30 mg/L.
  2. C(5)=30e−1≈30(0.367879)≈11.04C(5) = 30e^{-1} \approx 30(0.367879) \approx 11.04 mg/L.
  3. The hourly factor is e−0.2≈0.8187e^{-0.2} \approx 0.8187. Since 0.8187=1−0.18130.8187 = 1 - 0.1813, the concentration drops about 18.13%18.13\% each hour.

Notice that the continuous rate 0.20.2 (20%20\%) is larger than the actual hourly drop (18.13%18.13\%). The decrease happens a little at a time, always to a slightly smaller amount.

Common mistake

In y=aekxy = ae^{kx}, the number eke^k is the growth factor, not 1+k1 + k. A continuous rate of 5%5\% gives an annual factor of e0.05≈1.0513e^{0.05} \approx 1.0513, an effective annual rate of about 5.13%5.13\%, not exactly 5%5\%.

Tip

Type e0.4e^{0.4} with the exe^x key, not as 2.7180.42.718^{0.4}. Rounding ee early introduces error that grows with the exponent.

Practice

Practice 1

Evaluate e2e^2. Round to 33 decimal places.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Which statement describes y=4e−0.3xy = 4e^{-0.3x}?

Practice 3

The graph of y=ex−3y = e^x - 3 has a horizontal asymptote y=cy = c. What is cc?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

You deposit $2,000 at 3%3\% interest compounded continuously. How much is in the account after 55 years? Round to the nearest cent.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

A town's population is modeled by P(t)=250e0.02tP(t) = 250e^{0.02t} (in hundreds of people), where tt is years after 2020. What does the model give for P(10)P(10)? Round to the nearest whole number.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

A savings account pays 5%5\% compounded continuously. What is the effective annual rate, the percent the balance actually grows in one year? Give the percent rounded to 33 decimal places.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

As nn gets larger and larger, what happens to (1+1n)n\left(1 + \dfrac{1}{n}\right)^n?

Practice 8

You invest $1,000 at 6%6\% for 22 years. How many more dollars do you have with continuous compounding than with daily compounding (n=365n = 365)? Round to the nearest cent.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.