Honors Calculus Midterm: Where Does the ε in Your ε-N Proof Come From?
You have read the notes through Chapter 2 once. You can use the material. But when the midterm puts "Prove that $\lim_{n\to\infty} a_n = L$" on the page, you cannot reproduce the proof from a blank sheet in eight minutes. This tutorial is built to close that gap. Every proof below is written out in the form you can reproduce, with the choice of $\varepsilon$, the choice of $N$, the choice of subsequence, and the closing algebraic chain all made explicit. The driving question is the same throughout: when the midterm asks you to write a proof, where does every choice come from?
How to Read This Tutorial: Every Proof Below Is Yours to Debug
Before we touch a theorem, set the frame.
You are not learning analysis for the first time. You have read Chapter 1 §1.1–1.2 and Chapter 2 §2.1–2.3 once, you know what the $\varepsilon$-$N$ and $\varepsilon$-$\delta$ definitions say, and you have seen most of the proofs in lecture. The midterm asks you to write those proofs cold. Re-reading the notes linearly is the wrong move. A better move is to read each proof in this tutorial in "I am debugging my own version" mode. Every proof is read against the question: which line would I freeze on, and where exactly did the author pick $\varepsilon$, $N$, $\delta$, or the subsequence?
A pedagogy paper by Gamage frames this exact move. The paper proposes a three-stage cycle for proof writing in introductory real analysis: Scaffold, where the student fills in steps of a partially completed proof; Write, where the student writes a related proof independently; Debug, where the student is given a faulty proof and must locate, explain, and correct the error. The cycle is meant to repeat. The author of the paper observed that students' main pain points at the start of the course are "knowing how to start," "choosing a strategy," "using definitions precisely," "handling quantifiers," and "anxiety / time pressure," and that scaffolding helps with structure and gap-spotting without replacing the technical content of choosing $\varepsilon$ / $N$ / $\delta$ for each specific theorem.Gamage 2026
Read this tutorial in Debug mode throughout. Stages 2, 3, and 5 give you the proofs written out cleanly. Stage 4 is the gap-spotting drill. Stage 6 is the negation-as-construction drill. Stage 7 is the timed practice that closes the loop.
There are three failure modes this tutorial is built to address, in order of how often they show up under exam pressure:
- The algebraic finish. The last few lines of an $\varepsilon$-$N$ or $\varepsilon$-$\delta$ proof, including the choice of $N$ as a function of $\varepsilon$, the chain of inequalities bounding $|a_n - L|$, and the closing sentence "hence for $n \ge N$." This is where most students lose points.
- Choosing $\varepsilon$, $N$, $\delta$, or the subsequence. The line where, before any algebra, you have to commit to a single choice. Honors students who can write the algebra freeze on the choice.
- Mechanical quantifier flip. The move $\forall\varepsilon,\exists N \to \exists\varepsilon_0,\forall N$ that turns "the limit exists" into "the limit does not exist." This is the secondary pain point and the engine behind every divergence proof.
In an exam proof, the choice of $\varepsilon$ / $N$ / $\delta$ / subsequence is a small fraction of the work — most of the proof is the algebraic finish. The reason this tutorial is built around "where does $\varepsilon$ come from?" is that the choice is where exam-time mistakes concentrate.
With that frame set, let's move to the tools Chapter 2 reaches back to.
Chapter 1 Tools You Will Reach Back To: Sup, Inf, and the LUB Property
Before the $\varepsilon$-$N$ proofs in Chapter 2, two Chapter 1 ideas are doing quiet work behind every Monotone Convergence proof and every Extreme Value Theorem sketch: supremum and the least-upper-bound (LUB) property.
A set $E \subset \mathbb{R}$ is bounded above if there exists some $\beta$ with $x \le \beta$ for every $x \in E$. Such a $\beta$ is called an upper bound. If, in addition, no smaller number is an upper bound — that is, for any $\gamma < \beta$, $\gamma$ fails to be an upper bound — then $\beta$ is the supremum of $E$, written $\beta = \sup E$. The infimum $\alpha = \inf E$ is defined symmetrically for lower bounds.HKUST-GZ Honors Calculus
The geometric picture of $\sup E$ on the number line, which will recur as the seed of the Monotone Convergence and Extreme Value proofs below, looks like this.

Figure: A number line with the set $E$ drawn as blue segments on the left, and the upper bounds drawn as a red segment on the right. The leftmost point of the red segment is $\gamma = \sup E$, the least upper bound. Just to the left of $\gamma$ sits $\gamma - \varepsilon$, which is not an upper bound — that is, there is an element of $E$ lying between $\gamma - \varepsilon$ and $\gamma$. The grey strip carries the geometric meaning of the $\varepsilon$-property of the supremum, which will reappear in the Monotone Convergence proof below.
The picture encodes the most useful equivalent form of the supremum. If $E$ is bounded above and $\gamma = \sup E$, then for any $\varepsilon > 0$ there exists $q \in E$ with $\gamma - \varepsilon < q \le \gamma$. This $\varepsilon$-property is what lets you write down the $N$ that carries a Monotone Convergence proof: pick $N$ so that $x_N$ is already within $\varepsilon$ of $\gamma$, then monotonicity does the rest.
A worked drill from the notes' Appendix A makes the $\varepsilon$-property concrete: the set $E = {,n/(n+1) : n \ge 1,}$ has $\inf E = 1/2$ (attained as $n \to 1$) and $\sup E = 1$ (attained as $n \to \infty$, but never reached because $n/(n+1) < 1$ for every finite $n$). To prove $\sup E = 1$, you write down the $\varepsilon$-argument: for any $\varepsilon > 0$ choose $N > 1/\varepsilon$, then for $n \ge N$ we have $1 - n/(n+1) = 1/(n+1) \le 1/N < \varepsilon$. This is the same shape as every $\varepsilon$-$N$ proof below — see Stage 4 for the same pattern ported to a sequence limit.HKUST-GZ Honors Calculus
The next Chapter 1 idea is the one doing the heavy lifting. The ordered set $\mathbb{R}$ has the least-upper-bound property: every nonempty subset $E$ of $\mathbb{R}$ that is bounded above has a supremum $\sup E$ that exists in $\mathbb{R}$. The same property, applied to lower bounds, gives the greatest-lower-bound property. The LUB property is the load-bearing fact for the rest of this tutorial. Without it, the proof that a bounded monotone sequence converges would not go through; the Monotone Convergence Theorem would fail; the Extreme Value Theorem would fail; the choice of $N$ in every "monotone + bounded implies convergent" argument below would not exist.HKUST-GZ Honors Calculus
The companion fact is why we need it. The rationals $\mathbb{Q}$ do not have the LUB property: the set ${p \in \mathbb{Q} : p^2 < 2}$ is nonempty and bounded above in $\mathbb{Q}$ but has no supremum inside $\mathbb{Q}$. This is exactly the gap that makes irrational numbers like $\sqrt{2}$ exist, and it is the same gap that would make sequence limits fail if we lived only in $\mathbb{Q}$.HKUST-GZ Honors Calculus
You will not be asked to prove the LUB property from scratch on the midterm. The notes defer this to Rudin's Principles of Mathematical Analysis §1.10–1.19, where it is built out of the order axioms plus a completeness axiom.Rudin 1976
What you do need to know is the shape of an argument that begins "since $\sup E$ exists…": the construction asks for one element of $E$ inside any prescribed $\varepsilon$-window of the supremum, then a monotonicity argument carries it forward. The Monotone Convergence Theorem in the next stage is the worked example.
With Chapter 1's tools in hand, we turn to the central definition of Chapter 2 §2.1 and the proofs built around it.
The ε-N Toolkit: Uniqueness, Algebraic Laws, Squeeze, MCT, and Bolzano–Weierstrass
This stage covers roughly half the midterm. Read each proof twice: once for the geometric picture, once for the line-by-line algebra you can reproduce.
The $\varepsilon$-$N$ definition of sequence convergence is the center of Chapter 2 §2.1, and the notes' own figure on p. 5 is the geometric anchor you will keep returning to.
Definition (HKUST-GZ Honors Calculus Def 2.2). A sequence ${x_n}$ in $\mathbb{R}$ converges to $x$ if for every $\varepsilon > 0$ there is an integer $N$ such that $n \ge N$ implies $|x_n - x| < \varepsilon$. In that case we write $\lim_{n\to\infty} x_n = x$.

Figure: The $\varepsilon$-$N$ definition as a scatter plot. The horizontal axis is $n$, the vertical axis is $x_n$. Three horizontal lines mark $x - \varepsilon$, $x$, and $x + \varepsilon$. The red points before $n = N$ sit outside the band; from $n = N$ onward the grey strip shows them all inside. The figure makes the quantifier order visible: the band is chosen first ($\forall\varepsilon$), the threshold $N$ is chosen second ($\exists N$), and all terms beyond $N$ are forced to stay in the band ($\forall n \ge N$). Every proof below is read against this picture.
Uniqueness of limits (Prop 2.3(1))
Intuition. If a sequence had two different limits $\ell$ and $m$, look in two disjoint neighborhoods around them — one cannot contain all but finitely many terms if the other one does too.
Claim. If $x_n \to \ell$ and $x_n \to m$, then $\ell = m$.
Proof. Suppose $\ell \ne m$, and let $\varepsilon = |\ell - m| / 2 > 0$. Since $x_n \to \ell$, there exists $N$ with $|x_n - \ell| < \varepsilon$ for all $n \ge N$. Since $x_n \to m$, there exists $N'$ with $|x_n - m| < \varepsilon$ for all $n \ge N'$. Take any $n \ge \max{N, N'}$. Then $$|\ell - m| \le |\ell - x_n| + |x_n - m| < \varepsilon + \varepsilon = |\ell - m|,$$ which is impossible. Hence $\ell = m$. $\blacksquare$
The pattern — pick $\varepsilon$ depending on the gap, get two different $N$'s, take the max — is the prototype for every later $\varepsilon$-$N$ argument.Rudin 1976 Thm 3.2(b)
Algebraic limit laws (Prop 2.4) and order rule (Prop 2.5)
The four arithmetic rules — sum, difference, product, quotient — are stated in the notes as Prop 2.4 with the standard hypotheses: $x_n \to x$, $y_n \to y$ (and for the quotient, $y_n \ne 0$ eventually and $y \ne 0$). The proof of each is the same skeleton: pick $N_1, N_2$ for the two convergences, then bound the relevant difference. The sum rule is the cleanest:
$$|(x_n + y_n) - (x + y)| \le |x_n - x| + |y_n - y|,$$ triangle inequality on both terms. Given $\varepsilon > 0$, pick $N_1$ so $|x_n - x| < \varepsilon/2$ for $n \ge N_1$, and $N_2$ so $|y_n - y| < \varepsilon/2$ for $n \ge N_2$. For $n \ge \max{N_1, N_2}$, both halves are below $\varepsilon/2$, so the sum is below $\varepsilon$. The product and quotient rules add bookkeeping — for the product you need to bound $|x_n||y_n - y|$ and $|y||x_n - x|$, and for the quotient you need a separate lemma that $1/y_n \to 1/y$ — but the structure is the same.Abbott 2015
The order rule (Prop 2.5) is the one students routinely misuse. Two directions:
- If $x_n \le y_n$ for all $n \ge n_0$, then $\lim x_n \le \lim y_n$.
- If $\ell < m$ and $x_n \to \ell$, $y_n \to m$, then $x_n < y_n$ eventually.
Both are stated for $\le$ and $<$ on the $x_n, y_n$ side. The strict inequality fails: $x_n = 0$ and $y_n = 1/n$ both converge to $0$, even though $x_n < y_n$ for every $n$. This is the standard counterexample.HKUST-GZ Honors Calculus
Squeeze Theorem (Thm 2.6)
Claim. If $x_n \le y_n \le z_n$ for $n \ge n_0$ and $x_n \to L$, $z_n \to L$, then $y_n \to L$.
Proof. Given $\varepsilon > 0$, pick $N_1$ for $x_n$ and $N_2$ for $z_n$ so that $|x_n - L| < \varepsilon$ and $|z_n - L| < \varepsilon$ for $n \ge N_1, N_2$ respectively. For $n \ge \max{n_0, N_1, N_2}$ we have $$L - \varepsilon < x_n \le y_n \le z_n < L + \varepsilon,$$ which gives $|y_n - L| < \varepsilon$. $\blacksquare$
The squeeze has no exotic algebra. It is the workhorse for limits like $\sin(n)/n \to 0$ (use $-1/n \le \sin(n)/n \le 1/n$) and $\sqrt{n+1} - \sqrt{n} \to 0$ (rationalize and bound). Both will be drilled in Stage 4.
Monotone Convergence Theorem (Thm 2.8)
Claim. A monotone sequence ${x_n}$ in $\mathbb{R}$ converges if and only if it is bounded. If ${x_n}$ is increasing and bounded above, then $x_n \to \sup{x_n : n \ge 1}$.
Proof (increasing case). Let $\gamma = \sup{x_n}$. By the $\varepsilon$-property of $\sup$, for any $\varepsilon > 0$ there exists $N$ with $x_N > \gamma - \varepsilon$. Since the sequence is increasing, for all $n \ge N$ we have $\gamma - \varepsilon < x_N \le x_n \le \gamma$, so $|x_n - \gamma| < \varepsilon$. Hence $x_n \to \gamma$. $\blacksquare$
The constructive step is exactly the Chapter 1 §1.3 picture you saw in Stage 2: pick an $\varepsilon$-window around $\gamma$, find one term inside it, monotonicity carries the rest. The decreasing case is symmetric.
The recursive-sequence warm-up $x_{n+1} = \sqrt{2 + x_n}$ demonstrates MCT in action: prove ${x_n}$ is bounded above (by $2$), prove it is increasing (use $x_{n+1}^2 = 2 + x_n > x_n^2 \iff x_n < 2$, then square root both sides), then conclude $x_n$ converges; the limit is then found by squaring $L = \sqrt{2 + L}$, giving $L = 2$.HKUST-GZ Honors Calculus
Bolzano–Weierstrass Theorem (Thm 2.12)
Claim. Every bounded sequence ${x_n}$ in $\mathbb{R}$ has at least one convergent subsequence.
Proof (peak-element construction). A term $x_m$ is a peak if $x_m \ge x_n$ for all $n \ge m$. There are two cases:
Case 1: there are infinitely many peaks. List them in order of index: $m_1 < m_2 < m_3 < \cdots$. The peak condition gives $x_{m_1} \ge x_{m_2} \ge x_{m_3} \ge \cdots$, so the subsequence ${x_{m_k}}$ is decreasing. Since ${x_n}$ is bounded, so is this subsequence; a decreasing bounded sequence converges by the Monotone Convergence Theorem.
Case 2: there are only finitely many peaks. Let $M$ be the largest peak index. For every $n > M$, $x_n$ is not a peak, so there exists some later index $n' > n$ with $x_{n'} > x_n$. Start at $n_1 = M + 1$, then pick $n_2 > n_1$ with $x_{n_2} > x_{n_1}$, then $n_3 > n_2$ with $x_{n_3} > x_{n_2}$, etc. The subsequence ${x_{n_k}}$ is strictly increasing, hence bounded above by any bound on ${x_n}$, and converges by the Monotone Convergence Theorem.
Either way, a convergent subsequence exists. $\blacksquare$HKUST-GZ Honors Calculus
The peak-element proof above is the one you write under exam pressure. The notes instead work out the nested-intervals proof — halve an interval, pick the half still containing infinitely many points, repeat — which the Wikipedia article on Bolzano–Weierstrass illustrates. The picture is below.Wikipedia: Bolzano–Weierstrass

Figure: Nested-intervals illustration of the alternative Bolzano–Weierstrass proof. Three rows of blue dots, each bracketed by a left and right square bracket, get successively narrower. The top (widest) row is labeled $[a_1, \ell_1, b_1]$, the middle $[a_2, \ell_2, b_2]$, the bottom $[a_3, \ell_3, b_3]$. The narrowing rows visualize the halving step of the nested-intervals construction. This is the proof variant the notes work out; the body of this stage shows the peak-element variant instead, as the exam-friendly alternative. Do not re-prove both — commit to one.
Subsequence convergence is the lever for divergence-by-subsequence: if ${x_n}$ has two subsequences converging to different limits, ${x_n}$ diverges (Prop 2.11 in the notes; the result "if $x_n \to x$ then every subsequence $\to x$" plus uniqueness of limit gives the contrapositive "if a sequence has two subsequences with different limits, the sequence diverges").Pugh 2015 Cor 31
Cauchy Criterion (Thm 2.13)
Claim. A sequence ${x_n}$ converges if and only if it is Cauchy: for every $\varepsilon > 0$ there exists $N$ such that $|x_n - x_m| < \varepsilon$ for all $n, m \ge N$.
The Cauchy property is symmetric in $n$ and $m$, which is what makes it useful when you cannot guess the limit $L$ in advance. The forward direction follows from two $\varepsilon/2$ applications of the limit definition. The reverse direction is exactly what the LUB property buys you: given a bounded Cauchy sequence, extract a convergent subsequence by Bolzano–Weierstrass, then show every term is within $\varepsilon/2$ of the limit.Rudin 1976 Thm 3.11
The Cauchy Criterion is the alternative convergence criterion you reach for when a direct bound on $|a_n - L|$ is hard to obtain. You do not need to reproduce the proof of the converse direction on the midterm — it is the kind of theorem you cite, not one you re-derive.Abbott 2015
The Algebraic Finish, Drilled: Where ε, N, and the Subsequence Actually Come From
This stage exists because it is the failure mode. Two worked proofs, then the gap checklist, then a divergence drill.
The figure from Stage 3 is the visual anchor for the algebraic finish. Re-read it as the target every line of algebra is closing toward.

Figure (re-shown): The grey $\varepsilon$-band from $n = N$ onward is exactly the region the algebraic finish has to keep the sequence inside. Every chain of inequalities below is read as a sequence of moves whose final step says "$|a_n - L| < \varepsilon$ for all $n \ge N$." The figure carries no specific numerical $N$ or $\varepsilon$ — it is the geometric goal, not a numeric check.
Worked example 1: $\varepsilon$-$N$ for $\lim_{n\to\infty}(\sqrt{n+1} - \sqrt{n}) = 0$
This is the canonical $\varepsilon$-$N$ exercise in Abbott's §2.2.
Claim. For every $\varepsilon > 0$ there exists an integer $N$ such that $n \ge N$ implies $|\sqrt{n+1} - \sqrt{n}| < \varepsilon$.
Setup (where $\varepsilon$ comes from). Given an arbitrary $\varepsilon > 0$, the goal is to find $N$ depending on $\varepsilon$ such that the bound holds. The constraint will come from rationalizing the difference.
Rationalization. Multiply and divide by the conjugate: $$\sqrt{n+1} - \sqrt{n} = \frac{(\sqrt{n+1} - \sqrt{n})(\sqrt{n+1} + \sqrt{n})}{\sqrt{n+1} + \sqrt{n}} = \frac{1}{\sqrt{n+1} + \sqrt{n}}.$$
Bounding. For $n \ge 1$, we have $\sqrt{n+1} \ge \sqrt{n}$, so $\sqrt{n+1} + \sqrt{n} \ge 2\sqrt{n}$. Taking reciprocals (all quantities positive) gives $$0 \le \sqrt{n+1} - \sqrt{n} = \frac{1}{\sqrt{n+1} + \sqrt{n}} \le \frac{1}{2\sqrt{n}} \le \frac{1}{\sqrt{n}}.$$ The bound $1/\sqrt{n}$ is enough for this drill.
Choice of $N$. Given $\varepsilon > 0$, the inequality $1/\sqrt{n} < \varepsilon$ is equivalent to $\sqrt{n} > 1/\varepsilon$, i.e., $n > 1/\varepsilon^2$. Pick $N$ to be any integer with $N > 1/\varepsilon^2$. (For instance, $N = \lfloor 1/\varepsilon^2 \rfloor + 1$.)
Closing. For $n \ge N$, the chain reads $$0 \le \sqrt{n+1} - \sqrt{n} \le \frac{1}{\sqrt{n}} \le \frac{1}{\sqrt{N}} < \varepsilon,$$ so $|\sqrt{n+1} - \sqrt{n} - 0| < \varepsilon$. By the $\varepsilon$-$N$ definition, $\lim_{n\to\infty}(\sqrt{n+1} - \sqrt{n}) = 0$. $\blacksquare$Abbott 2015
The four lines that make this proof reproducible are: (a) start from the goal $|a_n - L| < \varepsilon$ and rationalize, (b) isolate a clean bound like $C/\sqrt{n}$, (c) pick $N$ so the bound is below $\varepsilon$, (d) write the chain in the order $0 \le |a_n - L| \le \cdots \le \varepsilon$. Steps (c) and (d) are the algebraic finish.
Worked example 2: $\varepsilon$-$\delta$ for continuity of $f(x) = 3x + 1$
The same machinery ports to $\varepsilon$-$\delta$; the only difference is that $N$ becomes $\delta$.
Claim. The function $f(x) = 3x + 1$ is continuous at every real number $a$. That is, for every $\varepsilon > 0$ there exists $\delta > 0$ such that $|x - a| < \delta$ implies $|f(x) - f(a)| < \varepsilon$.
Setup. Given $\varepsilon > 0$, we need a $\delta$ (a function of $\varepsilon$ alone) such that $|x - a| < \delta$ forces $|f(x) - f(a)| < \varepsilon$.
Direct computation. $|f(x) - f(a)| = |3x + 1 - (3a + 1)| = |3x - 3a| = 3|x - a|$.
Choice of $\delta$. Pick $\delta = \varepsilon / 3$.
Closing. Whenever $|x - a| < \delta = \varepsilon/3$, we have $|f(x) - f(a)| = 3|x - a| < 3(\varepsilon/3) = \varepsilon$. Hence $f$ is continuous at $a$. $\blacksquare$Spivak 2008
The proof is structurally identical to the $\varepsilon$-$N$ version: pick the choice variable ($\delta$ instead of $N$), bound the difference with the choice variable, write the chain. This is the cleanest possible continuity proof you can write under time pressure.
The four common gaps in the algebraic finish
These are the four places students leave points on the table, in order of how often they appear.
Gap 1: $\le$ where strict $<$ was needed. The $\varepsilon$-$N$ definition requires $|a_n - L| < \varepsilon$, strictly less. Writing $|a_n - L| \le \varepsilon$ proves a different (weaker) statement: that every neighborhood of $L$ eventually contains all $a_n$, but it doesn't prove convergence to $L$ itself. The fix is mechanical: at the end of the chain, write "$\le \cdots < \varepsilon$" rather than "$\le \cdots \le \varepsilon$", and make sure one link of the chain is strict.
Gap 2: $N$ must be an integer. $N$ is the index from which the bound holds; indices are integers. The algebra might give you "pick $N > 1/\varepsilon^2$," but if $1/\varepsilon^2$ is not an integer, you must round up: $N = \lfloor 1/\varepsilon^2 \rfloor + 1$. Forgetting the ceiling is the single most common framing error.
Gap 3: Constants buried inside $\le$ chains. The chain $|a_n - L| \le 1/n \le 1/N$ works only when $1/N \le \varepsilon$, i.e., $N \ge 1/\varepsilon$. Showing the algebra explicitly — "we need $1/N < \varepsilon$, hence $N > 1/\varepsilon$" — eliminates the silent assumption. If a constant $C$ appears in the bound (e.g., $|a_n - L| \le C/n$), the choice of $N$ must absorb it: $N > C/\varepsilon$.
Gap 4: $\delta$ depending on the quantity it is supposed to control. This is the bug the Gamage paper works through in its Debug stage. The faulty proof of $\lim_{x\to 2} x^2 = 4$ writes $|x^2 - 4| = |x - 2||x + 2| < \varepsilon$, then solves for $|x - 2|$ by dividing both sides by $|x + 2|$, getting $\delta = \varepsilon / |x + 2|$. But $|x + 2|$ depends on $x$, the very quantity $\delta$ is supposed to control. The fix is a two-step bound: first restrict $|x - 2| < 1$ so that $|x + 2| < 5$, then divide: $\delta = \min(1, \varepsilon/5)$. The pattern — restrict first, divide second — is the canonical "where $\delta$ comes from" recipe.Gamage 2026
Divergence drill: $a_n = n$ does not converge to $0$
The negation of "$\lim_{n\to\infty} a_n = 0$" is "there exists $\varepsilon_0 > 0$ such that for every $N$ there exists $n \ge N$ with $|a_n| \ge \varepsilon_0$." Picking $\varepsilon_0 = 1$ is the constructive step. Given any $N$, take $n = N$; then $|a_n| = N \ge 1 = \varepsilon_0$. So the negation is satisfied and $a_n = n$ does not converge to $0$. The same drill handles $a_n \to \pm\infty$ by picking $M$ instead of $\varepsilon_0$.
For "${a_n}$ diverges," you do not need to disprove convergence to a specific limit. Either the Cauchy Criterion fails, or two subsequences converge to different limits. The $(-1)^n$ example uses the second method: even subsequence $\to 1$, odd subsequence $\to -1$, by Prop 2.11 and uniqueness of limit the sequence itself diverges.
With the algebraic-finish drill in place, the machinery ports to functions.
ε-δ, Continuity, EVT, and Uniform Continuity: The Same Machinery, Different Quantifier
This stage covers Chapter 2 §2.2 and §2.3. Read it as "same toolkit, different quantifier" — the choice variable changes from $N$ to $\delta$, but the structural pattern (setup, choice of $\delta$, bounding, closing) is identical to the $\varepsilon$-$N$ proofs above.
Function limits (Def 2.15)
Definition (HKUST-GZ Honors Calculus Def 2.15). $\lim_{x \to a} f(x) = L$ means: for every $\varepsilon > 0$ there exists $\delta > 0$ such that $|f(x) - L| < \varepsilon$ for all $x$ satisfying $0 < |x - a| < \delta$. The "deleted neighborhood" $0 < |x - a| < \delta$ excludes $x = a$, so the limit does not depend on the value of $f$ at $a$.
The figure below is the function-side mirror of the $\varepsilon$-$N$ figure: the band is now vertical (around $x = a$) and the horizontal window (around $L$) is the target.

Figure: The $\varepsilon$-$\delta$ limit definition as a coordinate diagram. The vertical axis carries three horizontal reference lines at $L - \varepsilon$, $L$, and $L + \varepsilon$. The horizontal axis carries three vertical reference lines at $a - \delta$, $a$, and $a + \delta$. The red curve is $y = f(x)$; inside the strip $0 < |x - a| < \delta$, the curve stays inside the horizontal band $|f(x) - L| < \varepsilon$. The geometric picture is the same machinery as Stage 3's figure, with the roles of horizontal/vertical swapped: instead of a band starting at index $N$, it is a band centered at the function point $a$.
Sequential criterion (Heine Thm 2.16)
Theorem (HKUST-GZ Honors Calculus Thm 2.16). $\lim_{x\to a} f(x) = L$ if and only if for every sequence ${x_n}$ with $x_n \ne a$ eventually and $x_n \to a$, the sequence ${f(x_n)}$ converges to $L$.
Both directions are quick.
($\Rightarrow$.) Given $\varepsilon > 0$, choose $\delta > 0$ from the $\varepsilon$-$\delta$ definition. Since $x_n \to a$, there exists $N$ with $0 < |x_n - a| < \delta$ for $n \ge N$. Then $|f(x_n) - L| < \varepsilon$, so $f(x_n) \to L$.
($\Leftarrow$.) Contrapositive: if the $\varepsilon$-$\delta$ definition fails, there is an $\varepsilon_0$ such that for every $\delta > 0$ some $x$ satisfies $0 < |x - a| < \delta$ but $|f(x) - L| \ge \varepsilon_0$. Take $\delta = 1/k$ for $k = 1, 2, 3, \ldots$ and pick such an $x$ as $x_k$. Then $0 < |x_k - a| < 1/k \to 0$ but $|f(x_k) - L| \ge \varepsilon_0$, so $f(x_k) \not\to L$. $\blacksquare$Rudin 1976
The Heine theorem is the bridge that lets you convert an $\varepsilon$-$\delta$ problem into an $\varepsilon$-$N$ problem on a sequence of values — and you already know how to handle the latter. Under exam pressure, if an $\varepsilon$-$\delta$ proof stalls, switch to Heine: pick a sequence $x_n \to a$ with $x_n \ne a$, then argue about $f(x_n)$ using the algebraic laws.
Continuity (Def 2.24)
Definition (HKUST-GZ Honors Calculus Def 2.24). $f$ is continuous at $a$ iff $\lim_{x\to a} f(x) = f(a)$. Adapted to $\varepsilon$-$\delta$: for every $\varepsilon > 0$, there exists $\delta > 0$ such that $|x - a| < \delta$ implies $|f(x) - f(a)| < \varepsilon$.
The algebraic-closure Proposition 2.25 says sums, differences, products, quotients (with non-vanishing denominator), and compositions of continuous functions are continuous. This is the structural reason elementary functions are continuous on their domains — they are built out of the continuous functions $x^p$, $e^x$, $\ln x$, $\sin x$, $\cos x$ (and rational operations / inverses / compositions thereof).Rudin 1976
Intermediate Value Theorem / Bolzano's Theorem (Thm 2.27)
Theorem (HKUST-GZ Honors Calculus Thm 2.27). If $f$ is continuous on $[a, b]$ and $\xi$ is any value between $f(a)$ and $f(b)$, then there exists $c \in [a, b]$ with $f(c) = \xi$. In particular (Bolzano), if $f(a) \cdot f(b) < 0$, then $f$ has a root in $[a, b]$.

Figure: The Intermediate Value Theorem visualized. The horizontal axis shows $a, c, b$ with $c$ between them. The vertical axis shows $f(a)$, $\xi$, and $f(b)$, with $\xi$ between $f(a)$ and $f(b)$. The teal curve crosses the horizontal level $\xi$ exactly at $x = c$. The picture carries the IVT conclusion: a continuous function on $[a, b]$ hits every value between $f(a)$ and $f(b)$.
The constructive IVT proof is the Bolzano case built by nested intervals (Stage 3's Bolzano–Weierstrass in a new costume): start with $[a, b]$, look at the midpoint $m$. If $f(m) = 0$, done. If $f(m)$ has the same sign as $f(a)$, replace $[a, b]$ with $[m, b]$; otherwise with $[a, m]$. Either way the interval keeps $f$ with opposite signs at the endpoints. The new interval has length $(b - a)/2$. Repeat to get nested intervals of length $\to 0$ each containing a root; the midpoints form a Cauchy sequence whose limit is a root.
Extreme Value Theorem (Thm 2.26)
Theorem (HKUST-GZ Honors Calculus Thm 2.26). If $f$ is continuous on a bounded closed interval $[a, b]$, then $f$ attains both its maximum and its minimum on $[a, b]$.

Figure: The Extreme Value Theorem visualized. A continuous green curve on $[a, b]$ rises to a local maximum marked by a red dot at $(c, f(c))$, falls to a local minimum marked by a blue dot at $(d, f(d))$, then rises again toward the right endpoint. The dashed lines project each extremum onto the axes. The picture shows EVT's conclusion: a continuous function on a bounded closed interval attains its extreme values.
The full EVT proof is deferred to Chapter 4 in the notes; here is the sketch you are responsible for. The proof has four moves:
- $f$ is bounded above on $[a, b]$. Reason: pick a rational $r$ in $[a, b]$, look at the set $E_r = {x \in [r, b] : f \text{ is bounded on } [r, x]}$. Use Bolzano–Weierstrass and the local boundedness of $f$ on a small neighborhood of each rational.
- $M := \sup{f(x) : x \in [a, b]}$ is finite. By step 1.
- Pick $d_n \in [a, b]$ with $M - 1/n < f(d_n) \le M$. The sequence ${d_n}$ is bounded, so by Bolzano–Weierstrass it has a convergent subsequence ${d_{n_k}}$ converging to some $d \in [a, b]$ (closed!).
- By continuity of $f$ at $d$ and the bound $f(d_{n_k}) \to M$, $f(d) = M$.
The minimum is symmetric (look at $-f$).Rudin 1976 Thm 4.16
Uniform continuity (Def 2.29)
Definition (HKUST-GZ Honors Calculus Def 2.29). $f: E \subset \mathbb{R} \to \mathbb{R}$ is uniformly continuous on $E$ if for every $\varepsilon > 0$ there exists $\delta > 0$ such that $|f(x) - f(y)| < \varepsilon$ for all $x, y \in E$ with $|x - y| < \delta$.
The notes' own definition card captures the two remarks you must remember:

Figure (definition card): The verbatim notes' definition card for uniform continuity. The card reproduces the full $\varepsilon$-$\delta$ statement verbatim and lists the two Remarks that separate uniform continuity from pointwise continuity. The first Remark says uniform continuity is a property of the whole set, not a single point. The second Remark — the one that drives every negation proof below — says $\delta$ depends only on $\varepsilon$, not on the points $x$ and $y$. Under exam pressure, write the definition exactly as it appears on this card.
Theorem (HKUST-GZ Honors Calculus Thm 2.30). Every continuous function on a bounded closed interval $[a, b]$ is uniformly continuous on that interval.Pugh 2015 Thm 42
The counter-direction is also a story. Uniform continuity can fail if the domain is not closed, not bounded, or the function is not continuous. The function $f(x) = 1/x$ on $(0, 1]$ is the standard example: it is continuous on $(0, 1]$ but not uniformly continuous, and we will use this counterexample in the next stage when we negate uniform continuity.
Negation and Counterexamples: Proving That Something Does NOT Hold
The third failure mode is the quantifier flip. This stage drills it on three different statements.
The mechanical rule
| Statement | Negation |
|---|---|
| $\forall \varepsilon > 0,\exists N,\forall n \ge N: |x_n - L| < \varepsilon$ | $\exists \varepsilon_0 > 0,\forall N,\exists n \ge N: |x_n - L| \ge \varepsilon_0$ |
| $\forall \varepsilon > 0,\exists \delta > 0,\forall x \in E$ with $0 < |x - a| < \delta$: $|f(x) - L| < \varepsilon$ | $\exists \varepsilon_0 > 0,\forall \delta > 0,\exists x \in E$ with $0 < |x - a| < \delta$: $|f(x) - L| \ge \varepsilon_0$ |
| $\forall \varepsilon > 0,\exists \delta > 0,\forall x, y \in E$ with $|x - y| < \delta$: $|f(x) - f(y)| < \varepsilon$ | $\exists \varepsilon_0 > 0,\forall \delta > 0,\exists x, y \in E$ with $|x - y| < \delta$: $|f(x) - f(y)| \ge \varepsilon_0$ |
The pattern is the same in every row. The $\forall$ and $\exists$ swap. The inequality flips ($<$ becomes $\ge$). The negation of every $\varepsilon$ statement starts with "there exists an $\varepsilon_0$."
Negating sequence convergence: $a_n = n$
To show $a_n = n$ does not converge, you need to falsify convergence to every candidate limit $L \in \mathbb{R}$. A short cut is to observe that ${a_n}$ is unbounded and cite the lemma "every convergent sequence is bounded." The direct negation below works the same way: pick $\varepsilon_0 = 1$ and show that for every $N$ there exists $n \ge N$ with $|a_n - L| \ge 1$ for the given $L$.
Proof (via unboundedness). Suppose, for contradiction, that $a_n = n \to L$ for some $L \in \mathbb{R}$. By the convergent-implies-bounded lemma, ${a_n}$ must be bounded. But ${n}$ is unbounded (for any $M > 0$, pick $n > M$ to get $|a_n| > M$), so it cannot converge. Hence ${a_n}$ does not converge. $\blacksquare$
The lemma "convergent $\Rightarrow$ bounded" is the workhorse; the direct quantifier flip against a fixed $L$ does not by itself prove divergence. Most honors students freeze at the lemma step rather than at the choice of $\varepsilon_0$.
Negating limit existence: $f(x) = 1/x$ at $0$
Show $\lim_{x\to 0} 1/x$ does not exist. Take $\varepsilon_0 = 1$. For every $\delta > 0$, pick $x = \delta/2$; then $0 < |x - 0| < \delta$ but $|f(x)| = 2/\delta \ge 1$ (when $\delta \le 2$). The negation of $\varepsilon$-$\delta$ is satisfied. $\blacksquare$
Negating uniform continuity: $f(x) = 1/x$ on $(0, 1]$
This is the negation of the definition on the card above. The card's second Remark — "$\delta$ depends only on $\varepsilon$, not on the points $x, y$" — is exactly the clause the negation falsifies.
Claim. $f(x) = 1/x$ is not uniformly continuous on $(0, 1]$.
Proof. Take $\varepsilon_0 = 1$. We must show: for every $\delta > 0$, there exist $x, y \in (0, 1]$ with $|x - y| < \delta$ but $|f(x) - f(y)| \ge 1$.
Let $\delta > 0$ be arbitrary. Choose $x = \delta/2$ and $y = \delta/4$. Then $x, y \in (0, 1]$ provided $\delta \le 4$ (and we can assume this without loss of generality, since we are free to choose $\delta$ small). We have $$|x - y| = \frac{\delta}{2} - \frac{\delta}{4} = \frac{\delta}{4} < \delta,$$ $$|f(x) - f(y)| = \left|\frac{1}{x} - \frac{1}{y}\right| = \left|\frac{2}{\delta} - \frac{4}{\delta}\right| = \frac{2}{\delta} \ge 1 \quad \text{(for $\delta \le 2$)}.$$ Hence the negation of uniform continuity is satisfied. $\blacksquare$HKUST-GZ Honors Calculus
The constructive step is picking which $x, y$ to use. The negation forces you to construct specific points that violate the definition, and the standard trick is to make $|x - y|$ small but $|f(x) - f(y)|$ large by going near the discontinuity.
EVT counterexamples — why $[a, b]$ must be closed AND bounded AND the function must be continuous
Four standard counterexamples illustrate why each of the EVT's hypotheses (continuous, bounded, closed) is needed. Together they answer "what could go wrong if you drop one hypothesis?"
| Counterexample | Domain | Continuous? | Bounded? | Closed? | What goes wrong |
|---|---|---|---|---|---|
| $f(x) = 1/x$ on $(0, 1)$ | open bounded | yes | no (range is $(1, \infty)$, $\sup = \infty$ not attained) | no | sup = $\infty$ not attained |
| $f(x) = 1/(1 - x)$ on $[0, 1)$ | half-open | yes | no | no | $f \to \infty$ near $x = 1$ |
| $f(x) = 1/x$ on $[1, \infty)$ | unbounded closed | yes | no | yes | $\inf = 0$ not attained |
| Step function at $x_0$ on $[a, b]$ | bounded closed | no | yes | yes | max/min exist only on each side of the discontinuity, not globally |
The first three drive the lesson that "bounded above" and "closed" are doing real work. The fourth drives the lesson that continuity is doing real work.
The negation-as-construction move is the engine of every "disprove" item on the midterm. The negation tells you what to construct; the trick is choosing the right $\varepsilon_0$ (or right sequence, or right pair of points) to make the construction clean.
Exam Simulation: Five Proofs, a Timing Strategy, and the Debug Loop
This stage is the timed practice. Five exam-style items, each mirroring a question type from the notes' exercise set. For each item, work out (i) which theorem you are invoking, (ii) where the choice variable comes from, (iii) the closing chain. After you finish, re-enter Stage 4 and patch any gap before moving on.
The five items
Item 1 (Monotone Convergence). Let $a_0 = 1$ and $a_{n+1} = \sqrt{2 + a_n}$. Prove that ${a_n}$ converges.
Setter's intent. Verify you can spot monotone + bounded above, write the MCT conclusion, and identify the limit by taking limits on both sides of the recursion. This is the recursive-sequence drill from the notes' Appendix A dressed up. Show $a_n \le 2$ for all $n$ (induction: $a_0 = 1 \le 2$; if $a_n \le 2$, then $a_{n+1} = \sqrt{2 + a_n} \le \sqrt{4} = 2$). Show $a_{n+1} \ge a_n$: from $a_n \le 2$, we have $a_n^2 \le 2a_n \le 2 + a_n = a_{n+1}^2$, hence $a_{n+1} \ge a_n$ (positive square root). By Thm 2.8, $a_n \to L$ for some $L$. The recursion gives $L = \sqrt{2 + L}$, so $L^2 = 2 + L$, $L^2 - L - 2 = 0$, $L = 2$.
Item 2 (Squeeze). Prove $\lim_{n\to\infty} \sin(n)/n = 0$.
Setter's intent. Verify you can sandwich a sequence. Use $|\sin(n)| \le 1$, so $-1/n \le \sin(n)/n \le 1/n$. Both bounding sequences $\to 0$, so by Thm 2.6, $\sin(n)/n \to 0$.
Item 3 (Divergence by subsequence). Prove $a_n = (-1)^n$ diverges.
Setter's intent. Verify you can extract two subsequences with different limits. Even subsequence $a_{2k} = 1 \to 1$. Odd subsequence $a_{2k+1} = -1 \to -1$. By Prop 2.11 (a convergent sequence's subsequences all converge to the same limit), $a_n$ itself does not converge.
Item 4 ($\varepsilon$-$\delta$ continuity). Prove $f(x) = x^2$ is continuous at every real $a$.
Setter's intent. Verify you can do the two-step bound (restrict then divide). $|f(x) - f(a)| = |x^2 - a^2| = |x - a||x + a|$. Restrict $|x - a| < 1$, so $|x| < |a| + 1$ and $|x + a| \le |x| + |a| < 2|a| + 1$. Then $|f(x) - f(a)| < |x - a|(2|a| + 1)$. To make this $< \varepsilon$, take $\delta = \min(1, \varepsilon/(2|a| + 1))$. (For $a = 0$, the second bound simplifies to $\delta = \varepsilon$.) This is exactly Spivak's product-rule lemma — the canonical "where $\delta$ comes from" pattern.Spivak 2008
Item 5 (Negating uniform continuity). Prove $f(x) = 1/x$ is not uniformly continuous on $(0, 1]$.
Setter's intent. Verify you can flip the quantifier and construct the right pair of points. Take $\varepsilon_0 = 1$. For any $\delta > 0$, pick $x = \delta/2$ and $y = \delta/4$. Then $|x - y| = \delta/4 < \delta$ but $|1/x - 1/y| = 2/\delta \ge 1$ for $\delta \le 2$. The negation of uniform continuity is satisfied. Same proof as Stage 6's worked example, written cold under time pressure.
Optional bonus item: $\lim_{x\to 0} \sin(5x)/x = 5$
Setter's intent. Verify you can use Heine (sequential criterion) plus Squeeze. For $x \ne 0$, $$\frac{\sin(5x)}{x} = 5 \cdot \frac{\sin(5x)}{5x}.$$ Let $y = 5x$. As $x \to 0$, $y \to 0$, and $\sin(y)/y \to 1$ by the basic limit proved via Squeeze in §2.2. Hence by algebra-of-limits (Prop 2.17), $5 \cdot \sin(y)/y \to 5 \cdot 1 = 5$.
Timing strategy
Under exam pressure, the difference between a full-credit proof and a partial-credit proof is usually not the algebra. It is whether you wrote the setup. Under time pressure:
- Always write the claim and the setup first. State what you are proving. State which theorem you are using (cite the notes' number: Prop 2.4, Thm 2.6, Thm 2.8, Thm 2.12, Thm 2.16, Thm 2.26, Thm 2.27, Thm 2.30). State what choice variable you are about to pick.
- Then pick the choice variable. For $\varepsilon$-$N$: $N$ as a function of $\varepsilon$. For $\varepsilon$-$\delta$: $\delta$ as a function of $\varepsilon$. For B-W: which subsequence.
- Then write the chain. This is where the partial credit lives. The setup is worth about half the points; the chain is the other half.
- End with the closing sentence. "Hence for $n \ge N$, $|a_n - L| < \varepsilon$." "Hence for $0 < |x - a| < \delta$, $|f(x) - f(a)| < \varepsilon$."
If the algebra stalls, write the setup in full and sketch the algebra. A grader can give 60–80% of the credit for a setup that says "pick $N > 1/\varepsilon^2$, then $|a_n - L| \le 1/\sqrt{n} \le 1/\sqrt{N} < \varepsilon$ for $n \ge N$," even if one inequality sign was dropped in the chain.
| Proof type | Target time | Required content |
|---|---|---|
| $\varepsilon$-$N$ convergence | 8–10 min | Rationalize / bound / pick $N$ / chain / close |
| $\varepsilon$-$\delta$ continuity | 8–10 min | Compute $ |
| MCT proof | 6–8 min | Prove monotone + bounded / cite Thm 2.8 / identify limit |
| B-W proof | 6–8 min | State peak-element or nested-intervals / construct subsequence / cite MCT or Cauchy |
| Negation proof | 8–10 min | Flip quantifiers / pick $\varepsilon_0$ / construct witness |
The debug loop
After finishing each item, re-enter Stage 4. Walk through the four-gap checklist:
- Did I use strict $<$ or accidentally slip to $\le$?
- Did I round $N$ up to an integer?
- Did I show explicitly how the chain closes — every constant absorbed, every inequality explicit?
- Did my choice variable depend on what it should control (and not on what it should not)?
If you find a gap, rewrite that one line. Do not start over from scratch. This is the cycle the Gamage paper advocates: Scaffold (this tutorial), Write (the five items above, timed), Debug (the four-gap checklist, applied to your own proof). The Debug stage is where confidence builds, because it forces you to confront gaps rather than hope they aren't there.Gamage 2026
When you can write all five items, cold, in the target time, with no gaps from the checklist, you are ready for the midterm.
References
The references below are the primary sources for the theorem statements, proof patterns, and meta-pedagogical framing cited in this tutorial. Deepen any single section by reading the corresponding reference in full.
- HKUST-GZ Honors Calculus (Sept 29, 2025 version) — the uploaded course notes; the anchor for every theorem statement and the two inline figures. Direct citations appear as the notes' Def / Prop / Thm numbers (Defs 1.3, 2.2, 2.15, 2.24, 2.29; Props 2.3–2.5, 2.17, 2.25; Thms 1.4, 2.6, 2.8, 2.12, 2.13, 2.16, 2.26, 2.27, 2.30; Appendix A worked examples).
- Rudin, Principles of Mathematical Analysis, 3rd ed., 1976 — canonical backup for every Chapter 1–2 theorem. The book is not open-access; refer to a library copy. Key citations: §1.10–1.19 (LUB property), Thm 3.2(b) (uniqueness of limits), Thm 3.3 (algebraic limit laws), Thm 3.6 (Bolzano–Weierstrass via Thm 2.37), Thm 3.11 (Cauchy Criterion), Thm 3.14 (Monotone Convergence Theorem), §4.18 def / §4.19 thm (uniform continuity), Thm 4.16 (Extreme Value Theorem).
- Abbott, Understanding Analysis, 2nd ed., 2015, Springer — friendlier second-look backup. Open-access via Springer. Key citations: Ch. 1 (Real Numbers), Ch. 2 (Sequences and Series, §2.2 for worked $\varepsilon$-$N$ exercises including $\lim(\sqrt{n+1} - \sqrt{n}) = 0$), Ch. 4 (Functional Limits and Continuity).
- Spivak, Calculus, 4th ed., 2008, Publish or Perish — proof-style twin to the notes. Key citations: Ch. 5 (Limits of Functions, p. 90), Ch. 6 (Continuity + composition, p. 115), Ch. 7 (Three Hard Theorems, p. 122), Ch. 8 (LUB + proofs of Three Hard Theorems, p. 133), Ch. 8 Appendix (Uniform Continuity, p. 144).
- Pugh, Real Mathematical Analysis, 2nd ed., 2015, Springer — alternative-proof + counter-example source. Open-access via Springer. Key citations: Ch. 2 §4 Cor 31 (Bolzano–Weierstrass via Heine–Borel Thm 33), Ch. 2 §4 Thm 42 (continuous on compact ⇒ uniformly continuous), the "Ten Examples of Compact Sets" box for the closed + bounded lesson.
- Apostol, Mathematical Analysis, 2nd ed., 1974, Addison-Wesley / Narosa reissue — classical alternative-proof source, closer in flavor to the notes than Rudin. Key citations: §1.10–1.12 (LUB), §3.8 (Bolzano–Weierstrass, peak-element proof matching notes), Ch. 4 §4.1–4.4 (ε-N sequences in metric space), §4.5 (limit of function), §4.13 (EVT), §4.15 (IVT / Bolzano's Theorem), §4.19–4.20 (uniform continuity + Heine–Cantor).
- Wikipedia concept cluster (retrieved 2026-10-01) — open-source encyclopedia backup. Key articles: Bolzano–Weierstrass theorem, Extreme value theorem, Squeeze theorem, Monotone convergence theorem, Limit of a sequence, Limit of a function.
- Gamage, Scaffold–Write–Debug: A Three-Stage Approach to Proof Writing in Introductory Real Analysis, arXiv:2609.18957 [math.HO], 2026 — meta-pedagogical framing reference for the proof-writing cycle. Open-access on arXiv. Key citations: §4.1–§4.4 (three-stage model), §4.3 (worked Debug-stage faulty $\varepsilon$-$\delta$ example: $\delta = \varepsilon/|x+2|$ for $\lim_{x\to 2} x^2 = 4$), §5 (student-response evidence, descriptive not causal).