Function Model Selection and Construction - Complete Interactive Lesson
Part 1: Choosing a Function Model
🧭 Function Model Selection and Construction
Part 1 of 7 — Choosing a Function Model
Topic Overview
| Part | Topic |
|---|---|
| 1 | Choosing a function model |
| 2 | Linear and quadratic models from data |
| 3 | Polynomial models in context |
| 4 | Piecewise-defined functions: notation and evaluation |
| 5 | Building piecewise models |
| 6 | Assumptions, limitations and domain restrictions |
| 7 | FRQ workshop and mastery check |
What a Model Is
A function model is a function chosen to describe how one quantity in a real situation depends on another. The model is never the situation itself: it captures the pattern in the data or the geometry, and we use it to predict, to interpret and to compare.
The first decision is always the type of function. Each type matches a different pattern in how the output changes:
| Pattern you observe | Model type |
|---|---|
| The rate of change is roughly constant (equal first differences) | Linear |
| The rate of change itself changes at a constant rate (equal second differences); one maximum or minimum with symmetry | Quadratic |
| Several zeros or several maxima/minima; a formula built by multiplying lengths (volume, area) | Polynomial of degree |
| Different rules on different intervals (pricing tiers, filling then draining) | Piecewise-defined |
| Two quantities inversely proportional, or a quantity that is a ratio | Rational |
Key Fact: On the AP exam you are asked to justify the type you choose. The justification names the pattern: "the first differences are roughly constant, so a linear model is appropriate."
Successive Differences on a Table
When the inputs in a table are equally spaced, subtract consecutive outputs.
A linear pattern
First differences: . The output rises by the same amount for every unit of input, so the rate of change is constant and a linear model fits.
A quadratic pattern
First differences: . These are not constant, so the model is not linear. But the first differences themselves grow by each time:
Second differences: .
Constant second differences mean the rate of change changes at a constant rate: the graph is concave up and a quadratic model fits.
In general
| Differences that are constant | Degree of the polynomial model |
|---|---|
| First differences | (linear) |
| Second differences | (quadratic) |
| Third differences | (cubic) |
| th differences |
With real data the differences are only roughly constant. That is fine: say "roughly constant" in your justification.
Key Fact: When two candidate models are drawn over the same data, the better one is the one whose pattern of change matches the data, not the one with the simpler formula. A line has one constant rate of change and cannot bend; if its errors follow a pattern (below the data at both ends, above in the middle), the data are curved.
Reading a context instead of a table
- A car on cruise control: distance grows by the same amount each minute → linear.
- The height of a thrown ball: rises, reaches one maximum, falls symmetrically → quadratic.
- The volume of a box whose dimensions each depend on : a product of three lengths → cubic polynomial.
- An electricity bill that charges one rate for the first kWh and a higher rate after that → piecewise.
- The time a trip takes at speed over a fixed distance : , inversely proportional → rational.
Two candidate models. 🎯
The eight data points above have first differences . Model A is a line; Model B is a parabola.
Choose the model type. 🎯
Work the differences. 🔽
A linear table. ✍️
1) The common first difference (the change in for each step of in ):
2) The rate of change of per unit of :
3) The value of the linear model predicts at :
Key Takeaways — Part 1
- A model is chosen for its pattern of change, and the justification names that pattern
- Constant first differences → linear; constant second differences → quadratic; constant th differences → degree
- Several zeros or extrema, or a product of lengths → polynomial; different rules on different intervals → piecewise; inverse proportion → rational
- Real data give roughly constant differences: say so
Up Next: Part 2 — building linear and quadratic models from points, and letting the calculator find a regression.
Part 2: Linear and Quadratic Models from Data
🧭 Function Model Selection and Construction
Part 2 of 7 — Linear and Quadratic Models from Data
A Linear Model from Two Points
A linear model has two parameters, and each has a meaning in context:
| Parameter | Meaning in context |
|---|---|
| The rate of change: output units per input unit | |
| The starting value: the output when the input is |
Example. A plant is cm tall when it is planted ( days) and cm tall on day .
In words: the plant grows centimeters per day, starting from centimeters.
Example without a starting value. A taxi ride of miles costs units and a ride of miles costs units. The slope is units per mile. Using the point :
The intercept is the cost before any miles are driven: the base fare.
Key Fact: Always attach units to a rate: " units per mile," not just "."
A Quadratic Model from Its Features
From the vertex
If you know the maximum or minimum point , start from vertex form and use one more point to find .
Example. A ball is launched from the ground () and reaches its maximum height of feet at seconds.
The negative confirms the graph opens downward: the ball rises and then falls.
From three points
Three points determine a quadratic . With , and :
- :
- : , so
- : , so
Subtracting the second equation from the third: , then .
Check: at , . ✓
Interpreting the parameters
In the constant is still the output at input . The sign of tells you concave up (, a minimum) or concave down (, a maximum). The vertex is at .
The Calculator Framing: Regression
Real data never sit exactly on a line or a parabola. On the exam, Part B of the multiple-choice section and Part A of the free-response section allow a graphing calculator, and the expected tool is regression: the calculator finds the linear, quadratic or cubic function that best fits the data.
What you must write
- State the model type and why (the pattern from Part 1).
- State the regression equation, with coefficients rounded to three decimal places.
- Keep full precision inside the calculator for every later computation. Round only the final answer.
Worked Example
The height, in centimeters, of a seedling weeks after planting:
| (weeks) | ||||||
|---|---|---|---|---|---|---|
| (cm) |
First differences: , roughly constant at about . A linear model is appropriate.
The calculator's linear regression gives
Interpretation. The seedling grows at a rate of approximately centimeters per week, and the model gives an initial height of approximately cm.
Prediction. At weeks, the stored full-precision model gives cm. Using the rounded coefficients instead gives : the third decimal is already different. Use the stored model.
Key Fact: Write "approximately" whenever a value comes from a model or a rounded regression: "the model predicts the seedling will be approximately cm tall after weeks."
Build and interpret. 🎯
Use a regression model. ✍️
A calculator gives the quadratic regression for the height of a ball in meters seconds after it is thrown. Use three decimal places.
1) The height, in meters, at the moment the ball is thrown:
2) The height, in meters, the model predicts at :
3) The average rate of change of height over the interval , in meters per second:
Exam habits for regression models. 🔽
Key Takeaways — Part 2
- Linear: slope is the rate of change with units, intercept is the starting value
- Quadratic: use vertex form when the maximum or minimum is known, or three points to solve for , ,
- On calculator sections, the model comes from regression: name the type, state the equation to three decimal places, keep full precision for later steps
- Say "approximately" for any value a model produces
Up Next: Part 3 — cubic and quartic models from geometry, with domains that come from the context.
Part 3: Polynomial Models in Context
🧭 Function Model Selection and Construction
Part 3 of 7 — Polynomial Models in Context
Building a Polynomial from Geometry
An open-top box is made from a cm by cm sheet of cardboard by cutting a square of side cm from each corner and folding up the sides.
| Dimension | Expression (cm) |
|---|---|
| Height | |
| Length | |
| Width |
Expanding: , so
a cubic polynomial with leading coefficient . A product of three lengths that each depend on is always degree .
Domain in Context
Algebraically is defined for every real number. In context, every dimension must be positive:
The tightest restriction wins: the domain in context is .
What the Zeros Mean
when , or .
- : no square is cut, so there is no height and no box.
- : the two cm cuts use up the whole cm width, so the width is .
- : outside the domain in context; it has no meaning for this box.
Key Fact: The zeros of a model are the inputs where the output quantity is zero. Always check whether a zero lies inside the domain in context before interpreting it.
Reading the Model on Its Domain
The graph shows only for , with open circles at both ends because neither endpoint produces a box.
The maximum, from the calculator
Using the calculator's maximum feature on the graph, the local maximum is at approximately , where . In context: cutting squares of side approximately cm gives the largest possible volume, approximately cubic centimeters.
Average rate of change, with units
In words: as the cut grows from cm to cm, the volume increases at an average rate of cubic centimeters per centimeter of cut.
The negative sign says the volume is decreasing on that interval: past the maximum, bigger cuts make a smaller box.
Key Fact: A rate of change is a number with units and an interval: "cubic centimeters per centimeter, on ."
Use the graph and the model . 🎯
A closed box. ✍️
A box has a square base of side cm and height cm, so its volume is cubic centimeters.
1) , in cubic centimeters:
2) The domain in context is . The value of :
3) The average rate of change of on , in cubic centimeters per centimeter:
Say it the AP way. 🔽 For the open-top box, the calculator gives a maximum of at .
Key Takeaways — Part 3
- A product of lengths that each depend on gives a polynomial whose degree is the number of factors
- The domain in context comes from requiring every quantity to make sense (positive lengths)
- Zeros are inputs where the output is zero; interpret only those inside the domain in context
- Find a maximum with the calculator; report it as "approximately … when is approximately …"
- An average rate of change is with units and an interval
Up Next: Part 4 — piecewise-defined functions: reading the brace and choosing the right rule.
Part 4: Piecewise-Defined Functions: Notation and Evaluation
🧭 Function Model Selection and Construction
Part 4 of 7 — Piecewise-Defined Functions: Notation and Evaluation
One Function, Several Rules
Most functions use one rule for every input, like . A piecewise-defined function switches rules depending on where the input lands.
A parking garage is a classic example:
| Input ( = hours parked) | Rule (cost in dollars) |
|---|---|
| First hours | flat |
| After hours | plus per extra hour |
The cost is still a function of hours (every input has exactly one output), but the formula you use depends on the input.
We collect the rules under a single brace:
Key Fact: The brace does not make two functions. It is shorthand for one function with several rules, each paired with the part of the domain where it applies.
Reading the Brace
Every row has two parts: a rule on the left and a condition on the right.
To evaluate, ask one question: which condition does my input satisfy? Then use that row's rule and no other.
For :
- satisfies , so use the top rule: .
- satisfies , so use the bottom rule: .
- : is ? No. Is ? Yes. Bottom rule: .
The boundary
The symbols and exclude the endpoint; and include it. At a boundary value, exactly one condition is true: the one with the "or equal to" line.
Conditions must not overlap
If two conditions claimed the same , that input would have two outputs, and would not be a function. The conditions and never overlap. (A piecewise function does not have to cover every real number: its domain is simply the union of its conditions.)
Absolute value is piecewise
The absolute value function is the most familiar piecewise-defined function:
For example, equals when and when : the expression inside is made non-negative by flipping its sign on the interval where it is negative.
Evaluating, Step by Step
Use this function throughout:
Find
Pick the piece. Is ? Yes: top rule. Substitute. .
Find
Pick the piece. Is ? Yes: middle rule. Substitute. .
Find
Pick the piece. Is ? Yes: bottom rule, the constant . So . The input does not appear in a constant rule, so the output is for every .
Find : a boundary
- Top condition : is ? No (strict).
- Middle condition : is ? Yes.
So .
| Input | Condition satisfied | Rule | Output |
|---|---|---|---|
Key Fact: Do not grab the rule whose number "looks close." Read the inequality sign at the boundary.
Which piece applies? 🎯
Evaluate it. ✍️
Use
1) :
2) :
3) :
Match each input to its piece. 🔽
For and :
Key Takeaways — Part 4
- A piecewise-defined function is one function with a rule for each part of its domain
- To evaluate: find the one condition the input satisfies, then use only that rule
- and exclude the boundary; and include it
- Conditions must not overlap; they need not cover every real number
- is piecewise: for and for
Up Next: Part 5 — graphing with open and closed dots, and building piecewise models from words and data.
Part 5: Building Piecewise Models
🧭 Function Model Selection and Construction
Part 5 of 7 — Building Piecewise Models
Graphing a Piecewise-Defined Function
For each piece:
- Graph the rule as usual (line, parabola, constant).
- Keep only the part over that piece's interval.
- Mark the endpoints: or (included) → a closed dot ●; or (excluded) → an open dot ○.
Worked Example: the pieces meet
At the boundary , plug into both rules: the left rule gives (open dot, since excludes ) and the right rule gives (closed dot). Both land at , so the closed dot fills the open one and the graph has no gap. The value is .
Worked Example: the graph jumps
At : the left rule gives , drawn as an open dot at ; the right rule gives , drawn as a closed dot at . The two heights differ, so the graph jumps down by at . It is still a function: , the closed dot.
Domain and range
For :
- Domain: the union of the conditions, .
- Range: the first piece runs from up to, but not including, , giving ; the second piece contributes the single value . Range: .
Key Fact: A vertical line at any crosses the graph exactly once: that is the picture of "one output per input."
Read the graph above. 🎯
Building a Piecewise Model from Words
Tiered pricing
A garage charges a flat dollars for up to hours and dollars for each additional hour (charged continuously). Let be the cost in dollars after hours.
- For : the cost is the constant .
- For : start from and add per hour beyond : .
The pieces agree at (both give ), so the cost never jumps.
From data with a change point
A tank's volume , in liters, is recorded every minutes:
| (min) | |||||
|---|---|---|---|---|---|
The behavior changes at : the volume rises liters every minutes, then falls liters every minutes. Model each interval separately.
- Filling, : rate L/min, starting at : .
- Draining, : rate L/min, starting from at : .
Both rules give at , as a tank's volume cannot change instantly. The domain in context is , the interval the data cover.
A tax bracket
A simplified tax on an income of dollars charges on the first dollars and on every dollar above that:
The constant is the tax already owed on the first bracket, so the brackets agree at . For an income of dollars: dollars.
Key Fact: In a model where the quantity cannot jump (volume, cost, tax), the rules must agree at the change point. Build the second rule from the value where the first one ends.
Build the model. 🎯
Use the tank model. ✍️
(liters, minutes)
1) , in liters:
2) , in liters:
3) The time , in minutes, at which the tank holds the most water:
Tiered pricing. 🔽 A garage charges a flat dollars for up to hours and dollars per additional hour, charged continuously. is the cost in dollars after hours.
Key Takeaways — Part 5
- Graph each piece over its own interval; closed dot for an included endpoint, open dot for an excluded one
- Plug the boundary into both rules: equal heights mean the pieces meet, different heights mean a jump
- Domain is the union of the conditions; find the range piece by piece
- From words: a flat fee is a constant piece; "per additional unit beyond " means
- From data: find the change point where the pattern switches, model each interval, and make the rules agree there when the quantity cannot jump
Up Next: Part 6 — the assumptions behind a model, and where it stops being valid.
Part 6: Assumptions, Limitations and Domain Restrictions
🧭 Function Model Selection and Construction
Part 6 of 7 — Assumptions, Limitations and Domain Restrictions
Every Model Assumes Something
Choosing a function type is a claim about the situation. Naming that claim is what the exam calls an assumption:
| Model type | What it assumes about the situation |
|---|---|
| Linear | The quantity changes by the same amount per unit of input (constant rate of change) |
| Quadratic | The rate of change itself changes at a constant rate; there is one turning point |
| Polynomial | The pattern of zeros and turning points continues as the formula says |
| Piecewise | The pattern switches at a known change point, and each interval follows its own rule |
Where a Model Stops Being Valid
- The observed domain. A regression describes the data it was built from. Predicting inside that interval (interpolation) is usually reliable; predicting far outside it (extrapolation) assumes the pattern continues, which may not be true.
- Domain restrictions from context. Lengths, volumes, populations and costs cannot be negative; a model that produces a negative value there is no longer describing the situation.
- Discrete versus continuous inputs. The number of tickets sold is a whole number. A model may treat it as continuous for convenience, but has no meaning in context.
- Units and rounding. A rate from the model must be stated as output units per input unit, and values that come from a rounded regression are approximate.
Key Fact: A limitation names the assumption that could fail: "the model assumes the population keeps growing at a constant people per year, which may not hold years past the data."
Worked Examples
A population model
A town's population, in thousands, years after :
| (thousands) |
First differences: thousand per years, so the rate of change is constant at thousand people per year and a linear model is appropriate:
Prediction. For , : . The model predicts a population of approximately in .
Limitation. The data end at . The prediction assumes the town keeps growing by exactly people per year for more years, which housing, jobs or policy could change.
A candle: the context ends the domain
A candle cm long burns at a steady cm per hour: .
The formula gives , but a length cannot be negative. The candle is gone when , at hours. The domain in context is , and the model says nothing after that.
Choosing between two models
A delivery van's distance from the depot, in miles: at hours.
- A student proposes a quadratic because "distance is growing." But the first differences are : constant.
- A linear model, , matches the pattern: the van travels at a steady miles per hour.
The quadratic is not wrong because it is more complicated; it is wrong because its signature (changing rate of change) is not in the data.
When a piecewise model is needed
If the next readings were at , one line could no longer describe the trip: the van stopped. The pattern changed at , so a piecewise model, for and for , is appropriate.
Write the justification. 🔽 Choose the sentence that correctly justifies or limits each model.
Assumptions and restrictions. 🎯
Domain from context. ✍️
A candle cm long burns steadily: (centimeters, hours). A town's population is (thousands, years after ).
1) , in centimeters:
2) The time, in hours, at which the candle is completely burned (the right endpoint of the domain in context):
3) The population, in thousands, the model predicts for :
Key Takeaways — Part 6
- Every model type assumes a pattern: constant rate (linear), constant second differences (quadratic), a switch at a change point (piecewise)
- A model is trusted on the observed domain; extrapolation assumes the pattern continues, and that is the limitation to state
- The domain in context ends where the output stops making sense (negative length, negative volume)
- Some inputs are discrete; the model's non-integer inputs may have no meaning
- Choose between two models by which signature the data show, not by which formula is fancier
- Values from a model are approximate, with units
Up Next: Part 7 — a full FRQ-style problem, then the mastery check.
Part 7: FRQ Workshop and Mastery Check
🧭 Function Model Selection and Construction
Part 7 of 7 — FRQ Workshop and Mastery Check
Anatomy of FRQ Question 2: Modeling a Non-Periodic Context
This free-response question is calculator-active. It gives a table (or a description) of a real quantity and asks you to build and use a model. The parts almost always follow this script:
| Part | What is asked | What earns the point |
|---|---|---|
| (A) | Choose a model type and justify | Name the pattern: "first differences roughly constant" or "second differences roughly constant" |
| (A) | State the regression model | Equation with coefficients to three decimal places |
| (B) | Use the model to predict | A value with units and the word "approximately" |
| (B) | Interpret an average rate of change | Value, units of output per input, and the interval |
| (C) | State an assumption or limitation | Name the pattern assumed and where it might fail (extrapolation, context) |
Key Fact: Every sentence you write should be checkable: a number, its units, the interval it applies to, and the reason it is true.
Worked FRQ
The table gives the number of visitors, in thousands, to a new museum during month after it opened.
| (month) | ||||||
|---|---|---|---|---|---|---|
| (thousands) |
(A) Choose and justify a model type; state the model
First differences: . They are not constant, so the model is not linear.
Second differences: : roughly constant.
Justification: "The first differences increase by roughly the same amount each month (the second differences are roughly constant, about ), so the rate of change is changing at a roughly constant rate and a quadratic model is appropriate."
Quadratic regression on the calculator:
(B) Predict, with units and "approximately"
Using the stored full-precision model, .
Answer: "The model predicts that approximately thousand visitors, about people, will visit the museum in month ."
(Using the rounded coefficients gives : a different third decimal. Keep full precision.)
(B) Interpret an average rate of change
From the table, on :
Answer: "Between month and month , the number of monthly visitors increased at an average rate of thousand visitors per month."
(C) A limitation
. Answer: "The model assumes the pattern of increasing growth continues past month . A museum's monthly attendance cannot grow faster and faster indefinitely (building capacity, the novelty of a new museum fading), so predictions far beyond the data, such as month , are unreliable."
Key Fact: Notice what each answer contains: a number, its units, the interval or input it belongs to, and for the model type, the pattern that justifies it.
FRQ checks. 🎯 Use the museum data: thousand visitors in months through .
Write the answer sentence. 🔽 The museum model gives and (thousand visitors).
Rates from the table. ✍️
| (month) | ||||||
|---|---|---|---|---|---|---|
| (thousands) |
1) The average rate of change of over , in thousand visitors per month:
2) The average rate of change of over , in thousand visitors per month:
3) The second difference between the first two first differences ( and ):
Function Model Selection and Construction — Summary 🎓
| Part | Topic | Status |
|---|---|---|
| 1 | Choosing a function model | ✅ |
| 2 | Linear and quadratic models from data | ✅ |
| 3 | Polynomial models in context | ✅ |
| 4 | Piecewise-defined functions: notation and evaluation | ✅ |
| 5 | Building piecewise models | ✅ |
| 6 | Assumptions, limitations and domain restrictions | ✅ |
| 7 | FRQ workshop and mastery check | ✅ |
The FRQ Checklist
- Type + pattern: "roughly constant first/second differences," "a product of lengths," "the rule changes at …"
- Model: regression equation to three decimal places; full precision afterward
- Prediction: "approximately," units, the input it belongs to
- Rate of change: value, output units per input unit, interval
- Assumption or limitation: the pattern assumed and where it may fail (extrapolation, negative quantities, discrete inputs)
Key Fact: A model is a claim about a pattern. Choose it by the pattern, use it with units, and say where it stops being true.
Exit Quiz ✅