Algebra 1Algebra 1 · 9. 자료 분석 기초9. Data Analysis Basics
학습 목표
두 변수 자료를 산점도로 그리고, 상관의 방향과 강도를 읽는다.
추세선을 일차함수로 세워 예측한다 — 그리고 외삽의 위험을 안다.
"상관은 인과가 아니다"를 예와 함께 설명할 수 있다.
점으로 흩뿌린 자료
지금까지의 함수는 규칙이 먼저 있고 그래프가 따라왔다. 실제 세상의 자료는 반대다 — 학생 아홉 명의 하루 공부 시간(x)과 시험 점수(y)를 조사해 순서쌍으로 찍으면:
공부 시간과 점수의 산점도 — 점들이 오른쪽 위로 향하는 띠를 이루고, 그 사이로 추세선이 지나간다
이렇게 두 변수 자료를 좌표평면에 점으로 나타낸 그림이 산점도다. 점들은 한 직선 위에 얌전히 놓이지 않는다 — 하지만 오른쪽 위로 향하는 띠를 이룬다. 공부를 많이 한 학생이 대체로 점수도 높다.
정의상관
한 변수가 커질 때 다른 변수가 대체로 함께 커지면 양의 상관, 대체로 작아지면 음의 상관, 뚜렷한 경향이 없으면 상관이 없다고 한다. 점들이 직선 가까이에 몰릴수록 상관이 강하다고 한다.
음의 상관의 예 — 기온과 핫초코 판매량:
기온과 핫초코 판매량의 산점도 — 점들이 오른쪽 아래로 향한다
키와 수학 점수처럼 아무 경향이 없는 쌍도 물론 있다. (상관의 강도를 −1과 1 사이의 수 하나로 재는 상관계수는 AP Statistics에서 만난다 — 지금은 눈으로 "강하다/약하다"를 판단한다.)
추세선 — 흩어진 점 사이로 직선을 긋는다
점들이 띠를 이루면, 그 띠의 한가운데로 직선을 그어 자료 전체를 하나의 일차함수로 요약할 수 있다. 이 직선이 추세선이다. 위 산점도의 추세선은
y=6x+40
— 그리고 이 식을 읽는 법은 일차함수 단원 그대로다. 기울기 6: 공부 1시간이 늘 때마다 점수가 평균적으로 6점씩 높아지는 경향. 절편 40: 공부를 전혀 안 했을 때의 예상 점수.
추세선의 힘은 예측이다. 6.5시간 공부한 학생의 점수는?
y=6×6.5+40=79점(쯤).
"쯤"이 중요하다 — 추세선은 경향의 요약이지 법칙이 아니라서, 실제 점은 선 위아래로 흩어진다. 예측은 언제나 근사다.
주의
관측 범위 밖으로 밀고 나가는 예측(외삽)은 위험하다. 위 모델에 x=20시간을 넣으면 160점 — 100점 만점 시험에서 불가능한 값이다. 자료는 1∼9시간 범위에서 왔고, 추세선은 그 범위 안에서만 신용이 있다. 범위 밖에서는 경향 자체가 꺾일 수 있다(잠을 못 자면 점수는 오히려 떨어진다).
상관은 인과가 아니다
여름철 자료를 모으면 아이스크림 판매량과 물놀이 사고 건수 사이에 뚜렷한 양의 상관이 나온다. 그렇다고 아이스크림이 사고를 일으키는가? 물론 아니다 — 더운 날씨라는 공통 원인이 두 변수를 동시에 밀어 올릴 뿐이다.
산점도가 보여주는 것은 "함께 움직인다"까지다. 왜 함께 움직이는지 — 한쪽이 원인인지, 제3의 공통 원인이 있는지, 우연인지 — 는 그림 밖의 문제다. 상관을 인과로 바꿔 읽는 순간 통계는 오독이 된다. 이 한 문장은 자료를 다루는 한 평생 유효하다.
세운 모델을 의심하기
추세선을 세웠으면 두 가지를 되물어야 한다. 첫째, 이상값 — 띠에서 뚝 떨어진 점이 있는가? 입력 실수일 수도, 특별한 사연이 있는 자료일 수도 있다(문제 탭에서 찾아 본다). 둘째, 직선이 맞는 모양인가 — 점들이 포물선처럼 휘어 있다면 일차 모델이 아니라 이차 모델이 맞는 옷이다(공중에 던진 공의 시간-높이 자료가 그렇다).
문제 탭에는 방향 판별과 그림 읽기부터 두 점으로 추세선 세우기, 기울기 해석, 외삽 비판, 상관≠인과 서술, 그리고 "전원이 2시간씩 더 공부하면 평균은?"을 묻는 경시 문제까지 열두 문제가 있다.
Goals
Plot two-variable data as a scatter plot and read the direction and strength of the correlation.
Build a trend line as a linear function and use it to predict — knowing the danger of extrapolation.
Explain, with an example, why "correlation is not causation."
Data scattered as points
Until now, the rule came first and the graph followed. Real-world data works backwards. Survey nine students' daily study hours (x) and test scores (y), and plot the pairs:
A scatter plot of study time and scores — the points form a band heading up and to the right, with a trend line through it
A picture like this — two-variable data as points in the plane — is a scatter plot. The points refuse to sit neatly on one line, but they do form a band heading up and to the right: students who study more tend to score higher.
DefinitionCorrelation
When one variable grows and the other tends to grow with it, the correlation is positive; when the other tends to shrink, negative; with no visible tendency, there is no correlation. The tighter the points hug a line, the stronger the correlation.
A negative example — temperature versus hot-chocolate sales:
A scatter plot of temperature and hot chocolate sales — the points head down and to the right
Pairs with no tendency at all exist too, of course — height and math scores, say. (The correlation coefficient, which packs the strength into one number between −1 and 1, waits in AP Statistics — for now the eye judges "strong" or "weak.")
The trend line: a line drawn through the scatter
When the points form a band, a line drawn down its middle summarizes the whole dataset as one linear function. That line is the trend line. For the scatter above it is
y=6x+40
— and you read it exactly as in the linear-functions unit. Slope 6: each extra hour of study comes, on average, with about 6 more points. Intercept 40: the expected score with no studying at all.
The trend line's power is prediction. A student who studies 6.5 hours?
y=6×6.5+40=79 points — or thereabouts.
"Thereabouts" matters. A trend line summarizes a tendency; it is not a law, and actual points scatter above and below it. Every prediction is an approximation.
Watch out
Predicting beyond the observed range (extrapolation) is dangerous. Feed x=20 hours into the model and out comes 160 points — impossible on a 100-point test. The data came from the 1–9 hour range, and the trend line's credit extends no further. Outside it, the tendency itself may bend (lose enough sleep and scores fall).
Correlation is not causation
Collect summer data and you will find a clear positive correlation between ice cream sales and swimming accidents. Does ice cream cause accidents? Of course not — hot weather, a common cause, pushes both variables up at once.
A scatter plot shows only that two things move together. Why they move together — one causing the other, a third common cause, or plain coincidence — lies outside the picture. The moment correlation gets read as causation, statistics becomes misreading. That one sentence stays valid for a lifetime of working with data.
Doubting the model you built
Once a trend line stands, two questions must follow. First, outliers — is any point far off the band? It might be a recording error, or a data point with a story (the problems tab has one to find). Second, is a line even the right shape? If the points bend like a parabola, the right garment is a quadratic model, not a linear one — time-versus-height data for a thrown ball does exactly that.
The problems tab runs from direction-reading and plot-reading through building trend lines from two points, interpreting slope, critiquing an extrapolation, writing out correlation-versus-causation, and a contest question — "if everyone studies 2 more hours, what happens to the average?" — twelve problems.
배운 것을 그대로 손에 익히는 단계straightforward practice to get moving
문제Problem 1몸풀기Warm-up
다음 두 변수 쌍의 상관은 양·음·없음 중 무엇이겠는가?
(1) 키와 신발 크기 ㅤ (2) 자동차의 주행 거리와 중고차 가격 ㅤ (3) 학생의 키와 수학 점수
For each pair, would you expect positive correlation, negative correlation, or none?
(1) height and shoe size ㅤ (2) a car's mileage and its used price ㅤ (3) a student's height and math score
정답과 풀이Answer & solution
정답 · (1) 양의 상관 ㅤ (2) 음의 상관 ㅤ (3) 상관 없음
Answer · (1) positive ㅤ (2) negative ㅤ (3) none
(1) 키가 큰 사람은 대체로 발도 크다 — 양. (2) 많이 달린 차일수록 값이 낮아지는 경향 — 음. (3) 키가 크다고 수학을 잘할 이유가 없다 — 없음.
"대체로"가 핵심이다 — 상관은 예외 없는 법칙이 아니라 경향이다.
(1) Taller people tend to have bigger feet — positive. (2) The more a car has driven, the less it tends to fetch — negative. (3) Being tall gives no reason to be better at math — none.
"Tends to" is the key phrase — correlation is a tendency, not an exceptionless law.
문제Problem 2몸풀기Warm-up
다음 산점도에 대해 ① 상관의 방향 ② 띠에서 뚝 떨어진 이상값 하나(점 A의 좌표)를 답하라.
산점도 — 오른쪽 위로 향하는 점들과 띠에서 떨어진 점 A
For the scatter plot below, give ① the direction of the correlation and ② the coordinates of the one outlier, point A.
Scatter plot — points heading up-right, with point A far from the band
정답과 풀이Answer & solution
정답 · ① 양의 상관 ㅤ ② A(8,20)
Answer · ① positive ㅤ ② A(8,20)
① 점들이 전체적으로 오른쪽 위로 향한다 — 양의 상관. ② 그 띠에서 혼자 뚝 떨어진 점이 A(8,20)이다: 주변 점들의 경향대로라면 y가 70을 넘어야 할 자리에서 20에 머물러 있다.
이상값은 지우는 것이 아니라 들여다보는 것이다 — 기록 실수일 수도 있고, 아팠던 날의 자료일 수도 있다. 사연을 알기 전에는 함부로 빼지 않는다.
① The points head up and to the right overall — positive correlation. ② The lone point far below the band is A(8,20): by its neighbors' tendency, y should exceed 70 there, yet it sits at 20.
An outlier is not for deleting but for investigating — it may be a recording error, or data from a sick day. Until the story is known, it stays.
문제Problem 3몸풀기Warm-up
어느 반의 공부 시간과 점수의 추세선이 y=6x+40이다. 5시간 공부한 학생의 점수를 예측하라.
A class's study-time-versus-score trend line is y=6x+40. Predict the score of a student who studies 5 hours.
정답과 풀이Answer & solution
정답 · 약 70점
Answer · About 70 points
y=6×5+40=70.
"약"을 붙이는 것까지가 답이다 — 추세선은 경향의 요약이라 실제 점수는 이 값 위아래로 흩어진다.
y=6×5+40=70.
The word "about" is part of the answer — a trend line summarizes a tendency, and actual scores scatter above and below it.
핵심Core
이 차시의 목표 수준the target level for this lesson
문제Problem 4핵심Core
어느 산점도의 추세선이 두 점 (2,50)과 (8,86)을 지난다. 추세선의 방정식을 구하라.
A trend line passes through (2,50) and (8,86). Find its equation.
정답과 풀이Answer & solution
정답 · y=6x+38
Answer · y=6x+38
기울기부터:
m=8−286−50=636=6.
점 (2,50)을 지나므로 50=12+b에서 b=38:
y=6x+38.
검산: (8,86) 대입 — 48+38=86 ✓. 두 점으로 직선 세우기(U2)가 자료 분석의 도구로 재등장했다.
Slope first:
m=8−286−50=636=6.
Through (2,50): 50=12+b gives b=38:
y=6x+38.
Check with (8,86): 48+38=86 ✓. Building a line from two points — Unit 2 — reporting for duty as a data tool.
문제Problem 5핵심Core
어느 카페의 자료에서, 하루 최고 기온 x (°C)와 핫초코 판매량 y (잔)의 추세선이 y=−3x+80이다. ① 기울기 −3이 뜻하는 바를 한 문장으로 쓰고 ② 판매량이 26잔이었던 날의 기온을 추정하라.
A café's data give the trend line y=−3x+80 for daily high temperature x (°C) versus hot chocolates sold y. ① State in one sentence what the slope −3 means. ② Estimate the temperature on a day with 26 sales.
정답과 풀이Answer & solution
정답 · ① 기온이 1°C 오를 때마다 판매량이 평균 3잔씩 줄어드는 경향 ㅤ ② 약 18°C
Answer · ① Each 1°C of warming comes with about 3 fewer sales on average ㅤ ② about 18°C
① 기울기는 "x 한 칸당 y의 변화"다: 기온이 1°C 오르면 핫초코가 평균 3잔 덜 팔린다.
② 모델을 거꾸로 푼다:
26=−3x+80⟹3x=54⟹x=18.
검산: −3×18+80=26 ✓. 추세선은 x에서 y로도, y에서 x로도 추정할 수 있다 — 어느 쪽이든 "약"이다.
① Slope is "change in y per step of x": each degree warmer means about 3 fewer hot chocolates sold.
② Run the model backwards:
26=−3x+80⟹3x=54⟹x=18.
Check: −3×18+80=26 ✓. A trend line estimates in both directions, x→y and y→x — "about," either way.
문제Problem 6핵심Core서술형written response
추세선 y=6x+38 (공부 시간 → 점수, 자료 범위 1∼9시간)에 x=15를 넣으면 128점이 나온다. 이 예측의 문제점을 두 가지 지적하라.
Feeding x=15 into the trend line y=6x+38 (study hours → score, data range 1–9 hours) yields 128 points. Point out two problems with this prediction.
힌트Hint
시험은 몇 점 만점인가? 그리고 자료는 어느 범위에서 왔는가?
What is the test's maximum score? And what range did the data come from?
풀이와 채점 기준Solution & grading notes
문제점 1 — 불가능한 값.128점은 100점 만점 시험에서 나올 수 없는 점수다. 모델이 물리적(제도적) 한계를 모르는 채 직선을 연장한 결과다.
문제점 2 — 외삽. 자료는 1∼9시간 범위에서 관측됐다. x=15는 그 범위를 한참 벗어난 외삽이고, 범위 밖에서는 경향 자체가 유지된다는 보장이 없다(수면 부족으로 점수가 꺾일 수도 있다).
채점 기준. 만점 초과(또는 값의 비현실성) 지적, 관측 범위 밖 외삽이라는 지적 — 두 가지가 모두 있으면 만점. "직선 모델이 무한히 이어진다는 가정 자체가 무리"라는 취지의 다른 표현도 인정.
Problem 1 — an impossible value.128 cannot occur on a 100-point test. The model extended its line with no knowledge of the physical (institutional) ceiling.
Problem 2 — extrapolation. The data were observed on the 1–9 hour range. x=15 lies far outside it, and beyond the observed range nothing guarantees the tendency even continues (sleep deprivation could bend scores downward).
Grading. Full credit for naming both: the impossible value (exceeding the maximum), and the out-of-range extrapolation. Equivalent phrasings — "assuming the linear model continues forever is itself unjustified" — count.
문제Problem 7핵심Core서술형written response
여름 몇 달간의 자료에서 아이스크림 판매량과 물놀이 사고 건수 사이에 강한 양의 상관이 관찰되었다. "아이스크림 판매를 줄이면 사고가 줄어들 것"이라는 주장이 왜 잘못인지 설명하라.
Summer data show a strong positive correlation between ice cream sales and swimming accidents. Explain why the claim "reducing ice cream sales would reduce accidents" is mistaken.
힌트Hint
두 변수를 동시에 밀어 올리는 제3의 변수가 있는가?
Is there a third variable pushing both at once?
풀이와 채점 기준Solution & grading notes
두 변수 모두 더운 날씨라는 공통 원인의 결과다. 더우면 아이스크림이 많이 팔리고, 더우면 물놀이하는 사람이 많아져 사고도 늘어난다 — 두 변수는 함께 움직이지만 서로를 일으키지 않는다.
따라서 아이스크림 판매를 줄여도(공통 원인인 날씨가 그대로인 한) 사고는 줄지 않는다. 산점도가 보여주는 것은 "함께 움직인다"까지이고, 상관을 인과로 읽은 것이 이 주장의 오류다.
채점 기준. 공통 원인(더위/물놀이 인파)의 지목, "상관 ≠ 인과"의 명시, 개입(판매 축소)이 효과 없을 것이라는 결론. 셋이 논리적으로 이어지면 만점.
Both variables are effects of a common cause: hot weather. Heat sells ice cream, and heat sends people swimming, which raises accident counts — the two move together without either causing the other.
So cutting ice cream sales would not cut accidents (the weather, the actual cause, is untouched). A scatter plot shows only that two things move together; the claim's error is reading correlation as causation.
Grading. Identifying the common cause (heat / swimming crowds), stating correlation ≠ causation, and concluding that the intervention would fail. Full credit when the three connect logically.
문제Problem 8핵심Core
표는 어느 식물의 주차별 키 기록이다. 첫 관측과 마지막 관측을 지나는 직선을 간이 추세선으로 세우고, 6주차의 키를 예측하라.
주차 x
1
2
3
4
5
키 y (cm)
4
5
8
9
12
The table records a plant's height by week. Build a quick trend line through the first and last observations, and predict the height in week 6.
week x
1
2
3
4
5
height y (cm)
4
5
8
9
12
정답과 풀이Answer & solution
정답 · 추세선 y=2x+2, 6주차 예측 약 14 cm
Answer · Trend line y=2x+2; week-6 prediction about 14 cm
첫 점 (1,4)와 끝 점 (5,12)를 지나는 직선:
m=5−112−4=2,4=2+b⟹b=2⟹y=2x+2.
x=6: y=14 cm(쯤). 검산 — 중간 자료와의 궁합: x=3 예측 8 (실제 8 ✓), x=2 예측 6 (실제 5, 가깝다) — 직선이 자료의 경향을 잘 요약한다.
(양 끝 두 점만 쓰는 것은 손으로 빠르게 긋는 간이법이다. 모든 점을 공평하게 반영하는 최소제곱 추세선은 AP Statistics에서 배운다.)
The line through the first point (1,4) and the last (5,12):
m=5−112−4=2,4=2+b⟹b=2⟹y=2x+2.
At x=6: y=14 cm, or so. Check against the middle data: x=3 predicts 8 (actual 8 ✓), x=2 predicts 6 (actual 5, close) — the line summarizes the tendency well.
(Using just the two endpoints is a quick by-hand method. The least-squares trend line, which weighs every point fairly, comes in AP Statistics.)
도전Challenge
아이디어를 결합해야 풀리는 문제problems that take more than one idea
문제Problem 9도전Challenge
추세선이 y=6x+40인 반에서, 어느 학생의 실제 자료가 (5,78)이다. 이 학생은 추세선의 예측보다 몇 점 높거나 낮은가?
In a class with trend line y=6x+40, one student's actual data point is (5,78). How far above or below the trend line's prediction is this student?
정답과 풀이Answer & solution
정답 · 예측(70점)보다 8점 높다
Answer · 8 points above the prediction (70)
x=5에서의 예측은 6×5+40=70점. 실제는 78점이므로
78−70=+8
— 추세선보다 8점 위에 있는 점이다. (실제값 − 예측값을 잔차라 부른다 — 잔차가 큰 점이 곧 이상값 후보이고, 잔차들을 작게 만드는 직선이 곧 좋은 추세선이라는 아이디어가 AP Statistics의 최소제곱법으로 이어진다.)
The prediction at x=5 is 6×5+40=70. The actual value is 78, so
78−70=+8
— a point sitting 8above the trend line. (Actual minus predicted is called the residual — large residuals flag outlier candidates, and "the line making residuals small" is the idea that grows into least squares in AP Statistics.)
문제Problem 10도전Challenge
공을 던져 올리며 0.5초마다 높이를 잰 산점도를 그렸더니, 점들이 직선이 아니라 위로 볼록한 곡선(포물선) 모양으로 놓였다. 이 자료에 일차 추세선을 쓰는 것이 왜 부적절한지 말하고, 어떤 모델이 맞는지 답하라.
Heights of a thrown ball, measured every 0.5 s, produce a scatter plot whose points follow an upside-down-U curve (a parabola), not a line. Say why a linear trend line is inappropriate here, and name the right model.
정답과 풀이Answer & solution
정답 · 경향 자체가 직선이 아니어서(올라갔다 내려옴) 일차 모델은 부적절 — 이차함수(포물선) 모델이 맞다
Answer · The tendency itself is not linear (up, then back down), so a linear model fails — a quadratic (parabola) model fits
일차 모델은 "한 방향으로 일정하게" 변하는 경향만 담을 수 있다. 던진 공은 올라갔다가 방향을 바꿔 내려온다 — 어떤 직선을 그어도 앞부분과 뒷부분 중 한쪽을 심하게 놓친다.
이 모양의 옷은 이차함수다: h=−5t2+v0t+h0 (이차방정식 활용 차시의 그 모델). 자료 분석의 첫 질문은 "기울기가 얼마인가"가 아니라 **"어떤 모양의 함수가 맞는가"**다 — 산점도를 먼저 그려 보는 이유가 바로 이것이다.
A linear model can only express change that runs steadily in one direction. A thrown ball rises and then turns around — any line you draw badly misses either the early or the late points.
The garment that fits is a quadratic: h=−5t2+v0t+h0 (the very model from the quadratic-applications lesson). Data analysis's first question is not "what is the slope" but "what shape of function fits" — which is exactly why the scatter plot gets drawn first.
문제Problem 11도전Challenge서술형written response
"어느 도시에서 소방차가 많이 출동한 화재일수록 피해액이 크다는 강한 양의 상관이 발견되었다. 따라서 소방차 출동을 줄이면 피해가 줄 것이다." — 이 추론의 오류를 짚고, 두 변수를 함께 움직이는 진짜 원인을 제시하라.
"In one city, fires attended by more fire trucks show strongly higher damage costs. Therefore, dispatching fewer trucks would reduce damage." — Identify the flaw and name the real driver moving both variables.
힌트Hint
소방차를 많이 부르게 만드는 것은 무엇인가?
What makes a fire summon many trucks in the first place?
풀이와 채점 기준Solution & grading notes
공통 원인은 화재의 규모다. 큰불일수록 소방차가 많이 출동하고, 큰불일수록 피해액도 크다 — 소방차가 피해를 일으키는 것이 아니라, 불의 크기가 둘 다를 끌어올린다.
소방차 출동을 줄이면 피해가 줄기는커녕 커질 것이다 — 개입은 공통 원인(불의 규모)에 닿지 않고, 오히려 진짜 인과(진압력 부족 → 피해 확대)를 악화시킨다. 상관의 방향만 보고 개입을 설계하면 정반대의 결과를 얻을 수 있다는 고전적 사례다.
채점 기준. 공통 원인(화재 규모)의 지목, "상관 ≠ 인과" 명시, 제안된 개입이 역효과라는 결론. 비슷한 구조의 다른 사례(병원에 오래 입원한 환자일수록…)로 설명해도 논리가 맞으면 만점.
The common cause is the size of the fire. Bigger fires summon more trucks, and bigger fires cost more — the trucks don't cause the damage; the fire's size drives both.
Cutting dispatches would not reduce damage — it would raise it: the intervention never touches the common cause (fire size) and instead worsens the genuine causal link (less firefighting power → more damage). A classic case of designing an intervention off correlation's direction and getting the opposite result.
Grading. Naming the common cause (fire size), stating correlation ≠ causation, and concluding the proposed intervention backfires. An analogous example with the same structure (longer hospital stays and …) earns full credit if the logic holds.
경시Contest
대회 스타일competition style
문제Problem 12경시Contest
어느 반 학생 20명의 공부 시간과 점수에 대한 추세선이 y=5x+45다. 모든 학생이 지금보다 2시간씩 더 공부하고 그 효과가 정확히 추세선 모델을 따른다면, 반 평균 점수는 몇 점 오르는가?
A class of 20 has trend line y=5x+45 for study hours versus score. If every student studies 2 more hours and the effect follows the model exactly, by how much does the class average rise?
힌트Hint
각 학생의 예측 점수가 어떻게 변하는지 식으로 써 보라.
Write how each student's predicted score changes.
정답과 풀이Answer & solution
정답 · 10점
Answer · 10 points
공부 시간이 x였던 학생의 모델 점수는 5x+45. 2시간 늘리면
5(x+2)+45=(5x+45)+10
— 누구든 정확히 10점씩 오른다(x와 무관하게). 전원이 10점씩 오르면 평균도 정확히 10점 오른다: 평균은 총합을 20으로 나눈 것이고, 총합이 20×10=200점 늘기 때문이다.
기울기의 뜻("한 칸당 5점")에 2칸을 곱한 것 — 개별에서 참인 "일정 증가"가 평균으로도 그대로 전달되는 것이 핵심이다.
A student who studied x hours has model score 5x+45. Add 2 hours:
5(x+2)+45=(5x+45)+10
— every student gains exactly 10, regardless of x. And when everyone gains 10, the average gains exactly 10: the average is the total over 20, and the total grew by 20×10=200.
It is the slope's meaning ("5 points per hour") times 2 hours — with the key step that a uniform individual gain passes straight through to the average.