This is “Real Numbers and the Number Line”, section 1.1 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

## 1.1 Real Numbers and the Number Line

### Learning Objectives

1. Construct a number line and graph points on it.
2. Use a number line to determine the order of real numbers.
3. Determine the opposite of a real number.
4. Determine the absolute value of a real number.

## Definitions

A setAny collection of objects. is a collection of objects, typically grouped within braces { }, where each object is called an elementAn object within a set.. For example, {red, green, blue} is a set of colors. A subsetA set consisting of elements that belong to a given set. is a set consisting of elements that belong to a given set. For example, {green, blue} is a subset of the color set above. A set with no elements is called the empty setA subset with no elements, denoted $∅$ or { }. and has its own special notation, { } or ∅.

When studying mathematics, we focus on special sets of numbers. The set of natural (or counting) numbersThe set of counting numbers {1, 2, 3, 4, 5, …}., denoted N, is

The three periods (…) is called an ellipsis and indicates that the numbers continue without bound. The set of whole numbersThe set of natural numbers combined with zero {0, 1, 2, 3, 4, 5, …}., denoted $W$, is the set of natural numbers combined with zero.

The set of integersThe set of positive and negative whole numbers combined with zero {…, −3, −2, −1, 0, 1, 2, 3, …}., denoted Z, consists of both positive and negative whole numbers, as well as zero.

Notice that the sets of natural and whole numbers are both subsets of the set of integers.

Rational numbersNumbers of the form $ab$, where a and b are integers and b is nonzero., denoted Q, are defined as any number of the form $ab$, where a and b are integers and b is nonzero. Decimals that repeat or terminate are rational. For example,

The set of integers is a subset of the set of rational numbers because every integer can be expressed as a ratio of the integer and 1. In other words, any integer can be written over 1 and can be considered a rational number. For example,

Irrational numbersNumbers that cannot be written as a ratio of two integers. are defined as any number that cannot be written as a ratio of two integers. Nonterminating decimals that do not repeat are irrational. For example,

The set of real numbersThe set of all rational and irrational numbers., denoted R, is defined as the set of all rational numbers combined with the set of all irrational numbers. Therefore, all the numbers defined so far are subsets of the set of real numbers. In summary,

## Number Line

A real number lineA line that allows us to visually represent real numbers by associating them with points on the line., or simply number line, allows us to visually display real numbers by associating them with unique points on a line. The real number associated with a point is called a coordinateThe real number associated with a point on a number line.. A point on the real number line that is associated with a coordinate is called its graphA point on the number line associated with a coordinate..

To construct a number line, draw a horizontal line with arrows on both ends to indicate that it continues without bound. Next, choose any point to represent the number zero; this point is called the originThe point on the number line that represtents zero..

Mark off consistent lengths on both sides of the origin and label each tick mark to define the scale. Positive real numbers lie to the right of the origin and negative real numbers lie to the left. The number zero (0) is neither positive nor negative. Typically, each tick represents one unit.

As illustrated below, the scale need not always be one unit. In the first number line, each tick mark represents two units. In the second, each tick mark represents $17$.

The graph of each real number is shown as a dot at the appropriate point on the number line. A partial graph of the set of integers Z follows:

Example 1: Graph the following set of real numbers: .

Solution: Graph the numbers on a number line with a scale where each tick mark represents $13$ unit.

## Ordering Real Numbers

When comparing real numbers on a number line, the larger number will always lie to the right of the smaller one. It is clear that 15 is greater than 5, but it may not be so clear to see that −1 is greater than −5 until we graph each number on a number line.

We use symbols to help us efficiently communicate relationships between numbers on the number line. The symbols used to describe an equality relationshipExpress equality with the symbol =. If two quantities are not equal, use the symbol $≠$. between numbers follow:

These symbols are used and interpreted in the following manner:

We next define symbols that denote an order relationship between real numbers.

These symbols allow us to compare two numbers. For example,

Since the graph of −120 is to the left of the graph of –10 on the number line, that number is less than −10. We could write an equivalent statement as follows:

Similarly, since the graph of zero is to the right of the graph of any negative number on the number line, zero is greater than any negative number.

The symbols < and > are used to denote strict inequalitiesExpress ordering relationships using the symbol < for “less than” and > for “greater than.”, and the symbols $≤$ and $≥$ are used to denote inclusive inequalitiesUse the symbol $≤$ to express quantities that are “less than or equal to” and $≥$ for quantities that are “greater than or equal to” each other.. In some situations, more than one symbol can be correctly applied. For example, the following two statements are both true:

In addition, the “or equal to” component of an inclusive inequality allows us to correctly write the following:

The logical use of the word “or” requires that only one of the conditions need be true: the “less than” or the “equal to.”

Example 2: Fill in the blank with <, =, or >: −2 ____ −12.

Solution: Use > because the graph of −2 is to the right of the graph of −12 on a number line. Therefore, −2 > −12, which reads “negative two is greater than negative twelve.”

In this text, we will often point out the equivalent notation used to express mathematical quantities electronically using the standard symbols available on a keyboard. We begin with the equivalent textual notation for inequalities:

Many calculators, computer algebra systems, and programming languages use this notation.

## Opposites

The oppositeReal numbers whose graphs are on opposite sides of the origin with the same distance to the origin. of any real number a is −a. Opposite real numbers are the same distance from the origin on a number line, but their graphs lie on opposite sides of the origin and the numbers have opposite signs.

For example, we say that the opposite of 10 is −10.

Next, consider the opposite of a negative number. Given the integer −7, the integer the same distance from the origin and with the opposite sign is +7, or just 7.

Therefore, we say that the opposite of −7 is −(−7) = 7. This idea leads to what is often referred to as the double-negative propertyThe opposite of a negative number is positive: −(−a) = a.. For any real number a,

Example 3: What is the opposite of $−34$?

Solution: Here we apply the double-negative property.

Answer: $34$

Example 4: Simplify: $−(−(4))$.

Solution: Start with the innermost parentheses by finding the opposite of +4.

Example 5: Simplify: $−(−(−2))$.

Solution: Apply the double-negative property starting with the innermost parentheses.

### Tip

If there is an even number of consecutive negative signs, then the result is positive. If there is an odd number of consecutive negative signs, then the result is negative.

Try this! Simplify: $−(−(−(5)))$.

### Video Solution

(click to see video)

## Absolute Value

The absolute valueThe absolute value of a number is the distance from the graph of the number to zero on a number line. of a real number a, denoted $|a|$, is defined as the distance between zero (the origin) and the graph of that real number on the number line. Since it is a distance, it is always positive. For example,

Both 4 and −4 are four units from the origin, as illustrated below:

Example 6: Simplify:

a. $|−12|$

b. $|12|$

Solution: Both −12 and 12 are twelve units from the origin on a number line. Therefore,

Also, it is worth noting that

The absolute value can be expressed textually using the notation abs(a). We often encounter negative absolute values, such as $−|3|$ or −abs(3). Notice that the negative sign is in front of the absolute value symbol. In this case, work the absolute value first and then find the opposite of the result.

Try not to confuse this with the double-negative property, which states that $−(−7)=+7$.

Example 7: Simplify: $−|−(−7)|$.

Solution: First, find the opposite of −7 inside the absolute value. Then find the opposite of the result.

At this point, we can determine what real numbers have a particular absolute value. For example,

Think of a real number whose distance to the origin is 5 units. There are two solutions: the distance to the right of the origin and the distance to the left of the origin, namely, ${±5}$. The symbol (±) is read “plus or minus” and indicates that there are two answers, one positive and one negative.

Now consider the following:

Here we wish to find a value for which the distance to the origin is negative. Since negative distance is not defined, this equation has no solution. If an equation has no solution, we say the solution is the empty set: Ø.

### Key Takeaways

• Any real number can be associated with a point on a line.
• Create a number line by first identifying the origin and marking off a scale appropriate for the given problem.
• Negative numbers lie to the left of the origin and positive numbers lie to the right.
• Smaller numbers always lie to the left of larger numbers on the number line.
• The opposite of a positive number is negative and the opposite of a negative number is positive.
• The absolute value of any real number is always positive because it is defined to be the distance from zero (the origin) on a number line.
• The absolute value of zero is zero.

### Topic Exercises

Part A: Real Numbers

Use set notation to list the described elements.

1. The hours on a clock.

2. The days of the week.

3. The first ten whole numbers.

4. The first ten natural numbers.

5. The first five positive even integers.

6. The first five positive odd integers.

Determine whether the following real numbers are integers, rational, or irrational.

7. $12$

8. −3

9. 4.5

10. −5

11. $0.36¯$

12. $0.3¯$

13. $1.001000100001…$

14. $1.001¯$

15. $e=2.71828…$

16. $7=2.645751…$

17. −7

18. 3.14

19. $227$

20. 1.33

21. 0

22. 8,675,309

True or false.

23. All integers are rational numbers.

24. All integers are whole numbers.

25. All rational numbers are whole numbers.

26. Some irrational numbers are rational.

27. All terminating decimal numbers are rational.

28. All irrational numbers are real.

Part B: Real Number Line

Choose an appropriate scale and graph the following sets of real numbers on a number line.

29. {−3, 0 3}

30. {−2, 2, 4, 6, 8, 10}

31. ${−2, −13, 23, 53}$

32.

33.

34. ${ –5, –2, –1, 0}$

35. ${ −3, −2, 0, 2, 5}$

36. {−2.5, −1.5, 0, 1, 2.5}

37. {0, 0.3, 0.6, 0.9, 1.2}

38. {−10, 30, 50}

39. {−6, 0, 3, 9, 12}

40. {−15, −9, 0, 9, 15}

Part C: Ordering Real Numbers

Fill in the blank with <, =, or >.

41.

42.

43.

44.

45.

46.

47.

48.

49.

50.

True or false.

51. $5≠7$

52. $4=5$

53. $1≠1$

54. $−5>−10$

55. $4≤4$

56. $−12≥0$

57. $−10=−10$

58. $3>3$

59. $−1000<−20$

60. $0=0$

61. List three integers less than −5.

62. List three integers greater than −10.

63. List three rational numbers less than zero.

64. List three rational numbers greater than zero.

65. List three integers between −20 and −5.

66. List three rational numbers between 0 and 1.

Translate each statement into an English sentence.

67. $10<20$

68. $−50≤−10$

69. $−4≠0$

70. $30≥−1$

71. $0=0$

72. $e≈2.718$

Translate the following into a mathematical statement.

73. Negative seven is less than zero.

74. Twenty-four is not equal to ten.

75. Zero is greater than or equal to negative one.

76. Four is greater than or equal to negative twenty-one.

77. Negative two is equal to negative two.

78. Negative two thousand is less than negative one thousand.

Part D: Opposites

Simplify.

79. $−(−9)$

80. $−(−35)$

81. $−(10)$

82. $−(3)$

83. $−(5)$

84. $−(34)$

85. $−(−1)$

86. $−(−(−1))$

87. $−(−(1))$

88. $−(−(−3))$

89. $−(−(−(−11)))$

90. What is the opposite of $−12$

91. What is the opposite of $π$?

92. What is the opposite −0.01?

93. Is the opposite of −12 smaller or larger than −11?

94. Is the opposite of 7 smaller or larger than −6?

Fill in the blank with <, =, or >.

95.

96.

97.

98.

99.

100.

Part E: Absolute Value

Simplify.

101. $|20|$

102. $|−20|$

103. $|−33|$

104. $|−0.75|$

105. $|−25|$

106. $|38|$

107. $|0|$

108. $|1|$

109. $−|12|$

110. $−|−20|$

111. $−|20|$

112. $−|−8|$

113. $−|7|$

114. $−|−316|$

115. $−(−|89|)$

116. $|−(−2)|$

117. $−|−(−3)|$

118. $−(−|5|)$

119. $−(−|−45|)$

120. $−|−(−21)|$

121. abs(6)

122. abs(−7)

123. −abs(5)

124. −abs(−19)

125. − (−abs(9))

126. −abs(−(−12))

Determine the unknown.

127. $| ? |=9$

128. $| ? |=15$

129. $| ? |=0$

130. $| ? |=1$

131. $| ? |=−8$

132. $| ? |=−20$

133. $|?|−10=−2$

134. $|?|+5=14$

Fill in the blank with <, $=$, or >.

135.

136.

137.

138.

139.

140.

Part F: Discussion Board Topics

141. Research and discuss the history of the number zero.

142. Research and discuss the various numbering systems throughout history.

143. Research and discuss the definition and history of $π$.

144. Research the history of irrational numbers. Who is credited with proving that the square root of 2 is irrational and what happened to him?

145. Research and discuss the history of absolute value.

146. Discuss the “just make it positive” definition of absolute value.

1: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}

3: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}

5: {2, 4, 6, 8, 10}

7: Rational

9: Rational

11: Rational

13: Irrational

15: Irrational

17: Integer, Rational

19: Rational

21: Integer, Rational

23: True

25: False

27: True

29:

31:

33:

35:

37:

39:

41: <

43: >

45: >

47: <

49: =

51: True

53: False

55: True

57: True

59: True

61: −10, −7, −6 (answers may vary)

63: −1, −2/3, −1/3 (answers may vary)

65: −15, −10, −7 (answers may vary)

67: Ten is less than twenty.

69: Negative four is not equal to zero.

71: Zero is equal to zero.

73: $−7<0$

75: $0≥−1$

77: $−2=−2$

79: 9

81: −10

83: −5

85: 1

87: 1

89: 11

91: $−π$

93: Larger

95: <

97: >

99: <

101: 20

103: 33

105: 2/5

107: 0

109: −12

111: −20

113: −7

115: 8/9

117: −3

119: 45

121: 6

123: −5

125: 9

127: $±9$

129: 0

131: Ø, No solution

133: $±8$

135: >

137: <

139: <