Fitting Curves Using Exponential and Logarithmic Models
Constant ratios distinguish exponential data from linear data. Diamond values and a runner’s speeds illustrate how to fit exponential and logarithmic models with ExpReg and LnReg, check the fit using r² and data comparisons, and solve prediction questions from the x-coordinate of a model–target intersection. Predictions beyond the measured range are extrapolations and carry extra uncertainty.

Data That Bends
How much should a big diamond cost? The lesson begins with a jeweler’s simulated data for five sample gemstones. Each weight in carats is paired with an estimated value in dollars. The task is to turn the table into a model that can make predictions
| Weight (carats) | Value ($) |
|---|---|
| 0.5 | 1,265 |
| 1.0 | 1,573 |
| 2.0 | 2,354 |
| 3.0 | 3,531 |
| 4.0 | 5,478 |
The opening example lists the successive dollar increases as +308, +781, +1,177, and +1,947. It describes the growing gaps as evidence that each step up in weight adds more dollars than the step before. A straight line adds the same amount each time, so the lesson concludes that a line cannot describe this simulated data and asks: Which curve fits this data?
Is It Exponential?
Adding versus multiplying
Which table grows by multiplying? Both tables below start at 3 and use equally spaced x-values. Table A reaches 15, while Table B reaches 24. To classify them, test every consecutive pair rather than judging only by how quickly the values rise
| x | Table A: f(x) | Table B: f(x) |
|---|---|---|
| 0 | 3 | 3 |
| 1 | 7 | 6 |
| 2 | 11 | 12 |
| 3 | 15 | 24 |
For Table A, the differences are 7 − 3 = 4, 11 − 7 = 4, and 15 − 11 = 4. The constant difference +4 makes this data linear, not exponential
For Table B, divide each value by the one before it: 6/3 = 2, 12/6 = 2, and 24/12 = 2. Every consecutive ratio equals 2, so Table B is exponential. The lesson gives the form f(x) = ab^x and identifies the constant ratio as the base b; here, b = 2
Worked example: a decaying table
A lab records a cooling sample. For x = 0, 1, 2, 3, the readings are f(x) = 80, 40, 20, 10. Is this data exponential of the form f(x) = ab^x? If so, what is the constant ratio?
First check differences: 40 − 80 = −40, 20 − 40 = −20, and 10 − 20 = −10. These are not constant, so the data is not linear. Next check ratios: 40/80 = 1/2, 20/40 = 1/2, and 10/20 = 1/2. Every ratio matches, so the data is exponential decay with constant ratio 1/2 and base b = 1/2. The ratio test works for both growth and decay
Practice 1
A pond’s algae coverage is measured on four evenly spaced days. The readings are 54, 18, 6, and 2 at x = 0, 1, 2, and 3
Fitting an Exponential Model
Returning to the diamond table, the lesson uses the growing gaps to choose an accelerating, concave-up exponential shape. The model form is f(x) = ab^x. Exponential regression, or ExpReg, finds the best-fit values of a and b instead of requiring guesses
Running ExpReg
The worked calculator step instructs entering weights in L1 and simulated values in L2, then running ExpReg L1, L2. Its displayed lists are L1 = 0.5, 1.0, 2.0, 3.0, 4.0 and L2 = 1150, 1430, 2140, 3210, 4980. The opening diamond table instead lists values of 1,265, 1,573, 2,354, 3,531, and 5,478 for those weights
| ExpReg output | Displayed value |
|---|---|
| a | 1029.2400737 |
| b | 1.515076206 |
| r² | .999732893 |
The worked example rounds a to approximately 1029.24 and b to approximately 1.52, giving V(w) ≈ 1029.24(1.52)^w, where V is value in dollars and w is weight in carats. It reports r² ≈ 0.9997, extremely close to 1, as a signal of a very strong fit
Checking the model against the data
The verification scene retains the model V(w) ≈ 1029.24(1.52)^w and compares it with the opening diamond table. It states that at w = 1 the model predicts about $1,562, compared with the simulated $1,573, and that at w = 4 it predicts about $5,478, matching the table exactly. The scene describes the increasing, concave-up model curve as threading through the five data points and concludes that the model is verified against the data
Worked example: the $8,800 gemstone
A client wants a gemstone valued at $8,800. Using the lesson’s verified model V(w) ≈ 1029.24(1.52)^w, find the weight w in carats. This target is beyond the values in the simulated table
Set the model equal to the target: 1029.24(1.52)^w = 8800. Enter Y1 = 1029.24(1.52)^X and Y2 = 8800. The solution is where the model curve crosses the horizontal target line
The first calculator window is too small to show $8,800, so the example expands it before looking for a crossing. The window note specifies 0 ≤ x ≤ 7 and 0 ≤ y ≤ 10000; the scene’s vertical-axis specification extends to 11000. The intersect tool reports X ≈ 5.13 and Y = 8800. Read the x-coordinate because x represents weight: the answer is about 5.1 carats
The example’s sanity check compares the result with the table: a 4-carat gemstone is $5,478, so it describes a weight a bit over 5 carats for $8,800 as consistent with that comparison
Practice 2: setting up a prediction
A limited-edition sneaker’s resale price is modeled by P(d) ≈ 210(1.35)^d, where P is price in dollars and d is years since release. A collector wants to know when the price reaches $1,500. Complete the calculator setup for solving when the price reaches $1,500
The original completion statement is: Enter Y1 = 210(1.35)^X and Y2 =
$$Y2 value$$
. After using the intersect tool, the number of years is the
$$which coordinate$$
of the intersection point. The available choices are 1500, 210, 1.35, x-coordinate, and y-coordinate
The supplied answers are Y2 = 1500 and x-coordinate. Y2 holds the target price, not either coefficient from the model. Since x counts years, the years come from the x-coordinate; the y-coordinate gives the target price. The practice provides no numerical intersection time
Fitting a Logarithmic Model
Growth that slows down
A runner’s fitness tracker logs speed in meters per second at each minute of a seven-minute start. Unlike the diamond example, the speed rises quickly at first and then gains more slowly
| Time (min) | Speed (m/s) |
|---|---|
| 1 | 1.1 |
| 2 | 3.0 |
| 3 | 4.2 |
| 4 | 5.1 |
| 5 | 5.8 |
| 6 | 6.3 |
| 7 | 6.7 |
The consecutive speed gains are +1.9, +1.2, +0.9, +0.7, +0.5, and +0.4 m/s. The lesson contrasts these shrinking gains with its accelerating exponential-growth shape and concludes that this data cannot be exponential. It chooses a curve that climbs fast and then flattens: a logarithmic model
The logarithmic form is f(x) = a + b ln x, where a and b are constants found by regression. In this example, the increasing, concave-down curve is steep for small inputs and flattens as the inputs grow, matching the slowing trend in the speed table
Running LnReg and checking the result
Enter L1 = 1, 2, 3, 4, 5, 6, 7 and L2 = 1.1, 3.0, 4.2, 5.1, 5.8, 6.3, 6.7. Run logarithmic regression with LnReg L1, L2 to find the best-fit coefficients
| LnReg output | Displayed value |
|---|---|
| a | 1.0472697522 |
| b | 2.9171426418 |
| r² | .9993763834 |
Rounding the coefficients gives s(t) ≈ 1.05 + 2.92 ln t, where t is time in minutes and s is speed in m/s. The lesson reports r² ≈ 0.999 as a strong fit
Check the model at t = 1. Since ln 1 = 0, the model gives s(1) ≈ 1.05 + 2.92(0) = 1.05 m/s, close to the measured 1.1 m/s. The verification scene also describes the curve as rising steeply at small times and flattening as time grows, passing close to the seven data points
Worked example: when does speed reach 8.0 m/s?
Using s(t) ≈ 1.05 + 2.92 ln t, predict when the runner’s speed reaches 8.0 m/s. Set the model equal to the target: 1.05 + 2.92 ln t = 8. Enter Y1 = 1.05 + 2.92 ln(X) and Y2 = 8, then use the intersect tool
The example reports the intersection as X ≈ 10.84, Y = 8, so its answer is about 10.8 minutes. The measured times run only from 1 through 7 minutes. Because 10.8 minutes is outside that range, the result is an extrapolation: it relies on the model beyond the measurements and carries more uncertainty than a prediction within the measured range
Practice 3: reading LnReg output
A botanist tracks a vine’s height, which rises quickly and then slows. Her calculator output reads LnReg, y = a + b ln x, a = 1.8, b = 2.4, and r² = .996. Which fitted model is correct, with h in feet and t in weeks?
The Modeling Workflow
1. Examine the trend. In the lesson’s growth examples, accelerating, concave-up data points to f(x) = ab^x; data that rises fast and then slows, with a concave-down shape, points to f(x) = a + b ln x
2. Run the matching regression. Use ExpReg or LnReg to get the coefficients, and check r². The lesson treats r² near 1 as a sign of a strong fit
3. Verify the model. Compare predicted values with measured or simulated values and compare the model curve with the data points before trusting a prediction
4. Predict using an intersection. Enter Y1 = model and Y2 = target. Use the intersect tool and read the x-coordinate, which represents the requested input rather than the target output
5. Flag extrapolation. If the answer lies outside the range of collected inputs, identify it as an extrapolation with extra uncertainty
Practice 4: ordering the middle steps
A scientist has a fresh data set and wants a trustworthy prediction. Put the middle steps of the modeling workflow in order. Step 1 is fixed as “Examine the data trend,” and step 5 is fixed as “Flag any extrapolation beyond the data range.” The original task asks for the three middle steps in slots 2, 3, and 4
The three supplied steps are “Verify the fit against measured data,” “Run regression (ExpReg or LnReg) to get the coefficients,” and “Solve model = target with the intersect tool.” The correct order is: 2. Run regression (ExpReg or LnReg) to get the coefficients; 3. Verify the fit against measured data; 4. Solve model = target with the intersect tool
The feedback explains why this order matters: regression must create a model before it can be verified, and the model should be verified before it is used to predict
Summary
Constant ratio test: for equally spaced inputs, a constant consecutive ratio indicates exponential data of the form f(x) = ab^x. A constant consecutive difference indicates linear data. Test every pair, and do not classify a data set solely by whether it grows or shrinks
Match shape to model: the lesson pairs accelerating, concave-up growth with f(x) = ab^x through ExpReg, and fast-then-slowing, concave-down growth with f(x) = a + b ln x through LnReg
Verify before trusting: check r² and compare predicted values with measured or simulated values. The source summary describes V(w) ≈ 1029.24(1.52)^w as matching the gemstone table. The runner example uses s(t) ≈ 1.05 + 2.92 ln t and checks that its prediction at t = 1 is 1.05 m/s, close to the measured 1.1 m/s
Predict with intersect and flag extrapolation: graph Y1 = model and Y2 = target, then read the x-coordinate of their intersection. An answer outside the collected input range is an extrapolation and carries extra uncertainty
Quiz
Quiz 1: classifying data
Sort each data set (equally spaced x-values) into Exponential or Linear. The three data sets are 5, 15, 45, 135; 8, 5, 2, −1; and 100, 50, 25, 12.5
The supplied classifications are: 5, 15, 45, 135 → Exponential; 8, 5, 2, −1 → Linear; 100, 50, 25, 12.5 → Exponential. The feedback says to subtract and divide consecutive values rather than judge by direction alone. A constant difference, even negative, indicates linear data; a constant ratio, even below 1, indicates exponential data
Quiz 2: matching trends and model forms
Match each data trend to the model form to fit. The trends are “Increases by growing amounts, concave up,” “Rises fast at first, then slows, concave down,” and “Increases by the same amount every step.” The available forms are f(x) = ab^x, f(x) = a + b ln x, and f(x) = mx + b
The supplied matches are: “Increases by growing amounts, concave up” → f(x) = ab^x; “Rises fast at first, then slows, concave down” → f(x) = a + b ln x; “Increases by the same amount every step” → f(x) = mx + b. The feedback emphasizes the changing gaps: growing gaps point to exponential, shrinking gaps to logarithmic, and identical gaps to linear
Quiz 3: reading a prediction carefully
A forester measured a tree’s height for years 1 through 8 and fit h(t) ≈ 1.2 + 2.9 ln t, with height h in meters and time t in years. To find when the height reaches 9 meters, she uses Y1 = 1.2 + 2.9 ln(X) and Y2 = 9. The source graph labels their intersection X ≈ 14.7, Y = 9, outside the shaded measured-data range of years 1–8