Number Line Formula

The Formula

Distance between points a and b on the number line is |b - a|

When to use: Numbers live in order on a line—smaller to the left, larger to the right.

Quick Example

On a number line: \ldots -2, -1, 0, 1, 2 \ldots with equal spacing between integers.

Notation

A horizontal line with 0 at the origin; positive numbers to the right, negative numbers to the left, with equal spacing between consecutive integers

What This Formula Means

A straight line where each point represents a number, with equal spacing giving a visual model of all real numbers. The number line extends infinitely in both directions, with negative numbers to the left of zero and positive numbers to the right, providing a geometric representation of order and distance.

Numbers live in order on a line—smaller to the left, larger to the right.

Formal View

The number line is a bijection f: \mathbb{R} \to \ell from the real numbers to points on a line \ell, preserving order and distance: a < b \iff f(a) is left of f(b), and d(f(a), f(b)) = |b - a|. This makes (\mathbb{R}, |\cdot|) a complete ordered metric space.

Worked Examples

Example 1

easy
Plot and label the following on a number line: -3, -\dfrac{1}{2}, 0, 1.75, \dfrac{7}{3}. Then find the distance between -3 and \dfrac{7}{3}.

Solution

  1. 1
    Convert to decimals for placement: -3 = -3, -\dfrac{1}{2} = -0.5, 0 = 0, 1.75 = 1.75, \dfrac{7}{3} \approx 2.33.
  2. 2
    Order from left to right: -3,\; -0.5,\; 0,\; 1.75,\; 2.33.
  3. 3
    Distance from -3 to \dfrac{7}{3}: \left|\dfrac{7}{3} - (-3)\right| = \left|\dfrac{7}{3} + 3\right| = \left|\dfrac{16}{3}\right| = \dfrac{16}{3} \approx 5.33.

Answer

Distance = \dfrac{16}{3} \approx 5.33.
The number line provides a geometric model for all real numbers. Distance between two points is the absolute value of their difference, so direction does not matter — only the magnitude of the gap. Converting to decimals makes ordering visual and intuitive.

Example 2

medium
Find all integers within distance 2.5 of -1 on the number line.

Example 3

medium
On a number line, point A is at -3 and point B is at 5. Find the midpoint and the distance between them.

Common Mistakes

  • Spacing negative numbers unevenly — -3 to -2 is the same distance as 2 to 3, the number line is uniform
  • Placing \frac{1}{3} closer to 1 than to 0 — \frac{1}{3} is only one-third of the way from 0 to 1
  • Thinking the number line starts at zero — it extends infinitely in both directions

Why This Formula Matters

The number line is the foundation for understanding negative numbers, fractions, and decimals as positions rather than abstract symbols. It is used in thermometers (reading temperature), timelines (ordering historical events), and elevation maps (above/below sea level), and it extends directly into the coordinate plane for graphing.

Frequently Asked Questions

What is the Number Line formula?

A straight line where each point represents a number, with equal spacing giving a visual model of all real numbers. The number line extends infinitely in both directions, with negative numbers to the left of zero and positive numbers to the right, providing a geometric representation of order and distance.

How do you use the Number Line formula?

Numbers live in order on a line—smaller to the left, larger to the right.

What do the symbols mean in the Number Line formula?

A horizontal line with 0 at the origin; positive numbers to the right, negative numbers to the left, with equal spacing between consecutive integers

Why is the Number Line formula important in Math?

The number line is the foundation for understanding negative numbers, fractions, and decimals as positions rather than abstract symbols. It is used in thermometers (reading temperature), timelines (ordering historical events), and elevation maps (above/below sea level), and it extends directly into the coordinate plane for graphing.

What do students get wrong about Number Line?

Placing fractions and negatives correctly: -\frac{3}{4} is between -1 and 0, closer to -1.

What should I learn before the Number Line formula?

Before studying the Number Line formula, you should understand: counting, integers.

Want the Full Guide?

This formula is covered in depth in our complete guide:

Place Value and Measurement: Number Sense Foundations →