Professional Documents
Culture Documents
1. Let U be an open subset in Rn , f, g : U → Rm be two differentiable functions and a, b be any two real
numbers. Show that af + bg is again differentiable and
Next, we try to find the derivative of af + bg by considering (af + bg)(x + h) − (af + bg)(x):
(af + bg)(x + h) − (af + bg)(x) = (af 0 (x) + bg 0 (x))h + raf +bg (h) (11)
|r (h)|
where af +bg
|h| → 0 as h → 0. Therefore, by the Landau definition of differentiability, we have shown
that af + bg is differentiable at every point x ∈ U and that its derivative is equal to af 0 (x) + bg 0 (x) =
aDf + bDg. Note that this derivative is unique by Theorem 9.12 in Rudin.
D(f g) = gDf + f Dg
1
Note that here g times Df as a 1 × n matrix is just the entrywise multiplication.
We set up the problem in the same way that we did problem 1: Since f, g are both differentiable for
all x ∈ U :
f (x + h) − f (x) = f 0 (x)h + rf (h) (1)
g(x + h) − g(x) = g 0 (x)h + rg (h) (2)
where rf (h) and rg (h) are sublinear.
Next, we try to find the derivative of f g by considering (f g)(x + h) − (f g)(x):
Note that in the above calculation we subbed in for g(x + h) − g(x), f (x + h) − f (x) and then again
for just f (x + h) all from the definition of differentiability in (1) and (2).
We let rf g = f (x + h)rg (h) + g(x)rf (h) + f 0 (x)g 0 (x)h2 + rf (h)g 0 (x)h. Now, we argue that each term
in rf g is actually sublinear:
(11)
|g(x)rf (h)| |rf (h)|
lim = |g(x)| · lim = |g(x)| · 0 = 0 (12)
h→0 |h| | {z } h→0 |h|
doesn’t depend on h
(13)
0 0 2 2
|f (x)g (x)h | |h |
lim = |f 0 (x)g 0 (x)| · lim = |f 0 (x)g 0 (x)| · lim |h| = |f 0 (x)g 0 (x)| · 0 = 0 (14)
h→0 |h| | {z } h→0 |h| h→0
doesn’t depend on h
(15)
0
|rf (h)g (x)h| |rf (h)|
lim = |g 0 (x)| · lim · lim |h| = |g 0 (x)| · 0 · 0 = 0 (16)
h→0 |h| | {z } h→0 |h| h→0
doesn’t depend on h | {z }
exists because f differentiable
|rf g | |f (x + h)rg (h)| |g(x)rf (h)| |f 0 (x)g 0 (x)h2 | |rf (h)g 0 (x)h|
lim ≤ lim + lim + lim + lim (17)
h→0 |h| h→0 |h| h→0 |h| h→0 |h| h→0 |h|
=0+0+0+0=0 (18)
|rf g |
This implies that limh→0 |h| actually equals zero because the norms can never be negative.
2
Therefore, we have shown that:
(f g)(x + h) − (f g)(x) = (f (x)g 0 (x) + g(x)f 0 (x))h + rf g (h) (19)
|r (h)|
where f|h| g
→ 0 as h → 0. Therefore, by the Landau definition of differentiability, we have shown
that f g is differentiable at every point x ∈ U and that its derivative is equal to f (x)g 0 (x) + g(x)f 0 (x) =
f Dg + gDf . Note that this derivative is unique by Theorem 9.12 in Rudin.
In this question, we will use the limit definition of differentiability (just to mix it up a little). A function
f : Rn → Rm is differentiable at x ∈ Rm if there exists some linear transformation A of Rn into Rm
such that:
|f (x + h) − f (x) − A(h)|
lim =0 (1)
h→0 |h|
If this is the case, we call A the total derivative of f .
Now, let us plug in our function T into this definition. We claim that T is differentiable and that its
derivative is just T itself (i.e., A = T ).
|T (x + h) − T (x) − A(h)| |T (x) + T (h) − T (x) − A(h)|
lim = lim (T is linear) (2)
h→0 |h| h→0 |h|
|T (h) − A(h)|
= lim (T (x) cancels) (3)
h→0 |h|
|T (h) − T (h)|
= lim (we get to choose A) (4)
h→0 |h|
0
= lim =0 (5)
h→0 |h|
Therefore, we have found that there does exist a transformation that makes the limit in (1) go to 0,
which means that T is indeed differentiable and that its total derivative is itself. In addition, we know
that this is the unique total derivative by the same Theorem 9.12 in Rudin as before.
4. Pugh Chapter 5 #20: Assume that U is a connected open subset of Rn and f : U → Rm is differentiable
everywhere on U . If (Df )p = 0 for all p ∈ U , show that f is constant.
Lemma: f is locally constant, i.e., for any x ∈ U , there always exists an open neighborhood Nδ (x) of
x inside U such that f is constant over Nδ (x).
Since f is continuous and defined on an open domain, we can take δ small enough to form an open
ball Nδ (x) for any x ∈ U such that Nδ (x) ⊂ U . Now, we want to show that f must be constant under
all elements in Nδ (x).
Let p be an arbitrary point inside Nδ (x). We know that the segment [x, p] is contained within U
because x, p ∈ Nδ (x) ⊂ U . Since f is differentiable, by the multivariable Mean Value Theorem, we
know that:
|f (p) − f (x)| ≤ M |p − x| where M = sup k(Df )x k (1)
x∈U
However, we know that (Df )x = 0 for all x ∈ U . This means that M = supx∈U k0k = 0. Hence, we
have that:
|f (p) − f (x)| ≤ 0 · |p − x| =⇒ |f (p) − f (x)| ≤ 0 =⇒ f (p) − f (x) = 0 =⇒ f (p) = f (x) (2)
3
In other words, we have just shown that for any p ∈ Nδ (x), it must be the case that f (p) = f (x),
i.e., the function f is locally constant. Therefore, we have proven the lemma and we now move on to
proving that f must be constant over all of U .
We argue by contradiction. Suppose f is not constant. Then we know that the cardinality of Im(f )
must be strictly greater than 1. Let y ∈ Im(f ), and consider the following two sets:
A = f −1 ({y}) B = f −1 (Im(f ) \ {y}) (3)
• A∪B =U
It’s clear that {y} ∪ Im(f ) \ {y} = Im(f ), and by definition we know that f −1 (Im(f )) = U .
Therefore, it follows that f −1 ({y} ∪ Im(f ) \ {y}) = U . Finally, since {y} and Im(f ) \ {y} are
disjoint, the previous statement must imply that the union of their inverse images must make up
all of U , i.e., f −1 ({y}) ∪ f −1 (Im(f ) \ {y}) = U . That is, A ∪ B = U .
• A∩B =∅
Suppose not. This must mean that there is an element x ∈ U such that f (x) = y and f (x) = z
where z ∈ Im(f ) \ {y}. This means that f (x) equals two distinct elements in Rn , which would
mean that f is not a function. Therefore, we have a contradiction and we have shown that
A ∩ B = ∅.
7. Pugh Chapter 5 #24: Show that all second partial derivatives of the function f : R2 → R defined by
2 2
xy(x − y ) if (x, y) 6= (0, 0)
f (x, y) = 2
x +y 2
0 if (x, y) = (0, 0)
4
exist everywhere, but the mixed second partials are unequal at the origin, ∂ 2 f (0, 0)/∂x∂y 6= ∂ 2 f (0, 0)/∂y∂x.
To show that the partial derivatives exist everywhere, we take the derivatives with respect to x and y
by holding the other variable constant and using the product rule and chain rule. For (x, y) 6= (0, 0):
∂f −2x 1
= xy(x2 − y 2 ) · 2 + (xy · 2x + y(x2 − y 2 )) 2 (1)
∂x (x + y 2 )2 x + y2
2 2 2 2 2 2
−2x y(x − y ) + 2x y + y(x − y ) if (x, y) 6= (0, 0)
∂f
=⇒ = (x2 + y 2 )2 x2 + y 2 (2)
∂x
0 if (x, y) = (0, 0)
We calculate the partial with respect to y similarly:
∂f −2y 1
= xy(x2 − y 2 ) · 2 + (xy · (−2y) + x(x2 − y 2 )) 2 (3)
∂y (x + y 2 )2 x + y2
2 2 2 2 2 2
−2xy (x − y ) + −2xy + x(x − y ) if (x, y) 6= (0, 0)
∂f 2 2 2 2 2
=⇒ = (x + y ) x +y (4)
∂x
0 if (x, y) = (0, 0)
In order to show that all second order partial derivatives exist, we would have to take the derivative
of ∂f ∂f
∂x twice more (once with respect to x and again with respect to y) and the derivative of ∂y twice
more as well. However, notice that when we take the derivatives, we always have some polynomial
of x and y in the numerator and a power of (x2 + y 2 ) in the denominator. This indicates that the
partials will exist whenever the denominator is nonzero (because polynomials are continuous), and the
denominator is zero only at (0, 0), which we define to equal zero. This means that all of the partial
derivatives will exist everywhere.
To show that that the mixed partials do not agree at the origin, we calculate the mixed second partial
derivatives of f using the limit definition of partial derivatives at a point:
∂2f
∂ ∂f ∂ f (0 + h, 0) − f (0, 0)
(0, 0) = (0, 0) = lim = (5)
∂y∂x ∂y ∂x ∂y h→0 h
f (0 + h, 0 + k) − f (0, 0 + k) f (0 + h, 0) − f (0, 0)
lim − lim
= lim h→0 h h→0 h
= (6)
k→0 k
−k 3
= lim = lim −1 = −1 (9)
k→0 k3 k→0
5
∂2f
∂ ∂f ∂ f (0, 0 + h) − f (0, 0)
(0, 0) = (0, 0) = lim = (10)
∂x∂y ∂x ∂y ∂x h→0 h
f (0 + k, 0 + h) − f (0 + k, 0) f (0, 0 + h) − f (0, 0)
lim − lim
= lim h→0 h h→0 h
= (11)
k→0 k
k3
= lim = lim 1 = 1 (14)
k→0 k3 k→0
and put ϕ(x, t) = −ϕ(x, |t|) if t < 0. Show that ϕ is continuous on R2 , and
(D2 ϕ)(x, 0) = 0
for all x. Define Z 1
f (t) = ϕ(x, t)dx
−1
6
Therefore, the left limit and right limit agree and ϕ is continuous at x = 0.
√
lim
√ − ϕ(x, t) = lim
√ x= t (3)
x→ t x→ t
√ √ √ √
lim
+
√ (−x + 2 t) = − t + 2 t =
√ ϕ(x, t) = lim t (4)
x→ t x→ t
√
Therefore, ϕ is continuous at x = t.
√ √ √
lim
√ ϕ(x, t) = lim√ (−x + 2 t) = −2 t + 2 t = 0 (5)
−
x→2 t x→2 t
lim
√ + ϕ(x, t) = lim√ 0 = 0 (6)
x→2 t x→2 t
√
Therefore, ϕ is continuous at x = 2 t. That is, ϕ is continuous on every boundary and also everywhere
else (because the functions that make it up are continuous), which means that ϕ is continuous on R2 .
Next, we want to show that (D2 ϕ)(x, 0) = 0. We do this by using the definition of partial derivatives:
√
Note that we used the definition of ϕ close to 0 because as h → 0 so does h.
1
√
As for the last part of the problem, first consider 0 < t < Note that in this case, 0 < t < 14 =⇒
4.
√
0 < 2 t < 1. This means that when we compute f (t) for 0 < t < 41 , we only need to worry about
integrating between 0 and 1:
√ √
Z 1 Z t Z 2 2 √
f (t) = ϕ(x, t)dx = xdx + √ (−x + 2 t)dx = (8)
0 0 t
√t 2√t
x2 √ x2
t 4t t
= + 2 tx − = − 0 + 4t − − 2t − = (9)
2 0 2 √t 2 2 2
t t
= + 2t − 2t + = t (10)
2 2
When t = 0, ϕ(x, t) = 0 for any x. Therefore, we know that f (0) = 0. When − 14 < t < 0, we know
that ϕ(x, t) = −ϕ(x, |t|), which is to say that for these values of t: