Docsity

Continuity and Function Properties: Problems and Theorems from Math 311, Spring 2009 - Pro, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Homework 6
Math 311, Spring 2009
Note: problems with (**) are harder ones.
(17.1) see back of book
(17.8) (a) consider two cases of f≥gand f < g; (b) use min(f, g) = (f+g)/2− |f−g|/2 and max(f , g) =
(f+g)/2 + |f−g|/2; (c) Use 17.3 and 17.4.
(17.9d) Assume that |x−x0| ≤ 1, then |x| ≤ |x0|+1, and |x2+x0x+x2
0| ≤ |x2|+|x0x|+|x2
0| ≤ (|x0|+1)2+(|x0|+
1)|x0|+|x0|2= 3x2
0+ 3|x0|+ 1. So |x3−x3
0|=|x−x0|·|x2+x0x+x2
0| ≤ (3x2
0+ 3|x0|+ 1)|x−x0|.
For any ε > 0, select δ= min{1, ε/(3x2
0+ 3|x0|+ 1)}. Then when |x−x0|< δ,|x3−x3
0|=
|x−x0|·|x2+x0x+x2
0| ≤ (3x2
0+ 3|x0|+ 1)|x−x0|< ε. Hence g(x) = x3is continuous at x0.
(17.10) (a) Take xn= 1/n, then lim xn= 0, but lim f(xn) = lim 1 = 1 6= 0 = f(0), so it is not continuous from
Definition 17.1; (b) Take xn= (2nπ +pi/2)−1, then lim xn= 0, but lim g(xn) = lim 1 = 1 6= 0 = g(0),
so it is not continuous from Definition 17.1; (c) Take xn= 1/n, then lim xn= 0, but lim sgn(xn) =
lim 1 = 1 6=0=sgn(0), so it is not continuous from Definition 17.1; (d) Consider at an integer p.
Take xn=p−1/n, then lim xn=p, but lim P(xn) = lim 13p+ 2 = 13p+ 2 6= 13p+ 15 = P(p), so it
is not continuous at x=pfrom Definition 17.1.
(17.12a) If xis rational then f(x) = 0 from assumption. If xis irrational, then there exists a sequence (xn)
which is rational and lim xn=xfrom 4.7 (the density of rational numbers). Since fis continuous,
then f(x) = lim f(xn) = lim 0 = 0. So f(x) = 0 for all x∈(a, b).
(17.14) For each rational number x∈R, there is a sequence of irrational numbers (xn) so that xn→xas
n→ ∞, but f(xn) = 0 while f(x) = 1/q for some q∈Z, so f(x) is not continuous at xfrom Theorem
2.2.
If xis irrational, for any ε > 0, there exists N∈Nsuch that for n > N, 1/n < ε. There are
only finitely many rational numbers p/q in the interval (x−1, x + 1) with q≤N, and let δbe the
smallest distance from xto any such rational numbers in (x−1, x +1). Then for any rational number
yin (x−δ, x +δ), f(y)=1/n < ε, and any irrational yin (x−δ, x +δ), f(y)=0< ε. Then
|f(y)−f(x)|=|f(y)|< ε if |y−x|< δ. This proves the continuity of f(x) at irrational x.
(18.4) Consider the function f(x) = 1/(x−x0). Then it is continuous for x6=x0. Yet it is unbounded since
lim xn=x0, and there must be subsequence xnkwhich is all larger than or all smaller than x0. In
either case, f(x) is unbounded from Theorem 9.10.
(18.5) see back of book
(18.6) Let f(x) = x−cos x. Then f(0) = −1<0 and f(π /2) = π/2>0. f(x) is continuous, so the
IVT (18.2) implies that f(x) can take any values between −1 and π/2. In particular, there exists
x0∈(0, π/2) such that f(x0) = 0, then x0= cos x0.
(18.10) Consider g(x) = f(x+ 1)−f(x). Then g(x) is continuous. Note that f(x+ 1) is continuous since f(x)
and x+ 1 both are. Now g(0) = f(1) −f(0) and g(1) = f(2) −f(1) = f(0) −f(1) = −[f(1) −f(0)].
If f(1) −f(0) = 0, then x= 0 and y= 1 are desired solutions. If not, g(0) and g(1) must have
opposite signs, then from IVT (18.2), there exists x0∈(0,1) such that g(x0) = 0, then x=x0and
y=x0+ 1 are desired solutions.
(A-17) Suppose that a function f:R→Ris continuous and it satisfies f(x+y) = f(x) + f(y) for all
x, y ∈R. Prove that there exists a∈Rsuch that f(x) = ax for all x.
From f(0) = f(0 + 0) = f(0) + f(0), we get f(0) = 2f(0), so f(0) = 0. Let a=f(1), then from
induction, f(n) = an for all n∈N. From f(0) = f(n) + f(−n), f(−n) = −an for all n∈N. Now for
every p/q ∈Q,f(p/q) = pf(1/q); and qf (1/q) = f(1) = a, so f(1/q) = 1/q ·a. So we have proved
pf2

Partial preview of the text

Download Continuity and Function Properties: Problems and Theorems from Math 311, Spring 2009 - Pro and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Homework 6

Math 311, Spring 2009

Note: problems with (**) are harder ones.

(17.1) see back of book

(17.8) (a) consider two cases of f ≥ g and f < g; (b) use min(f, g) = (f + g)/ 2 − |f − g|/2 and max(f, g) = (f + g)/2 + |f − g|/2; (c) Use 17.3 and 17.4.

(17.9d) Assume that |x−x 0 | ≤ 1, then |x| ≤ |x 0 |+1, and |x^2 +x 0 x+x^20 | ≤ |x^2 |+|x 0 x|+|x^20 | ≤ (|x 0 |+1)^2 +(|x 0 |+ 1)|x 0 | + |x 0 |^2 = 3x^20 + 3|x 0 | + 1. So |x^3 − x^30 | = |x − x 0 | · |x^2 + x 0 x + x^20 | ≤ (3x^20 + 3|x 0 | + 1)|x − x 0 |. For any ε > 0, select δ = min{ 1 , ε/(3x^20 + 3|x 0 | + 1)}. Then when |x − x 0 | < δ, |x^3 − x^30 | = |x − x 0 | · |x^2 + x 0 x + x^20 | ≤ (3x^20 + 3|x 0 | + 1)|x − x 0 | < ε. Hence g(x) = x^3 is continuous at x 0.

(17.10) (a) Take xn = 1/n, then lim xn = 0, but lim f (xn) = lim 1 = 1 6 = 0 = f (0), so it is not continuous from Definition 17.1; (b) Take xn = (2nπ + pi/2)−^1 , then lim xn = 0, but lim g(xn) = lim 1 = 1 6 = 0 = g(0), so it is not continuous from Definition 17.1; (c) Take xn = 1/n, then lim xn = 0, but lim sgn(xn) = lim 1 = 1 6 = 0 = sgn(0), so it is not continuous from Definition 17.1; (d) Consider at an integer p. Take xn = p − 1 /n, then lim xn = p, but lim P (xn) = lim 13p + 2 = 13p + 2 6 = 13p + 15 = P (p), so it is not continuous at x = p from Definition 17.1.

(17.12a) If x is rational then f (x) = 0 from assumption. If x is irrational, then there exists a sequence (xn) which is rational and lim xn = x from 4.7 (the density of rational numbers). Since f is continuous, then f (x) = lim f (xn) = lim 0 = 0. So f (x) = 0 for all x ∈ (a, b).

(17.14) For each rational number x ∈ R, there is a sequence of irrational numbers (xn) so that xn → x as n → ∞, but f (xn) = 0 while f (x) = 1/q for some q ∈ Z, so f (x) is not continuous at x from Theorem 2.2. If x is irrational, for any ε > 0, there exists N ∈ N such that for n > N , 1/n < ε. There are only finitely many rational numbers p/q in the interval (x − 1 , x + 1) with q ≤ N , and let δ be the smallest distance from x to any such rational numbers in (x − 1 , x + 1). Then for any rational number y in (x − δ, x + δ), f (y) = 1/n < ε, and any irrational y in (x − δ, x + δ), f (y) = 0 < ε. Then |f (y) − f (x)| = |f (y)| < ε if |y − x| < δ. This proves the continuity of f (x) at irrational x.

(18.4) Consider the function f (x) = 1/(x − x 0 ). Then it is continuous for x 6 = x 0. Yet it is unbounded since lim xn = x 0 , and there must be subsequence xnk which is all larger than or all smaller than x 0. In either case, f (x) is unbounded from Theorem 9.10.

(18.5) see back of book

(18.6) Let f (x) = x − cos x. Then f (0) = − 1 < 0 and f (π/2) = π/ 2 > 0. f (x) is continuous, so the IVT (18.2) implies that f (x) can take any values between −1 and π/2. In particular, there exists x 0 ∈ (0, π/2) such that f (x 0 ) = 0, then x 0 = cos x 0.

(18.10) Consider g(x) = f (x+1)−f (x). Then g(x) is continuous. Note that f (x+1) is continuous since f (x) and x + 1 both are. Now g(0) = f (1) − f (0) and g(1) = f (2) − f (1) = f (0) − f (1) = −[f (1) − f (0)]. If f (1) − f (0) = 0, then x = 0 and y = 1 are desired solutions. If not, g(0) and g(1) must have opposite signs, then from IVT (18.2), there exists x 0 ∈ (0, 1) such that g(x 0 ) = 0, then x = x 0 and y = x 0 + 1 are desired solutions.

(A-17) Suppose that a function f : R → R is continuous and it satisfies f (x + y) = f (x) + f (y) for all x, y ∈ R. Prove that there exists a ∈ R such that f (x) = ax for all x. From f (0) = f (0 + 0) = f (0) + f (0), we get f (0) = 2f (0), so f (0) = 0. Let a = f (1), then from induction, f (n) = an for all n ∈ N. From f (0) = f (n) + f (−n), f (−n) = −an for all n ∈ N. Now for every p/q ∈ Q, f (p/q) = pf (1/q); and qf (1/q) = f (1) = a, so f (1/q) = 1/q · a. So we have proved

f (x) = ax for all x ∈ Q. Let g(x) = f (x) − ax. Then g(x) = 0 for all x ∈ Q, and g(x) is continuous. From Exercise 17.12, g(x) = 0 for all x ∈ R. Thus f (x) = ax for all x.

(A-18) Prove that there is no continuous function f : R → R such that, for each c ∈ R, the equation f (x) = c has exactly two solutions. Suppose, by way of contradiction, that f : R → R is a continuous function such that, for each c ∈ R, the equation f (x) = c has exactly two solutions. Then there are real numbers a < b such that f (a) = f (b) = 0, and f (x) 6 = 0 for all x such that x < a or a < x < b or b < x. Therefore, by the Intermediate Value Theorem, f cannot take on both positive and negative values on the interval (−∞, a) (else it would have to take on the value 0 as well), and the same applies to the interval (a, b) and to the interval (b, ∞). Suppose that f is positive on the interval (a, b). By Theorem 18.1, f must be bounded on the closed interval [a, b], and in fact must take on some maximum value, say f (c) = M for some positive number M , with a < c < b, so that f (x) ≤ M for all x ∈ [a, b]. Then by the Intermediate Value Theorem, there must be numbers x 1 ∈ (a, c) and x 2 ∈ (c, b) such that f (x 1 ) = f (x 2 ) = M/2. Moreover, f does not take on the value 2M on the interval [a, b] (as M is an upper bound), so by assumption there must be some d in (−∞, a) or (b, ∞) such that f (d) = 2M. Then again by the Intermediate Value Theorem, there must be some x 3 in(−∞, a) or (b, ∞) such that f (x 3 ) = M/2. (Here x 3 ∈ (d, a) if d ∈ (−∞, a), while x 3 ∈ (b, d) if d ∈ (b, ∞).) In any case, the numbers x 1 , x 2 , and x 3 must be distinct, because they come from the disjoint intervals (a, c), (c, b), and (d, a) or (b, d), respectively. Since f (x 1 ) = f (x 2 ) = f (x 3 ) = M/2, this contradicts the assumption on f.