Dove's LibraryDove's Library

1.14 - Function Model Construction and Application

Overview

Once you've chosen a function type (Topic 1.13), the next step is to build the model and use it. A model can come from restrictions in the problem, from transformations of a parent function, from a regression on a calculator, or from pieces combined into a piecewise function. Rational functions model quantities that are inversely proportional. Every model exists to answer questions, so every answer needs units and a sentence in context.

Building a model from restrictions

A restriction is a fact the model has to satisfy, like a zero, a maximum, a starting value, or a given point. Choose a form of the function that uses those facts directly, then use one more fact to find the last constant.
  • Know the zeros? Use factored form, f(x)=a(x−r1)(x−r2)⋯f(x) = a(x - r_1)(x - r_2)\cdots.
  • Know the vertex of a parabola? Use vertex form, f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k, where the vertex is (h,k)(h, k).
  • Know a starting value bb and a constant rate of change mm? Use f(x)=b+mxf(x) = b + mx.
Heads-up on the letter hh: in vertex form, hh is the xx-coordinate of the vertex, so a(x−3)2+ka(x - 3)^2 + k is shifted 3 units right. Topic 1.12 wrote horizontal shifts as f(x+h)f(x + h), where hh has the opposite sign. Both agree that (x−3)2(x - 3)^2 means 3 units right, so just don't carry the letter from one form to the other.

Example 1: A parabolic arch (AP-style)

A parabolic arch is 40 meters wide at its base and 12 meters tall at its center. Model the height hh of the arch, in meters, as a function of the horizontal distance xx, in meters, from the left base.
Step 1: The arch meets the ground at x=0x = 0 and x=40x = 40, so those are zeros. Use factored form:
h(x)=a x (x−40)h(x) = a\,x\,(x - 40)
Step 2: The top is at the center, x=20x = 20, with height 12. Solve for aa:
12=a(20)(20−40)=−400a⇒a=−0.0312 = a(20)(20 - 40) = -400a \quad \Rightarrow \quad a = -0.03h(x)=−0.03x(x−40),0≤x≤40h(x) = -0.03x(x - 40), \qquad 0 \leq x \leq 40
(a) How tall is the arch 5 meters from the left base?
h(5)=−0.03(5)(5−40)=5.25h(5) = -0.03(5)(5 - 40) = 5.25
The arch is 5.25 meters tall at that spot.
(b) A truck 4 meters wide and 10 meters tall drives through the middle of the arch. Does it fit?
The truck covers 18≤x≤2218 \leq x \leq 22. Over the truck, the arch is lowest at the truck's edges, so check x=18x = 18:
h(18)=−0.03(18)(18−40)=11.88h(18) = -0.03(18)(18 - 40) = 11.88
By symmetry, h(22)=11.88h(22) = 11.88 too. Since 11.88>1011.88 > 10, the truck fits, with 1.88 meters to spare at its top corners.
1.14 - Function Model Construction and Application

Building a model with transformations

Many models are a parent function that has been translated and dilated. Pick the parent function with the right shape, then use the context to find each transformation.

Example 2: A water fountain

Water leaves a fountain nozzle at ground level. The stream reaches its maximum height of 9 feet at a horizontal distance of 3 feet from the nozzle. Model the height hh of the stream, in feet, as a function of the horizontal distance xx, in feet.
Step 1: The stream rises to one maximum and comes back down, so start with the parent function y=x2y = x^2. The parabola opens down, so it's reflected over the xx-axis, which means the leading coefficient aa is negative.
Step 2: The maximum is at (3,9)(3, 9), so translate the vertex 3 units right and 9 units up:
h(x)=a(x−3)2+9h(x) = a(x - 3)^2 + 9
Step 3: The water starts at the nozzle, the point (0,0)(0, 0):
0=a(0−3)2+9⇒9a=−9⇒a=−10 = a(0 - 3)^2 + 9 \quad \Rightarrow \quad 9a = -9 \quad \Rightarrow \quad a = -1h(x)=−(x−3)2+9h(x) = -(x - 3)^2 + 9
Step 4: The stream lands when h(x)=0h(x) = 0, so (x−3)2=9(x - 3)^2 = 9 and x=6x = 6 (the other solution, x=0x = 0, is the nozzle). In context, the domain is 0≤x≤60 \leq x \leq 6 and the range is 0≤h≤90 \leq h \leq 9.
In words, the model is the graph of y=x2y = x^2 reflected over the xx-axis, translated 3 units right, and translated 9 units up. Since ∣a∣=1|a| = 1, there's no stretch or compression.

Building a model with regression

When you have real data, a graphing calculator can find the function of a chosen type that fits it best. This is called a regression. AP Precalculus uses linear, quadratic, cubic, and quartic regressions. You pick the type first, using the reasoning from Topic 1.13, and the calculator finds the coefficients.
On a TI-84:
  1. Press STAT, choose 1:Edit, and enter the inputs in L1 and the outputs in L2.
  1. Press STAT, arrow over to CALC, and choose the regression: 4:LinReg(ax+b), 5:QuadReg, 6:CubicReg, or 7:QuartReg.
  1. Set Xlist to L1 and Ylist to L2. To graph the model too, set Store RegEQ to Y1 (press VARS, then Y-VARS, Function, Y1). Then choose Calculate.
You need at least as many data points as the model has coefficients: 3 for quadratic, 4 for cubic, and 5 for quartic. On the AP exam, give decimal answers correct to three places after the decimal point unless the question says otherwise.

Example 3: A regression model for the park data

The park data from Topic 1.13 is below. Find a quadratic regression model and use it to predict the number of visitors at 1 PM.
tt (hours after 8 AM)
0
2
4
6
8
10
PP (visitors)
15
64
96
104
94
66
Step 1: Enter tt in L1 and PP in L2, then run QuadReg. The calculator gives a≈−2.469a \approx -2.469, b≈29.730b \approx 29.730, and c≈15.036c \approx 15.036:
P(t)=−2.469t2+29.730t+15.036P(t) = -2.469t^2 + 29.730t + 15.036
1.14 - Function Model Construction and Application
Step 2: 1 PM is 5 hours after 8 AM, so t=5t = 5:
P(5)=−2.469(25)+29.730(5)+15.036≈101.961P(5) = -2.469(25) + 29.730(5) + 15.036 \approx 101.961
(With the unrounded coefficients stored in the calculator, you'd get about 101.969101.969.)
Answer: The model predicts about 102 visitors at 1 PM. Visitors are counted in whole numbers, so round.

Piecewise-defined models

A piecewise-defined model combines modeling techniques on different intervals. Build each piece on its own, using restrictions, transformations, or a regression, then check that the pieces fit together where the intervals meet if the real situation has no jumps.

Example 4: A data plan

A phone plan costs $30 per month for up to 5 GB of data. Each GB beyond 5 costs $8. Write a model for the monthly cost CC, in dollars, when gg GB of data are used, then find the cost of using 8.5 GB.
Step 1: For 0≤g≤50 \leq g \leq 5, the cost doesn't change: C(g)=30C(g) = 30.
Step 2: For g>5g > 5, the cost starts at $30 and goes up $8 for each GB past 5. That's a line with slope 8, translated 5 units right and 30 units up:
C(g)={30,0≤g≤530+8(g−5),g>5C(g) = \begin{cases} 30, & 0 \leq g \leq 5 \\ 30 + 8(g - 5), & g > 5 \end{cases}
Step 3: Check that the pieces meet. At g=5g = 5, the second piece gives 30+8(0)=3030 + 8(0) = 30, the same as the first piece, so there's no jump.
Step 4: For 8.5 GB, use the second piece:
C(8.5)=30+8(8.5−5)=30+28=58C(8.5) = 30 + 8(8.5 - 5) = 30 + 28 = 58
Answer: Using 8.5 GB costs $58 for the month.
1.14 - Function Model Construction and Application

Rational function models

Two quantities are inversely proportional when their product stays constant, so y=kxy = \dfrac{k}{x} for some constant kk. When one doubles, the other is cut in half. Data and situations like this are often modeled by rational functions.
A common version is the inverse square relationship, y=kx2y = \dfrac{k}{x^2}. The gravitational force between two objects and the electric force between two charges are both inversely proportional to the square of the distance between them:
F=kd2F = \frac{k}{d^2}
If the distance doubles, the force becomes 122=14\frac{1}{2^2} = \frac{1}{4} as strong. If the distance triples, it becomes 132=19\frac{1}{3^2} = \frac{1}{9} as strong.

Example 5: Light intensity

The intensity of light from a bulb is inversely proportional to the square of the distance from the bulb. At 2 meters, the intensity is 90 lux. Build a model, then answer the questions.
Step 1: Write the model and use the given point to find kk:
I(d)=kd2,90=k22⇒k=360I(d) = \frac{k}{d^2}, \qquad 90 = \frac{k}{2^2} \quad \Rightarrow \quad k = 360I(d)=360d2,d>0I(d) = \frac{360}{d^2}, \qquad d > 0
(a) What is the intensity at 3 meters? I(3)=3609=40I(3) = \dfrac{360}{9} = 40 lux.
(b) How far from the bulb is the intensity 10 lux? Solve 360d2=10\dfrac{360}{d^2} = 10 to get d2=36d^2 = 36, so d=6d = 6 meters. (Distance can't be negative, so d=−6d = -6 is thrown out.)
(c) Compare the average rates of change of II from d=2d = 2 to d=3d = 3 and from d=3d = 3 to d=6d = 6.
I(3)−I(2)3−2=40−901=−50I(6)−I(3)6−3=10−403=−10\frac{I(3) - I(2)}{3 - 2} = \frac{40 - 90}{1} = -50 \qquad \frac{I(6) - I(3)}{6 - 3} = \frac{10 - 40}{3} = -10
Close to the bulb, the intensity drops by an average of 50 lux per meter. Farther away, it drops by only 10 lux per meter on average. The intensity is decreasing, but more and more slowly, so its rate of change is increasing.
1.14 - Function Model Construction and Application

Example 6: Average cost

A small business spends $500 to set up a production run, plus $4 for each item. The average cost per item when xx items are made is
A(x)=500+4xx=4+500x,x>0A(x) = \frac{500 + 4x}{x} = 4 + \frac{500}{x}, \qquad x > 0
The $500 setup cost is shared among all xx items, so that part of the average cost is inversely proportional to xx. For 50 items, A(50)=14A(50) = 14 dollars per item. For 500 items, A(500)=5A(500) = 5 dollars per item. The horizontal asymptote is y=4y = 4: the more items the business makes, the closer the average cost gets to $4 per item, but it never quite reaches it.

Applying a model

A model is useful because it answers questions about the data or the situation. Expect to be asked for:
Question
What to do
Units
Predict a value
Evaluate the model at that input
Output units
Average rate of change on [a,b][a, b]
Compute f(b)−f(a)b−a\dfrac{f(b) - f(a)}{b - a}
Output units per input unit
Is the rate of change increasing or decreasing?
Compare average rates of change on back-to-back intervals, or use concavity
None needed
When is a value, maximum, or minimum reached?
Solve an equation, or use a graph or the vertex
Input units
Pull the units from the context. If PP counts visitors and tt is in hours, an average rate of change is in visitors per hour.

Example 7: Rates of change from a model (AP-style)

Use the park model P(t)=−2.469t2+29.730t+15.036P(t) = -2.469t^2 + 29.730t + 15.036 from Example 3, where tt is hours after 8 AM.
(a) Find the average rate of change of PP from t=2t = 2 to t=4t = 4, and interpret it.
P(4)−P(2)4−2=94.452−64.6202=14.916\frac{P(4) - P(2)}{4 - 2} = \frac{94.452 - 64.620}{2} = 14.916
From 10 AM to noon, the model says the number of visitors increased by an average of 14.916 visitors per hour.
(b) Find the average rate of change of PP from t=6t = 6 to t=8t = 8.
P(8)−P(6)8−6=94.860−104.5322=−4.836\frac{P(8) - P(6)}{8 - 6} = \frac{94.860 - 104.532}{2} = -4.836
From 2 PM to 4 PM, the number of visitors decreased by an average of 4.836 visitors per hour.
(c) Is the rate of change of PP increasing or decreasing? Explain.
Decreasing. The average rate of change dropped from 14.91614.916 to −4.836-4.836 visitors per hour on later intervals. That matches the model: its leading coefficient is negative, so the graph is concave down and the rate of change keeps decreasing.
(d) When does the model predict the most visitors?
t=−b2a=−29.7302(−2.469)≈6.021t = -\frac{b}{2a} = -\frac{29.730}{2(-2.469)} \approx 6.021
About 6.021 hours after 8 AM, which is just after 2 PM. Then P(6.021)≈104.533P(6.021) \approx 104.533, so the model predicts a peak of about 105 visitors.

Common mistakes

  • Leaving out units or context. “14.916” isn't a complete answer. “The number of visitors increased by an average of 14.916 visitors per hour from 10 AM to noon” is.
  • Ignoring the domain. The arch model only makes sense for 0≤x≤400 \leq x \leq 40, and the light model only for d>0d > 0.
  • Rounding in the middle of a problem. Keep the calculator's full values (or at least the model's given coefficients) through every step, and round only the final answer.
  • Picking a regression without a reason. Decide the type from the shape of the data or its differences first, then run the regression.
  • Pieces that don't connect. If the real situation has no jump, check that the pieces of a piecewise model give the same value where they meet.
  • Forgetting to square in an inverse square model. Doubling the distance cuts the force to one fourth, not one half.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.