Math Atlas

기울기Slope

Algebra 1Algebra 1 · 2. 일차함수와 그래프2. Linear Functions & Graphs

학습 목표
  • 기울기를 "가로로 간 것에 대한 세로로 간 것의 비"로 이해하고 계산한다.
  • 어느 두 점에서 재도 기울기가 같은 이유를 닮은 삼각형으로 설명한다.
  • 기울기의 부호(양·음·0·정의되지 않음)와 직선의 모양을 연결한다.
  • 세 점이 한 직선 위에 있는지 기울기로 판정한다.

기울어짐을 수로 나타내기

언덕이 얼마나 가파른지 말하려면 "많이 가파르다"로는 부족하다. 수가 필요하다. 직선 위에서 오른쪽으로 2만큼 갈 때 위로 1만큼 올라간다면, 우리는 가로 이동에 대한 세로 이동의 비율

세로로 간 것가로로 간 것=12\frac{\text{세로로 간 것}}{\text{가로로 간 것}} = \frac{1}{2}

을 그 직선의 가파름, 즉 기울기라 부른다.

x y O -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 +2 +1 (-4, -3) (-2, -2)
직선 위의 점 (-4, -3)에서 오른쪽으로 2, 위로 1 이동하면 다시 직선 위의 점 (-2, -2)에 닿는다. 기울기는 1/2이다.
정의기울기

직선 위의 서로 다른 두 점 (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2)에 대해

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

를 그 직선의 기울기라 한다. (xx의 증가량에 대한 yy의 증가량의 비)

어디서 재도 같은가?

정의가 말이 되려면 한 가지를 확인해야 한다. 직선 위의 어떤 두 점을 골라도 이 비가 같아야 한다는 것이다. 같은 직선에서 두 계단을 재어 보자.

x y O -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 +2 +1 +6 +3
같은 직선에서 잰 두 계단: 오른쪽 2·위 1인 작은 계단과 오른쪽 6·위 3인 큰 계단. 비는 1/2로 같다.

작은 계단은 12\frac{1}{2}, 큰 계단은 36=12\frac{3}{6} = \frac{1}{2}. 우연이 아니다. 두 계단이 만드는 직각삼각형은 닮음이기 때문이다 — 빗변이 같은 직선 위에 있으니 기울어진 각이 같고, 직각도 같으니 두 삼각형은 닮았다. 닮은 삼각형에서 대응변의 비는 같으므로, 세로 대 가로의 비는 어느 계단에서 재도 같다. "직선의 기울기"라는 말이 성립하는 근거가 바로 이 닮음이다. (닮음은 Geometry에서 정식으로 증명하고, 여기서는 이 사실을 가져다 쓴다.)

공식으로 계산하기

예제 1 · 두 점으로 기울기 구하기

두 점 (3,4)(-3, 4)(1,4)(1, -4)를 지나는 직선의 기울기를 구하라.

풀이. 공식에 넣으면

m=441(3)=84=2.m = \frac{-4 - 4}{1 - (-3)} = \frac{-8}{4} = -2.

검산 삼아 두 점의 순서를 바꿔 계산해 보면 4(4)31=84=2\dfrac{4 - (-4)}{-3 - 1} = \dfrac{8}{-4} = -2. 같은 값이다.

따라서 기울기는 2-2이다.

주의

분자와 분모의 빼는 방향을 맞춰야 한다. y2y1y_2 - y_1을 썼으면 분모도 반드시 x2x1x_2 - x_1이다. 방향을 엇갈리게 빼면(y2y1y_2 - y_1 위에 x1x2x_1 - x_2) 부호가 뒤집힌 답이 나온다. 예제 1에서 보았듯 두 점의 순서 자체는 아무래도 좋다 — 위아래가 같은 순서이기만 하면 된다.

부호가 말해 주는 것

기울기의 부호만 보고도 직선의 모습을 그릴 수 있어야 한다.

x y O -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 m > 0 m < 0 m = 0
기울기의 네 가지 경우: 오른쪽 위로 가는 직선(m이 양수), 오른쪽 아래로 가는 직선(m이 음수), 수평선(m = 0), 그리고 수직선.
  • m>0m > 0: 오른쪽으로 갈수록 올라간다. 클수록 가파르다.
  • m<0m < 0: 오른쪽으로 갈수록 내려간다.
  • m=0m = 0: 수평선. 세로 이동이 0이므로 0가로=0\frac{0}{\text{가로}} = 0.
  • 수직선: 기울기가 정의되지 않는다. 두 점의 xx좌표가 같아 분모 x2x1=0x_2 - x_1 = 0이 되는데, 0으로는 나눌 수 없기 때문이다.
주의

"기울기가 0"과 "기울기가 없다(정의되지 않음)"는 완전히 다른 말이다. 수평선은 기울기가 0인 멀쩡한 직선이고, 수직선은 기울기라는 수 자체가 없다. 시험에서 이 둘을 바꿔 쓰는 실수가 정말 잦다 — "0이니까 없다"가 아니라, 0은 있는 것이다.

한 직선 위에 있는가

기울기는 "세 점이 일직선 위에 있는가"를 판정하는 도구이기도 하다.

예제 2 · 일직선 판정

세 점 A(1,2)A(1, 2), B(3,8)B(3, 8), C(6,17)C(6, 17)은 한 직선 위에 있는가?

풀이. AABB를 잇는 직선의 기울기는 8231=3\dfrac{8 - 2}{3 - 1} = 3이고, BBCC를 잇는 직선의 기울기는 17863=3\dfrac{17 - 8}{6 - 3} = 3이다.

두 기울기가 같고 점 BB를 공유하므로, 두 "직선"은 사실 같은 직선이다. 세 점은 한 직선 위에 있다.

(기울기가 하나라도 달랐다면 한 직선 위가 아니다. ACAC의 기울기까지 잴 필요는 없다 — 17261=3\frac{17-2}{6-1} = 3으로 물론 같다.)

기울기는 변화율이다

기울기의 진짜 힘은 그래프 밖에서 나온다. xx가 1 늘 때 yy가 얼마나 변하는가 — 즉 변화율이 기울기다. 시간-거리 그래프의 기울기는 속력이고, 시간-수량 그래프의 기울기는 분당 증가량이다. 다음 차시에서 일차함수 y=mx+by = mx + b를 다룰 때 이 관점이 주인공이 된다.

문제 탭에는 그래프에서 기울기를 읽는 문제, 함정(수평/수직), 그리고 격자점을 세는 경시 스타일 문제까지 열세 문제가 있다.

Goals
  • Understand slope as "vertical change per horizontal change," and compute it.
  • Explain, using similar triangles, why the slope comes out the same wherever you measure it.
  • Connect the sign of the slope (positive, negative, zero, undefined) to what the line looks like.
  • Use slopes to decide whether three points lie on one line.

Putting a number on steepness

To say how steep a hill is, "pretty steep" won't do — you need a number. If moving 2 to the right along a line takes you 1 unit up, we call the ratio

vertical changehorizontal change=12\frac{\text{vertical change}}{\text{horizontal change}} = \frac{1}{2}

the line's steepness — its slope.

x y O -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 +2 +1 (-4, -3) (-2, -2)
From the point (-4, -3) on the line, moving right 2 and up 1 lands back on the line at (-2, -2). The slope is 1/2.
DefinitionSlope

For two distinct points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on a line,

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

is the slope of the line — the change in yy per unit change in xx.

Why is it the same everywhere?

For this definition to make sense, one thing needs checking: the ratio must come out the same for any two points you pick on the line. Measure two different staircases on the same line:

x y O -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 +2 +1 +6 +3
Two staircases measured on the same line: a small one going right 2, up 1, and a large one going right 6, up 3. Both ratios equal 1/2.

The small staircase gives 12\frac{1}{2}; the large one gives 36=12\frac{3}{6} = \frac{1}{2}. That's no coincidence. The two right triangles are similar: their hypotenuses lie on the same line, so the slanted angles are equal, and both have a right angle. Similar triangles have proportional sides, so the rise-to-run ratio is the same for every staircase. This similarity is exactly what earns us the phrase "the slope of a line." (Similarity gets its full proof in Geometry; here we borrow the fact.)

Computing with the formula

Example 1 · Slope from two points

Find the slope of the line through (3,4)(-3, 4) and (1,4)(1, -4).

Solution. Plugging into the formula:

m=441(3)=84=2.m = \frac{-4 - 4}{1 - (-3)} = \frac{-8}{4} = -2.

As a check, swap the order of the points: 4(4)31=84=2\dfrac{4 - (-4)}{-3 - 1} = \dfrac{8}{-4} = -2. Same value.

Therefore the slope is 2-2.

Watch out

The subtractions on top and bottom must run in the same direction. If the numerator is y2y1y_2 - y_1, the denominator must be x2x1x_2 - x_1. Crossing them (y2y1y_2 - y_1 over x1x2x_1 - x_2) flips the sign of your answer. As Example 1 showed, which point you call "first" doesn't matter — as long as top and bottom agree.

What the sign tells you

From the sign of the slope alone, you should be able to sketch the line.

x y O -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 m > 0 m < 0 m = 0
The four cases: a line rising to the right (positive m), falling to the right (negative m), a horizontal line (m = 0), and a vertical line.
  • m>0m > 0: the line rises as you move right; the bigger mm, the steeper.
  • m<0m < 0: the line falls as you move right.
  • m=0m = 0: a horizontal line — the vertical change is 0, and 0run=0\frac{0}{\text{run}} = 0.
  • A vertical line: the slope is undefined. Its points share one xx-coordinate, so the denominator x2x1x_2 - x_1 is 0 — and dividing by zero is not a thing.
Watch out

"Slope zero" and "no slope (undefined)" are entirely different statements. A horizontal line is a perfectly good line whose slope is the number 0; a vertical line has no slope-number at all. Swapping these two is one of the most common test mistakes there is — 0 isn't "nothing," it's a value.

Are these points on one line?

Slope also answers the question "do three points line up?"

Example 2 · Testing collinearity

Are the points A(1,2)A(1, 2), B(3,8)B(3, 8), and C(6,17)C(6, 17) on a single line?

Solution. The slope from AA to BB is 8231=3\dfrac{8 - 2}{3 - 1} = 3, and the slope from BB to CC is 17863=3\dfrac{17 - 8}{6 - 3} = 3.

The slopes match and the two segments share the point BB, so they lie along the same line. The three points are collinear.

(If the slopes had differed, the answer would be no. There's no need to also check ACAC — though 17261=3\frac{17-2}{6-1} = 3 agrees, of course.)

Slope is a rate

The real power of slope shows up away from the grid: it is the rate of change — how much yy moves when xx moves by 1. On a time–distance graph, the slope is speed; on a time–volume graph, it's liters per minute. This viewpoint takes center stage next lesson, when we study y=mx+by = mx + b.

The Problems tab has thirteen problems: reading slopes off graphs, the horizontal/vertical traps, and a contest-style lattice point count to finish.