Algebra 1
Unit 1 · Lesson 1.2

The number system & the number line

When you solve 2x = 7 later on, the answer is 3.5. That might look like an odd answer, but 3.5 is a real, ordinary number. To see where it fits, start with one picture that holds every number you'll meet: the number line.

Draw a straight line and mark 0 in the middle. The counting numbers (1, 2, 3, and so on, the ones you'd use to count apples) step off to the right. Their negatives, the mirror image on the other side of 0, step off to the left. Every number you'll meet lives somewhere on this one line 1.2.f1.

-3 -2 -1 0 1 2 3 4 5 3/4 -2.5
Figure 1.2.f1

The line is not only the evenly spaced ticks. Look between two ticks, say between 0 and 1, and there are more numbers sitting in the gap: 3/4 lands there, and so does 0.5. The in-between points are numbers too, and every gap is packed with them, no matter how far you zoom in.

Now let's name the points on the line, one group at a time.

Start with the counting numbers: 1, 2, 3, and so on.

Add 0 to that group and you have the whole numbers.

Now add the negatives too. That gives you the integers: …, −2, −1, 0, 1, 2, …, none of them split into parts.

Then there are the in-between points, the ones you can write as one whole number over another, like 3/4. These are the rational numbers. The integers belong here as well, since a whole number like 5 is just 5/1.

Each group grows out of the one before it, all on the same line.

Most points on that line are rational, but not all of them.

Some numbers have decimals that run on forever. That alone doesn't make them special: 0.333… runs on forever, yet it just repeats 3 over and over, and it's really the fraction 1/3. A few numbers, though, run on forever and never fall into a repeating pattern, so no fraction ever lands exactly on them.

The most famous is π (say "pie"), written π = 3.14159…, the number that turns up whenever you measure circles; its decimal never ends and never repeats. Another is written √2 = 1.41421…. That √ is the square-root sign, and √2 just means the number that, times itself, gives 2; you won't compute it here, so read √2 as the name of one point on the line.

Numbers like these are the irrational numbers.

Put the rationals and the irrationals together and you have the real numbers. That's every single point on the line, with no gaps left over. So the "whole line" the picture promised finally has a name, and it's the ground algebra is built on.

You've now met every kind of number on the line, from the counting numbers all the way out to the reals. Here's one last point, and it's a simple one once you see it. A fraction bar or a decimal point is just how a number is spelled, not what it is. The number 5 can be written 5, or 5/1, or 5.0: three spellings that all land on one point on the line. So you can't tell a number's type from how it's written. Work out its value first, then classify it.

New words

  • 1.2.d1 Natural (counting) numbers: 1, 2, 3, …
  • 1.2.d2 Whole numbers: the naturals plus 0.
  • 1.2.d3 Integers: whole numbers and their negatives: …, -2, -1, 0, 1, 2, …, with no fractional part.
  • 1.2.d4 Rational numbers: any number that can be written as a ratio of two integers a/b (b ≠ 0). This includes integers (5 = 5/1), terminating decimals (4.8 = 24/5), and repeating decimals (0.333… = 1/3).
  • 1.2.d5 Irrational numbers: numbers whose decimal never ends and never repeats, so they cannot be written as a ratio of two integers: for example π = 3.14159… and √2 = 1.41421…. (No radical arithmetic yet; √2 returns in Unit 12. Here, just know it names a real point on the line.)
  • 1.2.d6 Real numbers: every number on the number line: the rationals and the irrationals together. Algebra works over the real numbers, so "the whole line" finally has a name.
  • 1.2.d7 Decimal: a way of writing a number using a decimal point; the way it's written doesn't change what kind of number it is.

Worked example

  1. 1.2.w1 Classify 7. It's a counting number, so it's an integer, and 7 = 7/1 makes it rational too. The labels stack; a number can be several types at once.
  2. 1.2.w2 Classify 4.8. It isn't a whole amount, so it's not an integer; but 4.8 = 24/5, a ratio of two integers, so it's rational, non-integer.
  3. 1.2.w3 Classify 10/2. Don't be thrown by the fraction bar. Work out the value first. 10/2 = 5, so its value is 5, which makes it an integer (and rational). The spelling looked like a fraction; the value is a whole number.
  4. 1.2.w4 Classify 0.333…. The repeating decimal is exactly 1/3, a ratio of integers, so it's rational, non-integer. Again, the value decides, not the look.
  5. 1.2.w5 Show three spellings of one number: 5 = 5/1 = 5.0. All three name the same point on the line, a useful reminder that how you write it doesn't change what it is.
  6. 1.2.w6 Classify √2 and π. Neither can be written as a ratio of integers, because their decimals never end and never repeat, so both are irrational (and therefore real, like every point on the line). Compare √9: it looks like a root, but √9 = 3, an integer. Value, not spelling.

One habit worth carrying into the practice below: when a number is written as a fraction or a decimal, work out its value before you label it. A few of the problems coming up look like one type but turn out to be another.

Check yourself

  • 1.2.c1 Name a number that is rational but not an integer, and say how you know it's rational. (One answer: 0.5, because it's 1/2, a ratio of two integers, and it isn't a whole number.)
  • 1.2.c2 Is 12/3 an integer? Make the case from its value, not its appearance. (Work it out: 12/3 = 3, a whole number, so yes, an integer, even though it's written as a fraction.)
  • 1.2.c3 Roughly where does −2.5 sit relative to −2 and −3 on the line? (Exactly halfway between them: one half-step to the left of −2, one half-step to the right of −3.)

You can now name the kinds of numbers, see why each sits inside the next, and place any of them on the line. And here's the part that pays off all course long: you can decide a number's type from its value instead of its spelling.

Sorting different kinds of number in one set is harder than drilling one kind, and that difficulty is doing real work: it's what makes the skill last. Each answer is at the end of the lesson, and the worked examples above cover every type you'll meet here.

Practice

Classify each number; label all types that apply (integer / rational / irrational / real; note non-integer where it matters). Evaluate first where needed. Every one of these is a real number.

1.2.1 7
Reveal answerHide to problem 1integer, rational
1.2.2 -4
Reveal answerHide to problem 2integer, rational
1.2.3 4.8
Reveal answerHide to problem 3rational, non-integer
1.2.4 0
Reveal answerHide to problem 4integer, rational
1.2.5 3/4
Reveal answerHide to problem 5rational, non-integer
1.2.6 -2.5
Reveal answerHide to problem 6rational, non-integer
1.2.7 10/2
Reveal answerHide to problem 7=5 → integer, rational
1.2.8 0.333…
Reveal answerHide to problem 8=1/3 → rational, non-integer
1.2.9 √2
Reveal answerHide to problem 9irrational
1.2.10 π
Reveal answerHide to problem 10irrational
1.2.11 √16
Reveal answerHide to problem 11=4 → integer, rational
1.2.12 0.1010010001… (one more 0 each time — never repeating)
Reveal answerHide to problem 12irrational (never repeats)

(For 7, 8, and 11, notice that how a number is written doesn't fix its type; its value does. In 9, 10, and 12 you're meeting the irrationals: real points on the line with no fraction form.)