Exponential and Logarithmic Data Modeling and Semi-log Plots - Complete Interactive Lesson
Part 1: Exponential Models from Two Points and Ratios
📈 Exponential and Logarithmic Data Modeling and Semi-log Plots
Part 1 of 7 — Exponential Models from Two Points and Ratios
Topic Overview
| Part | Topic | CED |
|---|---|---|
| 1 | Exponential models from two points and ratios | 2.5 |
| 2 | Exponential regression on the calculator | 2.5, 1.14 |
| 3 | Residuals and residual plots | 2.6 |
| 4 | Choosing and validating a model | 2.6, 1.13 |
| 5 | Logarithmic functions in context | 2.14 |
| 6 | Semi-log plots | 2.15 |
| 7 | Modeling synthesis (FRQ Question 2 skills) | 2.5–2.6, 2.14–2.15 |
When Is a Data Set Exponential?
A function is exponential, , exactly when equal-length input intervals produce outputs in a constant ratio. In a table with equally spaced inputs, divide each output by the one before it: if every ratio is (about) the same number , the data are exponential.
| (years) | ||||||
|---|---|---|---|---|---|---|
| (thousands) | ||||||
| Ratio to previous | — |
The ratios hover around , so an exponential model is reasonable. The differences () are clearly not constant, so a linear model is not.
🔍 Building the Model from Two Points
Pick two data points and . Because ,
Worked Example 1 — the data above
Use and : , and because .
Model: — the population grows about per year. Figure 1 shows the curve threading the points.
Worked Example 2 — neither point at
Find the exponential function through and .
, so . Then . Model: . Check: ✔
Worked Example 3 — inputs spaced by more than
Every units the output is multiplied by , so . Per one unit the factor is : . Both forms are the same function (CED 2.4: ).
⚠️ Always divide the exponent by the spacing of the inputs, or take the matching root of the ratio. Writing would make the quantity shrink twice as fast as the data show.
🗣️ Building the Model from a Description
| The context says… | Growth factor per step | Model |
|---|---|---|
| "grows per year" from | per year | |
| "loses per year" from | per year | |
| "triples every hours" from | per hours | |
| "halves every days" from | per days |
Reading the Parameters Back
For with :
- is the initial value (the output when the input is ).
- is the ratio between outputs one input unit apart; is the percent change per unit, written as a decimal.
- The output after units is the initial value multiplied by exactly times.
Justify (AP language): "The data are modeled by an exponential function because over equal-length input intervals the output values change by a constant ratio of approximately ."
Model Construction Check 🎯
Two-Point Drill 🧮
1) An exponential function passes through and . What is ? (e.g., through and : )
2) An exponential function passes through and . What is ? (e.g., through and : , so )
3) A quantity is at and at . Find the growth factor per unit, rounded to three decimals.
Exponential Model Concepts 🔽
Exit Quiz ✅
Part 2: Exponential Regression on the Calculator
🧮 Exponential Regression on the Calculator
Part 2 of 7 — Exponential Regression on the Calculator
Real data rarely give exactly constant ratios. When the ratios are only approximately constant, a graphing calculator's exponential regression finds the single model that best fits all the points at once.
What the Calculator Does for You
| Step | On a TI-84 family calculator | What you get |
|---|---|---|
| 1 | Enter the inputs in L1 and the outputs in L2 | the data set |
| 2 | STAT → CALC → ExpReg | the values of and in |
| 3 | Store the equation in Y1 (optional) | a graph of the model over the scatter plot |
On the AP exam you are never asked to compute a regression by hand. Part B of the multiple-choice section and Questions 1–2 of the free-response section allow a graphing calculator; you run the regression, then interpret and and use the model. Keep every decimal the calculator shows while you work, and round only the final answer (usually to three decimal places).
Worked Example — Yearly Sales
| (years since 2020) | ||||||
|---|---|---|---|---|---|---|
| (thousands of units) |
The ratios are — close to constant, so an exponential model is appropriate. ExpReg returns
🗣️ Interpreting and Using the Output
Interpret and in context
- : the model's sales in () are about units. (This is the model's value, not the recorded — regression does not have to pass through any data point.)
- : each year, sales are multiplied by about , an increase of about per year.
Predict
- thousand units in .
- thousand units halfway through .
Interpolation vs. Extrapolation
| Prediction | Input relative to the data | Reliability |
|---|---|---|
| inside the data range | interpolation — usually reasonable | |
| just outside the range | extrapolation — plausible but less certain | |
| far outside the range | extrapolation — the model's assumption of unlimited growth almost surely fails |
Units matter. Say "about thousand units," not "." A model is only as meaningful as the units of its inputs and outputs.
When the model is "good enough"
The regression always produces some exponential curve. Whether that curve is an appropriate model is a separate question, answered by the residual plot in Part 3.
Regression Output Check 🎯
Use the Model 🧮
1) A regression gives . Find when . (e.g., )
2) A regression gives . By what percent does the model grow per unit of input? Enter the number only. (e.g., means )
3) A regression gives . Find when , rounded to one decimal place.
Reading Regression Output 🔽
Exit Quiz ✅
Part 3: Residuals and Residual Plots
📉 Residuals and Residual Plots
Part 3 of 7 — Residuals and Residual Plots
A model is only useful if it is appropriate for the data. The tool for checking is the residual.
| Residual | Meaning |
|---|---|
| positive | the data point lies above the model: the model underestimates |
| negative | the data point lies below the model: the model overestimates |
| zero | the model passes exactly through the point |
Worked Example — the population model from Part 1
Model: .
| Actual | Predicted | Residual | |
|---|---|---|---|
At the residual is : the model overestimates the population by thousand. The residuals are small and alternate in sign with no trend.
📊 Reading a Residual Plot
A residual plot graphs each residual against its input. Read it with one question in mind: is there a pattern?
| Residual plot | Verdict |
|---|---|
| Points scattered randomly above and below (Plot A) | the model is appropriate |
| A curve, U-shape, or arch (Plot B) | the model has the wrong type (e.g. a line fit to exponential data) |
| Residuals that steadily grow or steadily shrink | the model misses a trend |
| Residuals all positive (or all negative) on one side | the model systematically under- or over-estimates there |
Where Plot B Comes From
Fit a line to the exponential data . Linear regression gives . Its residuals:
| Actual | Predicted | Residual | |
|---|---|---|---|
Positive, negative, negative, positive — a U-shape. The line is too low at the ends and too high in the middle because the data curve upward. The exponential model fits these points exactly, with every residual .
Key fact: the residuals of any regression fit add to about no matter how bad the model is, so "the residuals are small on average" proves nothing. Only the pattern (or its absence) tells you whether the model is appropriate.
Residual Check 🎯
Compute the Residual 🧮
1) Actual value , predicted value . Residual ? (e.g., actual , predicted : residual )
2) The model is and the actual value at is . Residual ? (e.g., model , actual at : )
3) The model is and the actual value at is . Residual ?
Residual Concepts 🔽
Exit Quiz ✅
Part 4: Choosing and Validating a Model
⚖️ Choosing and Validating a Model
Part 4 of 7 — Choosing and Validating a Model
Given a table of data, which type of function should model it? Compare the pattern of change over equal-length input intervals.
| Pattern over equal input steps | Model type | Example outputs (inputs ) |
|---|---|---|
| constant first differences | linear | (differences ) |
| constant second differences | quadratic | (differences ; second differences ) |
| constant ratios | exponential | (ratios ) |
| equal output differences for equal input ratios | logarithmic | Part 5 |
Justify with the pattern, not the picture. "The data are modeled by a quadratic function because the second differences of the output values are constant" is the sentence the exam wants.
Worked Example — Which Model?
- First differences: — not constant, so not linear.
- Second differences: — not constant, so a quadratic is doubtful.
- Ratios: — nearly constant, so an exponential model is the best candidate.
Exponential regression gives and : .
✅ Validating with Residuals
Compare the exponential model with a linear regression () on the same data.
| Actual | Exponential prediction | Residual | Linear prediction | Residual | |
|---|---|---|---|---|---|
- Exponential residuals: tiny and alternating in sign, no pattern → appropriate.
- Linear residuals: positive at both ends and negative in the middle, a U-shape → the line misses the upward bend; not appropriate.
Using Context, Too
The numbers choose between candidate models; the context rules models in or out before you even look.
| Context | Likely model | Why |
|---|---|---|
| a quantity that grows or shrinks by the same percent each period | exponential | constant ratio |
| a quantity that changes by the same amount each period | linear | constant difference |
| a height under gravity, an area as a side length grows | quadratic | second differences constant |
| a response that rises quickly, then more and more slowly, without leveling off | logarithmic | equal output changes for input ratios |
Assumptions and Limitations
Every model assumes the observed pattern continues. State the limits:
- "The exponential model assumes the quantity keeps growing by about per unit; it is reasonable within and increasingly uncertain beyond the data."
- Physical limits (a population cannot exceed its habitat; a percent cannot exceed ) often make a model valid only on a restricted domain.
Model Selection Check 🎯
Pattern Drill 🧮
1) For the outputs at inputs , what is the (constant) second difference? (e.g., : differences , second differences )
2) For the outputs at inputs , what is the common ratio?
3) The line is fit to data with the actual value at . What is the residual there?
Which Model? 🔽
Exit Quiz ✅
Part 5: Logarithmic Functions in Context
🪵 Logarithmic Functions in Context
Part 5 of 7 — Logarithmic Functions in Context
A logarithmic model has the form
Its defining pattern is the mirror image of the exponential pattern:
| Function | Equal input differences give… | Equal input ratios give… |
|---|---|---|
| exponential | equal output ratios | — |
| logarithmic | — | equal output differences |
Multiplying the input by adds to the output. Multiplying the input by adds , and so on.
A Log Model from Data
Each time is multiplied by , increases by , so . Check: gives ✔.
Each doubling of adds : (at : ✔; at : ✔).
Justify (AP language): "A logarithmic model is appropriate because the output values increase by a constant amount each time the input values are multiplied by the same factor."
📈 Shape, Calculator, and Inverse
What the graph looks like
For , is increasing and concave down: the output rises quickly for small and then more and more slowly — but it never levels off. There is no horizontal asymptote; . The vertical asymptote is , and the domain is .
Typical contexts: the time to learn a skill as practice hours grow, a reading on a logarithmic instrument scale, the loudness we perceive as sound intensity grows.
Logarithmic regression on the calculator
LnReg fits to a data set and returns and . You read them off and use the model exactly as in Part 2.
Example:
LnRegreturns and , so . Predicted value at : .
A log model is the inverse of an exponential model
If , then and : solving a logarithmic model for the input produces an exponential expression. Swapping the roles of input and output turns a log model into an exponential one and back again (CED 2.10).
Logarithmic Model Check 🎯
Logarithmic Model Drill 🧮
1) For , find when . (e.g., at : )
2) For , by how much does increase when goes from to ? (e.g., from to : doubles once, so increases by )
3) For , find when . (e.g., : , so )
Logarithmic Model Concepts 🔽
Exit Quiz ✅
Part 6: Semi-log Plots
📐 Semi-log Plots
Part 6 of 7 — Semi-log Plots
A semi-log plot uses a logarithmic scale on the vertical axis and an ordinary (linear) scale on the horizontal axis. On the vertical axis the labels are equally spaced: each step up multiplies the value by . Equivalently, you can plot (or ) against on ordinary axes.
Look at the figure. On linear axes the exponential data bend sharply upward; on the semi-log axes the same points lie on a straight line.
Why Exponential Data Become Linear
Take the logarithm of both sides of :
With this is : a line in and with
| On the semi-log line | Recovers |
|---|---|
| slope | the base |
| vertical intercept | the initial value |
🔑 Key fact (CED 2.15): data that are linear on a semi-log plot are exponential on ordinary axes, and conversely. A straight semi-log plot is the fingerprint of exponential change; a positive slope means growth () and a negative slope means decay ().
🔍 Reading the Model from the Line
Worked Example 1
On a plot of against , the data lie on the line through and . Find the exponential model.
- Slope: , so .
- Intercept: , so .
- Model: — growth of about per unit.
Worked Example 2 — neither point on the vertical axis
The semi-log line passes through and .
- Slope: , so (decay).
- Intercept: stepping back one unit from adds , so and .
- Model: .
With natural logs
If the vertical axis shows and the line is , then and . The base of the logarithm used on the axis is the base you exponentiate.
Checking the data in Figure form
For : at . The values rise by a constant each step (the slope), and the intercept ✔.
Semi-log Check 🎯
Read a Semi-log Line 🧮
1) A semi-log fit gives . What is ? (e.g., intercept : )
2) Same fit: what is the base ? Use and round to two decimals.
3) A natural-log fit gives . What is the base , rounded to two decimals? (e.g., slope : )
Interpret the Semi-log Line 🔽
A data set is plotted as versus and fits the line .
Exit Quiz ✅
Part 7: Modeling Synthesis (FRQ Question 2 Skills)
🏆 Modeling Synthesis — FRQ Question 2 Skills
Part 7 of 7 — Modeling Synthesis (FRQ Question 2 Skills)
Free-response Question 2 ("Modeling a Non-Periodic Context", calculator allowed) hands you a table or a description, asks for a model, a prediction, an interpretation, and often a judgment about the model. This part walks one such problem end to end.
Your Modeling Toolkit
| Skill (Part) | Key idea |
|---|---|
| Build from two points (1) | , ; match the exponent to the input spacing |
| Regression (2) | ExpReg / LnReg give and ; interpret them in context with units; interpolate, extrapolate with care |
| Residuals (3) | residual actual predicted; positive = underestimate |
| Choose and validate (4) | differences → linear, second differences → quadratic, ratios → exponential; a patternless residual plot validates |
| Logarithmic models (5) | equal input ratios give equal output differences; |
| Semi-log plots (6) | exponential data are linear; slope , intercept |
📋 Worked FRQ-Style Problem
The number of households in a town with rooftop solar panels was recorded each year. Let be the number of years since 2018.
(a) Use exponential regression to write a model .
The ratios are nearly constant, so an exponential model is appropriate. ExpReg gives and :
Interpretation: the model's count in 2018 is about households, and the number of solar households grows by about per year.
(b) Predict the number of solar households in 2026.
: households. This is an extrapolation two years past the data, so it assumes the yearly growth continues.
(c) Find the residual at and interpret it.
Predicted: . Residual : the model underestimates the 2021 count by about household.
(d) Average rate of change from to .
households per year (using the data). Because the model is exponential, the average rate of change over later intervals is larger.
(e) On a semi-log plot of against , describe the data.
The points lie approximately on a line with slope and vertical intercept — the linear pattern on semi-log axes confirms the exponential model.
(f) State a limitation of the model.
The town has a finite number of households, so the model cannot remain valid indefinitely; growth must eventually slow as the remaining households without panels run out. The model is reasonable for and nearby years only.
Synthesis Quiz 🎯 (solar-panel data: , ; model )
Model Calculations 🧮 (model )
1) Predict , rounded to the nearest whole number. (e.g., )
2) The actual count at is and the model gives . What is the residual, to one decimal place?
3) On a semi-log plot of against , what is the slope of the line, rounded to three decimals? (e.g., for , the slope is )
Modeling Decision Map 🔽
Final Exit Quiz — Data Modeling ✅