Exercises — Real analysis — rigorous epsilon-delta, metric spaces
Prerequisites you may want open: Limits and Continuity, Sequences and Series, Cauchy Sequences and Completeness, Uniform Continuity and Compactness, Topology, Cauchy–Schwarz Inequality.
Level 1 — Recognition
These test whether you can read the definitions correctly. No creativity, just decode the symbols.
Exercise 1.1
State, using quantifiers, what it means that (the limit is not ).
Recall Solution 1.1
Idea. To negate a statement of the form "for all , there exists , such that (implication)", we flip every quantifier and negate the inside.
The positive statement is
Negating: becomes , becomes , and the implication "" fails exactly when " and not-" holds. So:
Plain words: there is one bad challenge that you can never answer — no matter how small a you pick, some point inside the punctured -neighbourhood is thrown outside the -tube.
Exercise 1.2
For the metric on , write out the open ball as an interval.
Recall Solution 1.2
By definition . Here , : An open ball on the line is just an open interval centred at the point, radius . See the figure — the endpoints are hollow (not included).

Level 2 — Application
Plug into the recipe: factor , cap, then .
Exercise 2.1
Prove and give the smallest clean .
Recall Solution 2.1
Goal: make . Factor. . The multiplier is the constant slope — no caging needed because it doesn't depend on . Solve. . Choose . Then ✅
Exercise 2.2
Prove . Give with the correct cap.
Recall Solution 2.2
Goal: . Factor. . The "stuff" is unbounded globally, so we must cage it near . Cap. Restrict . Combine. . Beat with . Choose . The forces both the cap and the tolerance simultaneously. ✅
Exercise 2.3
Prove . Give .
Recall Solution 2.3
Goal: . Expose . We can't factor directly, so rationalise: multiply by : Why rationalise? It converts the ugly into , which controls directly. Bound the denominator from below. For , so , hence . Therefore Choose (we also need ; since we work near , e.g. keeps , but suffices for small ). Then . ✅
Level 3 — Analysis
Now you must decide why something behaves the way it does, not just crank the recipe.
Exercise 3.1
Show on is not uniformly continuous, by exhibiting the failing and a pair of points that break every .
Recall Solution 3.1
Recall the negation (from Exercise 1.1 logic applied to uniform continuity): Choose the bad . Take . For an arbitrary , build the pair. Let be large and set Then , so for large enough . But the outputs stay far apart: So the same can never be answered by any single . Geometrically: as the graph gets arbitrarily steep, so equally-close inputs give ever-farther outputs. See the figure — two inputs of fixed separation are compared near the origin and far from it. ✅

Exercise 3.2
On compare the Euclidean (), taxicab (), and Chebyshev () distances between and . Then verify the standing inequality on this example.
Recall Solution 3.2
Using the parent's table of metrics:
- Euclidean: .
- Taxicab: .
- Chebyshev: .
Check: . ✅ The general fact (true in ) is that the max-coordinate distance is smallest, the sum-of-coordinates largest, Euclidean in between.
Level 4 — Synthesis
Combine several ideas into one argument.
Exercise 4.1
Prove from the definition, giving with a correct cap.
Recall Solution 4.1
Goal: . Factor out . The multiplier is , which blows up as — so we must cap to keep away from . Cap. Restrict , so . Combine. . To beat : . Choose . Then ✅
Exercise 4.2
Using the sequence definition of a limit in a metric space, prove that in the discrete metric a sequence converges to iff it is eventually constant equal to .
Recall Solution 4.2
Definition recall: iff . In the discrete metric if and otherwise.
() Eventually constant converges. If for all , then for every once . So . ✅
() Converges eventually constant. Pick the specific challenge . Convergence gives an with for all . But only takes values or , and is false, so we must have , i.e. , for all .
Moral: the discrete metric makes "close" mean "equal." Convergence collapses to eventual equality — the metric axioms alone force this, no real-line structure needed.
Level 5 — Mastery
One hard problem tying the whole chapter together.
Exercise 5.1
Prove the triangle inequality for the Euclidean metric on , i.e. starting from the Cauchy–Schwarz Inequality . State clearly where each axiom-ingredient is used.
Recall Solution 5.1
Write for a vector , so that .
Step 1 — reduce to a norm statement. Set and . Then , and the goal becomes exactly Why this substitution? It turns three points into two vectors and reduces the triangle inequality to the single norm inequality .
Step 2 — expand the squared left side. Using and distributivity of the dot product:
Step 3 — apply Cauchy–Schwarz. Replace the cross term using : This is the only inequality in the whole proof — everything else is algebra.
Step 4 — take square roots. Both sides are and is increasing, so which is . Substituting back gives . ✅
Where the ingredients live: symmetry of the dot product gave the clean cross term; Cauchy–Schwarz bounded it; non-negativity of norms justified taking square roots. See the figure — geometrically is the third side of a triangle, and it can never exceed the two-leg path.

Recall Self-test summary (fill the
) ::: ::: ::: ::: from to :::