320 HMWK9 Solns
320 HMWK9 Solns
320 HMWK9 Solns
5
Exercise 4.5.3: There is no continuous function f : R → R with f (R) = Q. If there were, then we could find
a, b ∈ R with f (a) = 1 and f (b) = 2. Either a < b or b < a. Let’s suppose a < b. Since f√
(x) is continuous on
R it is also continuous on [a, b].
√ By the√intermediate value theorem, and the fact that 1 < 2 < 2, there exists
a c ∈ (a, b) such that f (c) = 2. But 2 6∈ Q, hence f (R), which includes f (c), cannot just be Q. The same
argument works if b < a, but we find c ∈ (b, a) instead.
Exercise 4.5.4: Let f (x) : [a, b] → R be an increasing function (x < y implies f (x) ≤ f (y)) such that for
all x < y in [a, b] and L ∈ R between f (x) and f (y) there is a cL ∈ (x, y) with f (cL ) = L. Pick v ∈ [a, b]. We
wish to show that f (x) is continuous at v. Pick > 0. Now let x = a and y = v. Since f (x) is increasing on
[a, v] we have h = f (v) − f (a) ≥ 0. Use the intermediate value property to find d1 so that f (d1 ) = f (v) − h̃ where
h̃ = 12 min{h, }. (Note: if h = 0, then f (x) = f (v) for every x ∈ (a, v), so d1 can be any value in (a, v)). Then
for all x ∈ (d1 , v) we have f (d1 ) ≤ f (x) ≤ f (v), i.e. f (v) − h̃ ≤ f (x) ≤ f (v). However, h̃ < so this implies
− < f (x)−f (v) ≤ 0 for all x ∈ (d1 , v). We now do the same on the other side. Let h̃ = 12 min{f (b)−f (v), }. Then
find d2 such that f (d2 ) = f (v) + h̃. Again we’ll find that for x ∈ (v, d2 ) we have f (v) ≤ f (x) ≤ f (v) + h̃ < f (v) + .
Putting the two sides together, we get for x ∈ (d1 , d2 ) − < f (x) − f (v) < which is just |f (x) − f (v)| < . Now
just choose (v − δ, v + δ) ⊂ (d1 , d2 ), and we have shown that f (x) is continuous at v.
Exercise 4.5.7: First, note that f ([0, 1]) ⊂ [0, 1] implies f (0) ≥ 0 and f (1) ≤ 1. If either f (0) = 0 or f (1) = 1,
we have found a fixed point. The remaining case to consider is when f (0) > 0 and f (1) < 1. Let g(x) = f (x) − x.
Then g(x) is continuous on [0, 1] since f (x) and y = x are continuous on [0, 1]. In the case we are considering,
g(0) = f (0) − 0 > 0 and g(1) = f (1) − 1 < 0. By the intermediate value theorem, there is a point c ∈ (0, 1) with
g(c) = 0, since g(1) < 0 < g(0). But for this value of c g(c) = 0 means f (c) − c = 0 or f (c) = c.
Section 5.2
Exercise 5.2.2:
(i) Let f (x) = x1 . To compute the derivative, f 0 (a), for a 6= 0 we evaluate
1
f (x) − f (a) −1 a−x
a−x −1 −1
lim = lim x a = lim x a = lim = lim = 2
x→a x−z x→a x − a x→a x − a x→a x a(x − a) x→a x a a
d
which is in agreement with the usual formula: dx xn = n xn−1 for n = −1. Thus f (x) is differentiable on
(−∞, 0) ∪ (0, ∞).
1
(ii) First, use the product rule for f (x)·h(x) where h(x) = g(x) . Note that the domain of h(x) is exactly the
subset of the domain of g(x) where g(x) 6= 0. Provided g(c) 6= 0 we can consider the value of f (x) h(x) at
c. The product rule tells us that if f (x) and h(x) are both differentiable at x = c then so is f (x)h(x) with
derivative f 0 (c)h(c) + f (c)h0 (c). However, we do not yet know that h(x) is differentiable at x = c. This is
where we use the chain rule. g(x) is differentiable at x = c and since g(c) 6= 0, q(x) = x1 is differentiable at
g(c). The chain rule then tells us that q(g(x)) = g(x)1
is differentiable at x = c with derivative q 0 (g(c))g 0 (c).
−1 −g 0 (c)
By the preceding part q 0 (g(c)) = g(c)2
. So h0 (c) = g(c)2
. Putting these two together gives