Eighth Grade Mathematics: Absolute Value and Distance on the Real Line

Distance is a fundamental geometric and physical quantity that represents the separation between two locations, and by its very nature, distance can never be negative. On the one-dimensional real number line, the mathematical tool used to measure distance and magnitude regardless of direction is the absolute value. In this chapter, you will explore the formal definition of absolute value, examine its geometric interpretation as distance from zero, calculate distances between any two coordinates, and solve equations involving absolute value expressions.

Geometric and Algebraic Definitions of Absolute Value

Geometrically, the absolute value of a real number x, written as |x|, represents the distance along the number line between the point corresponding to x and the origin at zero.

                     |-4| = 4                   |3| = 3
               <-------------------          ------------->
<----+----+----+----+----+----+----+----+----+----+----+----+----+----+---->
    -6   -5   -4   -3   -2   -1    0    1    2    3    4    5    6

Because distance is inherently non-negative, the absolute value of any real number is always greater than or equal to zero. Both 4 and -4 are exactly 4 units away from zero; hence, |4| = 4 and |-4| = 4.

The Formal Piecewise Definition

Algebraically, absolute value is defined as a piecewise function. Many students mistakenly think that the absolute value simply removes a negative sign, but the formal mathematical definition explains how the operation acts on both positive and negative quantities:

        /   x,   if x >= 0
|x| =  <
        \  -x,   if x < 0

When x is positive or zero, |x| returns the number unchanged. When x is negative, |x| returns -x. Notice that if x = -7, then -x = -(-7) = 7. The leading negative sign in -x does not indicate a negative result; rather, it negates the already negative value of x to make the final outcome strictly positive.

Distance Between Two Points on the Number Line

The concept of absolute value extends directly to measuring the distance between any two arbitrary coordinates a and b on the real number line.

Distance Formula on the Real Line:
Distance = |a - b| = |b - a|

Because |a - b| = |b - a|, it does not matter which coordinate you subtract from the other; the absolute value guarantees that the distance is always positive and symmetric.

Example: Find the distance between -5 and 3 on the number line.

Calculation 1: |(-5) - 3|  = |-8| = 8
Calculation 2: |3 - (-5)|  = |3 + 5| = |8| = 8

        <----------------------- Distance = 8 ----------------------->
<----+----+----+----+----+----+----+----+----+----+----+----+----+----+---->
    -6   -5   -4   -3   -2   -1    0    1    2    3    4    5    6

Counting the unit spaces between -5 and 3 confirms that there are exactly 8 units separating them. The absolute value of their difference computes this distance algebraically without requiring you to draw or count tick marks.

Solving Basic Absolute Value Equations

An equation of the form |x - c| = d has an intuitive geometric meaning: it asks for all numbers x whose distance from a center point c is equal to d units.

Solve: |x - 2| = 5
Geometric Meaning: "What numbers are 5 units away from 2?"

               5 units left                      5 units right
          <---------------------               --------------------->
<----+----+----+----+----+----+----+----+----+----+----+----+----+----+---->
    -4   -3   -2   -1    0    1    2    3    4    5    6    7    8    9
         x = -3                      Center               x = 7

To solve |x - c| = d algebraically, you split the equation into two separate linear cases because the quantity inside the absolute value can equal either positive d or negative d:

Case 1:  x - 2 = 5   --->  x = 7
Case 2:  x - 2 = -5  --->  x = -3

Both 7 and -3 satisfy the original equation: |7 - 2| = |5| = 5, and |-3 - 2| = |-5| = 5.

Equations with No Solution

Because an absolute value expression measures distance, it can never evaluate to a negative number. If you encounter an equation where an isolated absolute value is set equal to a negative quantity, such as |2*x + 3| = -8, there are immediately no real solutions. Distance cannot be negative.

Chapter Exercises

Exercise 1: Calculate the exact distance on the real number line between the coordinate -14 and the coordinate 9 using the absolute value distance formula. Show the arithmetic in both subtraction orders to confirm symmetry.

Exercise 2: Solve the absolute value equation |3*x - 4| = 11 algebraically. Show the separation into two linear cases and verify both solutions in the original equation.

Exercise 3: Explain in paragraph form why the equation |x + 6| + 9 = 4 has no real solution. Show the necessary algebraic step that reveals this impossibility.

Solutions and Explanations

Solution 1: To find the distance between -14 and 9, use the distance formula |a - b|. Evaluating with a = -14 and b = 9 gives |-14 - 9|. Subtracting 9 from -14 yields -23, and the absolute value of -23 is |-23| = 23 units. Evaluating in reverse order with a = 9 and b = -14 gives |9 - (-14)|. The double negative becomes addition, giving |9 + 14| = |23| = 23 units. Both calculations yield exactly 23 units, verifying that the distance between the two points is symmetric and non-negative regardless of the order of subtraction.

Solution 2: To solve the absolute value equation |3x - 4| = 11, recognize that the expression inside the absolute value bars, 3x - 4, can equal either positive 11 or negative 11 because both numbers have an absolute value of 11. In the first case, set 3x - 4 = 11. Adding 4 to both sides gives 3x = 15, and dividing by 3 yields x = 5. In the second case, set 3x - 4 = -11. Adding 4 to both sides gives 3x = -7, and dividing by 3 yields x = -7/3. To verify x = 5, substitute into the original equation: |3(5) - 4| = |15 - 4| = |11| = 11, which is true. To verify x = -7/3, substitute into the original equation: |3(-7/3) - 4| = |-7 - 4| = |-11| = 11, which is also true. Thus, the two solutions are x = 5 and x = -7/3.

Solution 3: To determine whether the equation |x + 6| + 9 = 4 has any real solutions, the absolute value expression must first be isolated on one side of the equation. Subtracting 9 from both sides of the equation yields |x + 6| = 4 - 9, which simplifies to |x + 6| = -5. By definition, the absolute value of any real quantity represents a geometric distance along the number line, and distance is fundamentally non-negative (it must be greater than or equal to zero for all real inputs). It is impossible for the distance between x and -6 to equal -5. Because an absolute value expression can never produce a negative output, there is no real value of x that can satisfy the equation, meaning the equation has no real solution.