Docsity

Math 313 Analysis I Homework 9 Solutions: Properties of Functions, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Math 313 - Analysis I Spring 2009
HOMEWORK #9
WORKED SOLUTIONS
(1) Let Ibe an open interval, and suppose p:I→Iis differentiable on
I. Suppose a∈Iis such that p(a) = a. Let pn:I→Ibe the n-fold
composition p◦p◦. . . ◦p. Show that p0
n(a)=(p0(a))n.
Solution:
Proof by induction on n:
Base Case (n=1): In this case p1(x) = p(x), so p0
1(a) = p0(a)=(p0(a))1,
as required.
Inductive Step: Suppose that p0
k(a)=(p0(a))k. Then
pk+1(x) = pk(p(x)),
so by the Chain Rule we have
p0
k+1(a) = p0
k(p(a)).p0(a)
=p0
k(a).p0(a)
= (p0(a))k.p0(a),by induction
= (p0(a))k+1,
as required.
(2) Suppose that f:R→Ris a differentiable function so that for all x∈R
we have f0(x) = f(x). (Think f(x) = ex, if you like).
For n∈N, find a formula for the nth derivative of g(x) = x2f(x).
Solution:
Let’s do the first few cases:
g0(x) = x2f0(x)+2xf 0(x)=(x2+ 2x)f(x)
g00(x)=(x2+ 2x)f0(x) + (2x+ 2)f(x)=(x2+ 4x+ 2)f(x)
g000(x)=(x2+ 4x+ 2)f0(x) + (2x+ 4)f(x)=(x2+ 6x+ 6)f(x)
g(4)(x)=(x2+ 6x+ 6)f0(x)+2x+ 6)f(x)=(x2+ 8x+ 12)f(x).
The general formula is:
g(n)(x)=(x2+ 2nx +n(n−1))f(x).
pf3
pf4
pf5

Partial preview of the text

Download Math 313 Analysis I Homework 9 Solutions: Properties of Functions and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 313 - Analysis I Spring 2009

HOMEWORK

WORKED SOLUTIONS

(1) Let I be an open interval, and suppose p : I → I is differentiable on I. Suppose a ∈ I is such that p(a) = a. Let pn : I → I be the n-fold composition p ◦ p ◦... ◦ p. Show that p′ n(a) = (p′(a))n. Solution: Proof by induction on n: Base Case (n=1): In this case p 1 (x) = p(x), so p′ 1 (a) = p′(a) = (p′(a))^1 , as required. Inductive Step: Suppose that p′ k(a) = (p′(a))k. Then

pk+1(x) = pk(p(x)),

so by the Chain Rule we have

p′ k+1(a) = p′ k(p(a)).p′(a) = p′ k(a).p′(a) = (p′(a))k.p′(a), by induction = (p′(a))k+1,

as required.

(2) Suppose that f : R → R is a differentiable function so that for all x ∈ R we have f ′(x) = f (x). (Think f (x) = ex, if you like). For n ∈ N, find a formula for the nth^ derivative of g(x) = x^2 f (x). Solution: Let’s do the first few cases:

g′(x) = x^2 f ′(x) + 2xf ′(x) = (x^2 + 2x)f (x) g′′(x) = (x^2 + 2x)f ′(x) + (2x + 2)f (x) = (x^2 + 4x + 2)f (x) g′′′(x) = (x^2 + 4x + 2)f ′(x) + (2x + 4)f (x) = (x^2 + 6x + 6)f (x) g(4)(x) = (x^2 + 6x + 6)f ′(x) + 2x + 6)f (x) = (x^2 + 8x + 12)f (x).

The general formula is:

g(n)(x) = (x^2 + 2nx + n(n − 1))f (x).

We can prove this by induction on n. We’ve already done the base case, so suppose that

g(k)(x) = (x^2 + 2kx + k(k − 1))f (x).

Then

g(k+1)(x) = (x^2 + 2kx + k(k − 1))f ′(x) + (2x + 2k)f (x) = (x^2 + 2kx + 2x + k^2 − k + 2k)f (x) = (x^2 + 2(k + 1)x + (k + 1)k)f (x),

as required.

(3) Let f : A → R be a function, and suppose that f ′′(a) exists. Prove that

lim h→ 0

f (a + h) + f (a − h) − 2 f (a) h^2

= f ′′(a).

Solution: We have f ′′(a) = lim x→a

f ′(x) − f ′(a) x − a

In particular, there is δ 1 > 0 so that f ′(x) exists for all x ∈ (a − δ 1 , a + δ 1 ). Therefore, f is continuous at c for all c ∈ (a − δ 1 , a + δ + 1). Let δ 2 = δ 21. Let g 1 : (a − δ 1 , a + δ 1 ) → R be defined by

g 1 (t) = f ′(a + t) + f (a − t) − 2 f (a),

and g 2 : (a − δ 1 , a + δ 2 ) → R be defined by

g 2 (t) = t^2.

Then g 1 (t) = g 2 (t) = 0, and both g 1 and g 2 are differentiable on (a − δ 1 , a + δ 1 ). We have g 2 ′(t) = 2t and

g′ 1 (t) = f ′(a + t) − f ′(a − t).

We’ll use l’H¨opital’s Rule. [Note that we don’t know that f ′′(x) exists for any x other than a, so we can only apply l’H¨opital’s Rule once.]

lim h→ 0

f ′(a + h) − f ′(a − h) 2 h = lim h→ 0

f ′(a + h) − f ′(a) h

f ′(a) − f ′(a − h) h

= lim h→ 0

f ′(a + h) − f ′(a) h

  • lim k→ 0

f ′(a + k) − f ′(a) k

with k = -h

f ′′(a) +

f ′′(a) = f ′′(a).

Think of c, d and e as fixed and x as a variable in (e, c). Then we have

d − x d − c

f (c) −

c − x d − c

f (d) ≤ f (x) ≤

c − x c − e

f (e) +

x − e c − e

f (c).

If we let x go to c (from below) then the left hand side and the right hand side of the above equation both tend to f (c), so by the Sandwich Principle, we get lim x→c−^

f (x) = f (c).

By fixing u ∈ (c, b), and y ∈ (c, u) we can see (in an entirely similar way) that lim xtøc+

f (x) = f (c),

so that lim x→c f (x) = f (c), and f is continuous as c as required.

Part (b):

Equation (1) gives, for any d 1 , d 2 , d 3 ∈ (a, b) with d 1 < d 2 < d 3 ,

f (d 2 ) − f (d 1 ) d 2 − d 1

d 3 −d 2 d 3 −d 1

f (d 1 ) +

d 2 −d 1 d 3 −d 1

f (d 3 ) − f (d 1 ) d 2 − d 1

= (d 3 − d 2 )f (d 1 ) + (d 2 − d 1 )f (d 3 ) − (d 3 − d 1 )f (d 1 ) (d 3 − d 1 )(d 2 − d 1 )

=

(d 2 − d 1 )(f (d 3 ) − f (d 1 )) (d 3 − d 1 )(d 2 − d 1 )

= f (d 3 ) − f (d 1 ) d 3 − d 1

We can similarly prove that

f (d 3 ) − f (d 1 ) d 3 − d 1

f (d 3 ) − f (d 2 ) d 3 − d 2

(almost the same proof applies).

Now suppose that w, x, y, z ∈ (a, b) and w < x < y < z. Then, applying the above twice, we get:

f (x) − f (w) x − w

f (z) − f (w) z − w

≤ f (z) − f (y) z − y

which is what we were required to prove.

Part (c): Suppose that g is convex.

Now, all of the above calculations for f apply to g, and g is differentiable.

Let x, z ∈ (a, b) and let x < y. Then, since for any w, z ∈ (a, b) so that w < x and x < y < z we have

f (x) − f (w) x − w

f (z) − f (y) z − y

we must have

lim w→x−

f (x) − f (w) x − w

≤ lim y→z−

f (z) − f (y) z − y

But, the lefthand limit in the above is equal to f ′(x) and the righthand limit is f ′(z), since f ′(x) and f ′(z) both exist. Therefore,

f ′(x) ≤ f ′(z),

as required.

Now suppose that g′^ is a nondecreasing function on (a, b).

Let x, y ∈ (a, b) and suppose that λ ∈ (0, 1). By replacing λ by 1 − λ and reversing x and y, if necessary, we may assume that x < y. We have to prove: g(λx + (1 − λ)y) ≤ λg(x) + (1 − λ)g(y).

We use Taylor’s Theorem. There are r ∈ (x, λx + (1 − λ)y) and s ∈ (λx + (1 − λ)y, y) so that

g(λx+(1−λ)y) = g(x)+g′(r)(λx+(1−λ)y−x) = g(x)+g′(r)(y−x)(1−λ),

and

g(λx + (1 − λ)y) = g(y) + g′(s)(λx + (1 − λ)y − y) = g(y) − g′(s)(y − x)λ.

Note that r < s so g′(r) ≤ g′(s) by assumption. Also λ(1 − λ)(y − x) > 0. Then we have:

g(λx + (1 − λ)y) = λg(λx + (1 − λ)y) + (1 − λ)g(λx + (1 − λ)y)

= λg(x) + λg′(r)(y − x)(1 − λ) + (1 − λ)g(y) + (1 − λ)g′(s)(y − x)λ = λg(x) + (1 − λ)g(y) + λ(1 − λ)(y − x)(g′(r) − g′(s)) ≤ λg(x) + (1 − λ)g(y),

as required. Therefore, g is convex.

Part (d):

Suppose that h is twice differentiable and convex. Then by Part (c) we know that h′^ is a nondecreasing function. Let x ∈ (a, b). If y < x then h′(y) ≤ h′(x) and h′(y) − h′(x) y − x