Dove's LibraryDove's Library

1.13 - Function Model Selection and Assumption Articulation

Overview

Before you can build a model, you have to decide what kind of function fits. This topic is about reading a data set or a description and picking a function type (linear, quadratic, cubic, a higher-degree polynomial, or piecewise), then stating the assumptions and restrictions that come with that choice. On the AP exam, you need to justify your choice, not just name it.

Choosing a function type

The biggest clue is how the output changes as the input changes. The figure shows what data typically looks like for each type.
1.13 - Function Model Selection and Assumption Articulation

Linear functions

Linear functions model data or situations with a roughly constant rate of change. Each time the input goes up by the same amount, the output goes up (or down) by about the same amount. Examples: a car driving at a steady speed, or a phone plan that charges the same price for each gigabyte.

Quadratic functions

Quadratic functions model data or situations whose rates of change are roughly linear, meaning the rate of change itself goes up or down by about the same amount each step. They also fit data that's roughly symmetric with a single maximum or minimum, like the height of a thrown ball over time.

Geometric contexts

Area and volume problems tell you the function type:
  • Area (two dimensions) multiplies two lengths. If both lengths depend on xx, the area is usually quadratic.
  • Volume (three dimensions) multiplies three lengths. If all three depend on xx, the volume is usually cubic.
For example, a rectangular pen built against a wall, with 100 feet of fence for the other three sides and width xx (the two sides perpendicular to the wall), has area A(x)=x(100−2x)A(x) = x(100 - 2x), which is quadratic. An open box made by cutting squares of side xx from the corners of a 20 inch by 30 inch sheet and folding up the sides has volume
V(x)=x(30−2x)(20−2x)=4x3−100x2+600xV(x) = x(30 - 2x)(20 - 2x) = 4x^3 - 100x^2 + 600x
which is cubic.

Higher-degree polynomials

Polynomial functions model data or situations with several real zeros or several maximums and minimums. A polynomial of degree nn has at most nn real zeros and at most n−1n - 1 turning points, so counting turning points tells you the smallest degree that can work:
What the data shows
Smallest degree that fits
One turning point
2 (quadratic)
Two turning points
3 (cubic)
Three turning points
4 (quartic)

Piecewise-defined functions

A piecewise-defined function is a set of functions, each used on its own interval of the domain, with intervals that don't overlap. Use one when the data or situation behaves differently on different intervals. Examples: a data plan with a flat fee up to a limit and a price per gigabyte after that, tax brackets, or a car that speeds up, cruises, and then slows down.

Using differences to pick a degree

When the inputs are equally spaced, you can test the outputs by subtracting each value from the next one. These are the first differences. Subtracting consecutive first differences gives the second differences, and so on.
A polynomial function of degree nn models data with roughly constant, nonzero nnth differences:
Roughly constant
Function type
First differences
Linear (degree 1)
Second differences
Quadratic (degree 2)
Third differences
Cubic (degree 3)
Real data almost never has perfectly constant differences, so look for differences that are close to constant.

Example 1: Second differences

Which type of function best models this data?
xx
0
1
2
3
4
5
yy
3
7
15
27
43
63
Step 1: The inputs go up by 1 each time, so differences work here.
Step 2: First differences: 7−3=47 - 3 = 4, then 88, 1212, 1616, 2020. These aren't constant, so the data isn't linear.
Step 3: Second differences: 8−4=48 - 4 = 4, then 44, 44, 44. These are constant and nonzero.
Answer: A quadratic function. The second differences are constant, which means the rate of change (the first differences) goes up by the same amount each step, so the rates of change are linear.

Example 2: Third differences in a volume table

The table gives the volume V(x)V(x), in cubic inches, of the open box from earlier on this page when squares of side xx inches are cut from the corners. Which type of function best models these values?
xx
1
2
3
4
5
6
V(x)V(x)
504
832
1,008
1,056
1,000
864
First differences: 328,176,48,−56,−136328, 176, 48, -56, -136. Not constant.
Second differences: −152,−128,−104,−80-152, -128, -104, -80. Still not constant.
Third differences: 24,24,2424, 24, 24. Constant and nonzero.
Answer: A cubic function. That matches the geometry: volume multiplies three lengths that each depend on xx. (Topic 1.5 uses the same test to find the degree of a polynomial from a table.)

Fitting a set of points exactly

Two points with different xx-values always lie on exactly one line. Three such points always lie on a quadratic (or on a line, if they happen to line up). In general, a polynomial function of degree nn or less can model a graph of n+1n + 1 points with distinct input values.
  • 2 points: degree 1 or less
  • 3 points: degree 2 or less
  • 4 points: degree 3 or less
This is handy when a problem gives a few exact points, like the two bases and the top of an arch. It doesn't mean a high-degree polynomial is the best model for a big data set, though. A good model follows the overall pattern instead of hitting every single point.

Assumptions behind a model

Every model simplifies the real situation. When you choose or build one, you should be able to say what it assumes.
  • What stays consistent. A linear model of a phone battery assumes it drains at the same rate the whole time. A quadratic model of a thrown ball assumes gravity is the only force acting on it, with no air resistance.
  • How the quantities change together. A linear cost model assumes each extra item adds the same cost. An area model assumes the area grows with the square of a length. An inverse square model assumes that doubling the distance cuts the effect to one fourth.
On the AP exam, an assumption has to be specific to the context. “The model is accurate” doesn't count. “The rate at which the number of visitors changes decreases by about the same amount every two hours” does.

Restrictions on domain and range

A formula might work for every real number, but the context usually doesn't.
  • Domain restrictions come from mathematical clues (no dividing by zero), contextual clues (time can't be negative, a length has to be positive), or the extreme values in the data (don't trust a model far outside the inputs you collected). For the open box, 0<x<100 < x < 10, because cutting 10 inches from each end of the 20 inch side leaves nothing to fold up.
  • Range restrictions come from the same kinds of clues. Counts of people or cars must be whole numbers, so you round. Many quantities can't be negative. Some have a maximum, like the number of seats in a stadium.

Example 3: Choosing and justifying a model (AP-style)

A city park counts its visitors every two hours, starting when it opens at 8 AM. Let tt be the number of hours after 8 AM and PP be the number of visitors. The park closes at 6 PM.
tt (hours)
0
2
4
6
8
10
PP (visitors)
15
64
96
104
94
66
1.13 - Function Model Selection and Assumption Articulation
(a) Which type of function best models the data? Justify your answer.
The inputs are equally spaced (every 2 hours). The first differences are 49,32,8,−10,−2849, 32, 8, -10, -28, and the second differences are −17,−24,−18,−18-17, -24, -18, -18. The second differences are roughly constant (all close to −20-20), so the rates of change are roughly linear. The data also rises to a single maximum and then falls in a roughly symmetric way. A quadratic model is the best choice.
(b) State an assumption of the quadratic model.
The model assumes that the rate at which the number of visitors changes decreases by about the same amount every two hours. That means nothing unusual, like a concert or a storm, suddenly changes attendance during the day.
(c) What domain and range restrictions should the model have?
The park is open from 8 AM to 6 PM, so the domain is 0≤t≤100 \leq t \leq 10. The number of visitors has to be a whole number that isn't negative, so outputs should be rounded to whole numbers and can't go below 0.

Common mistakes

  • Using differences when the inputs aren't equally spaced. The difference test only works when the xx-values go up by the same amount each time.
  • Expecting perfectly constant differences. Real data is messy. Roughly constant is enough.
  • Confusing the rate of change with the output. Data whose rates of change are linear is modeled by a quadratic function, not a linear one.
  • Picking a degree that's too low. Data with three turning points needs a polynomial of degree 4 or higher.
  • Forgetting restrictions. A model that predicts negative visitors, or a box with a negative side length, is being used outside its domain.
  • Writing vague assumptions. Tie every assumption to the context and its quantities.

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.