Fitting Curves Using Quadratic Models
Constant nonzero second differences identify quadratic data when inputs are evenly spaced. Three exact points lead to a system for the coefficients, while noisy measurements call for quadratic regression. The launcher example connects fitting a model with checking measurements and predicting heights at unmeasured times.

A Curve Hidden in a Table
At a basketball game's halftime, a launcher sends a T-shirt over the crowd. A student records its height from video frames, leaving five measurements. Can a table of numbers reveal the curve of that flight and predict heights that were never measured?
| Time (s) | Height (ft) |
|---|---|
| 0.5 | 24.8 |
| 1 | 38.2 |
| 1.5 | 43.1 |
| 2 | 39.8 |
| 2.5 | 29.2 |
The measured heights climb to a peak and then fall. The course introduces this rise and fall as the fingerprint of a parabola, the graph of y = ax^2 + bx + c. Each table row gives a point with time as its horizontal coordinate and height as its vertical coordinate. The measurements give five points, not the entire curve between them
Three questions guide the work: Is the data quadratic? Which quadratic fits it? Can that model predict heights at times that were never filmed? Answering them requires a test for quadratic patterns, a way to find coefficients, and a check of how well the model matches the measurements
The Second Difference Test
Warm-up: watch the jumps
A puzzle app awards points by level. Do the points grow by the same amount at each level, or do the jumps themselves keep growing?
| x (level) | y (points) |
|---|---|
| 0 | 5 |
| 1 | 6 |
| 2 | 11 |
| 3 | 20 |
| 4 | 33 |
Subtract neighboring y-values to find the first differences: 6 − 5 = 1, 11 − 6 = 5, 20 − 11 = 9, and 33 − 20 = 13. Constant first differences would indicate linear data, but 1, 5, 9, 13 are not constant
Subtract neighboring first differences to find the second differences: 5 − 1 = 4, 9 − 5 = 4, and 13 − 9 = 4. All three are 4. Since the x-values increase by 1 each time, the inputs are evenly spaced, and this table is quadratic
When the test says no
| x | y |
|---|---|
| 1 | 2 |
| 3 | 6 |
| 5 | 7 |
| 7 | 18 |
| 9 | 30 |
Here the x-step is consistently 2, so the difference test applies. The first differences are 6 − 2 = 4, 7 − 6 = 1, 18 − 7 = 11, and 30 − 18 = 12. They are not constant, so the data is not linear
The second differences are 1 − 4 = −3, 11 − 1 = 10, and 12 − 11 = 1. The values −3, 10, 1 are not constant. The course's verdict for this table is not quadratic: it follows some other kind of function
Practice 1
Use the difference test to classify this data
| x | y |
|---|---|
| 2 | 7 |
| 4 | 13 |
| 6 | 23 |
| 8 | 37 |
| 10 | 55 |
Exact Fit Through Three Points
Three points, one parabola
A skate park designer marks three exact points on a ramp's cross-section: (0, 5), (1, 3), and (2, 5), with distances and heights in feet. Find the quadratic y = ax^2 + bx + c through all three points
The ramp is 5 feet high at distance 0, dips to 3 feet at distance 1, and returns to 5 feet at distance 2. The course states that three points with different x-values determine exactly one quadratic. Substitute each point into y = ax^2 + bx + c to obtain three linear equations in the unknown coefficients a, b, and c
Start with (0, 5): a(0)^2 + b(0) + c = 5, so c = 5. A point with x = 0 gives c immediately because the terms containing a and b become zero
From (1, 3), a + b + c = 3. Substituting c = 5 gives a + b = −2. From (2, 5), 4a + 2b + c = 5. Substituting c = 5 gives 4a + 2b = 0, which simplifies to 2a + b = 0
Subtract the reduced equations: (2a + b) − (a + b) = 0 − (−2), so a = 2. Back-substitute into a + b = −2: 2 + b = −2, so b = −4. Together with c = 5, the model is y = 2x^2 − 4x + 5
Verify using the point (2, 5): 2(2)^2 − 4(2) + 5 = 8 − 8 + 5 = 5 feet, matching the given height
Practice 2
A drone light show designer needs the parabola through the exact waypoints (0, 4), (1, 6), and (2, 12), with heights in meters. Complete the quadratic model through the three waypoints. The template is y = {a}x^2 + {b}x + {c}; the available number choices are 2, 0, 4, 6, -2, and 1
The supplied answer assigns a = 2, b = 0, and c = 4. The answer feedback states the model as y = 2x^2 + 0x + 4. The source's method reminder is to begin with the waypoint where x = 0, then substitute the other two points carefully, squaring each x-value before multiplying, and solve the resulting system
Quadratic Regression on Real Data
Why an exact fit is not the same as a best fit
Return to the five launcher measurements: (0.5, 24.8), (1, 38.2), (1.5, 43.1), (2, 39.8), and (2.5, 29.2), with time in seconds and height in feet. Could three of these points be used to solve a system, as in the ramp problem?
These heights came from video frames and include small measurement errors. The course explains that a parabola forced through the first three points slightly misses the final two; no single quadratic passes through all five noisy points. The goal is therefore not to fit three selected points exactly, but to fit all five as closely as possible
Quadratic regression finds best-fit values of a, b, and c for y = ax^2 + bx + c. In this lesson, a graphing calculator performs that fitting with the QuadReg command
Run QuadReg
Enter the times into L1 as inputs and the corresponding heights into L2 as outputs. Keep each height paired with its time; the input-output order matters
| L1: times (s), inputs | L2: heights (ft), outputs |
|---|---|
| 0.5 | 24.8 |
| 1 | 38.2 |
| 1.5 | 43.1 |
| 2 | 39.8 |
| 2.5 | 29.2 |
The course's QuadReg output reports a ≈ −16, b ≈ 50, and c ≈ 4. It gives the model y ≈ −16x^2 + 50x + 4, where x is time in seconds and y is height in feet. The negative leading coefficient means the parabola opens downward, matching the described flight of the T-shirt
Practice 3
Sort each data situation into the right curve-fitting tool. The two categories are “Solve a system (exact fit)” and “Run QuadReg (best fit).” The situations are “3 exact points from an arch blueprint,” “14 slightly noisy measured heights of a fountain jet,” and “Stopwatch data from 9 trial launches.”
The supplied classification places 3 exact points from an arch blueprint under “Solve a system (exact fit).” Both 14 slightly noisy measured heights of a fountain jet and stopwatch data from 9 trial launches belong under “Run QuadReg (best fit).” The feedback emphasizes how the data was produced: exact design points call for an exact system, while stopwatch or sensor measurements carry small errors and call for regression
Check the Fit, Predict the Future
Compare predictions with measurements
To check the launcher model y ≈ −16x^2 + 50x + 4, substitute times for which measured heights are available. At x = 1, −16(1)^2 + 50(1) + 4 = 38 feet. At x = 2, −16(4) + 100 + 4 = 40 feet
| Time (s) | Measured (ft) | Model (ft) | Gap (ft) |
|---|---|---|---|
| 1 | 38.2 | 38 | 0.2 |
| 2 | 39.8 | 40 | 0.2 |
Each comparison misses by about one fifth of a foot. The lesson treats these small gaps as normal measurement wobble rather than a broken model. Regression fits measurements closely; it is not required to reproduce every measurement exactly
Predict an unmeasured height
The worked prediction considers x = 1.25 seconds, which was not one of the recorded times. Its displayed substitution is −16(1.5625) + 62.5 + 4 = 41.5, and its narration reports a predicted height of 41.5 feet. The lesson uses this example to show the purpose of curve fitting: turning measured points into answers about unmeasured inputs
Practice 4
The practice task states: for the launcher model y ≈ −16x^2 + 50x + 4, with x in seconds and y in feet, evaluating at x = 2.5 gives a predicted 29 ft. The camera measured 29.2 ft at 2.5 seconds
Summary
1. Check x-spacing first. The difference test requires evenly spaced x-values. Any constant step works; the step does not have to be 1
2. Subtract twice. Subtract neighboring y-values to obtain first differences. Constant first differences indicate linear data. If they are not constant, subtract again: constant nonzero second differences indicate quadratic data
3. Three exact points: solve a system. Substitute each point into y = ax^2 + bx + c and solve for a, b, and c. A point where x = 0 gives c immediately
4. Many noisy points: run QuadReg. Enter inputs in L1 and corresponding outputs in L2. Quadratic regression returns best-fit coefficients rather than requiring an exact match to every measurement
5. Validate, then predict. Compare model outputs with real measurements. The course accepts small gaps as normal measurement error and uses the trusted model to predict values at unmeasured inputs
Quiz
Quiz 1: complete the difference test
| x | y |
|---|---|
| 0 | 1 |
| 2 | 5 |
| 4 | 17 |
| 6 | 37 |
| 8 | 65 |
Complete the second difference test for this table. The given first differences are 4, 12, 20, 28. Complete the template: “Second differences: {sd}. The relationship is {rel}.” The available choices are “8, 8, 8,” “4, 12, 20, 28,” “8, 8, 8, 8,” “quadratic,” “linear,” and “not quadratic.”
The supplied answers are “8, 8, 8” and “quadratic.” Subtract neighboring first differences: 12 − 4 = 8, 20 − 12 = 8, and 28 − 20 = 8. Four first differences produce three second differences. The x-values have a constant step of 2, and the constant nonzero second differences confirm the quadratic relationship
Quiz 2: match points to equations
A parabola y = ax^2 + bx + c passes exactly through (0, 1), (2, 15), and (3, 28). Match each point to the equation it gives in y = ax^2 + bx + c. The candidate equations are c = 1; 4a + 2b + c = 15; 9a + 3b + c = 28; and 3a + 3b + c = 28
The supplied matches are (0, 1) → c = 1; (2, 15) → 4a + 2b + c = 15; and (3, 28) → 9a + 3b + c = 28. Substitute one point at a time, putting its x-value into every x position and setting the result equal to its y-value. For x = 3, the squared term is a(3)^2 = 9a, not 3a, so 3a + 3b + c = 28 is the unmatched distractor
Quiz 3: predict with the model
Use the launcher model y ≈ −16x^2 + 50x + 4, where x is in seconds and y is in feet. The time 2.25 seconds was never filmed