This function has
un
equal mixed partial derivatives at (0,0)
JR Jan 15 2002 unequal_mixed_partials.mws
(This can be because the second-order partial deriviatives are not continuous at (0,0).)
>
restart:
f:=x*y*(x^2-y^2)/(x^2+y^2);
fx:=simplify(diff(f,x));
fy:=simplify(diff(f,y));
>
fxy:=simplify(diff(fx,y));
fyx:=simplify(diff(fy,x));
difference:=fxy-fyx;
At the origin, one of the second-order mixed pattial derivatives is 1 while the other is -1!
>
fx0:=limit((subs(y=0,f)-0)/x,x=0);
fy0:=limit((subs(x=0,f)-0)/y,y=0);
fxy0:=limit((subs(x=0,fx)-fx0)/y,y=0);
fyx0:=limit((subs(y=0,fy)-fy0)/x,x=0);
>
x:=r*cos(theta): y:=r*sin(theta):
plot3d([x,y,f],r=0.001..1,theta=0..2*Pi,grid=[10,51],title="the graph of f");
> plot3d([x,y,fxy],r=0.001..1,theta=0..2*Pi,grid=[10,71],title="the graph of f_xy");
You can see from the graph of f_xy that it is not continuous at (0,0).
>