Docsity

Final Exam Solutions - Analysis - Spring 2008 | MATH 131A, Exams of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Math 131a Final Exam
Lecture 2
Spring 2008
Name:
Instructions:
•There are 7 problems. Make sure you are not missing any pages.
•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
Total: 70
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Final Exam Solutions - Analysis - Spring 2008 | MATH 131A and more Exams Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 131a Final Exam Lecture 2 Spring 2008

Name:

Instructions:

  • There are 7 problems. Make sure you are not missing any pages.
  • 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 Total: 70

  1. (10 points) Let X, Y be nonempty sets and let f be a bounded, nonnegative, real-valued function defined on X × Y. For each x ∈ X define

G(x) = sup{f (x, y) : y ∈ Y }.

Prove that sup{G(x) : x ∈ X} = sup{f (x, y) : (x, y) ∈ X × Y }.

Solution: First, we prove that sup{G(x) : x ∈ X} ≤ sup{f (x, y) : (x, y) ∈ X × Y }. By definition of least upper bound, it suffices to show that sup{f (x, y) : (x, y) ∈ X × Y } is an upper bound for {G(x) : x ∈ X}. Suppose x 0 ∈ X. Since (x 0 , y) ∈ X × Y for every y ∈ Y, we have that sup{f (x, y) : (x, y) ∈ X × Y } is an upper bound for {f (x 0 , y) : y ∈ Y } and so G(x 0 ) = sup{f (x 0 , y) : y ∈ Y } ≤ sup{f (x, y) : (x, y) ∈ X × Y }. Now, we prove that sup{G(x) : x ∈ X} ≥ sup{f (x, y) : (x, y) ∈ X × Y }. Again, it suffice to show that sup{G(x) : x ∈ X} is an upper bound for {f (x, y) : (x, y) ∈ X × Y }. Suppose (x 0 , y 0 ) ∈ X × Y. Then f (x 0 , y 0 ) ≤ sup{f (x 0 , y) : y ∈ Y } = G(x 0 ) ≤ sup{G(x) : x ∈ X}.

  1. (10 points) Let K be a compact subset of R. Prove (using only the definitions) that K is bounded.

Solution: We consider the open cover {N 1 (x)}x∈K of K. Since K is compact, there is a finite subcover {N 1 (x 1 ),... , N 1 (xn)}. We set M = 1 + max(|x 1 |,... , |xk|) and claim that K is bounded by M. Suppose x ∈ K. Then, since {N 1 (x 1 ),... , N 1 (xn)} covers K, we have x ∈ N 1 (xi) for some i. It follows that |x| = |x − xi + xi| ≤ |x − xi| + |xi| ≤ 1 + |xi| ≤ M.

  1. (10 points) Suppose E is a subset of R and f, g : E → R are continuous at p ∈ E. Define h : E → R by h(x) = max{f (x), g(x)}. Prove that h is continuous at p.

Solution: Let  > 0. We need to find δ > 0 such that |h(x) − h(p)| <  for every x ∈ E satisfing |x − p| < δ. There are three possible cases: f (p) > g(p), f (p) < g(p), f (p) = g(p). We will first consider the case when f (p) > g(p). Let  1 = min(, (f (p) − g(p))/2). Since f is continuous at p, there exists a δ 1 > 0 such that |f (x) − f (p)| <  1 for every x ∈ E satisfying |x − p| < δ 1. Since g is continuous at p, there exists a δ 2 > 0 such that |g(x) − g(p)| <  1 for every x ∈ E satisfying |x − p| < δ 2. Let δ = min(δ 1 , δ 2 ) and suppose x ∈ E with |x − p| < δ. Since |x − p| < δ ≤ δ 1 , we have f (x) > f (p) −  > f (p)−(f (p)−g(p))/2) = (f (p)+g(p))/ 2. Since |x−p| < δ ≤ δ 2 , we have g(x) < g(p)+ < g(p) + (f (p) − g(p))/2) = (f (p) + g(p))/ 2. Thus, f (x) > g(x) and so |h(x) − h(p)| = | min(f (x), g(x)) − min(f (p), g(p))| = |g(x) − g(p)| <  1 < . For the second to last inequality, we again use the fact that |x − p| < δ 2. The case when f (p) < g(p) follow by an argument analogous to that for the case f (p) > g(p). Finally suppose f (p) = g(p). Find δ > 0 , as above, so that if x ∈ E and |x − p| < δ we have |f (x) − f (p)| <  and |g(x) − g(p)| < . Let x ∈ E with |x − p| < δ. There are two possible cases: f (x) ≥ g(x) and f (x) < g(x). In the former case, we have |h(x) − h(p)| = | min(f (x), g(x)) − min(f (p), g(p))| = |g(x) − g(p)| < . In the latter case, we have |h(x) − h(p)| = | min(f (x), g(x)) − min(f (p), g(p))| = |f (x) − f (p)| < .

  1. (10 points) Suppose f : (− 1 , 1) → R is bounded. Define g : (− 1 , 1) → R by g(x) = x^3 f (x). Prove that g is differentiable at 0. What is g′(0)?

Solution: We claim that g is differentiable at 0 and that g′(0) = 0. In otherwords, that limx→ 0 g(x x)−−g 0 (0) =

Let  > 0. We need to find δ > 0 so that |g(x x)−−g 0 (0) − 0 | <  whenever 0 < |x− 0 | < δ. Since f is bounded on (− 1 , 1), we may find M > 0 such that |f (x)| < M for every x ∈ (− 1 , 1). Let δ = min(1, /M ) and suppose that 0 < |x − 0 | < δ. Then |g(x x)−−g 0 (0) − 0 | = |x

(^3) f (x) x |^ = |x||x||f (x)| < (^1) M M = .

  1. (10 points) Let f : [a, b] → R be differentiable on (a, b). Suppose c ∈ (a, b) is such that f ′(c) = 0, f ′^ is differentiable at c, and f ′′(c) > 0. Prove that f has a local minimum at c.

Solution: Since f ′′(c)/ 2 > 0, we may find a δ 1 > 0 so that |f^

′(x)−f ′(c) x−c −^ f^

′′(c)| < f ′′(c) whenever x ∈ [a, b] and 0 < |x − c| < δ 1. Letting δ = min(δ 1 , |c − a|, |c − b|), we then have f ′(x) x−c =^

f ′(x)−f ′(c) x−c > f^

′′(c) − f ′′(c) = 0 whenever 0 < |x − c| < δ. Thus, f ′ (^) ≥ 0 on [c, c + δ) and f ′^ ≤ 0 on (c − δ, c]. It follows from the mean value theorem (see the Corollary in the book) that f is monotonically increasing on [c, c + δ) and monotonically decreasing on (c − δ, c]. Thus f (x) ≥ f (c) for every x ∈ Nδ(x).

Extra Extra Scratch Paper: