Educerie · AP · Precalculus
AP Precalculus 2.14
Logarithmic Function Context and Data Modeling
How do you build a logarithmic model from a context, from two data points or from regression, and how do you use it to predict and to solve?
What you will learn
- Understand that a logarithm counts multiplications and models equal output steps for proportional input steps
- Know three ways to build a logarithmic model: proportion and zero, two pairs, regression
- Know how to predict an output and solve for an input, with units
You must be able to
- Count doublings or multiplications with logb(P ÷ P0)
- Solve for a and k from two pairs
- Run and store a logarithmic regression and use it to three decimals
- Solve a + b ln x = c exactly
- Spot diminishing returns as a clue for a logarithmic model
- State the domain limit and where the model stops being sensible
In the exam. Section I Part B (calculator): use a logarithmic regression to predict a value or solve for an input, or build the model from two points. Free-response 2 (calculator, real-world) can use a logarithmic model, as the 2024 paper did for sales; students lose points by writing equations that mix units, by not solving a system with technology, and by not giving the average rate of change with its units.
1Counting multiplications
If a quantity starts at and is multiplied by each period, after periods it is . Solving for :
If is a whole number, it is the number of times the initial value was multiplied.
Worked example 1. A colony of bacteria doubles every hour. It now has . How many doublings have happened?
So doublings. The input is the ratio , a multiplicative quantity. Each doubling adds to the output.
2Building from a proportion and a zero
A logarithmic function has its zero at . If the context puts the zero at another input , use .
Worked example 2. An invented rating is at an input of and rises by points each time the input triples.
The proportion is the multiplier () that goes with the equal step of .
3Building from two pairs
Use . Choose a base that fits the data, or use . Two pairs give two equations in and .
Worked example 3. A logarithmic model passes through and .
Subtract: , so and . So
Check: . Quadrupling the input from to adds , which is per doubling.
4Regression
A calculator can fit to data. The table is an invented data set.
| 1 | 2 | 4 | 8 | 16 | |
|---|---|---|---|---|---|
| 3.1 | 5.2 | 7.0 | 9.1 | 10.9 |
Run a logarithmic regression (). The calculator gives
- Each time is multiplied by (about ), goes up by .
- To predict at : .
- To find when , graph with the model and find the intersection: .
Keep the unrounded regression equation stored. Rounding and first can change the third decimal.
5The natural logarithm in context
The natural logarithm is the usual choice because calculators fit it directly, and because it appears when a quantity grows by a continuous exponential rate.
Worked example 4. An invented learning model gives a score after hours of practice ().
- , the starting score. .
- The first doubling of practice time, to hours, adds points. Going from to hours adds the same points, though it takes ten times as many hours. That is diminishing returns, a clue for a logarithmic model.
- To score : , , hours.
6Domain, limits and the context
- , so the model says nothing about , and it may be silly for tiny .
- A logarithmic model has no upper limit, but it climbs so slowly that real quantities with a cap (a percent that can't pass ) may follow it only for a while. A sound answer says where the model stops being reasonable.
- The output is in the units of the context. Always say them.
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.