# Basic Analysis I: Introduction to Real Analysis, Volume I: Errata

Every book (no matter how much you paid for it) has errors and typos, especially text that is new in a given edition. I try to be as transparent as possible about any errors found, and I try to fix them as quickly as possible. Please do let me know if you find any errors or typos, so that they may be fixed. A free book relies on readers sending in corrections.

This page lists errors in the various editions. Nonmathematical typos, misspellings, and grammar or style problems are not listed here. Also not listed are things that were correct but simply deserved improvement. Of course, older editions may suffer from recently discovered errata as well.

July 11th 2023 edition, Version 6.0 (edition 6, 0th update):

1. Proposition 2.5.8 should be stated as an if and only if since that clearly follows from the above, and in fact that is the way we use it later. Thanks to Adnan Hashem Mohamed for noticing.

May 16th 2022 edition, Version 5.6 (edition 5, 6th update):

1. After Definition 0.3.23 when talking about what transitivity the letters don't map directly to the definition 0.3.21. While it's not incorrect, it is unnecessarily confusing, it should say that $$b \in [a]$$ and $$c \in [b]$$ implies $$c \in [a].$$ Thanks to Sam Merat.
2. In Exercises 1.3.8 and 1.3.9, the hypothesis that $$D$$ is nonempty is missing. Thanks to Harold Boas.
3. In Exercise 1.4.9, to explain what a polynomial with integer coefficients is, we write "where all $$a_n \in \mathbb{Z}$$", but $$n$$ was already used for the degree. Will replace with "where $$a_0,a_1,\ldots,a_n \in \mathbb{Z}$$."
4. In section 1.5, in proof of Proposition 1.5.3, the remainder $$\frac{r_{n-1}}{10^n q}$$ should be $$\frac{r_{n-1}}{10^{n-1} q} .$$ There are two places where this appears, once in text and once in the displayed inequality. Thanks to Arnold Cross for noticing this.
5. In Exercise 2.2.9, it is not explicitly stated that $$x_n\not=x$$ for all $$n,$$ it should be.
6. In the proof of Proposition 2.6.2, the odd sum should be $$s_{2n+1} = s_{2n}-x_{2n+1}$$ (the sign is wrong), and correspondingly that should be used in the estimate below.
7. In Example 3.2.8 we say that the range of $$\sin$$ is $$(-1,1)$$ when we clearly mean $$[-1,1].$$
8. The labels on the axis in Figure 3.3 are off, they should all be negative.
9. In Example 3.3.11, we forget to mention that $$c \in (a,b)$$ and then we write $$f(y)=c$$ instead of $$f(c)=y.$$ This is correctly stated in the corresponding exercise (3.3.4).
10. In Exercise 4.3.8, it should say "faster than $$x^2$$" not "faster than $$x^3$$". Thanks to Harold Boas.
11. In the proof of Proposition 6.1.10, in the second part, it says "... find an $$N$$ such that $$|f_n(x)-f(x)|$$ ..." where that should say "... find an $$N$$ such that for all $$n \geq N,$$ we have $$|f_n(x)-f(x)|$$ ..."
12. In Remark 6.3.7, the $$H$$ was defined and used as a function of $$t$$ not $$x,$$ but $$t$$ should only be used as a dummy variable under the integral sign. In particular, $$y'=H(t)$$ should be $$y' = H(x).$$
13. In the proof of Proposition 7.5.12, it starts with letting $$\{y_n\}_{n=1}^\infty$$ being a sequence converging to $$y.$$ This sequence is not needed, the first sentence should just say something like "Fix $$y \in [c,d]$$." That proof was changed in version 5.6 to avoid dependence on chapter 6, but I forgot to remove the second part of the first sentence. This applies only to version 5.6, if you have an older version that sequence is used, so there is no erratum.
14. In the integral equation before Picard's theorem in section 7.6, the integral should start at $$x_0.$$ We assume in the proof that $$x_0 = 0,$$ but we haven't done so yet.
15. In Exercise 7.6.11, the index in the series is $$n$$ not $$j.$$

November 9th 2021 edition, Version 5.5 (edition 5, 5th update):

1. Perhaps not completely "erratum," but Exercise 1.5.6 is way too difficult for this level. (Also, if we allowed the use of Cantor-Bernstein-Schröder theorem, it would be unnecessary.) To make matters worse, the hint that was added at some point just made things more rather than less confusing. Best to replace the exercise with the alternative from the footnote: Construct an injection from $[0,1] \times [0,1]$ to $[0,1],$ to keep it a more challenging exercise, describe the set of numbers not in the image. That is what it will be in the next revision.
2. In Exercise 4.3.6, it asks to show that a function is continuous without giving a definition of the value at the point. Really it should just say "$$\lim\limits_{x\to x_0} \frac{f(x)}{{(x-x_0)}^{n+1}}$$ exists". Thanks to Wai Yan Pong.
3. Exercise 7.3.1 is stated as if it was asking to prove both directions of Proposition 7.3.13. Next revision will only ask for the direction that wasn't yet proved, since it starts with "Finish the proof of Proposition 7.3.13".
4. In Theorem 7.5.6, we should assume that the metric space is nonempty to avoid a technicality.

June 8th 2021 edition, Version 5.4 (edition 5, 4th update):

1. Example 0.3.32 is a bit too informal and just leaves out 0 and the negatives.
2. In the proof of Example 1.2.3, the fact that $s-h > 0$ is recalled, but it wasn't explicitly shown, though it's not hard by direct computation: $s-h=\frac{s}{2}+\frac{1}{s} > 0.$
3. In the proof of Theorem 1.4.2, when the sets $A$ and $B$ are defined it should use $:=$ and not simply $=.$ Also it doesn't explicitly say that we are assuming that the already defined $a_j$ and $b_j$ are strictly increasing/decreasing sequences, even though that's clear from the construction.
4. In Example 2.1.11, we refer to "the theorem" although it is a proposition (Proposition 2.1.10).
5. In the proof of Lemma 2.2.12, towards the end, in the parenthesis when it gives a bound for $r^n,$ it should say "for all $n> M$" not "for all $n$".
6. The long estimate in the proof of Proposition 2.5.17 only makes sense if $k \geq 2,$ but we're really thinking of $k$ arbitrarily large.
7. In the proof of Proposition 2.6.1, we assume existence of a subsequence in the case $L=\infty,$ although that was not proved for infinite subsequences (it is not at all difficult). However, one could assume that $\{ x_n \}$ is bounded in this proposition without any loss as otherwise the series diverges anyway.
8. In exercise 2.6.10 part a), the Hint should be followed, otherwise the same result was just proved in an earlier example.
9. Not really an erratum, but something that should be clearer: In Example 3.2.12, it should be noted that every number not equal to $c$ can be in the sequence at most finitely many times.
10. Not really an erratum, but the "In other words" of Exercise 4.1.14 is a little confusing when stated as an inequality. There is a function $g(x)$ as given that gives an equality and that's really the way to prove it. So next version will change it to an equality.
11. Not really an erratum, but in Exercise 4.1.15, there should be another hypothesis: $g(x) \not= 0$ for all $x \not= c.$ While it could be proved that for some neighborhood we have this from $g'(c) \not= 0,$ that's not really what this problem is about, and every student just forgets to prove it. This problem is supposed to be the "calculus proof" of L'Hospital's. The real L'Hospital's is proved in 4.2.9 once we have the mean value theorem. Next version of the book will add this hypothesis as this was a typo on my part (a new exercise will be added however to prove something like this). Also, the right hand side limit exists easily, so "supposing" that it does is just confusing.
12. In Exercise 4.3.2, we meant to ask about the $d$th Taylor polynomial not the $(d+1)$th. Clearly the exercise is still solvable for $(d+1)$th, but that's not what we had in mind.
13. In Definition 7.5.15 at the end, the "as $x$ goes to $c$" should be "as $x$ goes to $p$". Thanks to Wang KP for spotting this.

June 10th 2020 edition, Version 5.3 (edition 5, 3rd update):

1. On page 11 we say the common thing that almost everyone says, that well ordering and induction are equivalent. This may or may not be true depending on the axioms of artithmetic we assume on the natural numbers. With the basic Peano axioms, we would also need to assume $n-1$ exists (which can be proved by induction). Since we simply do arithmetic willy-nilly in this book, we just assume that $n-1$ exists, and in that sense the two are equivalent. In the next edition, there will be a footnote to this effect. Thanks to Manuele Santoprete for pointing this out.
2. Page 72, Alternate proof of Bolzano-Weierstrass: above the last displayed equation in the proof it says $y \leq x$ when it is $x \leq y.$ In the next paragraph this inequality is correct as $y-x \geq 0.$ Thanks to Brandon Tague.
3. Page 158, Exercise 4.3.4: The estimate is only to be proved in $[x_0,x_0+\epsilon].$ It is not true otherwise. Thanks to Robert Niemeyer for spotting this.
4. Page 244, Exercise 7.2.5: It should be "$U \cap V = \emptyset,$ and $U \cup V = \mathbb{Q}$". Thanks to Amanullah Nabavi.
5. Page 266, Exercise 7.5.18: The function $g$ is clearly only defined on $(c,d),$ that is, it should say $g \colon (c,d) \to {\mathbb{R}},$ since $f$ is only defined for $y$ in that interval.

May 15th 2019 edition, Version 5.2 (edition 5, 2nd update):

1. Page 125, Example 3.4.3: The last bit of the argument is not quite right. In $|x-y| < xy \epsilon$ let $x=y+\delta/2,$ then we get $\delta/2 < (y+\delta/2)y\epsilon.$ Then letting $y \to 0$ gives the result. Thanks to Scott Armstrong.
2. Page 101, Exercise 2.6.5, part d), the $k$ in the denominator was meant to be $n.$ Thanks to Paul Sacks.
3. Page 202, Exercise 5.5.13: Part d) doesn't make sense, clearly a) is an answer. Part e) is missing a hypothesis such as differentiable at 0.
The following errata were found by Thomas Mahoney and his students:
1. Page 13, first paragraph of 0.3.3, we forget the use of $:=.$
2. Page 63, in the proof of 2.2.12, we say that "the sequence is not going to be less than $L$" when we mean "the ratio."
3. Page 91, Exercise 2.5.15, the displayed math should end with "converges"
4. Page 126, proof of Lemma 3.4.5, we forget to say that $x,y \in S.$
5. Page 174, proof of Proposition 5.2.4, the summations have $\Delta_i$ instead of $\Delta x_i.$
6. Page 188, proof of Proposition 5.4.2 (v), there is a missing equals sign between $E(qL(a))$ and $E(L(a^q)).$
7. Page 193, proof of Proposition 5.5.4, an $f$ is missing from integral in the inequality at the bottom of the page.
8. Page 208, Example 6.1.8, the last displayed set of inequalities the $N$ should be $n$ (it is of course true for $N,$ but also for all $n \geq N$).
9. Page 218, proof of Corollary 6.2.12, the last sum should go from $n=1$ to $k+1.$

October 11th 2018 edition, Version 5.1 (edition 5, 1st update):

1. In the proof of Theorem 3.4.4: the domain of the function is referred to as $S$ even though the statement says $[a,b].$ Thanks to Arthur Busch.
The following errata were found by Thomas Mahoney and his students:
1. In the proof of Proposition 2.2.5 (iii): $K$ should also be chosen to be bigger than $1,$ so $K := \max \{ |x|,|y|,\frac{\epsilon}{3},1 \}$ so that $\frac{\epsilon}{3K} \leq \frac{\epsilon}{3}.$
2. Theorem 2.4.5: "By Proposition 2.3.7, there exist subsequences $\{x_{n_i}\}$ and $\{x_{m_i}\}$ such that $\lim\,x_{n_i}=a$ and $\lim\, x_{m_i}=b$". The correct justification is Theorem 2.3.4.
3. Last sentence before subsection 2.5.5 (page 85): "Therefore $\sum \frac{(-1)^n}{n}$ is a conditionally convergent subsequence" should be "series" instead of "subsequence".
4. Definition 3.5.1 needs "$x\in S$" next to the "$x\geq M$" and "$x \leq M$" conditions.
5. Lemma 3.5.5: "for all sequences $\{x_n\}$" needs "in $S$"
6. Top of page 136 (after proof of Prop 3.6.2): Missing assumption that $f$ is increasing.
7. Figure 3.10: The closed and open circles are reversed from what the function definitions are (should be open at 0 and closed at (0,1) and (1,0), respectively.)
8. Exercise 3.6.10. In both parts (a) and (b), the function $f$ should be bounded, otherwise $f \colon (0,\infty) \to {\mathbb{R}}$ where $f(x) = -1/x$ is a counterexample.
9. Page 152, proof of Theorem 4.2.11: The step "Rolle's Theorem applies" is incorrect. Lemma 4.2.2 is the correct justification.
10. Page 165, last paragraph: $\tilde{x}_{p-1} - \tilde{x}_p$ should be reversed.
11. Page 192, first sentence: $(\infty,b]$ should be $(-\infty,b].$
12. Page 197: sinc(0) should be 1, not 0.
13. Page 196, Proposition 5.5.10: "every interval" needs to be "every bounded interval $[a,b]$".

May 7th 2018 edition, Version 5.0 (edition 5, 0th update):

1. In Exercise 4.3.11: In the second derivative test (and hence in this exercise) it is necessary to assume that $f'(x_0)=0.$

February 29th 2016 edition, Version 4.0 (edition 4, 0th update):

1. In Exercise 0.3.5, $A$ should be assumed nonempty.
2. In Exercise 1.4.3, part of the sentence is missing: "if $a < b < c$ and $a,c \in I,$ ..." should be "if $a < b < c$ and $a,c \in I$ implies $b \in I,$ ...".
3. In the proof of Proposition 2.2.5 on page 57, in the multiline estimate of the proof of the claim, the third inequality needs to be nonstrict as $|y-y_n|$ may be zero. (Thanks to Harold Boas.)
4. In proof of Theorem 2.3.4, to be perfectly correct, we need to take $M \geq 2,$ so we should take $M := \max \{ M_1, M_2, 2 \}.$
5. In Example 2.5.9, that is the divergence of harmonic series, in the last displayed equation, $\displaystyle \sum_{j=1}^k \left( \sum_{m=2^{k-1}+1}^{2^k} \frac{1}{m} \right)$ should be $\displaystyle \sum_{j=1}^k \left( \sum_{m=2^{j-1}+1}^{2^j} \frac{1}{m} \right).$
6. In the proof of Proposition 2.5.15 the $k-1$ on page 82 becomes $k$ on page 83 by mistake. All the sums that go to $k$ on page 83 should only go to $k-1.$ (Thanks to Mark Meilstrup)
7. On page 85, top of page it says "...is a number that does not depend on $n.$" It should say "...is a number that does not depend on $k.$"
8. In proof of Merten's theorem in 2.6, the estimates should be nonstrict, just in case the series are actually zero.
9. In the proof of Proposition 2.6.3, second paragraph, the definition of $Q$ should be $Q := \max \sigma(\{ 1,2,\ldots,N \})$ (Thanks to Harold Boas)
10. In the proof of Theorem 3.3.2, penultimate line should have $y_n$ instead of $m_n$ (Thanks to Harold Boas)
11. In the proof of Proposition 3.6.2, second paragraph, "there exists $x_M$ such that..." should be "there exists $x_M < c$ such that..."
12. In the proof of Corollary 3.6.3, at the end of the proof it says $x_1 \in S$ and $x_2 \in S,$ but the $S$ should be $I$ (there is no $S$ in this result). Thanks to Trevor Fancher.
13. In the proof of Lemma 4.4.1 on the last line it should be $g'(y) = \frac{1}{f'(g(y))}$ (that is, $g(y)$ instead of $g(t)$).
14. In theorem 4.4.2, $I$ is an open interval, not just an interval (same omission is in the proof).
15. In the second line of the proof of Theorem 4.4.2, is says "for all $x_0 \in I$" which should be "for all $x \in I$".
16. In Exercise 5.4.2, it should say $b \neq 1,$ in part c, also $c \neq 1.$ (thanks to Ru Wang).
17. In Proof of Proposition 6.1.10 in the last line, after taking the supremum the inequality is nonstrict, that is, $\|f_n-f\|_u \leq \epsilon.$ The conclusion still follows.
18. In Exercise 7.1.5, there is a missing hypothesis, $\varphi$ also needs to be increasing.
19. In Proof of Proposition 7.2.12, the conclusion is "$X$ is disconnected" when it should be "$S$ is disconnected".
20. Exercise 7.2.12 is phrased as if the implication to be proved goes the other way. But that was already proved in the text where the exercise is referred to. The exercise needs to prove the other direction: If $U \subset Y$ is open (in $Y$), then there exists an open $V \subset X$ such that $V \cap Y = U.$
21. In Exercise 7.5.10 part c), the infimum should be over $d(x,y),$ not $(x,y).$ (Thanks to Ru Wang)
22. In Exercise 7.6.5, the "is a contraction" in the first sentence should just be deleted. (Thanks to Trevor Fancher)

December 16th 2014 edition:

1. On page 22, axioms (A2), (A3), (M2), (M3) should not begin with an "If". Thanks to Jim Brandt.
2. On page 23, top of page, it should also say that (A2), (A3), and (A4), have been used along with (A5).
3. On page 27, end of proof of Theorem 1.2.4 part (ii), there is a typo, a < is written when $\leq$ was intended. The penultimate sentence of the proof should be "If $y \leq 0,$ then note that $0 \leq -y \lt -x$ and find a rational $q$ such that $-y \lt q \lt -x.$"
4. On page 34, Exercise 1.3.7 requires arithmetic with extended reals, which we explicitly said we'll avoid. In the next edition, there will be the extra assumption of "bounded", which is what was really intended for the exercise.
5. On page 35, tangent is 1-1 and onto on $(-\pi/2,\pi/2),$ not $(-\pi,\pi).$
6. On page 80, second line from the bottom, it is $r^k$ not $r^n$ all the way on the right hand side.
7. On page 84, in the proof of the alternating series test it says "Similarly, $(x_{2k}-x_{2k-1}) \geq 0$" that should say "Similarly, $(x_{2k}-x_{2k+1}) \geq 0$". Thanks to Trevor Mannella for pointing this out.
8. On page 88, a minor typo, $m \geq 2K$ implies $m-K+1 > K,$ not $K+1,$ but that is all that is needed.
9. On page 102, Exercise 3.1.9, an extra assumption is necessary, for example $g(c_2)=L$ (i.e. continuity of $g$ at $c_2$). Thanks to Gregory Beauregard for pointing this out!
10. Similarly on page 122, Proposition 3.5.8. If $b \in B,$ then we must assume that $g(b) = c.$
11. On page 107, Example 3.2.12, in the proof that the Thomae function is continuous on the irrationals we take a sequence of rationals, though we should really take an arbitrary sequence. Still only finitely many of the numbers which happen to be rational have denominator larger than K. Thanks to Jim Brandt.
12. On page 114, Exercise 3.3.6, the degree of the polynomial had better be positive.
13. On page 122, in end of example 3.5.7, we mean that $\frac{x}{2} > N$ not $\frac{x}{2} > M.$
14. On page 125, in proof of corollary 3.6.3, $f(x_1) \leq a$ and $f(x_2) \geq b,$ that is, the inequalities should be nonstrict.
15. On page 125, corollary 3.6.3 should really assume that $f$ is not constant otherwise $f(I)$ is a single point, and we defined intervals in such a way as to exclude single points. (Thanks to Andreas Giannopoulos)
16. On page 141, In Definition 4.3.1, the first expression for the Taylor polynomial mistakenly starts at $k=1$ instead of $k=0.$ The second expression is correct.
17. On page 143, Exercise 4.3.5. The divisor in the expression is $(x-x_0)^n$ not $x^n.$ The exercise is still doable but it is only the intended thing when $x_0 = 0.$
18. On page 153, in example 5.1.14 there are a couple of typos. First, when $x_j$ is $\frac{jb}{n}$ not $\frac{ib}{n}$ (also similarly a few lines below). Second when computing $M_j,$ the formula should be $\frac{1}{1+x_{j-1}}.$ And finally $\Delta x_j$ is pulled out of the sum, but while in some sense OK as $\Delta x_j$ does not depend on $j,$ it should only be pulled out after we substitute for it with $\frac{b}{n}.$
19. On page 155, Exercise 5.1.9 is just an exact duplicate of 5.1.8. It will be replaced in the new version by a different exercise.
20. On page 164 there the $c_i$ is really in $(x_{i-1},x_i),$ which is the conclusion of MVT, and we do need $c_i$ not to be $a$ nor $b.$
21. On page 180, Exercise 5.4.4. The formula for the geometric sum is missing a $t^{n+1}$ on the second term on the right hand side, that is, it should be $1-t+t^2-\cdots+{(-1)}^n t^n = \frac{1}{1+t} - \frac{{(-1)}^{n+1}t^{n+1}}{1+t}.$
22. Minor typo on page 184 about middle of the page. It says $\cdots < \epsilon/2 + \epsilon/2 < \epsilon,$ but clearly $\cdots < \epsilon/2 + \epsilon/2 = \epsilon.$
23. On page 194, Exercise 6.1.9, the $f(0)=0$ should be $f_n(0)=0.$ (Thanks to Chase Meadors)
24. On page 200, Exercise 6.2.12, the functions are from $[0,1],$ the domain was missing.
25. On page 211, in the proof of the triangle inequality for $C([a,b],\mathbb{R})$ the computation starts with $d(f,h)$ when it should start with $d(f,g)$ (the definition is unrolled correctly however).
26. Exercise 7.1.5: increasing is not needed, also the function is defined on $[0,\infty)$ not $[0,\infty].$
27. On page 228, $B(x_2,\delta) \in U_{\lambda_2}$ should be $B(x_2,\delta) \subset U_{\lambda_2}.$
28. On page 230, in proof of Proposition 7.5.2, the metrics should be $d_X$ and $d_Y$ and not just $d.$
29. On page 234, in Theorem 7.6.2, we say "f has a fixed point" but it should say "f has a unique fixed point". We actually prove uniqueness, and we use uniqueness later. (Thanks to Arthur Busch)
30. On page 234, bottom of page in the uniqueness proof, the second equality should be an inequality, that is $d(f(x),f(y) \leq k d(x,y).$
31. On page 235, just above Picard's theorem, when we say $f'(x_0) = y_0$ we should say $f(x_0) = y_0.$ (Thanks to Arthur Busch)
32. In the proof of Picard we say $f([-h,h]) \subset [x_0 -\alpha,x_0+\alpha]$ when that should be $f([-h,h]) \subset [y_0 -\alpha,y_0+\alpha].$ (Thanks to Arthur Busch)
33. On page 236, about middle of the page the estimate $|t|Ld(f,g)$ should be $|x|Ld(f,g).$

October 20th 2014 edition:

1. In exercise 5.3.6, we need to assume that $F'$ and $G'$ are integrable. A simple fix is to just assume that F and G are continuously differentiable. Thanks to Kristopher Lee and Hannah Lund for pointing this out.

December 18th 2013 edition:

1. In exercise 2.6.11, the definition of $a_n$ is missing something in part c) making the series not Cesaro-summable. You should let $a_n := k$ if $n=k^3,$ $a_n := -k$ if $n=k^3+1,$ and $a_n:=0$ otherwise. The $-k$ part was missing. Thanks to Kristopher Lee and Baoyue Bi for noticing this.

October 7th 2013 edition:

1. In exercise 7.1.8, the Hausdorff metric is not a metric on bounded sets but only a pseudometric. That is, $d_H(A,B) = 0$ does not mean that $A=B$ (It would work for compact sets, but we don't know those yet in 7.1). Thanks to Kenji Kozai for spotting this.

May 29th 2013 edition:

1. In exercise 5.2.16, the second inequality (for lower Darboux integral) should be reversed. It should be $\underline{\int_a^b}(f+g) \geq \underline{\int_a^b}f+\underline{\int_a^b}g.$ (Thanks to Sonmez Sahutoglu)
2. On page 172, in the proof of Proposition 5.4.2, when proving property (iii) we say "$E(x_0) \lt \epsilon$ for all $x \leq x_0$". Of course, that should be "$E(x) \lt \epsilon$ for all $x \lt x_0$" (the rare appearance of two, although minor, typos in one sentence).
3. On page 145, in corollary 4.4.3, it says "there exists a unique positive number" even though we allow $x \geq 0,$ so we have to allow the root to be 0.

December 16th 2012 edition:

1. In exercise 5.3.5, page 137, it should be OK to assume "continuously differentiable". The exercise is possible, but it is harder than intended. (Thanks to Sonmez Sahutoglu)
2. On top of page 148, the second equality is an inequality. It is not difficult to see, but it requires a proof. I will be adding a relevant exercise. (Thanks to Sonmez Sahutoglu)
3. Page 150, exercises 6.2.10 and 6.2.11. The assumption of "continuous" on $f_n$ is missing in both of these exercises. They're not true without it. (Thanks to Sonmez Sahutoglu)
4. Page 174, exercise 7.3.10: part b) is not correct. The metric given is not the right metric for this problem. The problem will be replaced with a different and more comprehensive one. (Thanks to Sonmez Sahutoglu)

October 1st 2012 edition:

1. In exercise 2.5.9 on page 78, the two series should be absolutely convergent, or part a) is not true. (Thanks to Sonmez Sahutoglu)
2. On page 73, second equation from the top we say "triangle inequality," but we write an equality. Of course that should be an inequality. (Thanks to Yi Zhang)
3. On page 76, 6th line from the bottom, an $r^n$ should be $r^k,$ we get it right in the line just below. (Thanks to Yi Zhang)
4. In Theorems 3.3.7 and 3.3.8, c is really in the open interval (a,b), though that's obvious. It's correct as stated, but stupid. So change to $c \in (a,b).$ Similarly in the application on page 95. (Thanks to Yi Zhang)
5. In remark 5.1.5, we meant integrals from a to b, not 0 to 1.

April 8th 2012 edition:

No known errata.

December 25th 2011 edition:

No known errata.

December 15th 2011 edition:

1. Yaikes! The triangle inequality on page 157 has a typo. Of course it is an inequality, otherwise it would be called the triangle equality. So it should say $d(x,z) \leq d(x,y) + d(y,z).$ Thanks to students from my class.
2. When renaming t to x in section 7.6, in the definition of T(f) on page 185, I forgot to change t to x. It says T(f)(t) when it should say T(f)(x).

November 18th 2011 edition:

1. On page 164 in the definition of an open set. It should say "... if for every $x \in V,$ there exists ..." Instead it says for every $x \in X$ which is of course wrong. (Thanks to Steve Hoerning)
2. Page 183, in the contraction mapping principle, of course X should be nonempty. I don't feel too bad about making this mistake as Rudin does it also, even in the third edition.
3. Page 181, in Theorem 7.5.4, f is bounded not compact, it is f(X) that is compact.
4. Exercise 7.1.8 works only for nonempty bounded sets. The definition works if you use extended reals, but you won't get a metric space.
5. Page 166, in the proof of proposition 7.2.8 in the middle of the estimate there is $-\delta$ when there should be $+\delta.$
6. In the proof of proposition 7.2.13 we actually need the opposite direction of Proposition 7.2.11. So 7.2.11 needs to be made into an if and only if. The other part of the if and only if simply refers to exercise 7.2.12. To do this we also need to change the assumption on the intersection to $U_1 \cap U_2 \cap S \not= \emptyset.$ Consequently in the proof we show that $U_1 \cap S$ and $U_2 \cap S$ have a point in common (which we actually do).
7. In the proof of proposition 7.2.13 we are working with [x,y] in the end not with S, that's the whole point of defining x and y.
8. On page 177 in the middle when defining $n_{j+1}$ it should be in the ball of radius 1/(j+1) not 1/j. Or alternatively we should start with $n_{j-1}$ defined and define $n_j$ to be in the ball of radius 1/j.
9. In proof of proposition 7.3.7, on the last line we say $n \geq N$ when of course that is $n \geq M$ (there is no N in the whole proof).
10. In exercise 7.4.1, A is of course finite subset of X. (Thanks to Jeremy Sutter)
11. In the proof of Theorem 7.4.6 (sequentially compact is equivalent to compact) we define a sequence starting at $x_0$ and $\lambda_0,$ but then several times we forget it later and write down the elements starting at $x_1$ and $\lambda_1.$ Of course we should consistently start with 0 (or even better with 1).
12. In exercise 7.6.5, the "best" k is of course the smallest one, not the largest one (there is no largest one of course).
13. Definition 1.1.1 on page 14 was not well stated. An ordered set is the set together with the relation. (Thanks to Paul Vojta)
14. On page 106, in the statement of the chain rule, $c \in I_1$ not $c \in I_2.$ (Thanks to Paul Vojta)
15. On page 107, in exercises 4.1.3 and 4.1.8 it was not specified what is n. So specify that it is an integer, in which case also specify that x and f(x) should not be 0. (Thanks to Paul Vojta)
16. On page 112, in the proof of Proposition 4.2.6, we assume that $x < y$ but then we use that $x - y > 0$ when we should use $x - y < 0.$ (Thanks to Paul Vojta)
17. On page 134, the second displayed equation is only true when $c < x,$ otherwise the opposite inequalities hold. (Thanks to Paul Vojta)

October 16th 2011 edition:

1. On page 96, in the proof of Proposition 3.3.10, near the end there is a missing absolute value sign, or at least a negative sign. That is, after the "or in other words", there should be $-(b_{d-1}M^{d-1}+\cdots+b_1M+b_0) < M^d.$ Just above, there should be absolute value signs, as in $| ... | < 1.$ Similarly in the following paragraph the typo was propagated. So for the $K$ it should say $b_{d-1} (-K)^{d-1} + \cdots + b_1 (-K) + b_0 < K^d$
2. On page 93, in proof of Theorem 3.3.2. When we say "there exist convergent subsequences $\{ x_{n_i} \}$ and $\{ y_{n_i} \}$". The indices should be different. Now it is possible to pick one $n_i$ for both, so it is not really wrong, but there is no need to do this. Simply change $y_{n_i}$ to $y_{m_i}.$
3. Exercise 3.3.7, says image of a closed and bounded interval is a closed and bounded interval. I suppose it is OK, but some would not consider $[c,c] = \{c\}$ an interval. So best to suppose that f is nonconstant.
4. On page 94, about 3/4 down. d is the limit of $\{ b_n \}$ which is decreasing, so it's the infimum, not the supremum (Thanks to Daniel Pimentel-Alarcón).
5. Page 106, the quotient rule is of course missing a minus sign. (Thanks to Jeremy Sutter)
6. On page 59, line 5, that should be $\{ x_n : n \geq n_k+1 \}.$ (Thanks to Eliya Gwetta)
7. On page 120, in the proof of 5.1.7, the $\tilde{m}_j$ definition is not quite right, a tilde is missing. It should be $\tilde{m}_j := \inf \{ f(x) : \tilde{x}_{j-1} \leq x \leq \tilde{x}_j \}.$
8. On page 128, in the proof of Lemma 5.2.6, we wish to take an $n$ such that $\frac{b-a}{n} < \delta,$ the (b-a) was missing.
9. On page 122, when computing the difference of upper and lower integral it is $(1+\epsilon)-(1-\epsilon)$ of course.
10. On page 128, in the definition of "finitely many discontinuities". Of course we mean that f is continuous at all points of A, and not that the restriction of f to A is continuous.
11. On page 143, there were absolute value signs missing in the estimate towards the end of proof of 6.1.13. That is there should be absolute value signs around $f(x)-f_k(x).$
12. On page 145 and 147, it says that $n > \frac{1}{x}$ implies $x < \frac{1}{n},$ while that should of course be $x > \frac{1}{n},$ which is why $f_n(x)=0.$
13. On page 149, Exercise 6.2.3, of course the function f should be Riemann integrable to be able to take the integral. Similarly for 6.2.8 and 6.2.9 on page 150, the functions $f_n$ should be Riemann integrable.
14. On page 136, the definition of the erf function is wrong. A minus sign and a square root is missing. It is simply an example, and not used elsewhere in the book.
15. On page 75, we mention that $\sum \frac{1}{n^2}$ converges to $\frac{\pi^2}{2}$ when in fact it converges to $\frac{\pi^2}{6}$ (Thanks to Daniel Pimentel-Alarcón for spotting this).
16. In the examples on pages 154 and 155, the h guaranteed by the proof of the theorem was computed for an older version of the proof. For exponential, $h=\frac{1}{2}$ will work and for $y'=y^2,$ $h=1-\frac{\sqrt{3}}{2}$ will work.
17. On page 143, the strict inequality in the displayed equation in the middle of the page should of course be a nonstrict inequality as we took a limit.
18. In example 5.3.2, the computation has a typo, while the final answer is correct.
19. In example 5.1.12, at the end of the example, there is $\int_0^1 f$ when there should of course be $\int_0^2 f$ (Thanks to Jeremy Sutter).
20. On page 135, the difference quotient is less than or equal to epsilon, not strictly less than.
21. In exercise 6.1.3, A is of course a subset of S, not just a subset of the real numbers, otherwise the restrictions don't make sense.
22. In exercise 5.2.10, f should be bounded as well, otherwise it obviously does not make any sense (Thanks to students in my class)

April 26th 2011 edition:

1. Proposition 1.2.7, page 28: The set A should be bounded and nonempty, it is true without this hypothesis, but we just made a big deal about not doing arithmetic with ${\mathbb{R}}^*.$
2. Proposition 1.2.8, page 29: A, B must be nonempty sets!
3. In the proof on top of page 29, all inequalities should be nonstrict.
4. Exercise 2.3.6, page 63: The sequences should be bounded. The exercise works with unbounded, but we have not defined limsup and liminf for unbounded sequences.
5. Example 2.5.18, page 77 is misleading. It is not true that the series converges because the terms go to zero, but by the way we proved that the terms go to zero (using the ratio test). Better replace the justification by the actual ratio $\lim_{n\to\infty} \frac{2^{n+1}/(n+1)!}{2^n/n!} = \lim_{n\to\infty} \frac{2}{n+1} = 0 .$
6. Exercises 1.2.9 and 1.2.10 should say that A and B are nonempty (Found by Paul Vojta)
7. Exercise 2.4.3 has a typo. The rational numbers need to be dense in F. Here is a rewritten version that is also a lot more explicit.
Exercise 2.4.3: Suppose that F is an ordered field that contains the rational numbers $\mathbb{Q},$ such that $\mathbb{Q}$ is dense, that is: whenever $x,y \in F$ are such that $x < y,$ then there exists a $q \in \mathbb{Q}$ such that $x < q < y.$ Say a sequence $\{ x_n \}_{n=1}^\infty$ of rational numbers is Cauchy if given any $\epsilon \in \mathbb{Q}$ with $\epsilon > 0,$ there exists an M such that for all $n,k \geq M$ we have $|x_n-x_k| < \epsilon.$ Suppose that any Cauchy sequence of rational numbers has a limit in F. Prove that F has the least-upper-bound property.
8. In exercise 2.5.6 it should say "converges absolutely" in a) it just says "converges". Of course that's not wrong (it's weaker), but it could be misleading, and the way to prove convergence here is to prove absolute convergence.
9. On page 85, second line it says "thus c is a cluster point of A", of course that is supposed to be "cluster point of S" as that's what we are trying to prove.
10. On page 110, end of proof of Theorem 4.2.3. Is says "Hence the relative minimum is 0 and the relative maximum is 0" Those are of course the "absolute" min and max.
11. On page 112: In proposition 4.2.8, the second interval is (c,b) not (c,d). There is no d in the proposition.

February 28th 2011 edition:

1. On top of page 102, the $=\frac{1}{2}|x-y|$ should of course be $\leq\frac{1}{2}|x-y|.$

December 26th 2010 edition:

1. Exercise 1.1.7 has a extra subset sign. $A \subset \subset \mathbb{N}$ should be $A \subset \mathbb{N}.$
2. On page 12, the sentence about induction hypothesis was missing the word "in", that is "assumption in" rather than just "assumption". It is "P(n) is true" that is the hypothesis.

November 1st 2010 edition:

1. On page 11, "So let us assume that $x \in A \cap (B \cup C)$" should be "So let us assume that $x \in A \setminus (B \cup C)$". Thanks to Dan Stoneham.
2. On page 80, first line of subsection 3.1.2 c is of course a cluster point of S, not A.

October 3rd 2010 edition:

1. In exercise 1.3.4, the functions f and g are of course bounded as in proposition 1.3.7. (Glen Pugh)
2. Proof of proposition 2.2.5 part iii was off if $y=0.$ We should use $\frac{\epsilon}{2(|y| + 1)}$ instead of $\frac{\epsilon}{2|y|}.$ (Glen Pugh)
3. The function defined in the beginning of Example 6.2.3, was not the one on Figure 6.3 nor the rest of the example (though it could also be used to show the same idea).
4. In example 4.2.10, the argument showing that f' is not continuous at zero was insufficient. That the limit does not exist is not as obvious as it seemed.

September 6th 2010 edition:

The following errata were found by Glen Pugh.

1. In example 0.3.14, $f^{-1}(\{0\}) = \pi \mathbb{Z}$ not $\mathbb{Z}.$
2. In proposition 0.3.16, C and D are of course subsets of A, not B.
3. In exercise 0.3.4 part b), the explanatory sentence has a typo, it should be that "$f( C \cap D)$ is a proper subset of $f(C) \cap f(D)$"

August 12th 2010 edition:

1. On bottom of page 11, the counter-example for swapping intersection and union doesn't work due to a typo. The set should be defined by $\{ k \in \mathbb{N} \mid mk < n \}$ not by $\{ k \in \mathbb{N} \mid k < nm \}.$ Thanks to Glen Pugh for spotting this.

July 15th 2010 edition:

1. Exercise 5.2.11 mentioned as a side note that the Thomae function is "everywhere discontinuous," which is a typo. It is only discontinuous on a dense set. (Thanks to an anonymous reader)

June 23rd 2010 edition:

No known errata.

April 8th 2010 edition:

All the below errata were found thanks to Jana Maříková.

• p.13, line 6: the denominator should be $1-c^{n+1} + (1-c)c^{n+1}$
• p.15, Def. 0.3.18: f and g were switched in the definition.
• p.21, Def. 1.1.2: the definition of lower bound is missing
• p.22, Def. 1.1.3: need to assume that E is nonempty
• p.61, $y=\frac{b_k - a_k}{2}$ should be $y=\frac{a_k + b_k}{2}.$
• p.66, "b:=liminf xn" should be "b:=limsup xn"
• p.87, line -5: "Fix $c \in (0,\infty).$" should be "Fix $c \in (-\infty , \infty).$"
• p.87, line -4: "$x$" is missing the lower index "$n$"
• p.102, Exercise 3.4.5: what is to be proved is false as stated - need additional assumptions
• p.105, line -6: numerator of second fraction should be "$(f(x)+g(x))-(f(c)+g(c))$"
• p.107: line 5: equality missing between "$\ldots(g(x)-g(c))$" and "$u(g(x))\ldots$"

December 23rd 2009 edition:

No known errata.

December 11th 2009 edition:

Proposition 5.2.4 had a typo in it. There was one too many alphas in there.