Math 501 Iowa State University Introduction to Real Analysis Department of Mathematics Instructor: Alex Roitershtein Summer 015 Exam #1 Solutions This is a take-home examination. The exam includes 8 questions. The total mark is 100 points. Please show all the work, not only the answers. 1. [1 points] Fix any d N and let denote the usual Euclidean norm in R d. That is, x = d x i for a vector x = (x 1,..., x d ) R d. Suppose that u, v R d. Find w R d and r > 0 such that if and only if x w = r. x u = x v ) Hint: Prove that w = ( 1 4v u and r = v u. First solution: This is a short solution based on a completion to square idea. Start with the equation Observe that it is equivalent to and hence to x u = 4 x v. (1) x x u + u = 4 x 8x v + 4 v, x x 4v u = u 4 v Let w = 1 ( 4v u ). Then the left-hand side is x x w. Add to both the sides w, to obtain where r = x w = x x w + w = u 4 v + w = u 4 v + 1 9 4v u = 4 v 8v u + 4 u 9 v u. = 4 9 v u = r, 1
Remark. This solution is using the hint, in particular it enjoys the a-priori knowledge of w. To guess the value of w and r one can find two pints satisfying equation (1) on the straight line connecting u and v and then observe that w must be the center of the segment connecting these two points. The location of the two points is given by Equation (8) below. An easy way to find them is to set x = v + t(u v) = u + (1 t)(v u), plug these expressions into, correspondingly, the right- and left-hand sides of equation (1), and solve the ressulting quadratic equation to find two possible values of t. Second solution: This solution is longer than the previous one. It exploits the same orthogonal decomposition x = v t(v u) + z as the solution of a similar problem in the sample, and in fact is mimicking the latter. Assume that Write where x u = 4 x v. () x = v t(v u) + z, () (v u) z = 0 and t R is a suitable constant. Thus t(v u) and z are projection of the vector x v into, respectively, the subspace spanned by v u and its orthogonal complement. Notice that () is equivalent to x = u + (1 t)(v u) + z. (4) Thus, plugging the above expressions for x into () (respectively, () into the left-hand side and (4) into the right-hand side) and using the Pythagoras theorem, we obtain It follows that () is equivalent to (1 t) v u + z = 4t v u + 4 z. z = (1 + t)(1 t) v u. (5) For a fixed value of the parameter t, the right-hand side of (5) is a constant independent of x. In general, in view of (), for any constant a > 0, z = a is an equation of a sphere with center at v t(v u) in the (d 1)-dimensional subspace orthogonal to the vector v u. (6) Since the right-hand side expression in the equation (5) must be non-negative, we obtain that (1 + t)(1 t) 0, and hence 1 t 1/. (7)
Notice that x w = r is an equation of the d-dimensional sphere with center at w and radius equal r. In particular, the values of w and r, if exist, are uniquely determined by (). It follows from (6) and (7) that if such a sphere exists its center must correspond to the middle of the segment with the endpoints (corresponding to the endpoints of the interval in (7) describing the range of t): x 1 = v ( 1)(v u) and x = v 1 (v u). (8) By the symmetry, the center w of the sphere x w = r should be located in the mid-point of this segment, namely at v t 0 (v u) with t 0 = 1+1/ = 1 being the mid-point of the interval ( 1, 1/). Thus It follows then from (5) that w = v r = x w = = ( t + 1 ) u v + ( 1 ) (v u) = 1 ) 4v u. ( ( t + 1 ) u v + z (1 + t)(1 t) v u = 4 9 v u, and hence r = v u. As we mentioned before, the values of w and r are uniquely determined by (), and hence the problem is solved once one admissible pair (w, r) is found.. [14 points] Solve Exercise 5 in Chapter 1 of the textbook. Remark. Solutions of Exercises and are somewhat similar, both are based on a version of Cantor s diagonal trick. However, the solution to the former is slightly more technically involved, while the solution to the latter relies on the main idea in a more direct and transparent way. It therefore might be of a benefit to students to first read the solution to Exercise. Solution: (a) Functions with the values in the set {0, 1} are commonly called binary functions. If f is a binary function and A = {s S : f(s) = 1}, then f is called the indicator of set A and is denoted by 1 A. Let G : P F be a function mapping the subsets of S into their indicators: G(A) = 1 A. Notice that any binary function is an indicator of some (possibly empty) set. Furthermore, 1 A = 1 B clearly implies A = B. Thus G is a bijection from P onto F. The inverse function G 1 : F P defined by G 1 (1 A ) = A is the desired bijection from F onto P. The existence of the bijection shows that F and P are equivalent (have the same cardinality).
(b) First, notice that if S is empty or finite than card(p) = card(p) = card(s). The first equality is the result in (a) while the second can be easily verified, for instance, by induction on the number of elements in S. In general, there is a trivial injection from S onto P defined by γ(s) = {s}, thus mapping s S into the singleton {s} P. To show that S is not equivalent to F (and hence is not equivalent to P) one can utilize a version of Cantor s diagonal trick as follows. Assume that there is a bijection β : S F. It will be convenient to denote β(s) as f (s). Then f (s) : S {0, 1} is a binary function for each s S, and, since β is a bijection, each element in F is f (s) for some s S. To see that this is in fact impossible, define a binary function h : S {0, 1} by setting h(s) = not f (s) (s) = 1 f (s) (s). (9) Since β is a bijection, we must have h = f (t) for some t S. However, if h = f (t) then h(t) = f (t) (t) contradicting (9). This shows that h f (t) = β(t) for any t S, and hence β : S F is actually not a bijection. Remark. Here is an instructive alternative solution to (b). It is based on a similar but different idea from the one hinted in the textbook. In particular, rather than compare S to F it directly compares S to P. Assume that there is a bijection α : S P. Define E P as follows Since α is a surjection, E = α(s) for some s S. However, s E = α(s) directly contradicts (10). s α(s) implies, by virtue of (10), that s E = α(s). E = {s S : s α(s)}. (10) Either way we get a contradiction showing that, in fact, a bijection α : S P doesn t exist.. [1 points] Let E be the set of all real numbers x [0, 1] whose decimal expansion contains only the digits 4 and 7. Is E countable? Solution: One can utilize a version of Cantor s diagonal trick as follows. Assume that E is countable and let f : N E be a bijection from N to E (enumeration of the elements in E). Using decimal expansions write f(n) = 0.a n,1 a n, a n, = 10 k a n,k, n N, k=1 4
where a n,k {4, 7}, k N. Consider the element of E g = 0.b 1 b b = 10 k b k, k=1 where b k {4, 7} are defined as follows: b k = not a k,k = 11 a k,k, k N. (11) Since f is a bijection, we must have g = f(n) for some n N. However, if g = f(n) then b n = a n,n contradicting (11). This shows that g f(n) for any n N, and hence f is actually not a bijection. 4. [14 points] Fix any real number α > 1. Take x 1 > α and define recursively (a) Prove that x 1 > x > x 5 >.... (b) Prove that x < x 4 < x 6 <.... (c) Prove that lim x n = α. x n+1 = α + x n 1 + x n = x n + α x n 1 + x n, n N. (d) Let ε n = x n α. Show that ε n < cβ n for some constants c > 0 and β (0, 1). Solution: (a, b) We have: Hence, since α > 1, Furthermore, and hence x n+1 α = α + x n α = ( α 1)( α xn ) (1) 1 + x n 1 + x n The sequence y n = x n α alternates the signs (1) x n+ = α + x n+1 = α + α+xn 1+x n = α + x n(1 + α) 1 + x n+1 1 + α+xn 1+x n x n + 1 + α, (14) x n+ x n = α + x n(1 + α) x n + 1 + α x n = (α x n) x n + 1 + α. (15) The claims in (a) and (b) follow from (1) and (15) combined together. 5
(c) It follows from the results in (a) and (b) that the sequences x n and x n+1 are monotone. Furthermore, (1) implies that x n < α < x n 1, n N. Therefore the sequence are bounded and following limits exist: t 1 = lim x n and t = lim x n+1. Moreover, it follows from (14) that t 1 and t are non-negative roots of the equation t = α + t(1 + α) t + 1 + α. The last identity yields t + t(1 + α) = α + t(1 + α), which has a unique non-negative solution t = α. The proof of part (c) is complete. (d) Let ε n = x n α. It follows from (1) that Therefore, ε n+1 = ( α 1)ε n 1 + x n. ε n+1 lim = ε n α 1 α + 1, (16) which implies that the error ε n decays asymptotically with an exponential rate. More precisely, pick any ( α 1 ) β, 1. α + 1 It follows from (16) and the definition of the limit that there is N N such that n > N implies ε n+1 ε n < β < 1. Thus, for any m N, N+m 1 ε N+m ε k+1 = < β m. ε N ε k k=n Using the substitution n = N + m we can rewrite this as Therefore, setting we obtain ε n < ε N β N βn, n > N. { εk } c = max, 1 k N β k ε n cβ n, n N. 6
5. [1 points] Fix any d N and let denote the usual Euclidean norm in R d. That is, x = d x i for a vector x = (x 1,..., x d ) R d. We say that a sequence (x n ) n N in R d converges to x R d and write lim x n = x if for any ε > 0 there exists N ε N such that n N and m, n > N ε x n x < ε. Call two converging sequences X = (x n ) n N and Y = (y n ) n N in R n equivalent and write X Y if lim x n y n = 0. Let E be the set of all converging sequences in R n. Show that is an equivalence relation in E. Solution: To show that is an equivalence relation we must verify the following three property of the relation: 1. X X for any X E (reflexivity). X Y implies Y X for any X, Y E (reflexivity). X Y and Y Z imply together X Z for any X, Y, Z E (transitivity) Take any X = (x n ) n N E. Clearly, lim x n x n = 0 and hence X X. Furthermore, if Y = (y n ) n N E and lim x n y n = 0 then lim y n x n = 0, and hence X Y implies Y X. Finally, if Z = (z n ) n Z E, the triangle inequality yields x n z n x n y n + y n z n, and hence X Y and Y Z imply together X Z. 6. [1 points] (a) Let (s n ) n R be a sequence of reals such that s n+1 = s n + s n 1. Show that s n is a Cauchy sequence and hence converges. (b) Let (s n ) n R be a sequence of reals defined recursively by s 1 = 0,, s n = s n 1, s n+1 = 1 + s n. Find lim sup s n and lim inf s n. Hint: Consider the sequences u n = s n and v n = s n 1 separately. 7
Solution: (a) Let I n be the closed interval with endpoints s n 1 and s n. If s n 1 = s n the interval is degenerate and consists of a single point. Let L n be the length of the interval I n, that is L n = s n s n 1. Then L n+1 = s n + s n 1 1 s n = L n. Iterating, we obtain L n+1 = n L 1, and hence lim L n = 0. (17) Observe now that s n+1 is the mid-point of the interval I n, and hence I n+1 I n. In particular, s k I n for any n N and k > n. By virtue of (17), this implies that s n is a Cauchy sequence and hence converges. (b) Let u n = s n and v n = s n 1. In this notation, the recursions in the statement of the problem can be rewritten as u n = v n and v n+1 = 1 + u n. It follows that u n+1 = v n+1 = 1 4 + 1 u n (18) and v n+1 = 1 + u n = 1 + 1 v n. (19) To understand the structure of the sequences u n and v n pick any constants α, β R and set u n = α + x n, v n = β + y n. In the new notation, (18) and (19) become, respectively, α + x n+1 = 1 4 + 1 α + 1 x n and β + y n+1 = 1 + 1 β + 1 y n. Thus, if we could choose parameters α and β in such a way that and α = 1 4 + 1 α (0) β = 1 + 1 β, (1) 8
we would have x n+1 = 1 x n and y n+1 = 1 y n. The latter identities clearly imply lim x n = lim y n = 0. () Fortunately, (0) and (1) both have solutions, namely α = 1 account (), this yields and β = 1. Taking into lim u n = α = 1 and lim v n = β = 1. () It is not hard to verify, using the definition of the limit of a sequence and (), that any converging subsequence of s n cannot include infinitely many elements from the sequence u n and, at the same time, infinitely many elements from the sequence v n. This implies that any converging subsequence of s n converges to either 1 or 1. Using the sequential definition of the lim sup and lim inf, this immediately yields lim sup s n = 1 and lim inf s n = 1. 7. [1 points] Let (s n ) n R be a sequence of reals and define t n = 1 n n s i. (a) Prove that if lim s n = s then lim t n = s. (b) Give an example to show that t n can converge even though s n doesn t. Solution: (a) Assume that lim s n = s. For ε > 0 and let N ε N be an integer such that n > N ε implies s n s < ε. Then for n > N ε, we have t n s = 1 n 1 n n (s i s) 1 n N ε s i s + 1 n n s i s n i=n ε+1 ε 1 n N ε s i s + ε. Taking n while ε and N ε remain fixed in the both sides of the resulting inequality we obtain t n s 1 n N ε s i s + ε, lim sup t n s ε. 9
Since ε > 0 is an arbitrary positive real, lim sup t n s = 0 and hence lim t n s = 0. The latter result is equivalent to the desired assertion lim t n = s. (b) Consider s n = ( 1) n. Clearly, the sequence s n diverges. However, t n = ( 1) n+1 /n and hence lim t n = 0. 8. [1 points] (a) Use induction to show that if (x + 1/x) is integer then (x n + 1/x n ) is also integer for any n N. (b) Show that for any sets A, B R. sup(a B) = max{sup A, sup B} Solution: (a) Let S n = (x n + 1/x n ), n N. Verify that S n S 1 = S n+1 + S n 1, and hence S n+1 = S n S 1 S n 1. The claim follows from this identity by a version of the induction argument. (b) The inequalities sup A sup(a B) and sup B sup(a B) follow from the inclusions A (A B) and B (A B). These two inequalities together imply that max{sup A, sup B} sup(a B). (4) On the other hand, sup A bounds from above any element of A while sup B bounds from above any element of B. It follows that max{sup A, sup B} bounds from above any element in A B. Hence sup(a B) = max{sup A, sup B}. (5) The desired result follows from (4) and (5) combined together. 10