Grade 11 Mathematics · MATH-scatter-and-least-squares-move-one-point · Free public reading

Move One Point: A Scatter Plot and Its Best-Fit Line

Read a complete explanation, study a worked example, and try an independent task in your notes.

This is a static, unscored public reading. There are no working choice buttons, saved progress, automatic grading, hidden answer reveals or recorded examinations. Independent questions are for your own notes.

What a learner should be able to do, and repair

After authentic independent application, learner can (1) place paired x and y observations at correct coordinates and with proper axis labels; (2) describe association's form, direction, unusual points and possible weakness without inventing cause; (3) interpret slope as predicted change in y units per one x unit, not correlation or percent automatically; (4) calculate fitted yhat, residual observed y minus predicted yhat, and squared residual; (5) see why least-squares fitting compares candidate lines by the SUM of squared residuals, not by “most points appear above”; (6) compute a straight-line fit for a new small dataset with guided arithmetic and check values; (7) distinguish within-range interpolation from beyond-range extrapolation and explicitly limit model use.

Novice repair: A pair (2,3) means x=2 on the HORIZONTAL axis and y=3 on the VERTICAL axis. It does NOT mean two independent lists where any x can pair with any y; a point is ONE linked observation. Slope 2 y-units per x-unit means that moving one x-unit right increases the line's predicted y by2 units; it does not guarantee each observed point increases by exactly2. If the line predicts 4 but the actual observed y is5, the residual is y−yhat=5−4=+1, one unit ABOVE the line. Squaring makes negative and positive residuals contribute positive amounts to SSE. All fictional observations are from a classroom simulation, not real people, grades, salaries, temperatures, business outcomes or field measurements.

Complete student-facing lesson

1. Four linked observations, and a point you can move

In a fictional desk-study, x is the number of practice blocks (units: blocks) and y is the number of imaginary puzzle points (units: points). These are made-up numbers with no claim about student outcomes or actual causation. The FOUR original paired observations are:

Observation x (practice blocks) y (fictional puzzle points)
A 1 2
B 2 3
C 3 5
D 4 4

2. Plot the POINTS, not four unrelated numbers

Put horizontal x axis labelled practice blocks, vertical y axis labelled fictional puzzle points. Choose an honest common axis: x tick0,1,2,3,4,5; y tick0,1,2,...,10. Dots at (1,2), (2,3), (3,5), (4,4). Do not connect the data dots into a time-series line; a scatter plot shows discrete paired measurements. Use dots (or accessible points) with text alternatives "Observation C: x three practice blocks, y five fictional puzzle points." The x=5 column exists as a future prediction position only, not an observed fifth point. If the graphic includes zero it should actually be located at zero and avoid visual zoom exaggerating a weak pattern.

3. A line makes a prediction, not a perfect statement

Write a line as predicted yhat = a + b×x. Here a is the intercept (predicted points where x=0, even though x=0 was NOT observed) and b is the slope in puzzle points per practice block. A positive b describes an upward line as x rises. A fitted line can have some points ABOVE and others BELOW; that is normal.

First practice with an EXAMPLE candidate line yhat=1.5+0.8x:

Add squared residuals: 0.09+0.01+1.21+0.49=1.80 squared points. The square's unit is points²; SSE is not “1.8 puzzle points”. Positive residual means a point lies ABOVE the predicted line; negative means below. A learner may check all rows without having to know the general least-squares formula.

4. Why this line is “best fit” under a specific mathematical rule

Least squares is NOT defined as "the prettiest line" or "highest correlation"; it means the line that minimizes the sum of all squared VERTICAL residuals y−yhat. For x-values1,2,3,4 and y-values2,3,5,4:

So the candidate line from the previous example was deliberately the least-squares regression line for THIS dataset, with SSE=1.8. A second reasonable-looking candidate is a horizontal line at ybar=3.5. Its residuals are [−1.5,−0.5,+1.5,+0.5] points; SSE=2.25+0.25+2.25+0.25=5 squared points, which is larger. The horizontal mean line is a competing model, not a claim that a true response must be constant. For this finite set with nonidentical x values, the least-squares slope/intercept are uniquely defined.

What if an x value repeats? Separate repeated x values can still be legitimate data, but if ALL x values are identical then Sxx=0 and the usual unique slope formula divides by zero. This model explicitly avoids that case; no automatic arbitrary line should be presented as an actual slope when Sxx=0. Least squares also does not automatically fix dependent observations, curvature, inappropriate numeric units or strong unusual points.

The best-fit line reacts to measured points

Think first: With A(1,2), B(2,3) and C(3,5) fixed, what happens to the least-squares line if only D's y value changes?

Worked comparison: With D(4,4), the least-squares line has slope 0.8, intercept 1.5 and squared residual sum 1.8. With D(4,6), it has slope 1.4, intercept 0.5 and squared residual sum 0.2.

Why it works: A fitted line is calculated from all observed pairs. Moving an observed value may alter slope, intercept and residuals. A prediction at x=5 is an extrapolation, not a fifth observed point.

Try in your notes: Explain why a horizontal-mean line and a least-squares line should be compared on the same dataset.

6. Guided supported practice with an altered point

Try first: Keep the three observed pairs A(1,2), B(2,3), C(3,5) and change only D to (4,6). Find the least-squares slope, intercept and sum of squared residuals.

Worked example: With observed y-values 2, 3, 5, 6, we have x-bar = 2.5, y-bar = 4, Sxx = 5 and Sxy = 7. So slope b = 7/5 = 1.4 points per block and intercept a = 4 - 1.4 x 2.5 = 0.5 points. Predicted y-values for x = 1,2,3,4 are 1.9, 3.3, 4.7, 6.1. The measured-minus-predicted residuals are +0.1, -0.3, +0.3, -0.1. Their squares sum to SSE = 0.2 points squared.

Check your reasoning: A slope of 7 forgot to divide Sxy by Sxx. Squaring a negative residual produces a positive contribution. A prediction of 1.9 is not the observed y of 2.

7. Held-out independent transfer: new paired data and no copying explorer fit

Independent exercise - work on paper or in your notes.

Four DIFFERENT fictitious measurements concern toy machine cycles x (cycles) and fictional output units y, with input-output pairs: (2,3), (4,4), (6,8), (8,9). The observations are a mathematical sample only, not a real machine test or production engineering decision.

A. Plot or specify all FOUR distinct ordered pairs, give readable x/y axes with cycle/output units and point labels, and explain why x and y must remain paired. A keyboard/accessible textual coordinate table is an accepted mathematical equivalent to drawing; do not falsely claim that typed coordinates certify manual drawing skill. B. Calculate xbar,ybar and Sxx from the specified paired observations, showing at least one intermediate centered difference. C. Compute Sxy, least-squares slope b and intercept a, with slope units output-units/cycle. D. Determine fitted yhat and residual y−yhat at EACH of the four observed x values, then sum SQUARED residuals SSE with squared output-unit label. E. Predict y at x=7 within the observed x range2..8; separately calculate the mathematical line's value at x=12 OUTSIDE the observed range and clearly identify extrapolation risk. These are line evaluations, NOT guaranteed true outcomes. F. Give a nonempty UNSCORED explanation of why a better numerical line fit does NOT prove a causal effect, and why an unusual point or nonlinearity could make the line misleading.

8. A careful conclusion

A scatter plot shows COORDINATE PAIRS, not two unrelated lists. A best-fit line yhat=a+bx is a model of a pattern in the given observations; a residual is the measured y MINUS the line's prediction, and least squares minimizes the SUM of their SQUARES. The fitted slope measures predicted y difference per one x unit. Moving just one dot can substantially change the line. Values inside the data range are interpolation, while values beyond it are extrapolation and require caution. A fitted line does NOT establish cause-and-effect. Future separately developed Pearson r content will consider standardized strength and the influence of outliers, but no r is claimed or assessed by this particular source.

Back to Mathematics topics