Real-World Data Modeling
Equal-step differences and ratios help identify linear, quadratic, exponential, and square root models. When patterns are approximate or spacing is uneven, scatter plots and candidate regressions help select a model. Predictions then require correct units and attention to the observed data range and the process being modeled.

Numbers Without an Equation
Real-world data often arrives as a table rather than an equation. The modeling task is to identify the pattern, choose a function family, and use a model to predict values beyond those listed
Same start, different futures
| Step | Machine A output | Machine B output |
|---|---|---|
| 1 | 100 | 100 |
| 2 | 200 | 200 |
| 3 | 300 | 400 |
| 4 | 400 | 800 |
Which rule is each machine following? Machine A adds 100 at every step, while Machine B multiplies by 2. Continuing those patterns to step 10 gives 1,000 for Machine A and 51,200 for Machine B. The same starting output and an increasing trend do not imply the same kind of growth
The goals of this lesson are to check spacing before testing a table; distinguish linear, quadratic, exponential, and square root patterns; use and compare regressions for noisy or unevenly spaced data; and evaluate predictions with units while judging whether extrapolation is justified
The Difference and Ratio Tests
The four function families leave different fingerprints. A linear pattern adds the same amount each step. A quadratic pattern has first differences that change steadily. An exponential pattern multiplies by the same factor each step. For the square root test used here, the roles of x and y are reversed
| Family | Spacing condition | Fingerprint |
|---|---|---|
| Linear | Evenly spaced x-values | Constant first differences of y |
| Quadratic | Evenly spaced x-values | Constant second differences of y |
| Exponential | Evenly spaced x-values | Constant ratios of consecutive y-values |
| Square root | Evenly spaced y-values | Constant second differences of x |
Building a difference ladder
| x | y |
|---|---|
| 1 | 2 |
| 2 | 5 |
| 3 | 10 |
| 4 | 17 |
The x-values increase by 1, so the spacing check passes. Subtract each y-value from the next: 5 − 2 = 3, 10 − 5 = 5, and 17 − 10 = 7. These first differences, 3, 5, 7, are not constant, so the table is not linear. Take differences again: 5 − 3 = 2 and 7 − 5 = 2. The constant second differences identify a quadratic pattern
Coffee by the pound
A roaster posts prices for bags of coffee beans. Find the parent function that models the cost
| Pounds | Cost ($) |
|---|---|
| 1 | 8.25 |
| 2 | 16.50 |
| 3 | 24.75 |
| 4 | 33.00 |
The pound values increase by 1. The cost differences are 16.50 − 8.25 = 8.25, 24.75 − 16.50 = 8.25, and 33.00 − 24.75 = 8.25. Each additional pound adds $8.25, so the family is linear and the model is y = 8.25x. The four plotted points lie on one rising straight line
Practice 1
| x | y |
|---|---|
| 4 | 80 |
| 10 | 66.5 |
| 16 | 53 |
| 22 | 39.5 |
| 28 | 26 |
| 34 | 12.5 |
Square Roots and Exponentials in Tables
When y is the evenly spaced variable
A lemonade stand records the temperature at which each sales level was first reached. Find the best parent function, using temperature as x and cups sold in dozens as y
| Temperature (°F) | Cups sold (dozens) |
|---|---|
| 47.4 | 4 |
| 52.4 | 5 |
| 59.2 | 6 |
| 67.8 | 7 |
| 78.2 | 8 |
| 90.4 | 9 |
The temperatures are not evenly spaced, but sales increase by exactly 1 dozen per row. Because y is evenly spaced, test the x-values. The first differences of temperature are 5.0, 6.8, 8.6, 10.4, and 12.2. Their second differences are 1.8, 1.8, 1.8, and 1.8
Evenly spaced y-values with constant second differences of x give the square root signature in this example. With temperature on the horizontal axis and sales on the vertical axis, the points rise while flattening out, consistent with the square root model
Multiplying, not adding
A small video channel tracks subscribers. Find the best parent function for the data
| Week | Subscribers |
|---|---|
| 1 | 256 |
| 2 | 320 |
| 3 | 400 |
| 4 | 500 |
| 5 | 625 |
The weeks are evenly spaced. First differences are 64, 80, 100, and 125, so they are not constant. Second differences are 16, 20, and 25, so they are not constant either. These tests do not identify a linear or quadratic pattern
Now divide each output by the previous output: 320/256 = 5/4, 400/320 = 5/4, 500/400 = 5/4, and 625/500 = 5/4. The constant ratio identifies an exponential model: the subscriber count multiplies by 1.25 each week. The plotted points rise faster and faster, curving upward
Practice 2
| x | y |
|---|---|
| 5 | 3 |
| 25 | 6 |
| 55 | 9 |
| 95 | 12 |
| 145 | 15 |
Complete the analysis of this table: identify the evenly spaced column, the values whose second differences should be tested, and the model family. The original choices are y-values, x-values, square root, quadratic, and exponential
Answer: The y-values are evenly spaced, increasing by 3. Test the x-values: their first differences are 20, 30, 40, and 50, and their second differences are 10, 10, and 10. The completed analysis is: the y-values are evenly spaced; the constant pattern appears in the second differences of the x-values; the best model is square root. Calling this quadratic would confuse second differences of x with the usual quadratic test on y
When Patterns Are Only Close
What the exponential base does
In y = 194 · b^x, the base b is the per-step multiplier. The lesson explores b from 0.90 to 1.10 in increments of 0.01, starting at 1. For values below 1 in this range, the curve decreases toward zero: exponential decay. For values above 1, it rises: exponential growth. In both cases, the value at x = 0 stays 194
Messy real data: cooling coffee
A café pours fresh coffee and records its temperature every 5 minutes. Find a model for the temperature. Here x counts 5-minute intervals, not individual minutes: x = 3 means 15 minutes after pouring
| Time (×5 min) | Temperature (°F) |
|---|---|
| 1 | 190 |
| 2 | 181 |
| 3 | 174 |
| 4 | 170 |
| 5 | 167 |
The time values are evenly spaced. The scatter plot decreases quickly at first and then falls more slowly. First differences are −9, −7, −4, and −3. Second differences are 2, 3, and 1. Neither row is constant
The consecutive ratios are 181/190 ≈ 0.95, 174/181 ≈ 0.96, 170/174 ≈ 0.98, and 167/170 ≈ 0.98. They are not identical, but the lesson treats their approximate constancy, together with the decreasing shape, as evidence for an exponential candidate. Real measurements need not follow a pattern exactly
Let regression fit the curve
Exponential regression, called ExpReg, fits the form y = a · b^x. For the coffee data, the reported values are a ≈ 194.02, b ≈ 0.9684, and r² ≈ 0.96. A value of r² close to 1 indicates a strong fit in the lesson's comparison of models
Rounding the coefficients gives f(x) ≈ 194(0.97)^x, where x is the number of 5-minute intervals and f(x) is temperature in degrees Fahrenheit. The fitted curve passes near the measured points rather than through every point exactly. Regression smooths the noise rather than reproducing each measurement
Practice 3
| x | y |
|---|---|
| 0 | 160 |
| 1 | 200 |
| 2 | 250 |
| 3 | 312.5 |
| 4 | 390.625 |
The ratios of this table are exactly constant. Complete the exponential model y = a · b^x. The original choices for the two blanks are 160, 200, 1.25, 0.8, and 40
Answer: a = 160, the y-value at x = 0. Dividing each y-value by the previous one gives b = 1.25, so y = 160(1.25)^x. The value 0.8 reverses the division order. This table grows, so its base is greater than 1; neither a difference nor a later table entry is the starting value
Uneven Data and Comparing Fits
If x-values are 0, 3, 7, 12, and 18, their gaps are 3, 4, 5, and 6. Applying the ordinary difference or ratio tests would compare changes across unequal steps. These simple tests cannot identify a family from a constant-pattern check in this situation
Use this workflow instead: first make a scatter plot; next identify families that could plausibly produce its shape; then run a regression for each candidate; finally compare the reported fit values and choose the best fit that also matches the shape
The cell phone boom
A survey counts households with a cell phone in five scattered years. The counts are in thousands. Find the best model
| Year | x: years after 1990 | Households (thousands) |
|---|---|---|
| 1992 | 2 | 50 |
| 1995 | 5 | 61 |
| 1997 | 7 | 64 |
| 2000 | 10 | 90 |
| 2005 | 15 | 154 |
Letting x represent years after 1990 makes the input values smaller without changing their spacing. The gaps are 3, 2, 3, and 5, so the ordinary difference and ratio tests do not apply. The scatter plot rises with an overall accelerating shape. Quadratic, cubic, and exponential models are the three candidates considered
| Regression | Reported form and coefficients | Reported fit |
|---|---|---|
| QuadReg | y = ax² + bx + c; a ≈ 0.5997, b ≈ −2.3205, c ≈ 53.5632 | r² ≈ 0.9963 |
| CubicReg | y = ax³ + bx² + cx + d; a ≈ 0.0210, b ≈ 0.0733, c ≈ 1.2902 | R² ≈ 0.9972 |
| ExpReg | y = a · b^x; a ≈ 38.929, b ≈ 1.0914 | r² ≈ 0.9687 |
The cubic fit value, 0.9972, is slightly higher than the quadratic value, 0.9963, and both exceed the exponential value, 0.9687. The lesson chooses the cubic because it has the highest reported fit and matches the accelerating shape. Its rounded final model is f(x) = 0.02x³ + 0.07x² + 1.29x + 47.46, where x is years after 1990 and f(x) is households in thousands
Practice 4
A gardener measures a vine's height at weeks 0, 3, 7, 12, and 18 and wants to find a model for the height
Predicting with a Model
A radioactive tracer model
A lab weighs a radioactive tracer sample once a day. Find a model for its mass
| Time t (days) | Mass m (g) |
|---|---|
| 0 | 800 |
| 1 | 720 |
| 2 | 648 |
| 3 | 583.2 |
| 4 | 524.88 |
The days are evenly spaced. The ratios are 720/800 = 0.9, 648/720 = 0.9, 583.2/648 = 0.9, and 524.88/583.2 = 0.9. The sample retains 90% of its mass each day, so the exponential decay model is m(t) = 800(0.9)^t, with t in days and m(t) in grams
Predicting beyond the table
What mass remains at day 15? Substitute the requested time into the model: m(15) = 800(0.9)^15 ≈ 165 g. The units belong in the answer
The observed data covers days 0 through 4. Day 15 lies outside that range, so this prediction is extrapolation. The lesson justifies it here because the radioactive decay mechanism continues to follow an exponential pattern. A model's good fit alone is not enough to justify extending it
For a threshold question, test time values in the model until the output crosses the specified level. Bracketing the crossing between an output above the level and an output below it helps locate the answer
When not to trust a model
Consider a collectible card's price over 24 months. The example points are (0, 62), (4, 54), (9, 45), (12, 48), (15, 55), (20, 53), and (24, 60), with time in months and price in dollars. Prices dip and then recover, and a quadratic curve can fit that observed shape well
Extending that curve to month 36 may predict a steep rise, but the observed price pattern supplies no reason that a quadratic law must continue. Even a great fit over months 0–24 does not establish a reliable price forecast a year beyond the data
Practice 5
Using m(t) = 800(0.9)^t, about which day does the mass first drop below 40 g? Here t is in days and m(t) is in grams
| Day | Approximate mass (g) |
|---|---|
| 20 | 97.3 |
| 25 | 57.4 |
| 30 | 33.9 |
Answer: about day 29. At day 25 the mass is still above 40 g, and at day 30 it is below 40 g. The crossing lies between those days, nearer day 30; testing values in the model locates it at about day 29
Summary
1. Check spacing first. The simple difference and ratio tests require equal steps in the variable used to organize the test
2. Read the fingerprints. With evenly spaced x-values, constant first differences of y identify linear patterns, constant second differences of y identify quadratic patterns, and constant consecutive ratios identify exponential patterns. For the flipped square root test, evenly spaced y-values pair with constant second differences of x
3. Fit approximate patterns with regression. ExpReg fits y = a · b^x when ratios suggest an exponential candidate. A reported r² near 1 indicates a strong fit, but the fitted curve need not pass through every measured point
4. For uneven spacing, plot the data, identify plausible families, run candidate regressions, and compare the reported fit values together with the shape
5. Predict by substituting into the model and report units. Use model values to bracket threshold crossings. Predictions inside the observed range are safer; extrapolation needs a continuing mechanism, not merely a high fit value
Quiz
Quiz 1: Identify the family
| x | y |
|---|---|
| 1 | 3 |
| 2 | 8 |
| 3 | 17 |
| 4 | 30 |
| 5 | 47 |
Quiz 2: Use a model
A dose of medicine in the bloodstream follows m(t) = 500(0.8)^t, where t is in hours and m(t) is in milligrams. The evidence table gives 500 mg at t = 0, 400 mg at t = 1, and 320 mg at t = 2. Use the helper value 0.8^5 ≈ 0.328
Quiz 3: Judge a prediction
A quadratic model fits a collectible card's price for months 0 through 24, with r² = 0.99. Compare the proposed prediction times with that observed range