1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Partial Derivative Q: continuity and directional deriv's

  1. Mar 16, 2015 #1
    1. The problem statement, all variables and given/known data

    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)

    oNGRPtI.jpg

    2) using symbolics and ezsurf

    syms x y
    ezsurf((x*y)^(1/3)), axis equal, xlabel('x'), ylabel('y'), zlabel('z')

    lRrDY7N.jpg

    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 :)
     
  2. jcsd
  3. Mar 16, 2015 #2

    RUber

    User Avatar
    Homework Helper

    The question about directional derivatives is based on the definition of a derivative as the ##\lim_{|h|\to0} \frac{f( x+h_x,y+h_y) - f(x,y) }{|h|} ## looking at it this way, you allow for h to be a vector in any direction on the x-y plane.
    You should be able to show that this limit is continuous if h only has x components or y components, but as soon as you have both, the limit is not the same for h as it is for -h and therefore the derivative does not exist in that direction.
    Considering that explanation, look again at your plot, and you should see what I am saying.
     
  4. Mar 16, 2015 #3

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    A directional derivative at ##\vec{p}_0 = (x_0,y_0)## in direction ##\vec{d}##---YOU pick whatever ##\vec{d}## YOU want!---is defined as
    [tex] D_{\vec{d}} f(\vec{p}_0) = \lim_{t \to 0+} \frac{ f(\vec{p}_0 + t \vec{d}) - f(\vec{p}_0)}{t} [/tex]
    In other words, for small ##t > 0## we should have
    [tex] f(\vec{p}_0 + t \vec{d}) \approx f(\vec{p}_0) + t \cdot D_{\vec{d}} f(\vec{p}_0) [/tex]

    So, pick any direction non-axial direction ##\vec{d}## that you want, and see if the required limit exists.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Partial Derivative Q: continuity and directional deriv's
  1. Partial derivative q (Replies: 1)

  2. Partial Derivatives (Replies: 4)

Loading...