Skip to content
Tutorials Center
My learning

Topics

Lesson 9 of 37 · The Real Numbers

Absolute Value, Intervals and Nested Intervals

Use absolute value as distance, master interval and neighborhood notation, and prove the Nested Interval Property from completeness.

Limits are about closeness, and closeness is measured with absolute value. This lesson sets up the language you will use constantly: distance, neighborhoods, and intervals. It ends with the Nested Interval Property, a consequence of completeness that is often the quickest route to existence theorems.

Absolute value as distance

For real x, |x| = x if x ≥ 0 and |x| = -x if x < 0. The distance between a and b is |a - b|. Key properties:

  • |x| ≥ 0, with |x| = 0 iff x = 0.
  • |xy| = |x||y|.
  • |a + b| ≤ |a| + |b| (triangle inequality).
  • For ε > 0: |x| < ε iff -ε < x < ε.

That last fact is how you translate between absolute values and interval statements, and you will use it in every limit proof:

|x - a| < ε ⟺ a - ε < x < a + ε.

The set of such x is the ε-neighborhood of a, written V_ε(a) = (a - ε, a + ε).

Python Neighborhoods and absolute value

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Intervals

Name Notation Description
Open (a, b) a < x < b
Closed [a, b] a ≤ x ≤ b
Half-open [a, b) a ≤ x < b
Unbounded (a, ∞), (-∞, b], ℝ extend without end

The symbol ∞ is not a real number. It only signals "no bound". A closed bounded interval [a, b] is the best-behaved type and will carry the big theorems on continuity.

The Nested Interval Property

A sequence of intervals I_1, I_2, I_3, ... is nested if I_1 ⊇ I_2 ⊇ I_3 ⊇ ....

Theorem (Nested Interval Property). If I_n = [a_n, b_n] are nested closed bounded intervals, then there is at least one real number x that lies in every I_n. If in addition b_n - a_n → 0 (the lengths shrink to zero), that number is unique.

Proof. Nesting means a_1 ≤ a_2 ≤ ... and b_1 ≥ b_2 ≥ ..., and a_n ≤ b_m for all n, m. (If n ≤ m: a_n ≤ a_m ≤ b_m; if n > m: a_n ≤ b_n ≤ b_m.) So the set A = {a_n} is bounded above by every b_m. By completeness x = sup A exists, and a_n ≤ x for all n. Since each b_m is an upper bound of A, x ≤ b_m. Hence a_n ≤ x ≤ b_n for all n, so x ∈ ⋂ I_n.

For uniqueness: if x and y are both in every I_n, then |x - y| ≤ b_n - a_n for all n. As b_n - a_n can be made less than any ε > 0, |x - y| = 0. ∎

Python Bisection traps a number

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Closed matters: a counterexample

The word closed is essential. For open intervals I_n = (0, 1/n), the intersection ⋂ (0, 1/n) is empty: a number x > 0 is excluded from I_n as soon as 1/n ≤ x, which happens by the Archimedean property, and 0 is never inside. Likewise the word bounded is needed: [n, ∞) are nested and closed, but their intersection is empty.

Python Why closed and bounded are needed

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Each positive x is eventually excluded, so nothing positive survives in all the intervals.

flowchart LR
  A["I₁ = [a₁, b₁]"] --> B["I₂ ⊆ I₁"]
  B --> C["I₃ ⊆ I₂"]
  C --> D["lengths → 0"]
  D --> E["exactly one common point"]

Shrinking closed intervals pin down a single real number.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. |x - 5| < 0.2 is equivalent to

    An absolute value inequality |x - a| < ε means a - ε < x < a + ε.
  2. 2. Which axiom proves the Nested Interval Property?

    We take x as the supremum of the left endpoints, which exists by completeness.
  3. 3. What is the intersection of the intervals (0, 1/n) for all n in ℕ?

    Any x > 0 leaves the interval once 1/n ≤ x, and 0 is not in any open interval (0, 1/n).
  4. 4. When do nested closed intervals have exactly one common point?

    Two common points would be at distance at most the interval length, which shrinks to 0.

Summary

  • |x - a| < ε means x lies in the open interval (a - ε, a + ε).
  • Intervals may be open, closed, half-open or unbounded; ∞ is not a number.
  • Nested Interval Property: nested closed bounded intervals share a point; if lengths shrink to 0 the point is unique.
  • It follows from completeness, and "closed" and "bounded" cannot be dropped.

Next: The Definition of a Limit of a Sequence