Docsity

Math 131a Final Exam Solution - Lecture 2 (Spring 2009), Exams of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Math 131a Final Exam
Lecture 2
Spring 2009
Name:
Instructions:
•There are 8 problems. Make sure you are not missing any pages.
•Unless stated otherwise (or unless it trivializes the problem), you may use
without proof anything proven in the sections of the book covered by this
test (excluding the exercises).
•Give complete, convincing, and clear answers (or points will be deducted).
•No calculators, books, or notes are allowed.
•Answer the questions in the spaces provided on the question sheets. If you
run out of room for an answer, continue on the back of the page.
Question Points Score
1 10
2 10
3 10
4 10
5 10
6 10
7 10
8 10
Total: 80
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Math 131a Final Exam Solution - Lecture 2 (Spring 2009) and more Exams Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 131a Final Exam Lecture 2 Spring 2009

Name:

Instructions:

  • There are 8 problems. Make sure you are not missing any pages.
  • Unless stated otherwise (or unless it trivializes the problem), you may use without proof anything proven in the sections of the book covered by this test (excluding the exercises).
  • Give complete, convincing, and clear answers (or points will be deducted).
  • No calculators, books, or notes are allowed.
  • Answer the questions in the spaces provided on the question sheets. If you run out of room for an answer, continue on the back of the page.

Question Points Score

1 10

2 10

3 10

4 10

5 10

6 10

7 10

8 10

Total: 80

  1. (10 points) Suppose that A is a nonempty bounded subset of R and that c is a real number with c > 0. Letting B = {c · a : a ∈ A} prove that sup B = c · sup A.

Solution: Let y = c sup A. We need to show that i.) y is an upper bound for B and that ii.) if x < y then x is not an upper bound for B. For i.), suppose that b ∈ B. Then b = ca for some a ∈ A. Since sup A is an upper bound for A and c ≥ 0, we obtain b = ca ≤ c sup A = y, so y is an upper bound for B. For ii.) suppose x < y. Again using c > 0 , we have x/c < y/c = sup A. Since sup A is the least upper bound, we have that x/c is not an upper bound for A and so there is an a ∈ A with a > x/c. But, then x < ca ∈ B and so x is not an upper bound for B.

  1. (10 points) Suppose that a, b ∈ R and that f : [a, b] → R is continuous. Let C = {f (x) : x ∈ [a, b]} be the range of f , and suppose that (yn)∞ n=1 is a convergent sequence with yn ∈ C for every n. Letting y = limn→∞ yn is it necessarily true that y ∈ C? Prove your answer.

Solution: Yes, we do have y ∈ C. For each n, yn ∈ C, so by definition of C there is some xn ∈ [a, b] with f (xn) = yn. The sequence (xn)∞ n=1 is bounded, so by the Bolzano-Weierstrass theorem it has some convergent subsequence (xnk )∞ k=1. Let x = limk→∞ xnk. Then, one can check that x ∈ [a, b] (otherwise take  = max(x − b, a − x) to contradict the fact that each xnk ∈ [a, b]). Since f is continuous and limk→∞ xnk = x, a theorem from class (or the definition given in the book) tells us that f (x) = limk→∞ f (xnk ) = limk→∞ ynk. But, since every subsequence of a convergent subsequence converges to the limit of the original sequence, this gives f (x) = y. So y ∈ C.

  1. (10 points) Suppose that g : R → R is a bounded function, and consider the function f : R → R defined f (x) = x^3 g(x). Is f necessarily differentiable at 0? Prove your answer.

Solution: Yes, f is differentiable at 0 and f ′(0) = 0. To see this let B > 0 satisfy |g(x)| ≤ B for every x ∈ R (guaranteed by boundedness). Then

lim x→ 0

f (x) − f (0) x − 0

= lim x→ 0

x^3 g(x) x

= lim x→ 0 x^2 g(x).

Then for any  > 0 , we can take δ =

B and

|x^2 g(x) − 0 | <

B

|g(x)| ≤

B

B = 

whenever 0 < |x − 0 | < δ.

  1. (10 points) Suppose that f : R → R is differentiable, and that f ′^ is bounded. Prove that f is uniformly continuous on R.

Solution: Let  > 0 we need to find δ > 0 such that |f (x) − f (y)| <  whenever |x − y| < δ. Since f ′ is bounded, we may choose B > 0 such that f ′(c) ≤ B for every c. Then, taking δ = (^) B the mean value theorem tells us that for some c strictly between x and y, we have

|f (x) − f (y)| = |f ′(c)(x − y)| ≤ B|x − y| < B

B

whenever |x − y| < δ.

  1. (10 points) Let f : [0, 2] → R be the function defined f (1) = 1 and f (x) = 0 for x 6 = 1. Find (using only their definitions–not any theorems) the upper and lower Darboux in- tegrals U (f ) and L(f ) on the interval [0, 2].

Solution: First we look at the easier L(f ). For any partition P = {t 0 ,... , tn} of [0, 2] we have

L(f, P ) =

∑^ n

j=

m(f, [tj− 1 , tj ])(tj − tj− 1 ) =

∑^ n

j=

0(tj − tj− 1 ) = 0

since every interval [tj− 1 , tj ] contains an x with f (x) = 0. Thus,

L(f ) = sup{L(f, P ) such that P is a partition of [0, 2]} = sup{ 0 } = 0.

For U (f ) let P = {t 0 ,... , tn} be a partition of [0, 2]. For each j we either have M (f, [tj− 1 , tj ])) = 0 or = 1 depending on whether 1 ∈ [tj− 1 , tj ] or not. Then

U (f, P ) =

∑^ n

j=

M (f, [tj− 1 , tj ])(tj − tj− 1 ) ≥

∑^ n

j=

0(tj − tj− 1 ) = 0

So 0 is a lower bound for {U (f, P ) such that P is a partition of [0, 2]}. If x > 0 then consider the partition Q = { 0 , 1 − / 2 , 1 + / 2 , 2 } where  < min(x, 2). Then

U (f, Q) = 0 · (1 − /2) + 1 + 0 · (1 − /2) =  < x.

Thus, 0 is the greatest lower bound for {U (f, P ) such that P is a partition of [0, 2]} and so U (f ) = 0.

Extra Scratch Paper:

Extra Extra Scratch Paper