Free AP Precalculus Exponential and Logarithmic Functions

AP Precalculus · Exponential and Logarithmic Functions · free lesson

Exponential Functions

The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.

The idea

The exponential function

An exponential function has the form

f(x)=abx\begin{aligned} f(x) &= a b^x \end{aligned}

where a≠0a \ne 0, the base bb is positive and b≠1b \ne 1. The constant aa is the initial value, f(0)=ab0=af(0) = a b^0 = a. Each increase of 1 in xx multiplies the output by bb. When a>0a > 0, b>1b > 1 gives exponential growth and 0<b<10 < b < 1 gives exponential decay. The domain is all real numbers, and the outputs all have the sign of aa: for a>0a > 0 the range is y>0y > 0.

Drag the sliders. However you set them, the graph never crosses the xx-axis, never turns around and never changes how it bends.

Increasing or decreasing, concave up or down

Look at the outputs of f(x)=3⋅2xf(x) = 3 \cdot 2^x over the equal-length intervals [0,1],[1,2],…[0, 1], [1, 2], \dots, and at the changes between them, which are the average rates of change over those intervals:

xx0011223344
f(x)=3⋅2xf(x) = 3 \cdot 2^x3366121224244848
average rate of change over the interval before336612122424

The rates are all positive, so ff is increasing; and they increase, so the graph is concave up. The rates are themselves multiplied by b=2b = 2 at each step. This happens everywhere: an exponential function is always increasing or always decreasing, and it is always concave up or always concave down. So it has no point of inflection, and no relative maximum or minimum.

b>1b > 10<b<10 < b < 1
a>0a > 0increasing, concave updecreasing, concave up
a<0a < 0decreasing, concave downincreasing, concave down

The concavity depends only on the sign of aa: multiplying by a negative aa reflects the graph over the xx-axis, and that turns concave up into concave down.

On a closed interval [m,n][m, n] the greatest and least values of an exponential function are at the ends, because it only goes one way. For f(x)=5(0.8)xf(x) = 5(0.8)^x on [−1,4][-1, 4]:

ff is decreasing, so the greatest value is f(−1)=254f(-1) = {\frac{25}{4}} at the left end and the least is f(4)=256125f(4) = {\frac{256}{125}} at the right end.

End behavior and the horizontal asymptote

For b>1b > 1, as xx increases the factor bxb^{x} grows without bound, and as xx decreases it shrinks toward 0. A vertical translation by kk moves everything up by kk. For g(x)=3⋅2x+5g(x) = 3 \cdot 2^x + 5:

lim⁡x→∞g(x)=∞lim⁡x→−∞g(x)=5\begin{aligned} \lim_{x \to \infty} g(x) &= \infty \\ \lim_{x \to -\infty} g(x) &= 5 \end{aligned}

So the line y=5y = 5 is a horizontal asymptote: the graph gets as close to it as you like on the left but never reaches it. The range of gg is y>5y > 5; the value 55 itself is not in it. Click the picture to watch gg drawn from left to right, hugging its asymptote first.

Recognizing an exponential from outputs

Over equal-length input intervals the outputs of abxa b^x are proportional: each is the one before times the same factor. For abx+ka b^x + k it is the outputs minus kk that are proportional. In the table of gg:

xx00112233
g(x)g(x)88111117172929
g(x)−5g(x) - 5336612122424

The ratios of g(x)g(x) are 118=118\frac{ {11} }{ {8} } = {\frac{11}{8}} and 1711=1711\frac{ {17} }{ {11} } = {\frac{17}{11}}, not equal; but after taking 5 away every ratio is 22.

Warning.

The usual slips: reading 0<b<10 < b < 1 as "negative"; calling abxa b^x increasing whenever b>1b > 1, even with a<0a < 0; keeping the asymptote at y=0y = 0 after a vertical translation; putting kk itself in the range of abx+ka b^x + k; and claiming a point of inflection, which an exponential function never has.

Note.

On the AP exam, write end behavior with limits, lim⁡x→−∞(abx+k)=k\lim_{x \to -\infty} (a b^x + k) = k, and say what it means: "so y=ky = k is a horizontal asymptote". Justify concavity through rates: "the average rates of change over equal-length intervals increase, so the graph is concave up".

Worked examples

Worked examples

Each example is one kind of question the AP exam asks about exponential functions. Every number in the working is found by the engine.

Example.

1. Reading the behavior from aa and bb. Let f(x)=−4(0.6)xf(x) = -4(0.6)^x. Is ff increasing or decreasing? Is its graph concave up or concave down? Give its range and its end behavior.

Here a=−4<0a = -4 < 0 and 0<b=0.6<10 < b = 0.6 < 1. The factor 0.6x0.6^{x} shrinks as xx increases, so −4(0.6)x-4(0.6)^x gets closer to 0 from below: ff is increasing. Because a<0a < 0 the graph is concave down. The average rates of change over [0,1][0, 1], [1,2][1, 2], [2,3][2, 3] confirm both:

xx00112233
f(x)f(x)−4-4−2.4-2.4−1.44-1.44−0.864-0.864
average rate of change over the interval before1.61.60.960.960.5760.576

The rates are positive (increasing) and get smaller (concave down). Every output has the sign of aa, so the range is y<0y < 0. End behavior:

lim⁡x→∞f(x)=0lim⁡x→−∞f(x)=−∞\begin{aligned} \lim_{x \to \infty} f(x) &= 0 \\ \lim_{x \to -\infty} f(x) &= -\infty \end{aligned}

The usual slip is to call ff decreasing because b<1b < 1: with a<0a < 0 the reflection reverses that.

Example.

2. A shifted exponential from a table. The table gives values of a function ff of the form f(x)=abx+kf(x) = ab^{x} + k, and lim⁡x→−∞f(x)=3\lim_{x \to -\infty} f(x) = 3. Find aa, bb and kk.

xx00112233
f(x)f(x)77111119193535
f(x)−3f(x) - 3448816163232

The limit says the horizontal asymptote is y=3y = 3, so k=3k = 3. The outputs themselves are not proportional (117≠1911\frac{ {11} }{ {7} } \ne \frac{ {19} }{ {11} }), but the outputs minus 3 are: each is 22 times the one before. So b=2b = 2, and at x=0x = 0, ab0=a=4a b^0 = a = {4}:

f(x)=4⋅2x+3\begin{aligned} f(x) &= {4} \cdot {2}^x + {3} \end{aligned}

Check at x=3x = 3: 4⋅23+3=35{4} \cdot {2}^3 + {3} = {35}, which is the table's value.

Example.

3. Asymptote and range after a translation. Let g(x)=−2(13)x+6g(x) = -2\left(\frac{1}{3}\right)^x + 6. Find the end behavior of gg, its horizontal asymptote and its range.

lim⁡x→∞g(x)=6lim⁡x→−∞g(x)=−∞\begin{aligned} \lim_{x \to \infty} g(x) &= 6 \\ \lim_{x \to -\infty} g(x) &= -\infty \end{aligned}

As xx increases, (13)x\left(\frac{1}{3}\right)^x shrinks toward 0, so g(x)g(x) approaches 66: the line y=6y = 6 is a horizontal asymptote, on the right this time. As xx decreases, (13)x\left(\frac{1}{3}\right)^x grows without bound and the factor −2-2 sends g(x)g(x) down without bound. Since −2(13)x-2\left(\frac{1}{3}\right)^x is always negative, g(x)<6g(x) < 6 for every xx: the range is y<6y < 6.

Example.

4. Greatest and least values on a closed interval. A pie is taken out of an oven. Its temperature tt hours later is T(t)=200(0.75)t+70T(t) = 200(0.75)^t + 70 degrees Fahrenheit, for 0≤t≤60 \le t \le 6. Find the greatest and least temperatures on that interval.

Here a=200>0a = 200 > 0 and b=0.75<1b = 0.75 < 1, so TT is decreasing on the whole interval. A function that only decreases has its greatest value at the left end and its least at the right end:

T(0)=200(0.75)0+70=270T(6)=200(0.75)6+70≈105.596\begin{aligned} T(0) &= 200(0.75)^0 + 70 = {270} \\ T(6) &= 200(0.75)^6 + 70 \approx {105.596} \end{aligned}

The greatest temperature is 270270 degrees Fahrenheit, when the pie comes out, and the least is about 105.596105.596 degrees Fahrenheit, after 6 hours. There is no relative minimum inside the interval: the temperature keeps falling toward the room's 70 degrees, the horizontal asymptote, without reaching it.

Example.

5. Repeated multiplication. A culture starts with 500 bacteria, and the number triples every hour. How many are there after 6 hours? Write the number after tt hours as an exponential function.

Each hour multiplies the number by 3, so after 6 hours it has been multiplied by 3 six times:

N(6)=500⋅3⋅3⋅3⋅3⋅3⋅3=500⋅36=364500\begin{aligned} N(6) &= 500 \cdot 3 \cdot 3 \cdot 3 \cdot 3 \cdot 3 \cdot 3 = 500 \cdot 3^6 = {364500} \end{aligned}

After tt hours, N(t)=500⋅3tN(t) = 500 \cdot 3^t: the initial value is a=500a = 500 and the base is b=3b = 3, the factor for each hour. The formula also gives values between whole hours, such as N(2.5)≈7794.229N(2.5) \approx {7794.229}, assuming the growth goes on smoothly. Writing 500⋅3t500 \cdot 3t or 500+3t500 + 3t treats repeated multiplication as a single product or as repeated addition.

Practice

Answer AP-style questions on exponential functions. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.

Practise exponential functions with new numbers