Extrema d'une fonction

> f:=(x,y)->x^2*y^2-x^2-y^2;

f := proc (x, y) options operator, arrow; x^2*y^2-x...

> with(plots):

Warning, the name changecoords has been redefined

> plot3d(f(x,y),x=-2..2,y=-2..2);

[Maple Plot]

> solve({diff(f(x,y),x)=0,diff(f(x,y),y)=0},{x,y});

{y = 0, x = 0}, {x = 1, y = 1}, {x = 1, y = -1}, {x...

>

> plot3d(f(x,y),x=-0.2..0.2,y=-0.2..0.2);

[Maple Plot]

Ca ressemble à un maximum local...

> f(r*cos(theta),r*sin(theta));

r^4*cos(theta)^2*sin(theta)^2-r^2*cos(theta)^2-r^2*...

> simplify(%);

-r^2*(-r^2*cos(theta)^2+r^2*cos(theta)^4+1)

C'est négatif pout r assez petit...

> plot3d(f(x,y),x=0.8..1.2,y=0.8..1.2);

[Maple Plot]

Ca ressemble à un point-selle...

> expand(f(1+u,1+v));

-1+4*u*v+2*u*v^2+2*u^2*v+u^2*v^2

> expand(f(1+u,1+u)),expand(f(1+u,1-u));

-1+4*u^2+4*u^3+u^4, -1-4*u^2+u^4

Effectivement, dans une direction, on a un minimum local, et dans l'autre un maximum local.