AP Course

AP Precalculus

Study nine focused AP Precalculus units through topic lessons, original graph examples, quizzes, and practice sets.

Follow the College Board topic sequence across polynomial, rational, exponential, logarithmic, trigonometric, polar, parametric, vector, and matrix functions.

Lessons
Change in TandemRates of ChangeRates of Change in Linear and Quadratic FunctionsPolynomial Functions and Rates of ChangePolynomial Functions and Complex ZerosPolynomial Functions and End BehaviorRational Functions and End BehaviorRational Functions and ZerosRational Functions and Vertical AsymptotesRational Functions and HolesEquivalent Representations of Polynomial and Rational ExpressionsTransformations of FunctionsFunction Model Selection and Assumption ArticulationFunction Model Construction and ApplicationChange in Arithmetic and Geometric SequencesChange in Linear and Exponential FunctionsExponential FunctionsExponential Function ManipulationExponential Function Context and Data ModelingCompeting Function Model ValidationComposition of FunctionsInverse FunctionsLogarithmic ExpressionsInverses of Exponential FunctionsLogarithmic FunctionsLogarithmic Function ManipulationExponential and Logarithmic Equations and InequalitiesLogarithmic Function Context and Data ModelingSemi-log PlotsPeriodic PhenomenaSine, Cosine, and TangentSine and Cosine Function ValuesSine and Cosine Function GraphsSinusoidal FunctionsSinusoidal Function TransformationsSinusoidal Function Context and Data ModelingThe Tangent FunctionInverse Trigonometric FunctionsTrigonometric Equations and InequalitiesThe Secant, Cosecant, and Cotangent FunctionsEquivalent Representations of Trigonometric FunctionsTrigonometry and Polar CoordinatesPolar Function GraphsRates of Change in Polar FunctionsParametric FunctionsParametric Functions Modeling Planar MotionParametric Functions and Rates of ChangeParametrically Defined Circles and LinesImplicitly Defined FunctionsConic SectionsParametrization of Implicitly Defined FunctionsVectorsVector-Valued FunctionsMatricesThe Inverse and Determinant of a MatrixLinear Transformations and MatricesMatrices as FunctionsMatrices Modeling Contexts
Quizzes
Practice Problems Open a unit to choose from 58 topic-aligned practice sets.

Unit 3 · Topic 2.6

Competing Function Model Validation

Compare models using residual patterns, prediction error, context, and the reasonableness of extrapolation. Develop the idea through symbolic, numerical, graphical, and contextual representations.

Learning Goals

  • Construct linear, quadratic, and exponential regressions.
  • Interpret residuals as observed minus predicted.
  • Use residual patterns and context to validate model choice.

1. Essential Structure

Compare models using residual patterns, prediction error, context, and the reasonableness of extrapolation.

\[\operatorname{SSE}=\sum( y_i-\hat y_i)^2\]

Read the formula together with its domain, units, starting input, and the interval length over which change is measured.

2. Core Ideas

  • A positive residual means the model underpredicts; a negative residual means it overpredicts.
  • A useful residual plot is an unstructured band around zero.
  • A high \(R^2\) alone does not prove the model family is appropriate.
  • Interpolation generally requires fewer assumptions than extrapolation.

3. Graph and Representation

Competing Function Model Validation example graphA residual plot should look like an unstructured band around zero.
A residual plot should look like an unstructured band around zero.

Use graphical evidence together with an algebraic or numerical reason. A graphing window alone does not establish domain, end behavior, or model validity.

4. Original Worked Example

Two models fit the same data; Model A has smaller random residuals while Model B shows a curved residual pattern. Choose the stronger model.

Answer: Model A is better supported because its errors are smaller and show less structure.

Check the result in the original representation and explain its meaning, including units when the quantities are contextual.

5. AP Reasoning Workflow

  1. Plot the original data.
  2. Fit plausible model families.
  3. Plot residuals against the same inputs.
  4. Compare error size and pattern.
  5. Choose a model and state limitations.

A strong AP response shows the mathematical evidence first and then states a precise conclusion.

6. Extended Example and Application

If exponential residuals are small early but increasingly positive later, the model systematically underpredicts late outputs. A changed process or different family should be considered.

7. Technology and Validation

Record regression equations and residual evidence; a calculator screenshot is not a complete rationale.

When technology is used, record the model or result, preserve sufficient precision, and explain why the output answers the question.

8. Build Plausible Competing Models

A data set may look nearly linear over a short interval even when its underlying pattern is quadratic or exponential. Begin with the scatterplot and contextual mechanism, then fit reasonable candidates with technology.

CandidateCharacteristic changeContextual clue
Linear \(a+bx\)Approximately constant differencesA fixed amount is added per input unit
Quadratic \(ax^2+bx+c\)Approximately constant second differencesA rate itself changes by a nearly fixed amount
Exponential \(ab^x\)Approximately constant ratiosA fixed percentage or factor acts per input unit

Regression supplies coefficients for each candidate; it does not make the final decision. Record the equations with enough digits to reproduce predictions, and keep the input and output units attached to every interpretation.

9. Calculate and Interpret Residuals

For an observed value \(y_i\) and model prediction \(\hat y_i\), the AP residual convention is

\[e_i=y_i-\hat y_i.\]
Input \(x\)Observed \(y\)Predicted \(\hat y=11.8(1.59)^x\)Residual \(y-\hat y\)
01211.800.20
11818.76-0.76
22929.83-0.83
34747.43-0.43
47675.420.58

A positive residual means the observed value is above the prediction, so the model underestimates. A negative residual means the prediction is too high, so the model overestimates. The residual has the same units as the output variable.

Language check: “error” is sometimes defined with the opposite subtraction or as an absolute value. On AP questions, use the stated convention; the sign of a residual is unambiguous because it is actual minus predicted.

10. Read the Residual Plot

A residual plot places input values on the horizontal axis and residuals on the vertical axis. The horizontal line \(e=0\) represents perfect predictions.

Comparison of random and curved residual patternsThe left residual plot has points scattered above and below zero without a pattern. The right plot has a U-shaped pattern, indicating that the model misses curvature.No visible patternU-shaped patternxxee
Left: small, structureless residuals support the model. Right: a U-shape shows that predictions are too low at the ends and too high in the middle; curvature remains unexplained.

“No pattern” does not mean every residual equals zero. It means the signs and sizes do not follow a systematic trend that the model should have captured.

11. Diagnose Common Residual Patterns

Residual patternWhat it suggestsNext step
Curved arc or U-shapeThe function family misses curvatureCompare quadratic or exponential candidates
Residuals steadily riseThe model increasingly underestimatesRecheck trend, variables, and domain
Residuals steadily fallThe model increasingly overestimatesTest a different rate of change
Widening funnelError size grows with inputReport changing uncertainty; reconsider scale or model
Separated clustersAn omitted category may matterInvestigate groups or contextual changes
Random band around zeroNo obvious structure remainsKeep the model as a viable candidate

A residual pattern identifies a weakness; it does not by itself prove one particular replacement model. Return to the original scatterplot and context before refitting.

12. Compare More Than One Fit Statistic

Numerical summaries help compare error size, but they compress information that a residual plot displays. Two common summaries are

\[\operatorname{SSE}=\sum e_i^2,\qquad \operatorname{MAE}=\frac1n\sum |e_i|.\]

Smaller values mean smaller in-sample errors when the models use the same data and output units. The coefficient of determination, \(R^2\), measures the fraction of observed variation accounted for by a fitted model, but a high \(R^2\) does not guarantee that the residuals are patternless or that the model makes sense in context.

EvidenceUseful questionLimitation
ScatterplotDoes the curve follow the overall data shape?Small systematic errors can be hard to see
Residual plotIs unexplained structure left behind?Judgment can be difficult with very few points
SSE or MAEHow large are the fitted errors?Does not show where errors occur
\(R^2\)How much variation is accounted for?Does not validate function family or context

The strongest AP justification combines residual behavior, relative error size, and a contextual reason.

13. Let Context Influence the Choice

Mathematically similar fits can have different practical consequences. The preferred model depends partly on how its errors will be used.

  • Inventory: underestimating demand may cause shortages, so examine intervals with negative prediction consequences carefully.
  • Structural safety: underestimating a load may be less acceptable than a modest overestimate.
  • Medication: either direction may be consequential, so both magnitude and sign require attention.
  • Long-term population: an exponential fit may match early data but become implausible when resources are limited.

Also compare domains and end behavior. A quadratic model can eventually turn, a positive-slope linear model grows by equal amounts, and an exponential growth model accelerates without bound. Similar interpolation does not imply similar extrapolation.

AP-ready sentence frame: “Model ___ is more appropriate because its residuals are smaller and show no systematic pattern, and its ___ behavior is consistent with the context over the stated domain.”

14. Complete Model-Selection Example

The outputs \(12,18,29,47,76\) are observed at inputs \(0,1,2,3,4\). Technology produces a linear model \(L(x)=5+15.7x\) and an exponential model \(E(x)=11.8(1.59)^x\).

  1. Compare raw change: differences \(6,11,18,29\) increase, while successive ratios are approximately \(1.50,1.61,1.62,1.62\).
  2. Inspect the linear residuals: \(7.0,-2.7,-7.4,-5.1,8.2\) form a U-shaped pattern.
  3. Inspect the exponential residuals: \(0.20,-0.76,-0.83,-0.43,0.58\) are much smaller and do not show the same strong curvature.
  4. Use context: if the output describes repeated proportional growth, the exponential mechanism is also reasonable.
  5. Conclude: choose \(E\) for interpolation across the observed input interval, while treating distant extrapolation cautiously.

Complete justification: The exponential model is better supported because its residuals remain close to zero without the pronounced U-shape of the linear residuals, and its nearly constant multiplicative change matches the stated process.

If the context instead imposed a strict capacity or a future policy change, neither candidate's long-term extrapolation would automatically be valid.

15. Common Errors

  • Do not select a model solely because its graph visually passes near most points.
  • Automatically selecting the model with the most parameters.
  • Ignoring a curved residual pattern because individual errors seem small.
  • Giving a numerical result without a domain check, units, or interpretation.

Key Takeaways

  • Compare models using residual patterns, prediction error, context, and the reasonableness of extrapolation.
  • Core relationship: \(\operatorname{SSE}=\sum( y_i-\hat y_i)^2\)
  • Error check: Do not select a model solely because its graph visually passes near most points.
Checkpoint · Topic 2.6
  1. Interpret residual \(-4.7\) when output is measured in grams.
  2. Compare a random residual band with a U-shaped pattern.
  3. Give one reason a strong in-sample fit may fail in long-term extrapolation.