Exercise 9.14

Exercise 14: Define f ( 0 , 0 ) = 0 and

f ( x , y ) = x 3 x 2 + y 2 if ( x , y ) ( 0 , 0 ) .

(a) Prove that D 1 f and D 2 f are bounded functions in 2 . (Hence f is continuous.)

(b) Let ǔ be any unit vector in 2 . Show that the directional derivative D ǔ f ( 0 , 0 ) exists, and that its absolute value is at most 1.

(c) Let γ be a differentiable mapping of 1 into 2 (in other words, γ is a differentiable curve in 2 ), with γ ( 0 ) = ( 0 , 0 ) and | γ ( 0 ) | > 0 . Put g ( t ) = f ( γ ( t ) ) and prove that g is differentiable for every t 1 . If γ C , prove that g C .

(d) In spite of this, prove that f is not differentiable at ( 0 , 0 ) .

Answers

This function is easier to visualize if we convert to polar coordinates, x = r cos 𝜃 , y = r sin 𝜃 , with r 0 and 0 𝜃 < 2 π . Then we have f ( r , 𝜃 ) = r cos 3 𝜃 , so that f is linear in r along rays from the origin, and since cos 3 ( 𝜃 + π ) = cos 3 𝜃 , f is a linear function along every line through the origin.

(a) Keeping in mind that along the x axis f ( x , 0 ) = x , and along the y axis f ( 0 , y ) = 0 , we have

D 1 f ( x , y ) = { x 2 ( x 2 + 3 y 2 ) ( x 2 + y 2 ) 2 , ( x , y ) ( 0 , 0 ) 1 , ( x , y ) = ( 0 , 0 ) D 2 f ( x , y ) = { 2 x 3 y ( x 2 + y 2 ) 2 , ( x , y ) ( 0 , 0 ) 0 , ( x , y ) = ( 0 , 0 )

Converting to polar coordinates and simplifying we have, for r > 0 and away from the origin,

D 1 f ( r , 𝜃 ) = cos 2 𝜃 ( cos 2 𝜃 + 3 sin 2 𝜃 ) D 2 f ( r , 𝜃 ) = 2 cos 3 𝜃 sin 𝜃 .

These do not depend on r and are continuous functions of 𝜃 , which attain their maximum and minimum values on the compact set [ 0 , 2 𝜃 ] . Excluding the origin, D 1 f and D 2 f take these maximum and minimum values along certain rays emanating from the origin. Hence they are bounded on 2 .

(b) We can express ǔ as cos 𝜃 ě 1 + sin 𝜃 ě 2 for some 0 𝜃 < 2 π . Then, from the above expression of f in polar coordinates, we have f ( ) = t cos 3 𝜃 for all t 1 so that D ǔ f ( 0 , 0 ) = cos 3 𝜃 , whose absolute value is less than 1.

(c) Since f is differentiable away from the origin, we only need to show that g ( 0 ) exists. Since γ ( t ) is differentiable at t = 0 , there are functions δ 1 ( t ) and δ 2 ( t ) such that, for j = 1 , 2 , γ j ( t ) = t γ j ( 0 ) + t δ j ( t ) and lim δ j ( t ) = 0 as t 0 . Hence

g ( 0 ) = lim t 0 g ( t ) t = lim t 0 f ( γ 1 ( t ) , γ 2 ( t ) ) t = lim t 0 f ( t γ 1 ( 0 ) + t δ 1 ( t ) , t γ 2 ( 0 ) + t δ 2 ( t ) ) t = lim t 0 1 t t 3 ( γ 1 ( 0 ) + δ 1 ( t ) ) 3 t 2 ( ( γ 1 ( 0 ) + δ 1 ( t ) ) 2 + ( γ 2 ( 0 ) + δ 2 ( t ) ) 2 ) = γ 1 ( 0 ) 3 | γ ( 0 ) | 2

Also, if γ r ( t ) and γ 𝜃 ( t ) are the polar coordinates of γ ( t ) for t 0 , then we have

lim t 0 cos γ 𝜃 ( t ) = lim t 0 γ 1 ( t ) | γ ( t ) | = lim t 0 t ( γ ( 0 ) + δ 1 ( t ) ) t ( γ 1 ( 0 ) + δ 1 ( 0 ) ) 2 + ( γ 2 ( 0 ) + δ 2 ( 0 ) ) 2 = γ 1 ( 0 ) | γ ( 0 ) | lim t 0 sin γ 𝜃 ( t ) = lim t 0 γ 2 ( t ) | γ ( t ) | = lim t 0 t ( γ ( 0 ) + δ 2 ( t ) ) t ( γ 1 ( 0 ) + δ 1 ( 0 ) ) 2 + ( γ 2 ( 0 ) + δ 2 ( 0 ) ) 2 = γ 2 ( 0 ) | γ ( 0 ) | .

For t where γ ( t ) 0 ˇ , we can apply the special case of the chain rule, Theorem 9.15, worked out in Example 9.18 to get

g ( t ) = D 1 f ( γ 1 ( t ) , γ 2 ( t ) ) γ 1 ( t ) + D 2 f ( γ 1 ( t ) , γ 2 ( t ) ) γ 2 ( t ) = cos 2 γ 𝜃 ( t ) ( cos 2 γ 𝜃 ( t ) + 3 sin 2 γ 𝜃 ( t ) ) γ 1 ( t ) 2 ( cos 3 γ 𝜃 ( t ) sin γ 𝜃 ( t ) ) γ 2 ( t )

Now assume that γ C . Applying the above limits we get

lim t 0 g ( t ) = γ 1 ( 0 ) 2 | γ ( 0 ) | 2 ( γ 1 ( 0 ) 2 | γ ( 0 ) | 2 + 3 γ 2 ( 0 ) 2 | γ ( 0 ) | 2 ) γ 1 ( 0 ) 2 ( γ 1 ( 0 ) 3 | γ ( 0 ) | 3 γ 2 ( 0 ) | γ ( 0 ) | ) γ 2 ( 0 ) = γ 1 ( 0 ) 3 ( γ 1 ( 0 ) 2 + γ 2 ( 0 ) 2 ) | γ ( 0 ) | 4 = γ 1 ( 0 ) 3 | γ ( 0 ) | 2 = g ( 0 ) .

Hence g is continuous at 0, and so g C .

(d) Let ǔ = ( cos ( π 4 ) , sin ( π 4 ) ) , a unit vector, and suppose f were differentiable at ( 0 , 0 ) . Then by formula (40) in Example 9.18 in the text, the directional derivative would be

D ǔ f ( 0 , 0 ) = D 1 ( 0 , 0 ) cos ( π 4 ) + D 2 ( 0 , 0 ) sin ( π 4 ) = cos ( π 4 ) = 2 2 .

However, by part (b), D ǔ f ( 0 , 0 ) = cos 3 ( π 4 ) = 2 4 . Hence f cannot be differentiable at ( 0 , 0 ) .

User profile picture
2023-08-07 00:00
Comments