Algebra 1 · Unit 8
Use technology to fit a quadratic, interpret a, b, and c, and describe strengths and weaknesses of the model.
Jump to section:
Quadratic regression
A calculator can fit y = ax² + bx + c to a list of points. You type the data, choose quadratic regression, and read a, b, and c.
When it is reasonable
Second differences nearly constant, or a scatterplot that looks like a parabola, not a line or an exponential curve.
Strengths
The model can interpolate between data points, name a vertex (max or min), and summarize a curved trend with one equation.
Weaknesses
It can miss points, fail outside the data (extrapolation), and force a parabola onto a pattern that is not quadratic.
Read a, b, c from a reported fit, or spot a quadratic table.
Near y = x² − 4x + 5
When x = 0, y ≈ 5.01, so the y-intercept is about 5.
Answer: ≈ x² − 4x + 5; intercept ≈ 5
Second differences 2, 2. Yes, constant second differences.
Answer: yes
a = −2 < 0, opens down, maximum.
Answer: down; maximum
First differences 2, 2, 2. Linear. A quadratic fit is unnecessary.
Answer: linear
y(0) = 1
y(2) = 0.5(4) + 1 = 3
Answer: 1 and 3
Check: x = 0 gives 1. x = 1 gives 2 + 3 + 1 = 6. x = 2 gives 8 + 6 + 1 = 15.
Three points that already lie on that parabola.
Answer: the points lie on it
Interpret a, the vertex, or a residual in context.
−16 is the stretch from gravity in this units system (opens down).
5 is the starting height when t = 0.
t = −402(−16) = 54
The model’s maximum is at 54 seconds.
Answer: start 5 ft; max at 5/4 s
Check: 1 + 2 = 3, 4 + 2 = 6, 9 + 2 = 11, 16 + 2 = 18.
A regression on exact quadratic data should return a = 1, b = 0, c = 2.
Answer: y = x² + 2
Predicted: 1.1(4) − 0.2(2) + 4.8 = 4.4 − 0.4 + 4.8 = 8.8
Residual 8 − 8.8 = −0.8
Answer: −0.8
x = −242(−1) = 12
A(12) = 144
The model is continuous. If only whole-number widths are possible, check x = 11, 12, 13 in the data, not only the vertex.
Answer: 12 ft; discrete widths
Constant ratio 2. Exponential, not quadratic. Second differences would grow, not stay constant.
Answer: exponential, not quadratic
Extrapolation. The real process may not stay quadratic that far out.
Answer: extrapolation
Compare models, or describe strengths and weaknesses in a story.
First differences 3, 5, 7 (not constant).
Second differences 2, 2 (quadratic).
Strength: the quadratic hits every point here, so interpolation between 0 and 3 is exact on this set.
Answer: quadratic hits the points
The formula continues below ground.
In the story, height stops at 0 when the object lands.
The model is not valid after the positive zero. That is a weakness of using the quadratic outside the flight.
Answer: not valid after landing
A peak then a fall matches a parabola that opens down.
Still check residuals: no leftover curve, and no need for a piecewise story (rise then a different fall).
Answer: quadratic; check residuals
Symmetric around x = 3, same y at 0 and 6, 2 and 4.
Vertex near (3, something above 18).
Check: a down-opening parabola through those points has axis x = 3.
Answer: vertex near x = 3
On a short window a small a looks flat, so a line might be simpler and just as useful.
Weakness: the extra parameter may be fitting noise. Strength: if theory says a gentle curve, a = 0.02 can still be the right family.
Answer: maybe overfit on a short window
Three coefficients cannot hit four general points.
Regression finds a closest parabola. Residuals need not be zero.
If the four happen to lie on a parabola, it can hit all four.
Answer: usually misses at least one
R² can be high on a tiny data set even if the family is wrong.
The fit can fail outside the window, or a simpler line could be close enough.
A leftover pattern in residuals (a curve still in the errors) means the model is missing structure.
Answer: window, residuals, simpler model
(0, 1), (1, 2), (2, 5) lie on y = x² + 1.
Add (3, 9) instead of 10. Residual at x = 3 is 9 − 10 = −1 if you keep y = x² + 1, and a new regression would move a, b, c a little.
Answer: e.g. (0, 1), (1, 2), (2, 5), (3, 9)
n = −402(−2) = 10
P(10) = 150
The model allows n = 10.5, which is not a number of items. Check n = 9, 10, 11 in the original data.
Answer: max near 10 items; n is discrete
Need help with quadratic regression?
Book a Session with Amy