Critical points (3D)
About this app
f(x,y) = x³ − 3x + xy² with two extrema and two saddle points — the Hessian classifies each point automatically.
Classifying critical points
A critical point of f(x, y) is a point where both partial derivatives are zero. Its type is decided by the Hessian matrix H of second derivatives, with determinant D = f_xx·f_yy − f_xy². If D > 0 and f_xx > 0 it is a local minimum; if D > 0 and f_xx < 0, a local maximum. If D < 0 the point is a saddle: the surface rises in one direction and falls in another. If D = 0 the test is inconclusive.
What the app shows
The surface is the graph of f(x, y) = x³ − 3x + xy². From f_x = 3x² − 3 + y² = 0 and f_y = 2xy = 0 there are four critical points: a minimum at (1, 0), a maximum at (−1, 0) and saddle points at (0, √3) and (0, −√3). A movable point P carries two tangent vectors along x and y. When both are horizontal, the app classifies the point using the Hessian. Buttons jump straight to the four points.
Try it yourself
Move P with the sliders until both tangents are flat, then compare with the jump buttons. At the saddle point (0, √3) it helps to rotate the view: the surface goes uphill in one direction and downhill in another, although the tangent plane is horizontal. Check the classification by hand: at (1, 0), f_xx = 6, f_yy = 2 and f_xy = 0, so D = 12 > 0.
Frequently asked questions
- How does the Hessian tell a minimum from a maximum?
- Compute D = f_xx·f_yy − f_xy² at the critical point. If D > 0, the sign of f_xx decides: positive means minimum, negative means maximum. If D < 0 it is a saddle point, and if D = 0 the test says nothing.
- What is a saddle point?
- A saddle point is a critical point where the surface rises in one direction and falls in another, like a riding saddle. The tangent plane is horizontal there, but it is not an extremum.
- What are the critical points of f(x,y) = x³ − 3x + xy²?
- There are four: (1, 0) is a local minimum, (−1, 0) a local maximum, and (0, √3) and (0, −√3) are saddle points. This follows from f_x = 3x² − 3 + y² = 0, f_y = 2xy = 0 and the Hessian test.
- How do I use the app?
- Move P with the x and y sliders or jump to one of the four critical points with the buttons. When both tangents are horizontal, the app shows the Hessian classification.
Subject: Analysis (multivariable)
More from Analysis (multivariable)
- Surfaces and contour lines (3D)
- Gradient and directional derivative (3D)
- Lagrange multipliers (3D)
- Local extremum (3D)
- Multiple regression (3D)
- Optimum under a constraint: Lagrange (3D)
- Partial derivatives as cuts (3D)
- Stationary points: peak, valley or pass? (3D)
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps