Every number has an address
A number line is a ruler that never ends. Zero sits in the middle, positive numbers march off to the right and negative numbers to the left. Every number you will meet in school — whole numbers, fractions, decimals, negatives — has exactly one spot on it, and that gives the single most useful rule in arithmetic:
Of two numbers, the one further to the right is the greater one.
The lab uses that one picture for three jobs. Pick an experiment at the top.
Plot & compare
Type a list such as 3/4, -1.5, 2, 1 1/2, -2/3, 0.75. Each number is placed on the line, and the readout writes them in order from least to greatest. Fractions, mixed numbers and decimals can be mixed freely; 3/4 and 0.75 land on the same point because they are two names for one number.
Use the Tick marks menu to cut each unit into halves, thirds, quarters, fifths, tenths and so on. To place 3/4 by hand, cut the stretch from 0 to 1 into 4 equal parts (the denominator) and count 3 of them (the numerator). For a negative number such as −2/3, do the same thing to the left of zero. This is also why −1.5 is less than −2/3: it is further left, even though 1.5 looks bigger than 2/3. The fraction visualizer shows the same fractions as pies and bars.
Add & subtract with jumps
Addition and subtraction are movements along the line. Start at the first number, then:
| Operation | Direction | Example |
|---|---|---|
| add a positive | right | 3 + 2 = 5 |
| add a negative | left | 3 + (−2) = 1 |
| subtract a positive | left | 3 − 2 = 1 |
| subtract a negative | right | 3 − (−2) = 5 |
Subtracting means “do the opposite of adding”. Adding −2 moves 2 to the left, so subtracting −2 must move 2 to the right — which is why subtracting a negative is the same as adding a positive. Press Step to take the hops one at a time, or Play to watch them.
Example: −4 + 7. Start at −4 and make 7 hops to the right: −3, −2, −1, 0, 1, 2, 3. You land on 3, so −4 + 7 = 3. Notice that 4 of the hops were used up just getting back to zero.
Whole numbers up to 20 are shown as single-unit hops; fractions and decimals are shown as one jump of the right length, for example 1/2 + 3/4 = 1 1/4. For the written method with common denominators, use the fraction calculator.
Inequalities
An inequality such as x > 2 has infinitely many solutions, so we draw them instead of listing them: a thick ray starting at 2 and running to the right. The circle at the end shows whether the endpoint itself counts:
- Open (hollow) circle — the endpoint is not a solution: < or >.
- Closed (filled) circle — the endpoint is a solution: ≤ or ≥.
A compound inequality like −2 < x ≤ 3 is the segment between the two endpoints. The lab also writes the answer in interval notation, (−2, 3], where a round bracket means “not included” and a square bracket means “included”. Type a test value to check whether it is a solution.
Rounding
Rounding asks: which marked point is nearest? To round 3.47 to the nearest tenth, find the tenths on either side (3.4 and 3.5) and the halfway point between them (3.45). Since 3.47 is past halfway, it is closer to 3.5. A number exactly halfway is rounded up by convention (for negative numbers, away from zero). The rounding calculator works through the digit rule for any place value.
Experiments to try
- Plot 1/2, 2/4, 0.5 and 5/10. What do you notice? Find two more numbers that land on the same point.
- Plot −3, −1/2, −2.25 and −1/3. Before looking at the readout, predict the order from least to greatest.
- In jump mode, try 5 − 8, then 5 + (−8). Then try 2 − (−6) and 2 + 6. Write a rule for each pair.
- Find a number that rounds to 4 to the nearest whole number but to 3.5 to the nearest tenth. What is the smallest such number?
- Graph x ≥ −1 and then −1 ≤ x < 4. Name three numbers that solve the first but not the second.
Frequently asked questions
How do you put a fraction on a number line?
Divide the distance from 0 to 1 into as many equal parts as the denominator, then count as many parts from 0 as the numerator. For 3/4, split the unit into 4 equal parts and go to the third mark. Improper fractions continue past 1, and negative fractions are counted to the left of 0.
Which is bigger, −1.5 or −2/3?
−2/3 is bigger. On a number line −2/3 (about −0.667) is to the right of −1.5, and the number further right is always the greater one. With negative numbers, the one closer to zero is greater.
Why does subtracting a negative number give a bigger answer?
Subtracting is the opposite of adding. Adding −2 moves 2 units left, so subtracting −2 moves 2 units right. That makes 3 − (−2) the same as 3 + 2 = 5.
What is the difference between an open and a closed circle on a number line?
An open (hollow) circle means the endpoint is not part of the solution, as in x > 2 or x < 2. A closed (filled) circle means it is included, as in x ≥ 2 or x ≤ 2.
How do I write an inequality in interval notation?
List the left and right ends of the solution with a comma between them. Use a round bracket for an end that is not included and a square bracket for one that is. For example −2 < x ≤ 3 is (−2, 3], and x > 2 is (2, ∞). Infinity always takes a round bracket.
How does a number line show rounding?
Mark the two nearest multiples of the place value on either side of the number, and the halfway point between them. The number rounds to whichever end it is closer to; exactly halfway rounds up by convention.