Math Core

Lesson 3.1 · Exponential and Logarithmic Functions

Exponential functions

Polynomials and rational functions change by adding and multiplying the input. Exponential functions put the input in the exponent, and the result is change that compounds: money earning interest, bacteria doubling, a drug leaving the bloodstream. This lesson sets up the family, its graphs, and the special base ee that the rest of the unit (and all of calculus) depends on.

The exponential family

Definition

Exponential function

An exponential function has the form

f(x)=a⋅bx,a≠0,b>0,b≠1.f(x) = a \cdot b^{x}, \qquad a \ne 0,\quad b > 0,\quad b \ne 1.

The number a=f(0)a = f(0) is the initial value and bb is the base or growth factor.

The restrictions on bb are there for good reasons. If b=1b = 1, then bx=1b^x = 1 for every xx and the function is constant. If bb were negative, expressions like (−4)1/2(-4)^{1/2} would not be real numbers, so the function would not be defined on an interval.

The defining feature of an exponential function is a constant ratio. When xx increases by 11, the output is multiplied by bb:

f(x+1)f(x)=abx+1abx=b.\frac{f(x + 1)}{f(x)} = \frac{a b^{x+1}}{a b^{x}} = b.

Compare this with a linear function, where increasing xx by 11 always adds the slope. So a table with equally spaced inputs is linear if the outputs have a common difference and exponential if they have a common ratio.

xx0011223344
linear g(x)=3+6xg(x) = 3 + 6x3399151521212727
exponential f(x)=3⋅2xf(x) = 3 \cdot 2^x3366121224244848

The linear function starts ahead, but at x=3x = 3 the exponential one passes it (2424 vs. 2121) and never looks back: by x=5x = 5 it is 9696 vs. 3333. Any exponential function with b>1b > 1 eventually outgrows every polynomial.

Growth and decay

With a>0a > 0 the base decides the shape:

  • If b>1b > 1, the function shows exponential growth: it increases, rising faster and faster.
  • If 0<b<10 < b < 1, it shows exponential decay: it decreases, leveling off toward 00.

A percent change converts to a base directly. Growing by rr per period multiplies by 1+r1 + r; shrinking by rr per period multiplies by 1−r1 - r. So growing 6%6\% per year means b=1.06b = 1.06, and losing 15%15\% per year means b=0.85b = 0.85.

Growth with b = 2 and b = 1.3; decay with b = 1/2. All pass through (0, 1).Open in grapher →

Notice that (12)x=2−x\left(\tfrac{1}{2}\right)^x = 2^{-x}, so the decay curve is the reflection of y=2xy = 2^x across the yy-axis.

Features of y = b^x

For y=bxy = b^x with b>0b > 0 and b≠1b \ne 1:

  • Domain: all real numbers. Range: y>0y > 0.
  • yy-intercept: (0,1)(0, 1). There is no xx-intercept.
  • Horizontal asymptote: y=0y = 0 (on the left for growth, on the right for decay).
  • The function is one-to-one, so it has an inverse. That inverse is the logarithm, the subject of the next lesson.

Transformations

Everything you know about transformations applies. In

f(x)=a⋅bx−h+k,f(x) = a \cdot b^{x - h} + k,

hh shifts the graph right, kk shifts it up, and aa stretches it vertically (and reflects it across the asymptote if aa is negative). The key idea is to track the asymptote: it starts at y=0y = 0 and moves up or down with kk, so the asymptote is y=ky = k.

Worked example: Graph a transformed exponential

Describe the graph of f(x)=−2⋅3x+1+5f(x) = -2 \cdot 3^{x+1} + 5. Give its asymptote, range and yy-intercept.

Solution. Start with y=3xy = 3^x. Shift left 11, stretch by 22, reflect across the xx-axis, then shift up 55.

  • The asymptote moves with the vertical shift: y=5y = 5.
  • Since a=−2a = -2 is negative, the graph lies below its asymptote. The range is y<5y < 5.
  • yy-intercept: f(0)=−2⋅31+5=−1f(0) = -2 \cdot 3^{1} + 5 = -1, so (0,−1)(0, -1).

As x→−∞x \to -\infty, 3x+1→03^{x+1} \to 0 and f(x)→5f(x) \to 5. As x→∞x \to \infty, f(x)→−∞f(x) \to -\infty.

f(x) = -2·3^(x+1) + 5 approaches its asymptote y = 5 from below.Open in grapher →

Common mistake

The asymptote of y=a⋅bx−h+ky = a \cdot b^{x-h} + k is y=ky = k, not y=0y = 0. And a horizontal shift hh does not move the asymptote at all. Find kk first and the range follows: y>ky > k if a>0a > 0, y<ky < k if a<0a < 0.

Finding an exponential function from two points

Two points determine an exponential function y=abxy = ab^x. Divide one equation by the other: the aa's cancel and you are left with a power of bb.

Worked example: Through two points

Find the exponential function y=abxy = ab^x whose graph passes through (1,6)(1, 6) and (3,54)(3, 54).

Solution. The points give ab=6ab = 6 and ab3=54ab^3 = 54. Divide:

ab3ab=546⟹b2=9⟹b=3,\frac{ab^3}{ab} = \frac{54}{6} \quad\Longrightarrow\quad b^2 = 9 \quad\Longrightarrow\quad b = 3,

taking the positive root because b>0b > 0. Then a=63=2a = \dfrac{6}{3} = 2. The function is y=2⋅3xy = 2 \cdot 3^x.

Check: 2⋅33=542 \cdot 3^3 = 54. ✓

The natural base e

Suppose you deposit $1 at an annual interest rate of 100%100\%. Compounded once a year, you have $2 after a year. Compounded nn times a year at rate 1n\tfrac{1}{n} each time, you have (1+1n)n\left(1 + \tfrac{1}{n}\right)^n dollars.

nn11121236536510,00010{,}0001,000,0001{,}000{,}000
(1+1n)n\left(1 + \frac{1}{n}\right)^n222.613…2.613\ldots2.7145…2.7145\ldots2.71814…2.71814\ldots2.718280…2.718280\ldots

More frequent compounding helps, but less and less. The values approach a limit, an irrational number called ee:

e=lim⁡n→∞(1+1n)n≈2.718281828.e = \lim_{n \to \infty}\left(1 + \frac{1}{n}\right)^n \approx 2.718281828.

The function f(x)=exf(x) = e^x is the natural exponential function. Its graph sits between y=2xy = 2^x and y=3xy = 3^x. In calculus you will find that exe^x is the only exponential whose slope at every point equals its own height, which is why it is called natural.

Compound and continuous interest

Interest formulas

A principal PP at annual rate rr (as a decimal) for tt years grows to

A=P(1+rn)ntcompounded n times per year,A=Pertcompounded continuously.A = P\left(1 + \frac{r}{n}\right)^{nt} \quad\text{compounded } n \text{ times per year,} \qquad A = Pe^{rt} \quad\text{compounded continuously.}

Continuous compounding is the limit of compounding more and more often, and it gives the largest balance for a given rate.

Worked example: Quarterly vs. continuous

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

Solution.

(a) n=4n = 4, so

A=5000(1+0.044)40=5000(1.01)40≈7444.32.A = 5000\left(1 + \frac{0.04}{4}\right)^{40} = 5000(1.01)^{40} \approx 7444.32.

(b) A=5000e0.04⋅10=5000e0.4≈7459.12A = 5000e^{0.04 \cdot 10} = 5000e^{0.4} \approx 7459.12.

Continuous compounding earns about $14.80 more.

Tip

Round only at the end. Rounding (1.01)40(1.01)^{40} to 1.491.49 before multiplying by 50005000 gives $7,450, off by about $6. Keep full calculator precision until the final step.

Practice

Practice 1

Let f(x)=5⋅2xf(x) = 5 \cdot 2^x. Find f(3)f(3).

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

Practice 2

Which function models exponential decay?

Practice 3

Find the range of g(x)=3⋅2x−5−4g(x) = 3 \cdot 2^{x-5} - 4.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 4

Find the yy-intercept of f(x)=3⋅2x−2+1f(x) = 3 \cdot 2^{x-2} + 1. Give the yy-value.

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

Practice 5

The table shows values of an exponential function. Write the function in the form y=abxy = ab^x.

xx00112233
yy4412123636108108

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 6

Find the exponential function y=abxy = ab^x whose graph passes through (2,20)(2, 20) and (4,80)(4, 80).

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 7

You deposit $2,000 in an account paying 6%6\% annual interest compounded monthly. What is the balance after 55 years? Round to the nearest cent.

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

Practice 8

The same $2,000 is instead invested at 6%6\% compounded continuously for 55 years. What is the balance? Round to the nearest cent.

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