Common Mistakes and Counterexamples
This page collects the wrong turns that come up most often in §1–§18. Each entry states a claim that sounds right, gives a short counterexample that breaks it, and says what is actually true. Citations such as Theorem 10.2 are links: hover over or focus one to see the statement.
A good habit: before using a theorem, check every hypothesis. Most of the counterexamples below work by dropping exactly one of them.
Writing proofs
Section titled “Writing proofs”An induction step that fails for the smallest case
Section titled “An induction step that fails for the smallest case”Tempting. “In any group of people, everyone has the same birthday.” For it is true. For the step, remove one person from a group of ; the other share a birthday. Remove a different person; again the rest share a birthday. The two groups overlap, so all do.
What goes wrong. Going from to , the two groups of size do not overlap. The step must work for every from the basis on, including the first one. See §1.
Starting induction too early
Section titled “Starting induction too early”Tempting. “ for all , by induction.”
Counterexample. It holds for , fails for , and holds for every . The step needs , which is true only for , so the basis has to be . Induction may start at any integer, but its conclusion only covers what comes after the basis. See §1.
Letting N depend on n
Section titled “Letting N depend on n”Tempting. “Given , take .”
What is true. In Definition 7.1, may depend on (and on the sequence), but it has to be chosen before . The condition is then checked for every . See §7.
Running the scratch work backwards
Section titled “Running the scratch work backwards”Tempting. “I started from and simplified until I reached , so the proof is done.”
What is true. Working backwards is how you find . The formal proof runs forwards, from to , and each step must be valid in that direction. Any assumption your estimate needs, such as “” or “the denominator is positive”, must be built into the choice of . See §8.
Proving “for all” with a single example
Section titled “Proving “for all” with a single example”Tempting. “ for the sequence , so is continuous at .”
What is true. One example can disprove a “for all” statement, but it cannot prove one. Continuity at needs for every sequence in the domain (Definition 17.1). For with , the sequence gives values , but gives values . See §17.
Inequalities, suprema and infinity
Section titled “Inequalities, suprema and infinity”Using the Triangle Inequality as a lower bound
Section titled “Using the Triangle Inequality as a lower bound”Tempting. “ is about the size of .”
Counterexample. while . Theorem 3.7 only gives an upper bound. For a lower bound use . See §3.
Subtracting or dividing inequalities
Section titled “Subtracting or dividing inequalities”Tempting. “From and , conclude .”
Counterexample. and , but is false. Inequalities pointing the same way can be added. Multiplying needs signs: multiplying by a negative number reverses the inequality (Theorem 3.2). See §3.
Assuming the supremum is the largest element
Section titled “Assuming the supremum is the largest element”Tempting. “ is the biggest number in .”
Counterexample. , and . When belongs to it is ; when it does not, has no maximum. See §4.
Keeping a strict inequality through a supremum or a limit
Section titled “Keeping a strict inequality through a supremum or a limit”Tempting. “If for every , then .” Or: “If for all and , then .”
Counterexample. Every element of is less than , and . Every is positive, and . Suprema, limits and lim sups keep but can turn into . See §4, §9 and §12.
Mixing up the two halves of a sup proof
Section titled “Mixing up the two halves of a sup proof”Tempting. “I showed is an upper bound of , so .”
What is true. That proves only . For you also need elements of that come as close to as you like, or an argument that every upper bound is at least . See §4.
Expecting rational sets to have rational suprema
Section titled “Expecting rational sets to have rational suprema”Tempting. “A bounded set of rationals has a least upper bound, and it is rational.”
Counterexample. is bounded above, but its least upper bound in is , which is irrational (Corollary 2.3). Inside alone, has no least upper bound at all. The Completeness Axiom (Theorem 4.4) is exactly what lacks. See §2 and §4.
Doing arithmetic with ∞ − ∞
Section titled “Doing arithmetic with ∞ − ∞”Tempting. “” or “.”
Counterexample. and , yet , and . Likewise while . These forms have no single value, which is why they are left undefined. See §5 and §9.
Limits of sequences
Section titled “Limits of sequences”“The terms get closer and closer”
Section titled ““The terms get closer and closer””Tempting. “If decreases at every step, then .”
Counterexample. gets closer to at every step, yet . The distance must eventually drop below every , not merely shrink. See §7.
Expecting convergence to be steady
Section titled “Expecting convergence to be steady”Tempting. “A convergent sequence is eventually increasing or decreasing.”
Counterexample. , alternating sides of forever. Convergence says nothing about the path, only about where the terms end up. See §7.
Bounded, or monotone, is not enough
Section titled “Bounded, or monotone, is not enough”Tempting. “Bounded sequences converge.” Or: “Monotone sequences converge.”
Counterexample. is bounded but diverges. is increasing but tends to . You need both together (Theorem 10.2). What is true for bounded sequences alone is that some subsequence converges (Theorem 11.5). See §10 and §11.
Splitting a limit before you know the pieces converge
Section titled “Splitting a limit before you know the pieces converge”Tempting. “, always.”
Counterexample. and : the sum is for every , but neither limit on the right exists. Theorems 9.3 and 9.4 assume both limits exist as real numbers, and Theorem 9.6 also needs the limit in the denominator to be nonzero. See §9.
Solving for a limit that may not exist
Section titled “Solving for a limit that may not exist”Tempting. “ and . If , then , so .”
Counterexample. . Passing to the limit in a recursion tells you what the limit must be if it exists. First prove it exists, for example with Theorem 10.2. See §10.
Small steps make a Cauchy sequence
Section titled “Small steps make a Cauchy sequence”Tempting. “If , then is Cauchy.”
Counterexample. , yet . The Cauchy condition (Definition 10.8) controls for all pairs , not just neighbours. The partial sums of fail the same way. See §10.
Subsequences, lim sup and lim inf
Section titled “Subsequences, lim sup and lim inf”Rearranging or repeating terms
Section titled “Rearranging or repeating terms”Tempting. “ is a subsequence of .”
What is true. A subsequence uses indices , so it keeps the original order and uses each term at most once. Neither swapping nor repeating terms is allowed (Definition 11.1). See §11.
One convergent subsequence
Section titled “One convergent subsequence”Tempting. “A subsequence converges to , so the sequence does.”
Counterexample. has the subsequence of even terms, which is constantly , but diverges. The true direction is the reverse: if the sequence converges, every subsequence converges to the same limit (Theorem 11.3). See §11.
Two subsequences with the same limit
Section titled “Two subsequences with the same limit”Tempting. “Two subsequences converge to , so the sequence converges to .”
Counterexample. Let when is a multiple of and otherwise. The subsequences and are both constantly , but diverges. The claim is true when the subsequences together use every index from some point on, for instance the even terms and the odd terms. See §11.
Confusing lim sup with sup
Section titled “Confusing lim sup with sup”Tempting. “.”
Counterexample. For , but . The supremum can be set by one early term; the lim sup ignores any finite number of terms (Definition 10.6). See §10 and §12.
Splitting lim sup over a sum
Section titled “Splitting lim sup over a sum”Tempting. “.”
Counterexample. With and , the left side is and the right side is . In general only holds (when the right side makes sense). Products of limits need a convergent factor, as in Theorem 12.1. See §12.
Open, closed and compact sets
Section titled “Open, closed and compact sets”“Not open” means “closed”
Section titled ““Not open” means “closed””Tempting. “Every set is either open or closed.”
Counterexample. is neither. It is not open, because no interval around fits inside it. It is not closed, because its complement contains but no interval around . and are both open and closed. Closed means “the complement is open” (Definition 13.8), not “not open”. See §13.
Infinite intersections of open sets
Section titled “Infinite intersections of open sets”Tempting. “An intersection of open sets is open.”
Counterexample. , which is not open. Finite intersections of open sets are open. Dually, is a union of closed sets that is not closed. See §13.
“Closed and bounded” as the definition of compact
Section titled ““Closed and bounded” as the definition of compact”Tempting. “A closed, bounded set is compact, in any metric space.”
Counterexample. In with the usual distance, is closed and bounded but not compact. The open sets cover it, and no finitely many of them do. The Heine–Borel Theorem 13.12 relies on the completeness of . See §13.
Series
Section titled “Series”Terms tending to 0
Section titled “Terms tending to 0”Tempting. “, so converges.”
Counterexample. diverges although . Corollary 14.5 runs the other way: if , the series diverges. When you have learned nothing yet. See §14 and §15.
Confusing the series with its terms
Section titled “Confusing the series with its terms”Tempting. “ converges to , because .”
What is true. The sum of a series is the limit of its partial sums (Definition 14.2), not of its terms. Here the partial sums are , so the series converges to . See §14.
Comparing in the wrong direction
Section titled “Comparing in the wrong direction”Tempting. “ and diverges, so diverges.”
What is true. To prove convergence, bound the terms above by a convergent series. To prove divergence, bound them below by a divergent one. The other two combinations prove nothing. See §14.
Comparing with signed terms
Section titled “Comparing with signed terms”Tempting. “ and converges, so converges.”
Counterexample. , and . The Comparison Test (Theorem 14.6) needs , not just . See §14.
Ratios less than 1, or tending to 1
Section titled “Ratios less than 1, or tending to 1”Tempting. “ for every , so converges.” Or: “the ratios tend to , so the series diverges.”
Counterexample. For every ratio is below , yet the series diverges. And the ratios tend to both for , which diverges, and for , which converges. The Ratio Test (Theorem 14.8) needs the ratios to stay below a fixed , and it says nothing when of the ratios is . The same applies to the Root Test (Theorem 14.9). See §14.
Convergent means absolutely convergent
Section titled “Convergent means absolutely convergent”Tempting. “If converges, so does .”
Counterexample. converges by the Alternating Series Theorem 15.3, but diverges. Only the reverse is true: absolutely convergent series converge (Corollary 14.7). See §14 and §15.
Alternating signs are enough
Section titled “Alternating signs are enough”Tempting. “The signs alternate and the terms tend to , so the series converges.”
Counterexample. , whose -th pair is . The partial sums at the end of each pair are . Theorem 15.3 needs the absolute values of the terms to decrease. See §15.
Using the integral test without “decreasing”
Section titled “Using the integral test without “decreasing””Tempting. “ and always behave alike.”
Counterexample. is at every integer, so , yet the integral is . The comparison between sums and integrals in §15 relies on being decreasing (and positive). See §15.
Rearranging a conditionally convergent series
Section titled “Rearranging a conditionally convergent series”Tempting. “Changing the order of the terms cannot change the sum.”
Counterexample. Take the terms of , which sums to , and list them as one positive term followed by two negative ones. The rearranged series sums to . Rearranging is safe only for absolutely convergent series. See §15.
Treating 0.999… as slightly less than 1
Section titled “Treating 0.999… as slightly less than 1”Tempting. “ is the closest number below .”
What is true. is the limit of , and that limit is exactly . Two different expansions name the same number, and this happens only for numbers of the form (Theorem 16.3). There is no “closest number below ”: between any two reals there is another. See §16.
Continuity
Section titled “Continuity”“Continuous” means “the graph has no gaps”
Section titled ““Continuous” means “the graph has no gaps””Tempting. “ is discontinuous at .”
What is true. Continuity is defined only at points of the domain (Definition 17.1), and is not in the domain of . So is continuous: at every point where it is defined. Whether it could be extended continuously to is a question about limits of functions. See §17.
Continuous at a point means continuous nearby
Section titled “Continuous at a point means continuous nearby”Tempting. “If is continuous at , it is continuous on some interval around .”
Counterexample. Let for rational and for irrational . Since , is continuous at . At any , rationals tending to give values tending to and irrationals give , so is continuous only at . See §17.
Sums of discontinuous functions are discontinuous
Section titled “Sums of discontinuous functions are discontinuous”Tempting. “If is continuous, then and are.”
Counterexample. Let on and elsewhere, and . Both are discontinuous at every point, but . Theorem 17.4 goes one way only: continuous parts give a continuous sum, product and quotient. See §17.
The Extreme Value Theorem on the wrong kind of set
Section titled “The Extreme Value Theorem on the wrong kind of set”Tempting. “A continuous function on an interval has a maximum and a minimum.”
Counterexample. on is bounded but has no maximum or minimum. on is unbounded. on is unbounded. Theorem 18.1 needs a closed, bounded interval . See §18.
The Intermediate Value Theorem without an interval, or over ℚ
Section titled “The Intermediate Value Theorem without an interval, or over ℚ”Tempting. “ is continuous, negative somewhere and positive somewhere, so has a zero.”
Counterexample. on is continuous, takes the values and , and is never : the domain is not an interval. And on , is negative at and positive at but has no rational zero: the proof of Theorem 18.2 needs completeness. Even when the theorem applies, it gives existence only, not where the zero is or how many there are. See §18.
The intermediate value property implies continuity
Section titled “The intermediate value property implies continuity”Tempting. “If takes every value between any two of its values, then is continuous.”
Counterexample. for and . Every interval around contains points where takes every value in , so has the intermediate value property, but is not continuous at . Exercise 18.12 works through this example. For strictly increasing functions the converse does hold (Theorem 18.5). See §18.