This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
math104-f21:hw3 [2021/09/11 08:58] pzhou created |
math104-f21:hw3 [2026/02/21 14:41] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== HW 3 ====== | + | ====== HW 3 with solution |
| - | Tao | + | - [Tao] Ex 5.4.3, |
| - | - Ex 5.4.3, | + | - [Tao] Ex 5.4.5 (you may assume result in 5.4.4) |
| - | - 5.4.5 (you may assume result in 5.4.4) | + | - [Tao] Ex 5.4.7, |
| - | - 5.4.7, | + | - [Tao] Ex 5.4.8 |
| - | - 5.4.8 | + | - Let $A$ be the subset of $\Q$ consisting of rational numbers with denominators of the form $2^m$. Prove that for any $x \in \R$, there is a Cauchy sequence $(a_n)$ in $A$, such that $x = LIM a_n$. |
| - | - Let $A$ be the subset of $\Q$ consisting of rational numbers with denominators of the form $2^m$. Prove that for any $x \in \R$, there is a Cauchy sequence $(a_n)$ in $A$, such that $x = \LIM a_n$. | + | |
| + | ====== Solution ====== | ||
| + | |||
| + | ==== 5.4.3 ==== | ||
| + | Problem: Show that for any real number $x$, there is exactly one integer $N$, such that $N \leq x \leq N+1$. | ||
| + | |||
| + | Sol: If $x$ is an integer, then let $N=x$. Assume $x$ is not an integer now. Then $|x| > 0$, hence by Prop 5.4.12, | ||
| + | |||
| + | |||
| + | Remark: we will call such $N$ the ' | ||
| + | |||
| + | ==== 5.4.5 ==== | ||
| + | Given any real numbers $x < y$, show that there is a rational number $q$ such that $x < q < y$. | ||
| + | |||
| + | Sol: Since $0 < y-x$, we can find a large enough positive integer $N$, such that $N (y-x) > 1$ (by Archimedian property). Let $m$ be the unique integer, such that $m \leq N x < m+1$ (proven in the problem 1), then $m + 1 \leq N x + 1 < N y$, hence we have $N x < m+1 < N y$. Let $q = (m+1)/ | ||
| + | |||
| + | ==== 5.4.7 ==== | ||
| + | Let $x,y$ be real nubmers. Show that $x \leq y+\epsilon$ for all real $\epsilon> | ||
| + | |||
| + | Solution: If $x \leq y$, then for any $\epsilon > 0$, we have $x \leq y < y + \epsilon$, hence $x < y + \epsilon$. In the other direction, if $x \leq y +\epsilon$ for all $\epsilon > 0$, we claim that $x - y \leq 0$. If not, say $c = x-y > 0$, then, we can let $\epsilon = c / 2$, then we get | ||
| + | $$ c = (x-y) \leq \epsilon | ||
| + | which contradict with assumption $c > 0$, hence the claim is true. | ||
| + | |||
| + | For the second statement, if $|x-y| < \epsilon$ for all real $\epsilon > 0$, then $|x-y| \leq 0$ by the same argument. Since we also have $|x-y| \geq 0$ by definition of absolute value, hence $|x-y|=0$. Thus $x = y$. | ||
| + | |||
| + | ==== 5.4.8 ==== | ||
| + | Let $(a_n)$ be a Cauchy sequence of rationals, and let $x$ be a real number. Show that, if $a_n \leq x$ for all $n$, then $LIM a_n \leq x$. Similarly, if $a_n \geq x$ for all $n$, then $LIM a_n \geq x$. | ||
| + | |||
| + | Solution: We only prove the first half of the statement, since the other half is similar. We prove by contradiction, | ||
| + | |||
| + | |||
| + | ==== Problem 5 ==== | ||
| + | Let $A$ be the subset of $\Q$ consisting of rational numbers with denominators of the form $2^m$. Prove that for any $x \in \R$, there is a Cauchy sequence $(a_n)$ in $A$, such that $x = LIM a_n$. | ||
| + | |||
| + | Solution: Let $x \in \R$, and let $(b_n)$ be a Cauchy sequence in $\Q$, such that $x = LIM b_n$, we are going to construct $(a_n)$ in $A$, such that $(a_n)$ is equivalent to $(b_n)$, hence $x = LIM a_n$. For $n \geq 1$, we let $a_n = \frac{\lfloor 2^n b_n \rfloor}{2^n}$, | ||
| + | $$ |a_n - b_n| = | \frac{\lfloor 2^n b_n \rfloor}{2^n} - \frac{2^n b_n }{2^n} | = | \frac{\lfloor 2^n b_n \rfloor - b_n}{2^n}| \leq 1 / 2^n $$ | ||
| + | hence $(a_n)$ is equivalent to $(b_n)$. | ||