Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Why this matters

A bolt is specified as 20 mm long, with a tolerance of 0.05 mm. Which lengths are acceptable? A length xx (in mm) is acceptable when its distance from 20 is at most 0.05. We write that distance as ∣x−20∣\abs{x - 20}, so the condition is ∣x−20∣≤0.05\abs{x - 20} \le 0.05, and this is the same as 19.95≤x≤20.0519.95 \le x \le 20.05.

Calculus is full of statements of this kind: “xx is close to aa”, “f(x)f(x) is within a tolerance of LL”. The absolute value turns “close” into an inequality, and the rules of this page turn that inequality into an interval that you can draw on the number line. The precise definition of a limit, in the Limits chapter, is written entirely in this language.

Absolute value as distance

We use the interval notation of Real Numbers and Intervals throughout.

In words. ∣x∣\abs{x} is the distance from xx to 0 on the number line, so it is never negative. More generally, ∣x−a∣\abs{x - a} is how far apart xx and aa are, whichever of the two is larger.

Example. ∣−3∣=−(−3)=3\abs{-3} = -(-3) = 3, and the distance between -1 and 4 is ∣−1−4∣=∣−5∣=5\abs{-1 - 4} = \abs{-5} = 5.

Non-example. ∣x∣\abs{x} does not mean “delete the minus sign”. For x=−2x = -2 we get ∣−x∣=∣2∣=2\abs{-x} = \abs{2} = 2, which is −x-x, not xx: the formula ∣−x∣=x\abs{-x} = x fails for every negative xx.

Working with inequalities

Real Numbers and Intervals states trichotomy and the meaning of ≤\le. We use these order properties of the real numbers. For all real numbers uu, vv, ww, ss, tt and cc:

The rules for adding and multiplying also hold when the inequality being transformed is ≤\le: the conclusion is then ≤\le (or ≥\ge when c<0c < 0). For example, u≤vu \le v and c<0c < 0 give cu≥cvcu \ge cv.

To solve a quadratic or rational inequality, we factor it and make a sign table. A factor x−rx - r is negative for x<rx < r and positive for x>rx > r, so it changes sign only at rr. The zeros of the factors split the number line into intervals, and on each interval every factor, and hence the whole expression, keeps one sign.

Main results

The first result is the translation between distances and intervals that the rest of calculus uses.

Figure 1 shows parts (a) and (e).

Two number lines, each with the points a minus delta, a and a plus delta marked. On the top line, a thick segment runs from a minus delta to a plus delta, with hollow dots at both ends. A point x inside the segment is marked, and a bracket above the line from a to x is labelled with the distance, the absolute value of x minus a. On the bottom line, the same segment has a third hollow dot at its centre a.

Figure 1:Top: the xx with ∣x−a∣<δ\abs{x - a} < \delta form the open interval (a−δ,a+δ)(a - \delta, a + \delta); the bracket marks the distance ∣x−a∣\abs{x - a} from aa to one such xx. Bottom: the xx with 0<∣x−a∣<δ0 < \abs{x - a} < \delta form the punctured neighbourhood (a−δ,a)∪(a,a+δ)(a - \delta, a) \cup (a, a + \delta); the hollow dot at aa shows that aa is left out.

The case a=0a = 0 is used so often that it is worth stating on its own: ∣y∣<δ\abs{y} < \delta if and only if −δ<y<δ-\delta < y < \delta, and ∣y∣≤δ\abs{y} \le \delta if and only if −δ≤y≤δ-\delta \le y \le \delta.

The second result says that the size of a sum is at most the sum of the sizes. Part (b) is the form for distances: going from xx to yy by way of zz is never shorter than going directly.

Worked examples

Common mistakes

Rigorous track

Summary

Exercises

Where this leads

These topics build on this one:

Found an error on this page? Report it (the form opens with this page filled in).