AP® Precalculus · Unit 2 · Topic 2.2
Building a Function from Two Points
Two points determine exactly one exponential function f(x) = a times bx, just as two points determine exactly one line. You find b from the ratio of outputs, then find a by substituting back.
An exponential function has two unknowns, a starting value a and a growth factor b. Each point you're given turns into an equation: y1 = a times b raised to x1, and y2 = a times b raised to x2. Two equations, two unknowns, so two points pin the function down completely, the same logic as needing two points to fix a line's slope and intercept. The trick is dividing one equation by the other. That cancels a and leaves b raised to the power (x2 minus x1) equal to y2 divided by y1. Solve for b by taking a root, then plug b back into either original equation to get a.
Work it through for (2, 12) and (5, 96). Dividing gives b3 = 96/12 = 8, so b = 2. Then 12 = a times 22 = 4a, so a = 3. The function is f(x) = 3 times 2x, and you can check both points satisfy it. Compare this to the line through the same two points: slope = (96 minus 12)/(5 minus 2) = 28, giving y = 12 + 28(x minus 2). Near x = 2 the two curves sit close together, but the exponential pulls away fast as x grows, since it multiplies by 2 every unit while the line only adds 28.
When the two x-values aren't one unit apart, the same ratio method still works, you just divide by the exponent difference when solving for b, as in the worked example above with an exponent of 3. This is the algebraic engine behind every exponential model you'll build from data: once you can extract a and b from any two points, you're ready to fit models to tables, compare average rates of change, and recognize when a data set is better described by a line than a curve.
Key terms
- growth factor
- The base b in f(x) = a times bx, the number the output is multiplied by each time x increases by 1.
- initial value
- The constant a in f(x) = a times bx, equal to f(0), the function's output at x = 0.
- ratio of outputs
- Dividing one y-value by another to cancel the unknown a and isolate the base b.
- average rate of change
- The slope between two points on any function, computed as change in output over change in input.
Watch it explained
- How it worksHow do you solve for the starting value and the base from two input-output pairs?
- Worked exampleFind the exponential function through the points (2, 12) and (5, 96).
- Worked exampleFind the linear function through (2, 12) and (5, 96) and lay it over the exponential one.
- Going furtherWhat changes when the two points you are handed are not one unit apart?
Check yourself
End of topic.