Example 2 -- Local and Absolute Extrema

The function g in this example has no local or absolute extrema.  It does, however, have a saddle point at (0,0).

g = y^2 - x^2 ;

Plot3D[g, {x, -4, 4}, {y, -4, 4}, PlotPoints15, PlotRange {-16, 16}, MeshTrue, AxesLabel {x, y, z}]

[Graphics:../HTMLFiles/index_19.gif]

ts = Table[t, {t, -2, 2, .5}] ;

RowBox[{Do, [, RowBox[{RowBox[{Plot3D, [, RowBox[{g, ,, {x, -4, 4}, ,, {y, -4, 4}, ,, PlotPoin ...  RowBox[{-, 2.4}], ,, -ts[[t]]}], }}]}], ,, TicksNone}], ]}], ,, {t, 1, Length[ts]}}], ]}]

[Graphics:../HTMLFiles/index_22.gif]

[Graphics:../HTMLFiles/index_23.gif]

[Graphics:../HTMLFiles/index_24.gif]

[Graphics:../HTMLFiles/index_25.gif]

[Graphics:../HTMLFiles/index_26.gif]

[Graphics:../HTMLFiles/index_27.gif]

[Graphics:../HTMLFiles/index_28.gif]

[Graphics:../HTMLFiles/index_29.gif]

[Graphics:../HTMLFiles/index_30.gif]

ContourPlot[g, {x, -4, 4}, {y, -4, 4}, ContourShadingFalse, Contours20, PlotPoints15]

[Graphics:../HTMLFiles/index_32.gif]


Created by Mathematica  (December 11, 2003)