0% found this document useful (0 votes)
82 views5 pages

Hw4 Solution

1. The document contains solutions to math homework problems involving partial derivatives and multivariable calculus. 2. For problem 4, expressions are derived for the partial derivatives of the function z=(3x^2 + y^2)^(1/2) with respect to x and y. 3. Problem 16 involves finding the partial derivatives fx, fy, and fxy of the function f(x,y) = (x^2 - y^2)(2xy)/(x^2 + y^2) and evaluating them at (0,0). It is shown that fxy and fyx are not continuous at (0,0), so the partials are not equal there.

Uploaded by

物理系小薯
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views5 pages

Hw4 Solution

1. The document contains solutions to math homework problems involving partial derivatives and multivariable calculus. 2. For problem 4, expressions are derived for the partial derivatives of the function z=(3x^2 + y^2)^(1/2) with respect to x and y. 3. Problem 16 involves finding the partial derivatives fx, fy, and fxy of the function f(x,y) = (x^2 - y^2)(2xy)/(x^2 + y^2) and evaluating them at (0,0). It is shown that fxy and fyx are not continuous at (0,0), so the partials are not equal there.

Uploaded by

物理系小薯
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Homework 4 Math2023 Homework 4 Math2023

Exercise 12.4 Qu. 18 u(x, y, t) = t−1 e−(x


2
+y 2 )/4t

Qu. 4 ∂u 1 x2 + y 2 −(x2 +y2 )/4t


z = (3x2 + y 2 )1/2
2 2
= − 2 e−(x +y )/4t + e
∂t t 4t3
∂z 1 1 3x
= (3x2 + y 2 )− 2 (6x) = p ∂u x 2 2
∂x 2 3x2 + y 2 = − 2 e−(x +y )/4t
∂x 2t
∂z 1 1 y ∂2u 1 x2
= (3x2 + y 2 )− 2 (2y) = p 2 2 2 2
= − 2 e−(x +y )/4t + 3 e−(x +y )/4t
∂y 2 x2 + y 2 ∂x2 2t 4t
p 3x ∂2u 1 2 2 y2 2 2
3x2 + y 2 (3) − 3x · p 2
= − 2 e−(x +y )/4t + 3 e−(x +y )/4t
2
∂ z 3x2 + y2 3y 2 ∂y 2t 4t
= =
∂x2 3x2 + y 2 (3y 2 + y 2 ) 2
3
∂u ∂2u ∂2u
p ∴ = + 2.
y ∂t ∂x2 ∂y
x2 + y 2 (1) − y · p
∂2z x2 + y 2 3x2
= =
∂y 2 3x2 + y2 (3y 2 + y2) 2
3

∂2z ∂2z 3xy


∴ = =− 3 .
∂x∂y ∂y∂x (3y 2 + y 2 ) 2

2xy
Qu. 16 Let f (x, y) = (x2 − y 2 ) , then
x2 + y 2

4x2 y 2y(y 2 − x2 )2
fx = −
x2 + y 2 (x2 + y 2 )2 -1

-0.5

4xy 2 2x(x2 − y 2 )2 x
fy = − + 0

x2 + y 2 (x2 + y 2 )2 0.5

2(x6 + 9x4 y 2 − 9x2 y 4 − y 6 ) 1


0.5
fxy = = fyx .
(x2 + y 2 )3 0.25
z
0
-0.25
-0.5
-1
-0.5
0
y 0.5
1

Surface of f (x, y)
For the value at (0, 0), we use

f (∆x, 0) − f (0, 0)
fx (0, 0) = lim = 0 = fy (0, 0)
∆x→0 ∆x
fx (0, ∆y) − fx (0, 0) −2∆y(∆y)4
fxy (0, 0) = lim = lim = −2
∆y→0 ∆y ∆y→0 ∆y(∆y)4

fy (∆x, 0) − fy (0, 0) 2∆x(∆x)4


fyx (0, 0) = lim = lim = 2.
∆x→0 ∆x ∆x→0 ∆x(∆x)4

This is not contradict Theorem 1 since the partials fxy and fyx are not continuous at (0, 0).
(For instance, fxy (x, x) = 0 while fxy (x, 0) = 2 for x 6= 0).

–1– –2–
Homework 4 Math2023 Homework 4 Math2023

Exercise 12.5 Qu. 21 Let g(x, y) = f (u, v), where u = u(x, y), v = v(x, y). Then f
f
Qu. 2
u v
∂w ∂f ∂y ∂f ∂z x y z
= + .
∂t ∂y ∂t ∂z ∂t
x y x y

s s t t

∂f ∂u ∂f ∂v
gx = + = fu · ux + fv · vx
∂u ∂x ∂v ∂x
Qu. 12 Let u = yf (x, t), v = f (y, t), then ∂f ∂u ∂f ∂v
f gy = + = fu · uy + fv · vy
∂ ∂f ∂u ∂f ∂v ∂u ∂y ∂v ∂y
f (u, v) = +
∂y ∂u ∂y ∂v ∂y ∂ ∂
gxx = (gx ) = [fu · ux + fv · vx ]
∂f ∂f ∂f u v ∂x ∂x
= f (x, t) + . ∂ ∂
∂u ∂v ∂y = (fu )ux + fu uxx + (fv ) · vx + fv vxx
∂x ∂x
x y t y t    
∂fu ∂u ∂fu ∂v ∂fv ∂u ∂fv ∂v
= + ux + fu uxx + + vx + fv · vxx
∂u ∂x ∂v ∂x ∂u ∂x ∂v ∂x
= (fuu ux + fuv vx )ux + uxx fu + (fvu ux + fvv vx )vx + fv · vxx
Qu. 20 Let f = f (u, v), where u(s, t) = s2 − t, v(s, t) = s + t2 f
= uxx fu + vxx fv + (ux )2 fuu + (vx )2 fvv + ux vx fuv + ux vx fvu
∂ ∂
u v gyy = (gy ) = [fu uy + fv vy ]
∂y ∂y
= uyy fu + vyy fv + (uy )2 fuu + (vy )2 fvv + uy vy fuv + uy vy fvu .
s t s t

fs = fu (2s) + fv (1) = 2sfu + fv Therefore


∂fs ∂ ∂
= 2s fu + fv gxx + gyy = (uxx + uyy )fu + (vxx + vyy )fv + [(ux )2 + (uy )2 ]fuu
∂t ∂t ∂t
∂ ∂u ∂ ∂v ∂ ∂u ∂ ∂v + [(vx )2 + (vy )2 ]fvv + (ux vx + uy vy )fuv + (ux vx + uy vy )fvu
= 2s[ fu · + fu · ] + [ fv · + fv · ]
∂u ∂t ∂v ∂t ∂u ∂t ∂v ∂t = 0 · fu + 0 · fv + [(ux )2 + (vx )2 ]fuu + [(vx )2 + (ux )2 ]fvv
= 2s[fuu (−1) + fuv (2t)] + fvu (−1) + fvv (2t)
+ [ux (−uy ) + uy (ux )]fuv + [ux (−uy ) + uy (ux )]fvu
= −2sfuu + (4st − 1)fuv + 2tfvv
= [(ux )2 + (vx )2 ](fuu + fvv ) + 0 · fuv + 0 · fvu
∂ ∂ ∂ ∂
fst = −2s fuu + 4sfuv + (4st − 1) fuv + 2fvv + 2t fvu = 0.
∂t ∂t ∂t ∂t
∂ ∂u ∂ ∂v ∂ ∂u ∂ ∂v
= −2s[ fuu · + fuu · ] + 4sfuv + (4st − 1)[ fuv · + fuv · ] ∴ g is harmonic.
∂u ∂t ∂v ∂t ∂u ∂t ∂v ∂t
∂ ∂u ∂ ∂v Note that u and v are harmonic.
+ 2fvv + 2t[ fvv · + fvv · ]
∂u ∂t ∂v ∂t
= −2s[fuuu (−1) + fuuv (2t)] + 4sfuv + (4st − 1)[fuvu (−1) + fuvv (−1)]
+ 2fvv + 2t[fvvu (−1) + fvvv (2t)]
= 2sfuuu + (1 − 8st)fuuv + 4t(2st − 1)fuvv + 4t2 fvvv + 4sfuv + 2fvv .

–3– –4–
Homework 4 Math2023 Homework 4 Math2023

Exercise 12.6 Qu. 18 Let g(t) = f (a + tb, b + tk) = f (x(t), y(t)), where x(t) = a + th, y(t) = b + tk, then

Qu. 6 f (x, y) = xey+x


2
f (2, −4) = 2 dg ∂f dx ∂f dy
= +
2
dt ∂x dt ∂y dt
fx = ey+x (1 + 2x2 ) fx (2, −4) = 9
= h fx + k fy .
y+x2
fy = xe fy (2, −4) = 2
If h and k are small enough that (a + h, b + k) belongs to the disk referred to in the statement
f (x + △x, y + △y) = f (x, y) + △xfx (x, y) + △yfy (x, y) of the problem then we can apply the (one-variable) mean-value Theorem to g(t) on [0, 1] and
∴ f (2.05, −3.92) = f (2, −4) + 0.05fx (2, −4) + 0.08fy (2, −4) obtain
= 2 + 0.45 + 0.16
g(1) = g(0) + g′ (θ),
= 2.61.
g(1) − g(0)
∵ g′ (θ) = for some θ satisfying 0 < θ < 1, i.e.
1−0

f (a + h, b + k) = f (a, b) + h fx (a + θh, b + θk) + k fy (a + θh, b + θk).


Qu. 12 w = x2 y 3 /z 4
wx = 2xy 3 /z 4 = 2w/x
wy = x2 (3y 2 )/z 4 = 3w/y
wz = −4x2 y 3 /z 5 = −4w/z
dw = wx dx + wy dy + wz dz
dw dx dy dz
=2 +3 −4 .
w x y z

dx 1 dy 2 dz 3
Since x increases by 1% then = , similarly, = and = . Therefore
x 100 y 100 z 100

△w dw 2 + 6 − 12 4
≃ = =−
w w 100 100

∴ w decreases by about 4%.

Qu. 17 If f is differentiable at (a, b), then

f (a + h, b + k) − f (a, b) − hfx (a, b) − kfy (a, b)


lim √ =0
(h,k)→(0,0) h2 + k2

Since the denominator of this fraction approach 0, the numerator must also approach 0 (faster!!)
or the fraction would not have a limit. Since the terms hfx (a, b) and kfy (a, b) both approach
0, we must have

lim [f (a + h, b + k) − f (a, b)] = 0


(h,k)→(0,0)

i.e. lim f (a + h, b + k) = f (a, b)


(h,k)→(0,0)

Thus f is continuous at (a, b).

–5– –6–
Homework 4 Math2023 Homework 4 Math2023

Exercise 12.7 Qu. 16 x = r cos θ, y = r sin θ and f = f (x, y) = f (r, θ)


.
2 2
Qu. 6 f (x, y) = 2xy (x + y ) ∂f ∂f ∂x ∂f ∂y f
= +
. . ∂r ∂x ∂r ∂y ∂r
fx (x, y) = [(x2 + y 2 )(2y) − 2xy(2x)] (x2 + y 2 )2 = 2y(y 2 − x2 ) (x2 + y 2 )2 ∂f ∂f u v
. = cos θ + sin θ
∂x ∂y
fy (x, y) = 2x(y 2 − x2 ) (x2 + y 2 )2
∂f ∂f ∂x ∂f ∂y
= + θ θ
2(y 2 − x2 ) ∂θ ∂x ∂θ ∂y ∂θ r r
∇f (x, y) = 2 (y i − x j)
(x + y 2 )2 ∂f ∂f
= −r sin θ + r cos θ .
(a) ∇f (0, 2) = i. ∂x ∂y y
θ
r
(b) Let F (x, y, z) = f (x, y) − z = 0. This is a level surface in 3D, hence
∇F = (fx , fy , −1).
θ
x
At (0,2,0), ∇F (0, 2, 0) = (1, 0, −1) = n
Also note that
∴ The tangent plane is
xi + yj
(r − r0 ) · n = 0 r=
b = cos θ i + sin θ j
r
(x − 0, y − 2, z − 0) · (1, 0, −1) = 0 −y i + x j
b
θ= = − sin θ i + cos θ j.
x − z = 0. r

(c) Let f (x, y) = c. This is a level curve in 2D, hence r⊥b


Note that b θ , therefore
∇f = (fx , fy )
∂f 1 ∂f b
r+
b θ
At (0,2), ∇f (0, 2) = i = n, ∴ parallel vector v to the required line is j ∂r r ∂θ
   
∴ The required line: ∂f ∂f ∂f ∂f
= cos2 θ + sin θ cos θ i + cos θ sin θ + sin2 θ j
r(t) = r0 + tv ∂x ∂y ∂x ∂y
   
∂f ∂f ∂f ∂f
= (0, 2) + t(0, 1) = (0, 2 + t) + sin2 θ − sin θ cos θ i + − cos θ sin θ + cos2 θ j
∂x ∂y ∂x ∂y
i.e. x = 0.
∂f ∂f
= i+ j
∂x ∂y

f (x, y) = 3x − 4y = ∇f.
Qu. 10
∇f = (fx , fy ) = (3, −4), ∇f (0, 2) = (3, −4)
∴ D− i f (0, 2) = − i · (3 i − 4 j) = −3.
Qu. 18 f (x, y, z) = x2 + y 2 − z 2 , ∇f = (2x, 2y, −2z) ∴ ∇f (a, b, c) = (2a, 2b, −2c).
The maximum rate of change of f at (a, b, c) is in the direction of ∇f (a, b, c) and is equal to
Qu. 14 First, we try to find ∇ krk k∇f (a, b, c)k.
1 1 1
Let u
b be a unit vector making an angle θ with ∇f (a, b, c), then
[∇ krk]i = ∂i (rj rj ) 2 = (rj rj )− 2 ∂i (rj rj )
2
1 1 1 1 1 1
= (rj ∂i rj + rj ∂i rj ) = 2(rj δij ) = ri . k∇f (a, b, c)k = u
b · ∇f (a, b, c) = k∇f (a, b, c)k cos θ
2 krk 2 krk krk 2
r 1
∴ ∇ krk = i.e. cos θ = ⇒ θ = 600 .
krk 2

1 r
∴ ∇ ln krk = ∇ krk = 2.
∴ At (a, b, c), f increases at half its maximal rate in all directions making 600 angle with the
krk krk
direction (a, b, −c).

–7– –8–
Homework 4 Math2023 Homework 4 Math2023
x
Qu. 21 (a) 4 4
0.5 0 -0.5
-1
1
1

T = −8
0.5
2 2
1 1 z
0
0.5 0.5
z z
0 -2 -2 0 -0.5
0 T =8 T =0 0
-0.5 -0.5
0 x x 0
-1
-1 -1
1
-2 2 1.5
2 2 2
0 0
2.5
y 2 -2 y y
-2 -2 3

direction − i − j Ex. 12.7, Qu. 6a Ex. 12.7, Qu. 6a Ex. 12.7, Qu. 6b
f (x, y) = 2xy/(x2 + y 2 ) Different angle of f (x, y) Tangent plane at (0, 2, 0)
-4 -4
-4 -2 0 2 4 -4 -2 0 2 4
path of max rate of cooling

(b) ∇T = 2x i − 4y j, ∇T (2, −1) = 4 i + 4 j = 4( i + j).


An ant at (2, −1) should move in the direction of −∇T (2, −1), that is, in the direction
− i − j, in order to cool off as rapidly as possible. 4

dT √
(c) Since b , required rate = |∇T (2, −1)| k = 4 2k degree/unit time.
= Du T = ∇T · u 3 1 1

ds
(d) temp. change at rate 2
z
0
z
0

−i − 2j 12
√ · (4 i + 4 j)k = − √ k 1
-1 -1 -1 -1

5 5 0 x 0 x

-1 1 -1 1
0 0
0 1 1
12 -2 -1 0 1 2 y y

decreasing at rate √ k degree/unit time.


5 Ex. 12.7, Qu. 6c Ex. 12.7, Qu. 26 Ex. 12.7, Qu. 26
Contour plot of f (x, y) Two cylinders Cylinder x2 + y 2 = 2
(e) Let the required curve be (x(t), y(t)), this curve is everywhere tangent to ∇T (x, y). Thus

dx dy dy dy
i+ j = λ(2x i − 4y j), i.e. = λ2x, = −λ4y
dt dt dt dt
dy 2y
∴ =− ⇒ yx2 = c.
dx x

4
This curve passes through (2, −1), we have yx2 = −4, i.e. y = − . 1
x2 1

z z
0 0

2 2 2 2
Qu. 26 Let F1 (x, y, z) = x + y − 2 = 0 and F2 (x, y, z) = y + z − 2 = 0, both of them are level -1 -1
-1 -1

surfaces. 0 x 0 x

-1 1 -1
1
0 0
n1 = ∇F1 = (2x, 2y, 0) and n2 = ∇F2 = (0, 2y, 2z). At (1, −1, 1), y
1
y
1

Ex. 12.7, Qu. 26 Ex. 12.7, Qu. 26


n1 = (2, −2, 0) and n2 = (0, −2, 2).
Cylinder y 2 + z 2 = 2 Curve of intersection

A vector tangent to the curve of intersection of the two surfaces at (1, −1, 1) must be perpen-
dicular to both these normals, v = n1 × n2 = (−1, −1, −1).
∴ The vector k(1, 1, 1), where k is any scalar, is tangent to the curve at the point (1, −1, 1).

–9– – 10 –

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy