Skip to content

Absolute Value and Distance

The order relation distinguishes positive and negative integers, but in many situations the sign of a number is less important than its magnitude. For example, the integers

Magnitude and Sign

The order relation distinguishes positive and negative integers, but in many situations the sign of a number is less important than its magnitude. For example, the integers

5and5 5 \quad\text{and}\quad -5

have opposite signs, yet both lie at the same distance from zero on the number line.

This observation leads to the concept of absolute value.

The absolute value of an integer aa is denoted by

a. |a|.

It is defined by

a={a,a0,a,a<0. |a|= \begin{cases} a, & a\ge0,\\ -a, & a<0. \end{cases}

Thus absolute value removes the sign while preserving magnitude.

For example,

7=7,7=7,0=0. |7|=7, \qquad |-7|=7, \qquad |0|=0.

Absolute value therefore measures size independently of direction.

Distance on the Number Line

The integers may be represented geometrically on a number line:

,3,2,1,0,1,2,3, \cdots,-3,-2,-1,0,1,2,3,\cdots

The absolute value of an integer equals its distance from zero.

For example,

4=4 |-4|=4

because the point 4-4 lies four units from the origin.

More generally, the distance between two integers aa and bb is

ab. |a-b|.

For example, the distance between 33 and 5-5 is

3(5)=8=8. |3-(-5)|=|8|=8.

Similarly, the distance between 77 and 22 is

72=5. |7-2|=5.

Distance is always nonnegative.

Basic Properties

Absolute value satisfies several important algebraic properties.

Nonnegativity

For every integer aa,

a0. |a|\ge0.

Moreover,

a=0 |a|=0

if and only if

a=0. a=0.

Symmetry

For every integer aa,

a=a. |-a|=|a|.

Changing the sign does not change magnitude.

Multiplicative Property

For all integers aa and bb,

ab=ab. |ab|=|a||b|.

For example,

(3)(5)=15=15 |(-3)(5)|=|-15|=15

and

35=35=15. |-3||5|=3\cdot5=15.

This property plays an important role in divisibility theory and algebra.

Triangle Inequality

One of the most fundamental inequalities in mathematics is the triangle inequality:

a+ba+b. |a+b|\le |a|+|b|.

Geometrically, this states that the direct distance between two points is never greater than the length of a path passing through an intermediate point.

For example,

3+(5)=2=2, |3+(-5)|=|-2|=2,

while

3+5=3+5=8. |3|+|-5|=3+5=8.

Hence

28. 2\le8.

Equality does not always occur. However, if aa and bb have the same sign, then

a+b=a+b. |a+b|=|a|+|b|.

The triangle inequality is fundamental in analysis, geometry, and number theory.

Reverse Triangle Inequality

Another useful relation is

abab. \bigl||a|-|b|\bigr|\le |a-b|.

This inequality compares the magnitudes of two integers with the distance between them.

For example,

73=73=4, \bigl||7|-|3|\bigr|=|7-3|=4,

and

73=4. |7-3|=4.

Thus equality may occur.

Bounds Using Absolute Value

Absolute value provides a convenient way to express inequalities involving magnitude.

The inequality

an |a|\le n

means that

nan. -n\le a\le n.

Similarly,

a<n |a|<n

means

n<a<n. -n<a<n.

For example,

x3 |x|\le3

is equivalent to

3x3. -3\le x\le3.

This notation becomes increasingly useful in higher mathematics.

Absolute Value and Divisibility

Absolute value interacts naturally with divisibility.

If

ab, a\mid b,

then

ab. |a|\mid |b|.

Furthermore, divisibility depends only on magnitude and not on sign. For example,

312,312,3(12). 3\mid12, \qquad -3\mid12, \qquad 3\mid(-12).

Thus positive and negative divisors are treated symmetrically.

In many contexts, one therefore restricts attention to positive divisors.

Absolute Value in Number Theory

Absolute value appears throughout number theory. It measures the size of integers, bounds solutions of equations, and controls error terms in analytic estimates.

For example, Diophantine equations often ask for integer solutions satisfying inequalities such as

x<100. |x|<100.

Analytic number theory studies estimates of the form

f(n)Cn1/2. |f(n)|\le Cn^{1/2}.

Even elementary arguments involving divisibility frequently depend on size considerations expressed through absolute value.

Thus absolute value connects arithmetic with geometry and analysis. It transforms the integers from a purely algebraic system into a metric structure in which notions of distance and approximation become meaningful.