What We Review
Introduction
Modeling with functions is an essential part of mathematics, helping us understand and predict real-world phenomena. However, just selecting a function is not enough; we must validate our models to ensure accurate representation of data. This validation process checks if the model truly fits the data, guiding us in making informed decisions. We will review this process below as it pertains to section 2.6 Competing Function Model Validation of the AP® Precalculus exam.
Understanding Function Models
What is a Function Model?
Function models describe the relationship between different variables using mathematical functions. These models could be linear, quadratic, or exponential:

- Linear Functions: Represented by a line, showing a constant rate of change.
- Quadratic Functions: Represented by a parabola, involving squared variables for more complex relationships.
- Exponential Functions: Showcase rapid growth or decay, changing at a constant percentage rate.
Choosing the right function model is crucial because it affects how well we can predict future outcomes based on current data.
Example: Constructing a Linear Model
Let’s say you have data on hours studied and corresponding test scores. Here’s how to build a linear model:
- Step 1: Gather your dataset, e.g., hours studied: (1, 2, 3, 4), test scores: (50, 55, 60, 70).
- Step 2: Use the method of least squares to fit a linear function. This finds the line of best fit by minimizing the sum of the squares of the residuals (differences between observed and predicted values).
- Step 3: Interpret the linear equation, such as y = mx + b, where ‘m’ is the slope showing the rate of score increase per hour studied.
Characteristics of Data Change
Identifying Changing Rates of Change
Data can display different rates of change, affecting model selection:
- Linear Change: Constant rate, ideal for linear models.
- Quadratic Change: Rate changes; more fitting for quadratic models.
- Exponential Change: Rapid or slow growth/decay, needing an exponential model.
Contextual clues like the nature of growth or decay help determine the most suitable model.
Quadratic vs. Exponential Models
Consider a population of bacteria in a controlled lab setting.
- Step 1: Identifying Growth Pattern
Scientists observe that the population size is increasing over time. Checking the data, they find that the differences between consecutive population sizes are not constant. Instead, the rate of increase itself is growing. - Step 2: Choosing the Model
- If the population grows by a fixed amount each time period, a quadratic model may fit better. For example, if the population grows by adding an increasing number of bacteria each hour (e.g., +2, +4, +6, +8), a quadratic pattern emerges.
- If the population doubles or increases by a fixed percentage each hour, an exponential model is a better fit. For example, if the population grows from 100 to 200 to 400 to 800, the pattern follows exponential growth.
- Step 3: Contextual Consideration
- Quadratic Growth: Could occur in scenarios where resources are limited, and population growth slows over time due to constraints like competition or migration effects.
- Exponential Growth: More common in unrestricted environments, such as bacteria in ideal lab conditions with unlimited nutrients.
Comparing Competing Function Models
How to Compare Models
Model comparison involves assessing:
- Goodness of Fit: How well the model fits the data.
- Simplicity: Favoring models that are less complex.
- Explanatory Power: The ability to explain the data trends.
Example: Comparing Two Models
Consider a dataset that tracks the height of children as they age. The goal is to determine whether a linear model or a quadratic model better represents the relationship between age and height.
Step 1: Fit a Linear and Quadratic Model
- Linear Model: Assumes a constant rate of height increase over time. This would be represented h=a+bt where h is height, t is age, aaa is the initial height, and b is the constant growth rate.
- Quadratic Model: Allows for acceleration or deceleration in growth, accommodating phases of rapid growth (e.g., puberty) followed by slower growth. The model takes the form: h=a+bt+ct^2 where c accounts for changes in growth rate over time.
Step 2: Use Residual Plots for Comparison
Residual plots help assess how well each model fits the data by plotting the residuals (differences between actual and predicted values) against the fitted values (predicted heights).
- Linear Model Residual Plot: If the data follows a quadratic pattern, the residual plot for the linear model will show a clear curve, indicating systematic underprediction or overprediction at different ages.
- Quadratic Model Residual Plot: If a quadratic model better fits the data, its residual plot will appear randomly scattered around zero, showing no clear pattern.
Step 3: Determine the Best-Fitting Model
- If the linear model’s residuals show a noticeable pattern (such as a U-shape or arch), this suggests that a linear fit is inadequate.
- If the quadratic model’s residuals are randomly scattered, it means fewer systematic prediction errors, indicating a better fit.
Conclusion:
In real-world scenarios, height vs. age relationships are typically better represented by a quadratic model due to growth spurts during childhood and adolescence, followed by a slowdown as growth tapers off.
By evaluating residuals, we can mathematically confirm which model provides more accurate predictions, ensuring better insights into growth trends.
Validating Models with Residual Analysis
What is a Residual?
A residual is the difference between the observed and predicted values by a model. It tells us how far off the prediction is from actual data.

ShristiV, CC BY-SA 4.0, via Wikimedia Commons
Understanding Residual Plots
Residual plots graph these differences, providing insights into model validity. A uniform residual plot indicates a good fit, while patterns suggest model issues.
Example: Creating and Analyzing a Residual Plot
- Step 1: Calculate residuals for your chosen model.
- Step 2: Construct a residual plot to visualize these differences.
- Step 3: Check for randomness: No clear pattern signifies a well-fitting model.
Quick Reference Chart: Important Vocabulary and Definitions
Term | Definition |
Function Model | A mathematical description representing the relationship between variables. |
Residual | The difference between observed value and predicted value by a model. |
Residual Plot | A graphical representation of residuals to assess model accuracy. |
Linear Model | A function where the relationship between variables is a straight line. |
Quadratic Model | A function characterized by a parabolic curve representing a squared term. |
Exponential Model | A model describing data that grows or decays at a constant rate. |
Conclusion and Practice
In conclusion, validating function models ensures they accurately capture data relationships. Practice is key: try fitting models on personal datasets and analyze residuals to enhance understanding.
Sharpen Your Skills for AP® Precalculus
Are you preparing for the AP® Precalculus exam? We’ve got you covered! Try our review articles designed to help you confidently tackle real-world math problems. You’ll find everything you need to succeed, from quick tips to detailed strategies. Start exploring now!
Need help preparing for your AP® Precalculus exam?
Albert has hundreds of AP® Precalculus practice questions, free response, and an AP® Precalculus practice test to try out.