A.1 Chapter 1

Exercise 1.4

Let n∈ℕn\in\mathbb{N}. Observe that 0≤n+5≤n+5⁢n=6⁢n0\leq n+5\leq n+5n=6n whilst 8⁢n2−7≥8⁢n2−7⁢n2=n2>08n^{2}-7\geq 8n^{2}-7n^{2}=n^{2}>0. Combining these observations,

0≤n+58⁢n2−7≤6⁢nn2=6n≤60\leq\frac{n+5}{8n^{2}-7}\leq\frac{6n}{n^{2}}=\frac{6}{n}\leq 6

and so 66 is an upper bound for AA. Since an upper bound exists, AA is bounded above.

Exercise 1.7

Unless every student is at least 1.71.7 meters tall (which would be a major statistical anomaly!), (I) should be false. On the other hand, unless every student is under 1.71.7 meters tall (which would again be a major statistical anomaly!), (II) should be true.

The negations of (I) and (II) are, respectively:

  1. (¬\neg I)
    ​

    There exists a student SS such that the height of student SS is less than 1.71.7 meters.

  2. (¬\neg II)
    ​

    For all students SS, the height of student SS is less than 1.71.7 meters.

It is very likely that (¬\neg I) holds and (¬\neg II) does not hold.

Exercise 1.8

If x∈ℝx\in\mathbb{R} is an upper bound for A⊆ℝA\subseteq\mathbb{R}, then y:=x+1y:=x+1 is also an upper bound for AA and y≠xy\neq x.

Exercise 1.9

(i) Write A:={a∈ℝ:3≤a≤4}A:=\{a\in\mathbb{R}:3\leq a\leq 4\}. We claim that every x≥4x\geq 4 is an upper bound for AA. Indeed, if x≥4x\geq 4, then a≤4≤xa\leq 4\leq x so a≤xa\leq x for all a∈Aa\in A.

On the other hand, we claim that every x<4x<4 is not an upper bound for AA. Indeed, if x<4x<4, then 4∈A4\in A and x≱4x\not\geq 4, so that xx is not an upper bound for AA.

The above shows that {x∈ℝ:x≥4}\{x\in\mathbb{R}:x\geq 4\} is precisely the set of upper bounds for AA.

(ii) Write B:=B1∪B2B:=B_{1}\cup B_{2} where B1:={a∈ℝ:0≤a≤1}B_{1}:=\{a\in\mathbb{R}:0\leq a\leq 1\} and B2:={a∈ℝ:3≤a≤4}B_{2}:=\{a\in\mathbb{R}:3\leq a\leq 4\}. We claim that every x≥4x\geq 4 is an upper bound for BB. Indeed, if x≥4x\geq 4, then a≤4≤xa\leq 4\leq x so a≤xa\leq x for all a∈B1a\in B_{1}. Similarly, a≤1<4≤xa\leq 1<4\leq x so a≤xa\leq x for all a∈B2a\in B_{2}. Thus, a≤xa\leq x for all a∈Ba\in B, so xx is an upper bound for BB.

On the other hand, we claim that every x<4x<4 is not an upper bound for BB. Indeed, if x<4x<4, then 4∈B4\in B and x≱4x\not\geq 4, so that xx is not an upper bound for BB.

The above shows that {x∈ℝ:x≥4}\{x\in\mathbb{R}:x\geq 4\} is precisely the set of upper bounds for BB.

Exercise 1.11

Suppose s1s_{1}, s2⊆ℝs_{2}\subseteq\mathbb{R} are both least upper bounds for A⊆ℝA\subseteq\mathbb{R}. Since s1s_{1} is an upper bound for AA and s2s_{2} is a least upper bound for AA, we must have s2≤s1s_{2}\leq s_{1}. By a symmetric argument, we also have s1≤s2s_{1}\leq s_{2}. Hence s1=s2s_{1}=s_{2}.

Exercise 1.13

(i) We know from Exercise 1.9 (i) that the set of upper bounds for A:={a∈ℝ:3≤a≤4}A:=\{a\in\mathbb{R}:3\leq a\leq 4\} is {x∈ℝ:x≥4}\{x\in\mathbb{R}:x\geq 4\}. Thus, the least upper bound for AA is 44; that is, supA=4\sup A=4.

We know from Exercise 1.9 (i) that the set of upper bounds for B:={a∈ℝ:0≤a≤1}∪{a∈ℝ:3≤a≤4}B:=\{a\in\mathbb{R}:0\leq a\leq 1\}\cup\{a\in\mathbb{R}:3\leq a\leq 4\} is {x∈ℝ:x≥4}\{x\in\mathbb{R}:x\geq 4\}. Thus, the least upper bound for BB is 44; that is, supB=4\sup B=4.

Exercise 1.18

Let a,b∈ℝa,b\in\mathbb{R} with a≤ba\leq b.

We claim that sup[a,b]=b\sup\,[a,b]=b.

  1. 1.
    ​

    Since, by definition, t≤bt\leq b for all t∈[a,b]t\in[a,b], we see that bb is an upper bound for [a,b][a,b].

  2. 2.
    ​

    Suppose x∈ℝx\in\mathbb{R} and x<bx<b. Then b∈[a,b]b\in[a,b] and x≱bx\not\geq b so that xx is not an upper bound for [a,b][a,b]. Thus, any upper bound xx for [a,b][a,b] must satisfy x≥bx\geq b.

Hence bb is the least upper bound for [a,b][a,b]; in other words, sup[a,b]=b\sup[a,b]=b.

We claim that sup(−∞,b]=b\sup\,(-\infty,b]=b. The argument is essentially the same as that used above.

  1. 1.
    ​

    Since, by definition, t≤bt\leq b for all t∈(−∞,b]t\in(-\infty,b], we see that bb is an upper bound for (−∞,b](-\infty,b].

  2. 2.
    ​

    Suppose x∈ℝx\in\mathbb{R} and x<bx<b. Then b∈(−∞,b]b\in(-\infty,b] and x≱bx\not\geq b so that xx is not an upper bound for (−∞,b](-\infty,b]. Thus, any upper bound xx for (−∞,b](-\infty,b] must satisfy x≥bx\geq b.

Hence bb is the least upper bound for (−∞,b](-\infty,b]; in other words, sup(−∞,b]=b\sup(-\infty,b]=b.

The sets [a,∞)[a,\infty) and ℝ\mathbb{R} are not bounded above, so each of these sets cannot have a supremum. On the other hand, we know from Remark 1.16 that the empty set does not have a supremum.

Exercise 1.20

The following sketch illustrates the proof that sup(0,1)=1\sup(0,1)=1: for every x∈(0,1)x\in(0,1), the element t:=1+x2∈(0,1)t:=\frac{1+x}{2}\in(0,1) lies to the right of xx on the number line.

Exercise 1.21

Let a,b∈ℝa,b\in\mathbb{R} with a<ba<b.

We claim that sup(a,b)=sup(a,b]=sup[a,b)=sup(−∞,b)=b\sup\,(a,b)=\sup\,(a,b]=\sup\,[a,b)=\sup\,(-\infty,b)=b. To treat all these cases simultaneously, let II denote one of the sets (a,b)(a,b), (a,b](a,b] or [a,b)[a,b).

  1. 1.
    ​

    Since, by definition, t≤bt\leq b for all t∈It\in I, we see that bb is an upper bound for II.

  2. 2.
    ​

    Suppose x∈ℝx\in\mathbb{R} and x<bx<b. If x≤ax\leq a, then (a+b)/2∈I(a+b)/2\in I and x≱(a+b)/2x\not\geq(a+b)/2, so that xx is not an upper bound for II. This argument continues to make sense when I=(−∞,b)I=(-\infty,b), provided we just choose a∈ℝa\in\mathbb{R} to be some number satisfying a<ba<b. On the other hand, if a<x<ba<x<b, then the midpoint t:=b+x2t:=\frac{b+x}{2} satisfies x<t<bx<t<b. Moreover, t∈It\in I and t>xt>x, so that xx is not an upper bound for II. This shows that if x∈ℝx\in\mathbb{R} is an upper bound for II, then x≥bx\geq b.

Hence bb is the least upper bound for II; in other words, supI=b\sup I=b. A minor modification of this argument also shows sup(−∞,b)=b\sup(-\infty,b)=b.

The sets (a,∞)(a,\infty) and ℝ\mathbb{R} are not bounded above, so each of these sets cannot have a supremum. On the other hand, we know from Remark 1.16 that the empty set does not have a supremum.

Exercise 1.23

Suppose M1M_{1} and M2M_{2} are both maxima for AA. Then M1∈AM_{1}\in A and so, since M2M_{2} is a maximum (and therefore an upper bound) for AA, we have M1≤M2M_{1}\leq M_{2}. By a symmetric argument, M2≤M1M_{2}\leq M_{1} and so we must have M1=M2M_{1}=M_{2}.

Exercise 1.25

(i) Let A:={1,2,3}A:=\{1,2,3\}. Since 3∈A3\in A and 1≤31\leq 3, 2≤32\leq 3 and 3≤33\leq 3, it follows that 33 is a maximum for AA; that is, max⁡A=3\max A=3.

On the other hand, we claim supA=3\sup A=3.

  1. 1.
    ​

    The above observations show 33 is an upper bound for AA.

  2. 2.
    ​

    If x<3x<3, then 3∈A3\in A and x≱3x\not\geq 3 so that xx is not an upper bound for AA. Thus, any upper bound x∈ℝx\in\mathbb{R} for AA must satisfy x≥3x\geq 3.

This shows 33 is the least upper bound for AA; that is, supA=3\sup A=3.

(ii) Let B:={2/n:n∈ℕ}B:=\{2/n:n\in\mathbb{N}\}. Since 2=2/1∈B2=2/1\in B and 2/n≤2/1=22/n\leq 2/1=2 for all n∈ℕn\in\mathbb{N} (and so a≤2a\leq 2 for all a∈Ba\in B), it follows that 22 is a maximum for BB; that is, max⁡B=2\max B=2.

On the other hand, we claim supB=2\sup B=2.

  1. 1.
    ​

    The above observations show 22 is an upper bound for BB.

  2. 2.
    ​

    If x<2x<2, then 2∈B2\in B and x≱2x\not\geq 2 so that xx is not an upper bound for BB. Thus, any upper bound x∈ℝx\in\mathbb{R} for BB must satisfy x≥2x\geq 2.

This shows 22 is the least upper bound for BB; that is, supB=2\sup B=2.

Exercise 1.27

(i) Suppose a maximum MM for (0,1)(0,1) exists. Then a≤Ma\leq M for all a∈(0,1)a\in(0,1), so that MM is an upper bound for (0,1)(0,1). Since sup(0,1)=1\sup(0,1)=1 is the least upper bound for (0,1)(0,1), it follows that 1≤M1\leq M.

(ii) Since M≥1M\geq 1, it follows that M≮1M\not<1 and so M∉(0,1)M\notin(0,1). But this contradicts the fact that MM is a maximum for (0,1)(0,1) and therefore satisfies M∈(0,1)M\in(0,1).

Exercise 1.29

Let A:={2−1/n:n∈ℕ}A:=\{2-1/n:n\in\mathbb{N}\}. We know that supA=2\sup A=2 and that 2∉A2\not\in A (since 2−1/n<22-1/n<2 for all n∈ℕn\in\mathbb{N}). Hence, by a result of Worksheet 1, we know that AA does not have a maximum.

Alternatively, if a∈Aa\in A, then a=2−1/na=2-1/n for some n∈ℕn\in\mathbb{N}. However, b:=2−1/(n+1)∈Ab:=2-1/(n+1)\in A and b>ab>a. Thus, aa cannot be a maximum. Since a∈Aa\in A was chosen arbitrarily, this shows no maximum exists.

Exercise 1.30

(i) For B:={3⁢n2−1n2:n∈ℕ}B:=\Big{\{}\frac{3n^{2}-1}{n^{2}}:n\in\mathbb{N}\Big{\}}, we claim that supB=3\sup B=3

  1. 1.
    ​

    We may write 3⁢n2−1n2=3−1n2<3\frac{3n^{2}-1}{n^{2}}=3-\frac{1}{n^{2}}<3 for all n∈ℕn\in\mathbb{N}. Hence 33 is an upper bound for BB.

  2. 2.
    ​

    Suppose x∈ℝx\in\mathbb{R} with x<3x<3, so that r:=3−x>0r:=3-x>0. Then there exists some N∈ℕN\in\mathbb{N} such that N>1/rN>1/r and therefore 1/N<r1/N<r. Moreover, 3−1/N2∈B3-1/N^{2}\in B and 3−1/N2≥3−1/N>3−r=x3-1/N^{2}\geq 3-1/N>3-r=x, so that xx is not an upper bound for BB. Here we have used the fact N≥1N\geq 1, so that N2≥NN^{2}\geq N. This shows that if x∈ℝx\in\mathbb{R} is an upper bound for BB, then x≥3x\geq 3.

Thus, 33 is the least upper bound for BB; that is, supB=3\sup B=3.

We observed above that 3⁢n2−1n2<3\frac{3n^{2}-1}{n^{2}}<3 for all n∈ℕn\in\mathbb{N}, and so a<3a<3 for all a∈Ba\in B. In particular, supB=3∉B\sup B=3\notin B. Since BB does not contain its supremum, it does not have a maximum by a result of Worksheet 1.

Alternatively, if a∈Ba\in B, then a=3−1/n2a=3-1/n^{2} for some n∈ℕn\in\mathbb{N}. However, b:=3−1/(n+1)2∈Bb:=3-1/(n+1)^{2}\in B and b>ab>a. Thus, aa cannot be a maximum. Since a∈Ba\in B was chosen arbitrarily, this shows no maximum exists.

(ii) For C:=ℚ∩(0,1)C:=\mathbb{Q}\cap(0,1), we claim supC=1\sup C=1.

  1. 1.
    ​

    Since, by definition, a<1a<1 for all a∈(0,1)a\in(0,1), we have a<1a<1 for all a∈Ca\in C and so 11 is an upper bound for CC.

  2. 2.
    ​

    Let x<1x<1. If x≤0x\leq 0, then 1/2∈C1/2\in C and x≱1/2x\not\geq 1/2, so xx is not an upper bound for CC. On the other hand, suppose 0<x<10<x<1, so that r:=1−x>0r:=1-x>0. There exists some N∈ℕN\in\mathbb{N} such that N>1/rN>1/r and therefore 1/N<r1/N<r. Moreover, 1−1/N>1−r=1−(1−x)=x1-1/N>1-r=1-(1-x)=x. Since 1−1/N∈C1-1/N\in C and x≱1−1/Nx\not\geq 1-1/N, it follows that xx is not an upper bound for CC. This shows that if x∈ℝx\in\mathbb{R} is an upper bound for CC, then x≥1x\geq 1.

Thus, 11 is the least upper bound for CC; that is, supC=1\sup C=1.

We observed above that a<1a<1 for all a∈Ca\in C. In particular, supC=1∉C\sup C=1\notin C. Since CC does not contain its supremum, it does not have a maximum by a result of Worksheet 1.

Alternatively, if a∈Ca\in C, then a∈ℚa\in\mathbb{Q} and 0<a<10<a<1. If we define b:=(1+a)/2b:=(1+a)/2, then it follows that b∈ℚb\in\mathbb{Q} and 0<b<(1+1)/2=10<b<(1+1)/2=1. Thus, b∈Cb\in C and b>ab>a and so aa cannot be a maximum. Since a∈Ca\in C was chosen arbitrarily, this shows no maximum exists.

Exercise 1.33

We claim that for A:={2−1/n:n∈ℕ}A:=\left\{2-1/n:n\in\mathbb{N}\right\}, supA=2\sup A=2.

  1. 1.
    ​

    Since 2−1/n≤22-1/n\leq 2 for all n∈ℕn\in\mathbb{N}, it follows that 22 is an upper bound for AA.

  2. 2.
    ​

    Let ε>0\varepsilon>0 be given. There exists some N∈ℕN\in\mathbb{N} such that N>1/εN>1/\varepsilon and therefore 0<1/N<ε0<1/N<\varepsilon. If we define a:=2−1/Na:=2-1/N, then a∈Aa\in A and

    a=2−1N>2−ε.a=2-\frac{1}{N}>2-\varepsilon.

    Thus, for any given ε>0\varepsilon>0 we can find a∈Aa\in A such that 2−ε<a≤22-\varepsilon<a\leq 2, which verifies the approximation property.

By Lemma 1.31, we conclude that supA=2\sup A=2, as claimed.

Exercise 1.34

1 ⇒\Rightarrow 2. Suppose supA\sup A exists and s=supAs=\sup A. Let ε>0\varepsilon>0 be given, so that s−ε<ss-\varepsilon<s. It follows that s−εs-\varepsilon cannot be an upper bound for AA, since ss is the least upper bound for AA (by property 2 of Definition 1.10). This mean that there must exist some a∈Aa\in A such that s−ε<as-\varepsilon<a. On the other hand, since ss is an upper bound for AA (by property 1 of Definition 1.10), we also have a≤sa\leq s. Combining these observations, s−ε<a≤ss-\varepsilon<a\leq s, as required.

Exercise 1.35

Consider the set A:={12⁢n+53⁢n+2:n∈ℕ}A:=\big{\{}\frac{12n+5}{3n+2}:n\in\mathbb{N}\big{\}}. We claim that supA=4\sup A=4.

  1. 1.
    ​

    Writing 12⁢n+5=4⁢(3⁢n+2)−312n+5=4(3n+2)-3, it follows that 12⁢n+53⁢n+2=4−33⁢n+2≤4\frac{12n+5}{3n+2}=4-\frac{3}{3n+2}\leq 4 for all n∈ℕn\in\mathbb{N}. Thus, 44 is an upper bound for AA.

  2. 2.
    ​

    We now show 44 satisfies the approximation property from Lemma 1.31.

    Let ε>0\varepsilon>0 be given. There exists some N∈ℕN\in\mathbb{N} such that N>3/εN>3/\varepsilon and therefore 0<1/N<ε/30<1/N<\varepsilon/3. If we define a:=12⁢N+53⁢N+2a:=\frac{12N+5}{3N+2}, then a∈Aa\in A and

    a=4−33⁢N+2>4−3N>4−ε,a=4-\frac{3}{3N+2}>4-\frac{3}{N}>4-\varepsilon,

    where we used the fact that 33⁢N+2<3N\frac{3}{3N+2}<\frac{3}{N} for N∈ℕN\in\mathbb{N}. Thus, 4−ε<a≤44-\varepsilon<a\leq 4, which verifies the approximation property.

By Lemma 1.31, we conclude that supA=4\sup A=4, as claimed.

Note: In this proof, we chose NN such that N>3εN>\frac{3}{\varepsilon}, but here (and often elsewhere) other choices are possible. For instance, we could choose MM such that M>1εM>\frac{1}{\varepsilon} and note that for a=12⁢M+53⁢M+2a=\frac{12M+5}{3M+2} we have

a=4−33⁢M+2>4−1M>4−ε,a=4-\frac{3}{3M+2}>4-\frac{1}{M}>4-\varepsilon,

using the fact that 3⁢M+2>3⁢M3M+2>3M to see that 33⁢M+2<33⁢M=1M\frac{3}{3M+2}<\frac{3}{3M}=\frac{1}{M}.

Exercise 1.37

The additional statements mean the following:

  1. (III)
    ​

    Every pencil is used by at least one student; there are no leftover pencils which go unused.

  2. (IV)
    ​

    There is at least one student who writes with every single pencil.

Note that (I), (II), (III) and (IV) all have different meanings. However, (II) ⇒\Rightarrow (I), as we already observed, and (IV) ⇒\Rightarrow (III) (indeed, if one student uses every single pencil, then every single pencil is used by at least one student).

For the negations:

  1. (¬\neg I)
    ​

    There exists a student SS such that for all pencils PP student SS does not write with pencil PP.

  2. (¬\neg II)
    ​

    For all pencils PP, there exists a student SS such that student SS does not write with pencil PP.

  3. (¬\neg III)
    ​

    There exists a pencil PP such that for all students SS, student SS does not write with pencil PP.

  4. (¬\neg IV)
    ​

    For all students SS there exists a pencil PP such that student SS does not write with pencil PP.

These statements can be expressed in more everyday language as follows:

  1. (¬\neg I)
    ​

    There is a student who does not write with any pencil.

  2. (¬\neg II)
    ​

    No pencil is used by all the students.

  3. (¬\neg III)
    ​

    There is a pencil no students writes with.

  4. (¬\neg IV)
    ​

    No student writes with all the pencils.

Exercise 1.38

The additional statements mean the following:

  1. (V)
    ​

    Every pencil is used by every student.

  2. (VI)
    ​

    There is at least one student who writes with at least one pencil.

Note that (I) – (VI) all have different meanings. However, (V) ⇒\Rightarrow (II) ⇒\Rightarrow (I) ⇒\Rightarrow (VI) and (V) ⇒\Rightarrow (IV) ⇒\Rightarrow (III) ⇒\Rightarrow (VI).

For the negations:

  1. (¬\neg V)
    ​

    There exists a pencil PP and there exists a student SS such that student SS does not write with pencil PP.

  2. (¬\neg VI)
    ​

    For all pencil PP and for all students SS, student SS does not write with pencil PP.

These statements can be expressed in more everyday language as follows:

  1. (¬\neg V)
    ​

    Not every student writes with every pencil.

  2. (¬\neg VI)
    ​

    No student writes with any pencil.

Exercise 1.43

(i) If m∈ℝm\in\mathbb{R} is a minimum for AA, then m∈Am\in A so AA is nonempty. Furthermore, a≥ma\geq m for all a∈Aa\in A and so mm is a lower bound for AA. Hence AA is nonempty and bounded below, so infA\inf A exists. Moreover, since infA\inf A is the greatest lower bound for AA, it follows that infA≥m\inf A\geq m. However, we also have m∈Am\in A and since infA\inf A is a lower bound for AA, it follows that m≥infAm\geq\inf A. Hence, m=infAm=\inf A as required.

(ii) Simply take (0,1](0,1]. Then given any m∈(0,1)m\in(0,1) we can form a:=m/2a:=m/2. It follows that a∈(0,1]a\in(0,1] and a<ma<m, so that mm cannot be a minimum for (0,1](0,1]. Since m∈Am\in A was chosen arbitrarily, this shows no minimum exists.

Exercise 1.45

We have (s−1/n)2=s2−2⁢s/n+1/n2≥s2−2⁢s/n(s-1/n)^{2}=s^{2}-2s/n+1/n^{2}\geq s^{2}-2s/n. To bound this below by 2, we need to choose nn so that

s2−2⁢s/n>2⇔s2−2>2⁢s/n⇔n>2⁢ss2−2s^{2}-2s/n>2\quad\iff\quad s^{2}-2>2s/n\quad\iff\quad n>\frac{2s}{s^{2}-2}

or, equivalently, 1/n<(s2−2)/2⁢s1/n<(s^{2}-2)/2s.

Exercise 1.46

(i) We claim that the set A:={a∈ℝ:a2<x}A:=\{a\in\mathbb{R}:a^{2}<x\} is nonempty and bounded above. To see this, we consider the cases 0<x<10<x<1 and x≥1x\geq 1 separately. If 0<x<10<x<1, then x2<xx^{2}<x and so x∈Ax\in A and the set is nonempty. Furthermore, we must have a<1a<1 for all a∈Aa\in A (since if a≥1a\geq 1, then a2≥1a^{2}\geq 1 and so a∉Aa\notin A). Hence, 11 is an upper bound for AA. On the other hand, if x≥1x\geq 1, then 1/4<1≤x1/4<1\leq x so 1/2∈A1/2\in A and the set is nonempty. Furthermore, x2≥xx^{2}\geq x and so xx must be an upper bound for AA (since if a≥xa\geq x, then a2≥x2≥xa^{2}\geq x^{2}\geq x and so a∉Aa\notin A). In either case, we see that AA is nonempty and bounded above.

Since AA is nonempty and bounded above, by the completeness axiom s:=supAs:=\sup A exists. In the case 0<x<10<x<1, we know x∈Ax\in A and so, since ss is an upper bound for AA, we must have s≥x>0s\geq x>0. On the other hand, if x≥1x\geq 1, then a similar line of reasoning shows s≥1/2>0s\geq 1/2>0. In either case, s>0s>0.

(ii) We claim that s2=xs^{2}=x: in other words, s=xs=\sqrt{x}.

Suppose s2>xs^{2}>x, so that s2−x>0s^{2}-x>0 and we can therefore find some n∈ℕn\in\mathbb{N} with 0<1/n<(s2−x)/2⁢s0<1/n<(s^{2}-x)/2s. Thus,

(A.1) (A.1) (s−1/n)2=s2−2⁢s/n+1/n2≥s2−2⁢s/n>x,(s-1/n)^{2}=s^{2}-2s/n+1/n^{2}\geq s^{2}-2s/n>x,

where the second step is due to the fact that 1/n2≥01/n^{2}\geq 0 for n≥1n\geq 1 and the choice of nn. From (A.1) and the definition of AA, it follows that s>s−1/n>as>s-1/n>a for all a∈Aa\in A. However, this contradicts the fact ss is the least upper bound for AA, and so s2≯xs^{2}\not>x.

Suppose s2<xs^{2}<x, so that x−s2>0x-s^{2}>0 and we can therefore find some n∈ℕn\in\mathbb{N} with 0<1/n<(x−s2)/(1+2⁢s)0<1/n<(x-s^{2})/(1+2s). Thus,

(A.2) (A.2) (s+1/n)2=s2+2⁢s/n+1/n2≤s2+(1+2⁢s)/n<x,(s+1/n)^{2}=s^{2}+2s/n+1/n^{2}\leq s^{2}+(1+2s)/n<x,

where the second step is similar to that in (A.1), this time using 1/n2≤1/n1/n^{2}\leq 1/n for n≥1n\geq 1. From (A.2) and the definition of AA, it follows that s+1/n∈As+1/n\in A and clearly s+1/n>ss+1/n>s. However, this contradicts the fact ss is an upper bound for AA, and so s2≮xs^{2}\not<x.

We have shown s2≯xs^{2}\not>x and s2≮xs^{2}\not<x. It therefore follows that s2=xs^{2}=x, as claimed.

Exercise 1.48

Clearly 1∈S1\in S and a≤2a\leq 2 for all a∈Sa\in S, so SS is nonempty and bounded above. Repeating the argument used in Example 1.44 shows that any least upper bound ss for SS must satisfy s2=2s^{2}=2. However, there is no rational number with this property. Thus, SS does not have a least upper bound in ℚ\mathbb{Q}.

Exercise 1.54

(i) Let x∈ℝx\in\mathbb{R} and ε>0\varepsilon>0. Choosing y:=x∈ℝy:=x\in\mathbb{R}, we have |x−y|=0<ε|x-y|=0<\varepsilon. Hence ℝ\mathbb{R} is dense in ℝ\mathbb{R}.

(ii) Let x∈ℝx\in\mathbb{R} and ε>0\varepsilon>0. If x≠0x\neq 0, then choosing y:=x∈ℝ×y:=x\in\mathbb{R}^{\times}, we have |x−y|=0<ε|x-y|=0<\varepsilon. On the other hand, if x=0x=0, then we can choose y:=ε/2y:=\varepsilon/2 so that |x−y|=|0−ε/2|=ε/2<ε|x-y|=|0-\varepsilon/2|=\varepsilon/2<\varepsilon. Hence ℝ×\mathbb{R}^{\times} is dense in ℝ\mathbb{R}.

(iii) Let x∈ℝx\in\mathbb{R} and ε>0\varepsilon>0. If x∈ℝ∖ℤx\in\mathbb{R}\setminus\mathbb{Z}, then choosing y:=x∈ℝy:=x\in\mathbb{R}, we have |x−y|=0<ε|x-y|=0<\varepsilon. On the other hand, if x∈ℤx\in\mathbb{Z}, then we can choose y:=x+min⁡{1/2,ε/2}y:=x+\min\{1/2,\varepsilon/2\}. Then y∈ℝ∖ℤy\in\mathbb{R}\setminus\mathbb{Z} and |x−y|≤ε/2<ε|x-y|\leq\varepsilon/2<\varepsilon. Hence ℝ∖ℤ\mathbb{R}\setminus\mathbb{Z} is dense in ℝ\mathbb{R}.

Exercise 1.55

(i) Let x:=2x:=2 and ε:=1/2\varepsilon:=1/2. If |y−x|<ε|y-x|<\varepsilon, then y≥2−1/2=3/2y\geq 2-1/2=3/2 and so y∉[0,1]y\not\in[0,1]. Thus, there does not exist any element y∈[0,1]y\in[0,1] satisfying |y−x|<ε|y-x|<\varepsilon, so [0,1][0,1] is not dense in ℝ\mathbb{R}.

(ii) Let x:=1/2x:=1/2 and ε:=1/4\varepsilon:=1/4. If |y−x|<ε|y-x|<\varepsilon, then 1/4<y<3/41/4<y<3/4 and so y∉ℤy\not\in\mathbb{Z}. Thus, there does not exist any element y∈ℤy\in\mathbb{Z} satisfying |y−x|<ε|y-x|<\varepsilon, so ℤ\mathbb{Z} is not dense in ℝ\mathbb{R}.