Step by step
The question
Question: find the residual for the line of best fit y = x + 2 and the point (6, 10).
The point is the real data.
A residual tells how far a point is from the line.
Residual = actual minus predicted.
Actual is the real y.
Predicted is the y the line gives.
1 Predict
We put x = 6 into the line.
It predicts y = 8.
2 Actual minus predicted
Careful!
Not predicted minus actual.
That flips the sign.
Actual comes first.
The actual y is 10.
10 minus 8 is 2.
So the residual is 2.
It is positive: the point is 2 above the line.
3 Check
Let's check with a picture.
Each square up is 2.
The line of best fit.
The point.
The residual is the distance up or down from the line to the point.
And predicted plus residual gives the actual y: 10.
So the answer is right!
Let's look back.
First: predict.
Then: actual minus predicted.
Last: check.