- #1
kostoglotov
- 234
- 6
Homework Statement
a) Show that the function [tex] f(x,y)=\sqrt[3]{xy} [/tex] is continuous and the partial derivatives [tex]f_x[/tex] and [tex]f_y[/tex] exist at the origin but the directional derivatives in all other directions do not exist
b) Graph f near the origin and comment on how the graph confirms part (a).
2. The attempt at a solution
This is an odd question to me. First off, what do they mean by "directional derivatives in all other directions" ? They only specify the origin as a point at which # f_x # and [tex] f_y [/tex] should exist, but no direction is specified, so how can there be other directions? What other directions? All directions? Ie, [tex]f_x[/tex] and [tex]f_y[/tex] exist at (0,0,0) but in no direction do valid directional derivatives exist??
The other quandary for me is how to show that it is continuous at the origin. I have found the grad vector
[tex]\nabla f(x,y) = \frac{1}{3}\left<\frac{y^{\frac{1}{3}}}{x^{\frac{2}{3}}},\frac{x^{\frac{1}{3}}}{y^{\frac{2}{3}}}\right>[/tex]
But there is no general L'Hopital rule for part. deriv's, so I can't decide these limits as [tex](x,y) \rightarrow (0,0)[/tex]. And if y is taken as a constant for [tex]f_x[/tex] then it just goes to infinity as x approaches zero and likewise for [tex]f_y[/tex].
So I decided to just go ahead and graph this function in Matlab. I used meshgrid and symbolics to get two different but similar graphs.
1) meshgrid
[x,y] = meshgrid(-1:0.01:1);
z = (x.*y).^(1/3);
z = real(z);
surf(x,y,z), axis equal, xlabel('x'), ylabel('y'), zlabel('z'), shading interp, colormap(jet)
2) using symbolics and ezsurf
syms x y
ezsurf((x*y)^(1/3)), axis equal, xlabel('x'), ylabel('y'), zlabel('z')
Why does using the symbolic ezsurf throw out half the surface? It must be related to taking only the real values for z in meshgrid yes??
So the meshgrid form interpolates points around the origin, suggesting that the surface exists at the origin, but the symbolic toolbox suggests that the surface doesn't exist at the origin.
I am very confused. Please help :)