Math Atlas

정수와 수직선Integers & the Number Line

Pre-AlgebraPre-Algebra · 1. 정수와 연산 순서1. Integers & Order of Operations

학습 목표
  • 0보다 작은 수가 왜 필요한지 실생활 예로 설명할 수 있다.
  • 정수를 수직선 위에 놓고, 어떤 두 정수든 크기를 비교할 수 있다.
  • 서로 반대인 수를 알고, (3)=3-(-3) = 3인 이유를 그림으로 설명할 수 있다.
  • 두 정수 사이에 있는 정수를 빠뜨리지 않고 셀 수 있다.

0보다 작은 수가 필요한 순간

한겨울 일기예보는 "내일 아침 기온은 영하 7도"라고 말한다. 백화점 엘리베이터에는 지하 2층을 뜻하는 B2 버튼이 있고, 통장에서 돈을 뽑으면 잔액 옆에 출금액이 빨간색으로 찍힌다. 셋 다 같은 상황이다 — 기준(0)이 있고, 그 아래로 내려간 양을 말하고 있다.

1, 2, 3, … 같은 수만으로는 이런 상황을 쓸 수가 없다. "0도에서 7도 내려간 온도"를 한 덩어리 수로 부르려고 만든 것이 음수다. 기호로는 0에서 7만큼 내려갔다는 뜻으로 7-7이라 쓰고, "마이너스 7"이라고 읽는다. 반대로 0보다 큰 수는 양수이고, 필요하면 +7+7처럼 부호를 붙여 쓰지만 보통은 그냥 77로 줄여 쓴다.

주의

00은 양수도 음수도 아니다. 0은 "위"와 "아래"를 가르는 기준점이지, 어느 한쪽에 속한 수가 아니다. "음수가 아닌 수를 모두 고르라"는 문제에서 0을 빠뜨리는 실수가 잦다 — 음수가 아닌 수에는 0도 들어간다.

정수와 수직선

정의정수

자연수 1,2,3,1, 2, 3, \ldots(양의 정수), 00, 그리고 음의 정수 1,2,3,-1, -2, -3, \ldots을 통틀어 정수라고 한다.

, 3, 2, 1, 0, 1, 2, 3, \ldots,\ -3,\ -2,\ -1,\ 0,\ 1,\ 2,\ 3,\ \ldots

정수를 한눈에 보는 도구가 수직선이다. 직선 위에 기준점 0을 찍고, 오른쪽으로 한 칸 갈 때마다 1씩 커지게, 왼쪽으로 한 칸 갈 때마다 1씩 작아지게 같은 간격으로 눈금을 매긴다.

-5 -4 -3 -2 -1 0 1 2 3 4 5
정수의 수직선. 0의 오른쪽이 양수, 왼쪽이 음수다.

수직선이 좋은 이유는 수를 위치로 바꿔 주기 때문이다. "3-3"이라는 기호를 "0에서 왼쪽으로 세 칸 간 자리"라는 그림으로 볼 수 있게 되고, 그 순간부터 수에 관한 많은 질문이 자리에 관한 질문으로 바뀐다. 크기 비교가 바로 그렇고, 나중에 배울 음수의 덧셈과 뺄셈도 이 직선 위에서 벌어지는 일이다.

크기 비교: 오른쪽에 있는 수가 크다

수직선에서는 오른쪽에 있을수록 큰 수다. 양수끼리 비교할 때는 늘 하던 그대로다 — 5522보다 오른쪽에 있으니 5>25 > 2. 음수가 끼어들 때가 문제다.

-6 -5 -4 -3 -2 -1 0 1 2 3 −5 −2
수직선에서 −2는 −5보다 오른쪽에 있다.

그림에서 2-25-5보다 오른쪽에 있다. 따라서

2>5.-2 > -5.

이 결론이 실생활 감각과도 맞는지 확인해 보자. 영하 2도는 영하 5도보다 따뜻하다. 2천 원 빚진 사람은 5천 원 빚진 사람보다 형편이 낫다. "오른쪽이 크다"는 약속은 이런 일상의 감각을 그대로 수직선에 옮겨 놓은 것이다.

주의

"8이 3보다 크니까 8-83-3보다 크겠지"가 이 단원에서 가장 흔한 실수다. 방향이 반대다 — 음수는 0에서 멀어질수록 작아진다. 8-83-3보다 왼쪽에 있으므로 8<3-8 < -3이다. 헷갈릴 때마다 수직선을 떠올리거나 기온으로 바꿔 읽어 보자. 영하 8도가 영하 3도보다 추운 날이다.

예제 1 · 순서대로 늘어놓기

7, 3, 0, 2, 5-7,\ 3,\ 0,\ -2,\ 5를 작은 것부터 순서대로 나열하여라.

풀이. 다섯 수를 수직선에 찍어 보면 왼쪽부터 7, 2, 0, 3, 5-7,\ -2,\ 0,\ 3,\ 5 순서로 놓인다. 따라서

7<2<0<3<5.-7 < -2 < 0 < 3 < 5.

검산 삼아 이웃한 쌍만 다시 본다. 7-72-2보다 0에서 먼 음수이므로 더 작다 ✓. 음수 2-200보다 작다 ✓. 0<3<50 < 3 < 5는 익숙한 비교다 ✓.

서로 반대인 수

333-3은 0에서 같은 거리(세 칸)만큼, 서로 반대 방향에 있다. 이런 두 수를 서로 반대인 수(opposite)라고 부른다. 부호만 다르고 0까지의 거리는 같은 짝이다.

-5 -4 -3 -2 -1 0 1 2 3 4 5 3 3
3과 −3은 0에서 같은 거리에 있는, 서로 반대인 수다.

여기서 - 기호의 두 번째 얼굴이 나온다. 지금까지 -는 "음수 표시"였지만, "반대쪽으로!"라는 명령으로도 읽을 수 있다. 3-3은 "3의 반대인 수". 그러면 (3)-(-3)은 "3-3의 반대인 수"이니, 수직선에서 3-3을 0 반대편으로 넘기면 33이다:

(3)=3.-(-3) = 3.

반대의 반대는 제자리다. 참고로 00의 반대인 수는 00 자신이다 — 0에서 거리가 0인 수는 0뿐이니까.

참고

"0에서 몇 칸 떨어져 있는가"라는 거리에는 절댓값이라는 이름이 따로 붙어 있다. 5단원에서 음수의 계산과 함께 제대로 다룬다. 지금은 "반대인 수끼리는 0까지의 거리가 같다"는 그림만 확실히 챙겨 두면 된다.

사이에 있는 정수 세기

크기 비교를 할 수 있으면 "두 수 사이에 어떤 정수가 있는가"도 답할 수 있다. 경계를 포함하느냐 마느냐에서 실수가 자주 나오니, 예제로 연습해 두자.

예제 2 · 조건을 만족하는 정수 나열

4<n2-4 < n \leq 2를 만족하는 정수 nn을 모두 구하여라.

풀이. 수직선에서 4-4보다 오른쪽(4-4 제외), 22까지(22 포함)의 정수를 읽으면

n=3, 2, 1, 0, 1, 2n = -3,\ -2,\ -1,\ 0,\ 1,\ 2

로 모두 6개다. 부등호 모양에 주의: 4<n-4 < n이므로 4-4빠지고, n2n \leq 2이므로 22들어간다.

검산: 4-4를 넣으면 4<4-4 < -4가 거짓이니 제외가 맞다 ✓. 22를 넣으면 222 \leq 2가 참이니 포함이 맞다 ✓.

예제 3 · 개수만 세기

11-1188 사이에 있는 정수(양 끝은 제외)는 모두 몇 개인가?

풀이. 다 나열하기엔 많으니 0을 기준으로 끊어 센다.

  • 음수 쪽: 10,9,,1-10, -9, \ldots, -11010
  • 0011
  • 양수 쪽: 1,2,,71, 2, \ldots, 777

합하면 10+1+7=1810 + 1 + 7 = 18개다.

검산: 양 끝 처리 확인 — 11-1188 자신은 목록에 없다 ✓. 음수 쪽이 10-10부터인 것도, 양수 쪽이 77까지인 것도 "사이"라는 조건과 맞다 ✓.

이렇게 0에서 끊어 세는 방법은 음수가 낀 문제 전반에서 쓸모가 많다. 기온이 영하에서 영상으로 오른 날 "몇 도 올랐나"를 셀 때도 0(어는점)에서 한 번 끊으면 실수가 없다 — 문제 탭에서 직접 해 보자.

Goals
  • Explain, with real examples, why we need numbers below zero.
  • Place integers on a number line and compare any two of them.
  • Recognize opposites and explain from a picture why (3)=3-(-3) = 3.
  • Count the integers between two given integers without missing any.

When zero isn't low enough

A winter forecast says the temperature will drop to 7 degrees below zero. The elevator in a department store has a B2 button for the second basement level. When you take money out of your bank account, the withdrawal shows up in red next to the balance. All three are the same situation: there is a reference point — zero — and something has gone below it.

The numbers 1,2,3,1, 2, 3, \ldots can't describe any of this. Negative numbers were invented to name amounts below zero in a single number. We write 7-7, read "negative seven," for the value 7 steps below zero. Numbers above zero are positive; you can write +7+7 when you want to stress the sign, but usually plain 77 means the same thing.

Watch out

00 is neither positive nor negative. Zero is the reference point that separates "above" from "below" — it doesn't belong to either side. When a problem says "list all the numbers that are not negative," people often forget 00. It counts: not-negative includes zero.

Integers and the number line

DefinitionIntegers

The counting numbers 1,2,3,1, 2, 3, \ldots (the positive integers), zero, and the negative integers 1,2,3,-1, -2, -3, \ldots together form the integers:

, 3, 2, 1, 0, 1, 2, 3, \ldots,\ -3,\ -2,\ -1,\ 0,\ 1,\ 2,\ 3,\ \ldots

The tool that lets you see all the integers at once is the number line. Draw a line, mark a point 00, and lay off equally spaced tick marks: each step to the right adds 1, each step to the left takes 1 away.

-5 -4 -3 -2 -1 0 1 2 3 4 5
The integer number line. Positives sit to the right of 0, negatives to the left.

What makes the number line so useful is that it turns numbers into positions. The symbol 3-3 becomes "the spot three steps left of 0," and from then on many questions about numbers become questions about locations. Comparing sizes works that way, and so will adding and subtracting negative numbers when we get there in Unit 5 — all of it happens on this line.

Comparing: farther right means greater

On the number line, the number farther to the right is the greater one. Between positives this is nothing new — 55 sits to the right of 22, so 5>25 > 2. The interesting case is when negatives show up.

-6 -5 -4 -3 -2 -1 0 1 2 3 −5 −2
On the number line, −2 lies to the right of −5.

In the picture, 2-2 lies to the right of 5-5, so

2>5.-2 > -5.

Does that match common sense? Check it against real life. A temperature of 2-2 degrees is warmer than 5-5 degrees. Owing 2,000 won leaves you better off than owing 5,000 won. The "right means greater" rule is just everyday experience copied onto a line.

Watch out

The most common mistake in this whole unit: "8 is bigger than 3, so 8-8 must be bigger than 3-3." It's the other way around — negative numbers get smaller as they get farther from 0. Since 8-8 lies to the left of 3-3, we have 8<3-8 < -3. When in doubt, picture the line, or translate to temperatures: a 8-8 degree day is colder than a 3-3 degree day.

Example 1 · Putting numbers in order

Arrange 7, 3, 0, 2, 5-7,\ 3,\ 0,\ -2,\ 5 from least to greatest.

Solution. Plot all five on a number line. Reading from left to right gives 7, 2, 0, 3, 5-7,\ -2,\ 0,\ 3,\ 5, so

7<2<0<3<5.-7 < -2 < 0 < 3 < 5.

Check the neighboring pairs. 7-7 is farther from 0 than 2-2, and both are negative, so 7-7 is smaller ✓. The negative 2-2 is below 00 ✓. And 0<3<50 < 3 < 5 is familiar territory ✓.

Opposites

33 and 3-3 sit at the same distance from 0 — three steps — but on opposite sides. Two numbers paired like this are called opposites: same distance from zero, different signs.

-5 -4 -3 -2 -1 0 1 2 3 4 5 3 3
3 and −3 are opposites: the same distance from 0, on opposite sides.

Here the - sign shows its second face. So far it has marked negative numbers, but you can also read it as a command: "go to the opposite side!" Then 3-3 means "the opposite of 3," and (3)-(-3) means "the opposite of 3-3" — flip 3-3 across 0 and you land on 33:

(3)=3.-(-3) = 3.

The opposite of the opposite takes you back where you started. And the opposite of 00 is 00 itself — the only number at distance zero from 0 is 0.

Note

The distance "how many steps from 0" has its own name, absolute value. It gets a proper treatment in Unit 5, together with arithmetic on negative numbers. For now the picture to keep is: opposites are equally far from zero.

Counting the integers in between

Once you can compare, you can answer "which integers lie between these two?" The errors here almost always come from the endpoints — included or not? — so let's practice.

Example 2 · Listing integers that satisfy a condition

Find all integers nn with 4<n2-4 < n \leq 2.

Solution. On the number line we want the integers to the right of 4-4 (excluding 4-4), up to and including 22:

n=3, 2, 1, 0, 1, 2n = -3,\ -2,\ -1,\ 0,\ 1,\ 2

— six of them. Watch the two inequality signs: 4<n-4 < n means 4-4 is out, while n2n \leq 2 means 22 is in.

Check: plugging in 4-4 gives 4<4-4 < -4, false, so excluding it was right ✓. Plugging in 22 gives 222 \leq 2, true, so including it was right ✓.

Example 3 · Counting without listing

How many integers lie strictly between 11-11 and 88 (not counting the endpoints)?

Solution. Too many to enjoy listing, so split the count at 0.

  • Negative side: 10,9,,1-10, -9, \ldots, -1 — that's 1010 integers.
  • Zero — 11 more.
  • Positive side: 1,2,,71, 2, \ldots, 7 — that's 77 integers.

Total: 10+1+7=1810 + 1 + 7 = 18.

Check the endpoints: 11-11 and 88 themselves are not in the count ✓, the negative side correctly starts at 10-10, and the positive side correctly stops at 77 ✓.

This trick — splitting the count at zero — earns its keep all over problems involving negatives. It's exactly how you'd count the rise in temperature on a day that starts below freezing and ends above: cut once at 0 and nothing goes wrong. Try it yourself in the problems tab.