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.

Course cover for Real-World Data Modeling

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

StepMachine A outputMachine B output
1100100
2200200
3300400
4400800

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

FamilySpacing conditionFingerprint
LinearEvenly spaced x-valuesConstant first differences of y
QuadraticEvenly spaced x-valuesConstant second differences of y
ExponentialEvenly spaced x-valuesConstant ratios of consecutive y-values
Square rootEvenly spaced y-valuesConstant second differences of x

Building a difference ladder

xy
12
25
310
417

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

The Difference and Ratio Tests: 1 2 3 4 5 10 20 30 40 0 Pounds Cost ($)

Coffee by the pound

A roaster posts prices for bags of coffee beans. Find the parent function that models the cost

PoundsCost ($)
18.25
216.50
324.75
433.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

xy
480
1066.5
1653
2239.5
2826
3412.5

Which parent function best models this table?

A

Linear

B

Quadratic

C

Exponential

D

Square root

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.44
52.45
59.26
67.87
78.28
90.49

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

WeekSubscribers
1256
2320
3400
4500
5625

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

Square Roots and Exponentials in Tables: 0 1 2 3 4 5 6 200 300 400 500 600 700 Week Subscribers

Practice 2

xy
53
256
559
9512
14515

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

Square Roots and Exponentials in Tables: 40 50 60 70 80 90 4 6 8 10 Temp (°F) Cups (dozens)

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

When Patterns Are Only Close: 194 0 2 4 6 8 10 100 300 x y

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)
1190
2181
3174
4170
5167
When Patterns Are Only Close: 1 2 3 4 5 6 160 170 180 190 Time (×5 min) Temp (°F) falling more slowly
When Patterns Are Only Close: 1 2 3 4 5 6 160 170 180 190 Time (×5 min) Temp (°F) near, not through

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

xy
0160
1200
2250
3312.5
4390.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

Uneven Data and Comparing Fits: 0 3 7 12 18 week

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

Yearx: years after 1990Households (thousands)
1992250
1995561
1997764
20001090
200515154

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

Uneven Data and Comparing Fits: 0 4 8 12 16 50 100 150 Years after 1990 Households (thousands)
RegressionReported form and coefficientsReported fit
QuadRegy = ax² + bx + c; a ≈ 0.5997, b ≈ −2.3205, c ≈ 53.5632r² ≈ 0.9963
CubicRegy = ax³ + bx² + cx + d; a ≈ 0.0210, b ≈ 0.0733, c ≈ 1.2902R² ≈ 0.9972
ExpRegy = a · b^x; a ≈ 38.929, b ≈ 1.0914r² ≈ 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

Uneven Data and Comparing Fits

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

What is the correct first move?

A

Compute first differences of the heights

B

Make a scatter plot, pick plausible families, and compare regression r^2 values

C

Assume exponential, since vines grow fast

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)
0800
1720
2648
3583.2
4524.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

Predicting with a Model: 0 10 20 30 40 days observed data prediction

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

Predicting with a Model: Months Price ($) 0 12 24 36 40 55 70 no reason to hold

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

DayApproximate mass (g)
2097.3
2557.4
3033.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

xy
13
28
317
430
547

Which parent function best models this table?

A

Linear

B

Quadratic

C

Exponential

D

Square root

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

About how many mg remain at t = 5 hours?

A

About 164 mg

B

0 mg

C

100 mg

D

320 mg

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

Which prediction deserves the most trust?

A

The price at month 10

B

The price at month 36, because r^2 is so high

C

The price at month 60, because more time shows the trend better

Continue with the interactive lesson