Sub topic 5
Reading the graph: intercept and horizontal asymptote
This chapter assumes you can evaluate expressions such as 2^(-3) and 0.5^x, plot points on a coordinate plane, and solve simple linear equations. You should also know the form f(x) = a·b^x from earlier chapters, where a is the initial value and b is the growth or decay factor. Here you learn to read two features off the graph of that function, and to predict them from the formula without plotting anything.
The y-intercept: where the graph crosses x = 0
The y-intercept is the point where the graph meets the vertical axis. Every point on that axis has x = 0, so you evaluate the function at 0:
f(0) = a·b^0 = a·1 = a
The y-intercept of f(x) = a·b^x is always (0, a). This is why a is called the initial value: it is the amount at the start, when x = 0.
- For f(x) = 3·2^x, the intercept is (0, 3).
- For f(x) = 500·0.8^x, the intercept is (0, 500).
- For f(x) = 2^x, a is 1, so the intercept is (0, 1).
The value of b does not move the y-intercept. Changing b changes how steeply the graph rises or falls away from that point.
The horizontal asymptote: a line the graph approaches
A horizontal asymptote is a horizontal line that the graph gets closer and closer to without ever reaching it, as x grows very large in the positive or negative direction. For f(x) = a·b^x, that line is the x-axis, y = 0.
Which end of the graph approaches the axis depends on b.
| Case | As x → +∞ | As x → −∞ | Asymptote side |
|---|---|---|---|
| b > 1 (growth) | f(x) grows without bound | f(x) approaches 0 | Left end |
| 0 < b < 1 (decay) | f(x) approaches 0 | f(x) grows without bound | Right end |
Growth is the easier case to see. For f(x) = 3·2^x, moving left means multiplying by 1/2 for each step, so the values shrink toward zero but stay positive. The following code shows this.
def f(x, a=3, b=2):
return a * b ** x
for x in [-10, -5, -2, 0, 2, 5]:
print(f"{x:>4} {f(x):.6f}")The output is:
-10 0.002930
-5 0.093750
-2 0.750000
0 3.000000
2 12.000000
5 96.000000The values on the left are tiny but never zero. Each step left halves the previous value, and halving a positive number never produces 0. That is the meaning of "approaches but never reaches".
Decay is the mirror image. For f(x) = 500·0.8^x, the graph starts high on the left, crosses (0, 500), and flattens toward the x-axis on the right. Real decay processes such as a drug leaving the bloodstream behave this way. The amount shrinks toward zero but a calculation with a constant percentage never lands exactly on zero.
Domain and range
The domain is the set of allowed inputs. You can raise a positive base b to any real power, so the domain of f(x) = a·b^x is all real numbers.
The range is the set of outputs. It follows from the asymptote and the sign of a:
- If a > 0, every output is positive. The range is y > 0, written (0, ∞).
- If a < 0, every output is negative. The graph is the reflection of the a > 0 graph across the x-axis. The range is y < 0, written (−∞, 0).
The graph also has no x-intercept. An x-intercept needs a·b^x = 0, and since b^x is never zero, only a = 0 would work. That would make f the constant zero function, which is not an exponential function.
Shifting the asymptote: f(x) = a·b^x + k
Many real models have a floor other than zero. A cup of coffee cools toward room temperature, not toward 0 degrees. Adding a constant k to the function shifts the whole graph vertically by k:
f(x) = a·b^x + k
Every point moves up by k (or down, if k is negative), and so does the asymptote.
- The horizontal asymptote becomes y = k.
- The y-intercept becomes (0, a + k), because f(0) = a + k.
- If a > 0, the range is y > k. If a < 0, the range is y < k.
The point (0, a) is no longer the y-intercept. It is now the point a units above or below the asymptote at x = 0. A shifted graph can also have an x-intercept, because it can cross the x-axis when the asymptote is not y = 0.
Take g(x) = 4·2^x − 3. The asymptote is y = −3, and the y-intercept is (0, 4 − 3) = (0, 1). To find the x-intercept, set g(x) = 0:
4·2^x = 3, so 2^x = 3/4, so x = log₂(3/4) ≈ −0.415
You solve this with a logarithm, which a later chapter covers in detail. The code below checks all three results.
import math
def g(x):
return 4 * 2 ** x - 3
print(g(0)) # 1 -> y-intercept is (0, 1)
print(round(g(-50), 6)) # -3.0 -> approaching the asymptote y = -3
x_int = math.log(3 / 4) / math.log(2)
print(round(x_int, 4)) # -0.415
print(round(g(x_int), 10)) # 0.0 -> confirms the x-interceptThe line print(round(g(-50), 6)) evaluates the function far to the left. The result rounds to −3.0, which shows the graph hugging the asymptote.
A decay example with a floor
A cooling object follows T(t) = 20 + 80·0.9^t, where t is minutes and T is temperature in degrees Celsius. Here a = 80, b = 0.9, and k = 20.
- The horizontal asymptote is T = 20. This is the room temperature.
- The intercept is (0, 100). The object starts at 100 degrees.
- The range is T > 20, so the object never cools below room temperature.
for t in [0, 10, 50, 100]:
print(t, round(20 + 80 * 0.9 ** t, 2))The output is:
0 100.0
10 47.89
50 20.41
100 20.0At t = 100 the value rounds to 20.0, but the exact value is still 20.002..., slightly above the asymptote.
Horizontal shifts and reflections
Two other changes to the formula affect the graph, and only one affects the asymptote.
| Form | Effect | Asymptote | y-intercept |
|---|---|---|---|
| a·b^x + k | Vertical shift by k | y = k | (0, a + k) |
| a·b^(x − h) | Horizontal shift by h | y = 0 | (0, a·b^(−h)) |
| −a·b^x | Reflection across the x-axis | y = 0 | (0, −a) |
A horizontal shift slides the graph left or right, but the asymptote is a horizontal line, so sliding along it changes nothing. The intercept does change. For f(x) = 3·2^(x − 2), the intercept is f(0) = 3·2^(−2) = 3/4 = 0.75. You can see why by rewriting the formula:
3·2^(x − 2) = (3 / 2²)·2^x = 0.75·2^x
A horizontal shift is therefore the same as changing the initial value. In the form a·b^x + k, no separate horizontal shift is needed.
A procedure for reading a graph
The flowchart below gives an order of steps that works for any function written as a·b^x + k.
Here is the procedure applied to h(x) = −5·(1/2)^x + 8.
- The asymptote is y = 8.
- The y-intercept is (0, −5 + 8) = (0, 3).
- Since a = −5 is negative, the graph lies below the asymptote and the range is y < 8.
- Since b = 1/2, the function is a decay form. The graph approaches the asymptote on the right, and on the left it falls without bound, because −5·(1/2)^x becomes very negative as x decreases.
Check with a few values. h(0) = 3, h(1) = −2.5 + 8 = 5.5, and h(3) = −0.625 + 8 = 7.375. The values climb toward 8, which matches the description above. The function is increasing even though b < 1, because the negative a flips the direction.
Common errors
- Reading the asymptote from the wrong place. In 3·2^x + 5, the asymptote is y = 5, not y = 0, and not y = 3. The coefficient a never gives the asymptote.
- Assuming the intercept is (0, a) after a vertical shift. With a constant k added, the y-intercept is (0, a + k).
- Expecting the graph to reach the asymptote. A graph of a·b^x + k with a ≠ 0 never touches y = k. On a plotted graph the curve looks as if it merges with the line, but only because of limited resolution.
- Confusing the end that flattens. Growth flattens on the left and decay flattens on the right. A quick check is to evaluate the function at a large negative x and at a large positive x.
- Ignoring the sign of a. A negative a reflects the graph and changes both the range and the direction of the function.
Practice
Exercise
For f(x) = 6·(0.5)^x − 4, state the horizontal asymptote, the y-intercept, and the range. Does the graph rise or fall as x increases?
Show answer
Write f as a·b^x + k with a = 6, b = 0.5, k = −4. The asymptote is y = −4. The y-intercept is (0, 6 − 4) = (0, 2). Since a > 0, the graph lies above the asymptote, so the range is y > −4. Since 0 < b < 1 and a > 0, the function falls as x increases, approaching y = −4 on the right.
Exercise
The function p(x) = 3·2^(x + 1) has no vertical shift. Find its y-intercept by rewriting it in the form a·b^x, and give its horizontal asymptote.
Show answer
Rewrite 3·2^(x + 1) = 3·2·2^x = 6·2^x. The y-intercept is (0, 6), which you can confirm with p(0) = 3·2^1 = 6. The horizontal asymptote is y = 0, because a horizontal shift does not move the asymptote.
Exercise
A hot drink follows T(t) = 22 + 63·0.95^t, with t in minutes and T in degrees Celsius. What is the temperature at t = 0, and what temperature does the drink approach? Will it ever reach that temperature in the model?
Show answer
T(0) = 22 + 63 = 85 degrees. The horizontal asymptote is y = 22, so the drink approaches 22 degrees, the room temperature. In the model it never reaches 22, because 63·0.95^t is always positive. In practice the difference becomes too small to measure after a long time.