Sub topic 2
What an Exponential Function Looks Like
This chapter assumes you can evaluate expressions with integer and fractional exponents, convert between percents and decimals, sketch simple graphs, and solve linear equations. It covers the form f(x) = a·b^x, what each part does, and the errors learners most often make with it. Growth versus decay, percent rates, and fitting from data get their own chapters, so here we focus on the shape of the formula itself.
The standard form
An exponential function is a function in which the input x appears in the exponent:
f(x) = a · b^x
It has two parameters:
- a is the initial value. It is the output when x = 0.
- b is the base, also called the growth factor (or decay factor). Each time x increases by 1, the output is multiplied by b.
The requirements are a ≠ 0, b > 0, and b ≠ 1. The reasons are practical:
- If a = 0, every output is 0 and the function is constant.
- If b = 1, then b^x = 1 for every x, so the function is again constant.
- If b < 0, then b^x is undefined in the real numbers for many inputs. For example, (-4)^(1/2) has no real value, so the function would have gaps and no smooth graph.
The variable is the exponent. This is what separates an exponential function from a power function such as g(x) = 3x², where the variable is the base and the exponent is fixed.
| Function | Type | Why |
|---|---|---|
| f(x) = 5·2^x | Exponential | Variable in the exponent, base 2 is constant |
| g(x) = 5x² | Power (polynomial) | Variable is the base, exponent is fixed |
| h(x) = 5·1^x | Constant | Base 1 gives 1 for every x |
| k(x) = 5·(-2)^x | Not a valid exponential model | Negative base is undefined for many real x |
Reviewing the exponent laws you need
You will use three laws constantly in this chapter.
- Zero exponent: b^0 = 1 for any b ≠ 0.
- Product rule: b^m · b^n = b^(m+n).
- Negative and fractional exponents: b^(-n) = 1 / b^n, and b^(1/n) is the n-th root of b.
The first law explains why a is the initial value: f(0) = a · b^0 = a · 1 = a. The second law explains why adding 1 to x multiplies the output by b: f(x+1) = a · b^(x+1) = a · b^x · b = f(x) · b.
Evaluating an exponential function
Work through f(x) = 3 · 2^x.
- f(0) = 3 · 2^0 = 3 · 1 = 3
- f(1) = 3 · 2^1 = 6
- f(2) = 3 · 2^2 = 12
- f(3) = 3 · 2^3 = 24
- f(-1) = 3 · 2^(-1) = 3 / 2 = 1.5
- f(0.5) = 3 · 2^0.5 = 3 · √2 ≈ 4.243
Notice the pattern: 3, 6, 12, 24. Each output is exactly twice the one before it. Notice also that the function is defined for negative and fractional x, so the graph is a smooth curve and not a set of separate points.
Order of operations matters. The exponent is applied to b only, then the result is multiplied by a. So 3 · 2^x means 3 · (2^x), not (3 · 2)^x. A common slip is to compute (3 · 2)^2 = 36 when the correct value of f(2) is 12.
Here is the same evaluation in Python. The ** operator has higher precedence than *, so the code follows the same order as the algebra.
def f(x):
return 3 * 2 ** x
for x in [-1, 0, 0.5, 1, 2, 3]:
print(x, round(f(x), 3))Running it prints 1.5 for x = -1, 3.0 for x = 0, 4.243 for x = 0.5, then 6, 12, and 24.
The constant ratio property
The defining behavior of an exponential function is that equal steps in x produce equal ratios in f(x).
For any x, f(x+1) / f(x) = b.
More generally, for a step of size h, f(x+h) / f(x) = b^h. The ratio depends on h but not on where you start.
Compare this with a linear function, where equal steps in x produce equal differences. The table below shows both, each starting at 3.
| x | Linear: 3 + 3x | Difference | Exponential: 3·2^x | Ratio |
|---|---|---|---|---|
| 0 | 3 | 3 | ||
| 1 | 6 | +3 | 6 | ×2 |
| 2 | 9 | +3 | 12 | ×2 |
| 3 | 12 | +3 | 24 | ×2 |
| 4 | 15 | +3 | 48 | ×2 |
This gives you a quick test. Given a table with equally spaced x values, compute differences between consecutive outputs and also ratios. If the differences are constant, the data is linear. If the ratios are constant, the data is exponential. If neither is constant, neither model fits exactly.
Identifying a and b from a formula
Read a and b directly when the function is in standard form.
- f(x) = 200 · 1.07^x has a = 200 and b = 1.07.
- f(x) = 50 · 0.9^x has a = 50 and b = 0.9.
- f(x) = 4 · (1/3)^x has a = 4 and b = 1/3.
Some formulas need rewriting first.
- f(x) = 6 · 2^(x+1). Use the product rule: 2^(x+1) = 2 · 2^x, so f(x) = 12 · 2^x. Here a = 12, not 6. This is a frequent error. The initial value is f(0) = 6 · 2^1 = 12.
- f(x) = 5 · 4^(x/2). Rewrite 4^(x/2) = (4^(1/2))^x = 2^x, so f(x) = 5 · 2^x and b = 2.
- f(x) = 8 / 2^x. Rewrite 1/2^x = (1/2)^x, so f(x) = 8 · (1/2)^x and b = 0.5.
The second and third examples show that the same function can be written in several ways. To find b without rewriting, compute f(1) / f(0).
def read_ab(f):
a = f(0)
b = f(1) / f(0)
return a, b
print(read_ab(lambda x: 6 * 2 ** (x + 1))) # (12.0, 2.0)
print(read_ab(lambda x: 5 * 4 ** (x / 2))) # (5.0, 2.0)
print(read_ab(lambda x: 8 / 2 ** x)) # (8.0, 0.5)This helper is only valid when you already know the function is exponential, since it uses just two points.
How the pieces change the curve
The parameter a scales the whole curve vertically. The parameter b controls how quickly the curve changes. Consider f(x) = a · b^x for several choices.
| Function | f(0) | f(1) | f(2) | f(3) |
|---|---|---|---|---|
| 1 · 2^x | 1 | 2 | 4 | 8 |
| 3 · 2^x | 3 | 6 | 12 | 24 |
| 1 · 3^x | 1 | 3 | 9 | 27 |
| 3 · 0.5^x | 3 | 1.5 | 0.75 | 0.375 |
Doubling a doubles every output, but the ratio between consecutive outputs stays the same. Changing b changes the ratio itself. With b > 1 the outputs rise, and with 0 < b < 1 they fall. The next chapter looks at that distinction in detail.
A negative a flips the curve below the x-axis. For example, f(x) = -2 · 3^x has outputs -2, -6, -18, and so on. The ratio is still 3, but the values move away from zero in the negative direction. Most modeling problems use a > 0 because quantities such as populations and balances are positive.
Common errors
- Multiplying a and b before applying the exponent. Write 3 · 2^x, and compute 2^x first. Do not compute (3 · 2)^x.
- Reading a from a shifted exponent. In 6 · 2^(x+1), the initial value is 12. Always check by evaluating f(0).
- Confusing x² with 2^x. At x = 10, x² is 100 while 2^x is 1024. The first grows polynomially, the second exponentially.
- Using a negative base. A formula such as (-2)^x is not an exponential function in the sense used here. Rewrite it or reconsider the model.
- Assuming b is a percent. If a quantity grows 7% per period, b is 1.07, not 7 or 0.07. The conversion has its own chapter, but keep in mind that b is a multiplier.
- Applying the ratio test to unevenly spaced data. Equal ratios are expected only for equal steps in x.
Why this form matters
Many real quantities change by a fixed proportion in each period: a population that grows by a fixed percentage, a balance earning interest, a drug leaving the bloodstream. The form a · b^x captures all of these with just two numbers. Once you can read a and b from a formula or table, you can move to the later tasks in this tutorial: interpreting b as growth or decay, converting percent rates, and fitting a model from data.
Exercise
Consider f(x) = 10 · 3^(x-1). (a) Rewrite it in the form a · b^x and state a and b. (b) Compute f(0), f(1), and f(2). (c) Confirm that the ratio of consecutive outputs equals b.
Show answer
(a) Use the product rule: 3^(x-1) = 3^x / 3, so f(x) = (10/3) · 3^x. Then a = 10/3 ≈ 3.333 and b = 3. (b) f(0) = 10 · 3^(-1) = 10/3 ≈ 3.333, f(1) = 10 · 3^0 = 10, f(2) = 10 · 3^1 = 30. (c) f(1)/f(0) = 10 / (10/3) = 3 and f(2)/f(1) = 30/10 = 3, so each ratio equals b = 3.
Exercise
A table gives f(0) = 80, f(2) = 20, and f(4) = 5. Is the data consistent with an exponential function? If so, find b, the factor per 1 unit of x, and a.
Show answer
The x values are spaced 2 apart. The ratios are 20/80 = 0.25 and 5/20 = 0.25, so they are equal and the data fits an exponential model. For a step of 2, b^2 = 0.25, so b = √0.25 = 0.5 (taking the positive root, since b > 0). The initial value is a = f(0) = 80. The model is f(x) = 80 · 0.5^x. Check: f(2) = 80 · 0.25 = 20 and f(4) = 80 · 0.0625 = 5.
Exercise
Explain why f(x) = 7 · 1^x is not treated as an exponential function, and why a base of -3 is not allowed.
Show answer
With b = 1, 1^x equals 1 for every x, so f(x) = 7 is a constant function and shows no multiplicative change. With b = -3, values such as (-3)^(1/2) are not real numbers, so the function is undefined for many inputs and its graph would not be a continuous curve.