Absolute Value Formula

Absolute value is the distance of a number from zero on the number line, always non-negative; written |x|.

The Formula

∣x∣=distance from 0

Ask yourself: Is the sign direction important, or only the distance?

Quick example

∣−7∣=7 (distance 7 from zero), ∣3∣=3, ∣0∣=0; also ∣5−8∣=3.

Notation

∣x∣ is never negative because distance is never negative.

What this formula means

The distance of a number from zero on the number line, always non-negative; written ∣x∣. For any real number, absolute value strips away the sign and returns only the magnitude.

Absolute value is a car's trip meter rather than its map position. Drive 5 km east or 5 km west and the trip meter shows 5 either way, while the map shows which side of home you are on. The match holds for one straight drive; on a round trip the meter counts both legs, while ∣5+(−5)∣=0.

Formal view

∣x∣={xx≥0−xx<0,equivalently ∣x∣=x2

Worked examples

Example 1

easy
Evaluate ∣−7∣+∣3∣.
Show solution

Answer

10

First step

1.
The absolute value of −7 is the distance from 0: ∣−7∣=7.

Full solution

  1. 2.
    The absolute value of 3 is ∣3∣=3.
  2. 3.
    Add: 7+3=10.
Absolute value measures distance from zero on the number line and is always non-negative. For any number a, ∣a∣=a if a≥0 and ∣a∣=−a if a<0.

Example 2

medium
Evaluate ∣5−12∣−∣2−9∣.

Example 3

medium
Compute ∣∣−3∣−∣−8∣∣.

Common mistakes

  • Keeping the negative sign inside absolute value — distance from zero is nonnegative.
  • Thinking ∣a−b∣ equals a−b always — order matters before absolute value removes sign.
  • Using absolute value when direction matters — a temperature of -7 degrees is not the same situation as +7 degrees.

Common mistakes guide

If this formula keeps breaking in real problems, read the most common errors before you practice again.

Why this formula matters

Absolute value lets you talk about size without direction: a $40 withdrawal and a $40 deposit are changes of the same size, and ∣−40∣=∣40∣=40 says so. It gives the distance between any two numbers as ∣a−b∣, even across zero, and it is how tolerances are written, such as ∣x−10∣≤0.1. Using it where direction matters, like a temperature of −7 degrees, throws away real information.

Frequently asked questions

What is the Absolute Value formula?

The distance of a number from zero on the number line, always non-negative; written ∣x∣. For any real number, absolute value strips away the sign and returns only the magnitude.

How do you use the Absolute Value formula?

Use absolute value when a question asks how far, how far apart, how big an error, or the size of a change regardless of direction. Distances on a number line, differences in temperature or elevation, and tolerances ("within 2 cm") all call for it. Keep the sign when direction is the point: a temperature below zero, a withdrawal, a debt or a move to the left. For the opposite of a number, use a negative sign, not bars.

What do the symbols mean in the Absolute Value formula?

∣x∣ is never negative because distance is never negative.

Why is the Absolute Value formula important in Math?

Absolute value lets you talk about size without direction: a $40 withdrawal and a $40 deposit are changes of the same size, and ∣−40∣=∣40∣=40 says so. It gives the distance between any two numbers as ∣a−b∣, even across zero, and it is how tolerances are written, such as ∣x−10∣≤0.1. Using it where direction matters, like a temperature of −7 degrees, throws away real information.

What do students get wrong about Absolute Value?

The procedure for absolute value is the easy part; the trap is keeping the negative sign inside absolute value. Asking "Is the sign direction important, or only the distance?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Absolute Value formula?

Before studying the Absolute Value formula, you should understand: integers.