PrepGo

Competing Function Model Validation - AP PreCalculus Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 17 minutes to read.

The Core Idea: Competing Function Model Validation

In mathematics, we often use functions to model real-world phenomena. However, for a given set of data, several different types of functions—such as linear, quadratic, or exponential—might appear to be a reasonable fit. The core task of competing function model validation is to determine which function type provides the best model for the data. This process is not about finding a function that is merely "good," but about systematically analyzing the data and using quantitative measures to identify and justify the single best choice among competing options.

This validation process follows two main approaches. The first involves analyzing the structure of the data itself. By examining the rates of change between data points, we can identify characteristic patterns. A constant additive rate of change points to a linear model, while a constant multiplicative rate of change suggests an exponential model. If the rate of change of the rate of change (the second differences) is constant, a quadratic model is the most appropriate. The second approach is used when no model is a perfect fit. In this more common scenario, we use statistical measures like the sum of the squares of the residuals () and the coefficient of determination () to quantify how well each model's predictions match the actual data. The model that minimizes the error (a smaller ) and explains the most variance in the data (an closer to 1) is validated as the best fit.

Key Rules for Model Identification

This topic relies on a set of rules for identifying the ideal function model from a data set, as well as quantitative measures for comparing imperfect models.

Rules Based on Rates of Change

For a data set with consistently spaced input values:

  1. Linear Model Test (Constant Additive Rate of Change): A data set is best modeled by a linear function if the differences between consecutive output values (the "first differences") are constant.

    • If for a set of points with equally spaced values, the value of is constant for all \frac{y_{i+1}}{y_i}is constant for all `i`, the data is perfectly exponential. 3. **Quadratic Model Test (Constant Second Differences):** A data set is best modeled by a quadratic function if the differences of the first differences (the "second differences") are constant. * First, calculate the first differences: $d_i = y_{i+1} - y_i.

    • Then, calculate the second differences: . If this value is constant, the data is perfectly quadratic.

Measures of Fit for Comparing Models

When data is not perfectly linear, exponential, or quadratic, we use quantitative measures to determine the "best" fit.

  1. Sum of the Squares of the Residuals (S): This value measures the total squared error between the data's actual output values and the output values predicted by the function model. A residual is the vertical distance between a data point and the model's curve, calculated as .

    • Formula:

    • Interpretation: The model with the smallest value of is considered the best fit because it has the least overall error.

  2. Coefficient of Determination (): This value, ranging from 0 to 1, represents the proportion of the variance in the output variable that is predictable from the input variable.

    • Range:

    • Interpretation: The model with the value closest to 1 is considered the best fit. An of 1 indicates that the model perfectly explains all the variability of the response data around its mean. An of 0 indicates that the model explains none of the variability.

Understanding Model Justification

The primary goal of this topic is not just to identify the best model, but to justify that choice using clear evidence from the provided data. The Essential Knowledge statements provide the two pillars of this justification.

The first pillar is pattern recognition within the data. This method is definitive when a perfect pattern exists. If you calculate the first differences of a data set and find they are all exactly 2.5, you can state with certainty that the data is best modeled by a linear function. Your justification is the clear statement: "The data is best modeled by a linear function because the first differences are constant." This type of analysis is powerful but is often only applicable to idealized, textbook-style data sets.

The second, more broadly applicable pillar is quantitative comparison of imperfect models. In most real-world scenarios, data contains "noise" and does not perfectly fit any simple function type. You might be given a data set and three different regression models (e.g., linear, quadratic, exponential) that have been generated by a calculator. Here, you cannot rely on calculating differences or ratios, as they will not be perfectly constant. Instead, your justification must be based on the provided measures of fit. The best model is the one whose function outputs are, on average, closest to the actual data outputs. and are the tools to measure this "closeness."

  • A justification using would sound like: "The quadratic model is the best fit because its sum of squared residuals () is smaller than the values for the linear () and exponential () models."

  • A justification using would sound like: "The exponential model is the best fit because its coefficient of determination () is closer to 1 than the values for the linear () and quadratic () models."

It is critical to understand that both and measure the same underlying concept—the goodness of fit—but from different perspectives. is an absolute measure of total error (in squared units of the output variable), while is a relative measure of explanatory power (a unitless proportion).

Core Concepts & Rules

  • Linear Model: A linear model is indicated if the rate of change is a constant addition for each uniform step in the input. This is verified by calculating the first differences () and finding them to be constant.

  • Exponential Model: An exponential model is indicated if the rate of change is a constant multiplier for each uniform step in the input. This is verified by calculating the ratios of consecutive outputs () and finding them to be constant.

  • Quadratic Model: A quadratic model is indicated if the first differences are not constant but change by a constant amount. This is verified by calculating the second differences (the differences of the differences) and finding them to be constant.

  • Principle of Best Fit: When comparing multiple function models for a single data set, the "best" model is the one whose predicted outputs are closest to the actual outputs of the data.

  • Validating with : The sum of the squares of the residuals, , quantifies the total error of a model. A smaller value signifies less error and therefore a better fit.

  • Validating with : The coefficient of determination, , quantifies the proportion of the output's variation that the model can explain. An value closer to 1 signifies a better fit.

Step-by-Step Example 1: Validating a Model Using Differences

Problem: A ball is rolled up a ramp. Its distance from the ground, , in centimeters, is measured at different times, , in seconds. The data is recorded in the table below. Determine and justify which function type (linear, quadratic, or exponential) best models this data.

(seconds)01234
(cm)015242724

Step 1: Test for a Linear Model (Calculate First Differences)

We calculate the difference in for each 1-second interval.

  • From to :

  • From to t=2`: `24 - 15 = 9` * From $t=2 to :

  • From to t=4`: `24 - 27 = -3` The first differences are $15, 9, 3, -3. Since these values are not constant, the data is not best modeled by a linear function.

Step 2: Test for an Exponential Model (Calculate Ratios)

We calculate the ratio of consecutive values. Note that we cannot start with the first point because division by zero is undefined. We will start from the second point.

  • From to :

  • From to \frac{27}{24} = 1.125$

  • From to :

The ratios are 1.6, 1.125, 0.889`. Since these values are not constant, the data is not best modeled by an exponential function. **Step 3: Test for a Quadratic Model (Calculate Second Differences)** Using the first differences we found in Step 1 ($15, 9, 3, -3), we now calculate the differences between these values.

The second differences are all .

Step 4: Justify the Conclusion

Since the second differences are constant (), the data is best modeled by a quadratic function.

Justification: The function type that best models this data is quadratic. This is because the second differences of the output values are constant for uniformly spaced input values.

Step-by-Step Example 2: Comparing Imperfect Models Using R^2

Problem: A biologist is studying the population of a certain bacteria in a petri dish. The population is recorded every hour for 5 hours. A statistics software package is used to generate three regression models for the data. The models and their corresponding coefficients of determination (R^2) are shown below. Identify and justify which function type is the best model for the data.

  • Linear Model:, with

  • Quadratic Model:, with

  • Exponential Model:, with

Step 1: Understand the Goal

The goal is to find the best model among the three options. Since the models are imperfect (as shown by the fact that three different models were generated), we cannot rely on calculating differences or ratios. We must use the provided measure of fit, which is the coefficient of determination, R^2.

Step 2: Analyze the Values

The value measures the proportion of the variation in the output (population) that is explained by the input (time). A value closer to 1 indicates a better fit.

  • Linear R^2`: $0.923

  • Quadratic :

  • Exponential R^2`: $0.998

Step 3: Compare the Values

We compare the three values to see which is closest to 1.

  • is closer to 1 than .

  • is closer to 1 than .

The highest value is , which corresponds to the exponential model.

Step 4: Formulate the Justification

The justification must state the chosen model and the reason for the choice, referencing the specific values.

Justification: The exponential model is the best fit for the data. The coefficient of determination, , measures how well a model explains the variation in the data, with a value closer to 1 indicating a better fit. The exponential model's value of is closer to 1 than the values for both the quadratic model () and the linear model ().

Using Your Calculator

A graphing calculator (like a TI-84) is an essential tool for model validation, especially when comparing imperfect models. It can take a set of data and quickly generate regression models and their corresponding and values.

Problem: Given a data set, use a calculator to find the linear, quadratic, and exponential regression models and determine which is the best fit based on .

Data:

12345
35112036

Step 1: Turn on Diagnostic Tools

Before you begin, you must ensure your calculator will display .

  1. Press [2nd][0]to access the `CATALOG`. 2. Scroll down to $DiagnosticOn and press [ENTER]`.

  2. Press [ENTER] again. The calculator will display "Done."

Step 2: Enter the Data

  1. Press [STAT] and select 1:Edit....

  2. Enter the values into list L1.

  3. Enter the values into list L2.

Step 3: Perform the Regressions and Compare Values

  • Linear Regression:

    1. Press [STAT], arrow over to CALC.

    2. Select 4:LinReg(ax+b).

    3. Ensure Xlist:L1 and Ylist:L2$. Scroll down to and press [ENTER]`.

    4. Write down the value. (For this data, ).

  • Quadratic Regression:

    1. Press [STAT], arrow over to .

    2. Select 5:QuadReg.

    3. Ensure and . Scroll down to and press [ENTER].

    4. Write down the value. (For this data, ).

  • Exponential Regression:

    1. Press [STAT], arrow over to CALC.

    2. Select 0:ExpReg.

    3. Ensure Xlist:L1 and Ylist:L2$. Scroll down to and press [ENTER]`.

    4. Write down the value. (For this data, ).

Step 4: Conclude and Justify

Compare the R^2 values: (Linear), (Quadratic), (Exponential). The value for the quadratic regression is closest to 1. Therefore, the quadratic model is the best fit for this data set.

AP Exam Quick Hit

Common Question Types

  • Table Analysis: You will be given a data table with equally spaced inputs and asked to determine if a linear, quadratic, or exponential model is most appropriate by calculating first differences, second differences, or ratios. You must show your calculations and provide a written justification.

    • Example: "For the data provided in the table, justify whether a linear or quadratic function would be a better model."
  • Model Comparison: You will be presented with a scenario and a data set, along with two or three pre-calculated regression models (e.g., , ). You will also be given a measure of fit for each model, typically or . You must select the best model and justify your choice by correctly interpreting the given measure of fit.

    • Example: "A linear model for the data has an of 0.89 and an exponential model has an of 0.98. Which model is a better fit for the data? Justify your answer."

Common Mistakes

  • Mixing up Difference Rules: Confusing the rule for linear models (constant first differences) with the rule for quadratic models (constant second differences).

  • Incorrect Ratio Calculation: When testing for an exponential model, calculating the ratio incorrectly (e.g., instead of ) or not being consistent with the order of division.

  • Misinterpreting : Believing that a lower value indicates a better fit, or simply stating that one is "higher" without explaining that "closer to 1 is better."

  • Misinterpreting : Believing that a larger sum of squared residuals () indicates a better fit, when the opposite is true (a smaller means less error and a better fit).

  • Incomplete Justification: Stating that a quadratic model is best but failing to provide the evidence (e.g., "because the second differences are constant and equal to 4"). A complete justification must link the claim to the evidence.