Building and Using Function Models
A model turns a situation into a function you can calculate with. This guide builds models four ways (from known features, from a parent function, from a regression, and in pieces), then uses them to answer questions with units.
A model can come from restrictions the situation gives (zeros, a starting value, a maximum), from transformations of a parent function such as \(y = x^2\), from a regression on data (linear, quadratic, cubic or quartic, done with technology), or from a piecewise combination when the behavior changes partway. Once built, a model answers questions: predicted values, average rates of change, and whether the rate is speeding up or slowing down, always with units taken from the context.
1Building from known features
Zeros give factors, a vertex gives a translation, and one more known point pins down the leading coefficient. Write the general shape first, then solve for whatever is still unknown.
A cubic model has zeros at \(x = -1\), 2 and 5, and passes through \((0, 20)\). Write it.
- 1The zeros give the factors: \(y = a(x + 1)(x - 2)(x - 5)\). The number \(a\) is still unknown.
- 2Use \((0, 20)\): \(a(1)(-2)(-5) = 10a = 20\), so \(a = 2\).
- 3Check with another input: \(y(4) = 2(5)(2)(-1) = -20\), negative between the zeros 2 and 5, as a cubic with a positive leading coefficient should be there.
2Building from a parent function
Pick the parent function whose shape matches, then move it into place with the transformations: \(y = a f(b(x - h)) + k\).
A ball is kicked from the ground. It reaches its greatest height, 45 m, after 3 s and lands at 6 s. Model its height.
- 1A single highest point and symmetry suggest a quadratic. Start from \(y = x^2\), reflect it (opens down), and move the vertex to \((3, 45)\): \(h(t) = a(t - 3)^2 + 45\).
- 2Landing: \(h(6) = 9a + 45 = 0\), so \(a = -5\).
- 3Check the start: \(h(0) = -45 + 45 = 0\), on the ground, as described.
3Building with a regression
When data do not all fall on one curve, a calculator’s regression finds the function of the chosen type that comes closest. Choose the type first (from differences, turns and context), then let technology find the numbers.
Stopping distances for a car are measured at several speeds. Fit a quadratic model and predict the distance at 45 mph and 70 mph.
| speed (mph) | 20 | 30 | 40 | 50 | 60 |
|---|---|---|---|---|---|
| distance (ft) | 42 | 75 | 116 | 165 | 225 |
- 1Second differences are 8, 8, 11: roughly constant, so try a quadratic. Enter the data and run quadratic regression.
- 2The calculator gives \(d(s) \approx 0.0443s^2 + 1.017s + 4.2\), and the curve passes very close to every point (Figure 1).
- 3\(d(45) \approx 0.0443(2025) + 1.017(45) + 4.2 \approx 139.7\) ft. \(d(70) \approx 292.5\) ft.
- 445 mph is inside the data; 70 mph is outside it, so that prediction assumes the pattern keeps going.
The regression was built from 20 to 60 mph. At 70 mph the model may still be close, but at 120 mph nothing in the data supports it. Say when a prediction is an extrapolation.
Copying \(0.04428571\ldots\) adds no meaning. Round sensibly (three significant figures is usually plenty) and use the rounded model consistently.
4Building in pieces
When a situation follows one rule for a while and a different rule after, build each piece separately and state the interval where each applies. Make sure the pieces meet where they should.
A phone at 20% charge gains 30 percentage points per hour until it is full, then stays at 100%. Write a model.
- 1While charging: \(B(t) = 20 + 30t\). It reaches 100 when \(30t = 80\), so \(t = \frac83\) hours (2 h 40 min).
- 2After that the charge is constant.
5Using a model
Answer in the language of the context: what the number is, its units, and what it says about the situation. A model can give a value, an average rate of change over an interval, an estimate of the rate at a moment, or whether the rate is increasing or decreasing.
A shop’s daily customers \(m\) days after opening are modeled by \(C(m) = -0.5m^2 + 12m + 40\). Find \(C(7)\), the average rate of change on \([4, 7]\), and describe how the rate is changing.
- 1\(C(7) = -24.5 + 84 + 40 = 99.5\). The output counts people, so about 100 customers on day 7.
- 2\(C(4) = -8 + 48 + 40 = 80\). Average rate: \(\dfrac{99.5 - 80}{7 - 4} = 6.5\) customers per day.
- 3The leading coefficient is negative, so the graph is concave down: the daily gain in customers is shrinking. It stops growing at the vertex, \(m = 12\), where \(C(12) = 112\).
“From day 4 to day 7, the number of customers increased by an average of 6.5 customers per day.” Number, units, interval, meaning.
An average rate of change carries output units per input unit: customers per day, feet per mph, percentage points per hour. A bare 6.5 does not answer the question.
Quick reference
| Method | Use when | Example |
|---|---|---|
| Known features | Zeros, vertex or a point are given | \(a(x + 1)(x - 2)(x - 5)\) |
| Parent function | Shape matches a basic graph | \(a(t - 3)^2 + 45\) |
| Regression | Data with a clear type but scatter | Quadratic fit of stopping distance |
| Piecewise | The rule changes on an interval | Charging, then full |
| Applying | Values, average rates, changing rates | With units and context |