3D graph of z = x⁴ − 2x² + y²
The graph of z = x⁴ − 2x² + y² is a surface over the (x, y) plane. Domain: all (x, y). Range: z ≥ −1. Critical points: two minima at (±1, 0, −1) and a saddle at (0, 0, 0).
Drag to turn the surface, scroll or pinch to zoom. The colour shows the height z.
How to work it out
- 1
Domain: the pairs (x, y) the formula accepts. Here: all (x, y).
- 2
Range: the heights z the surface reaches: z ≥ −1.
- 3
Symmetry: even in x and in y.
- 4
Level curves: slice the surface at a height c and look from above. Here you get two closed curves around each minimum at low heights, joined into one curve above height 0.
- 5
Partial derivatives: the slope in the x direction and in the y direction. Set both to zero to find the critical points.
- 6
Critical points: two minima at (±1, 0, −1) and a saddle at (0, 0, 0).
LaTeX source of the formulas on this page
\[ z = x^4-2x^2+y^2 \]
\[ \frac{\partial z}{\partial x} = 4 \cdot x^{3} - 4x,\qquad \frac{\partial z}{\partial y} = 2y \]Table of heights z = f(x, y)
| x \ y | -2 | -1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| -2 | 12 | 9 | 8 | 9 | 12 |
| -1 | 3 | 0 | -1 | 0 | 3 |
| 0 | 4 | 1 | 0 | 1 | 4 |
| 1 | 3 | 0 | -1 | 0 | 3 |
| 2 | 12 | 9 | 8 | 9 | 12 |
Questions
What does the graph of z = x⁴ − 2x² + y² look like?
Two valleys separated by a ridge: the shape of a double-well potential.
What are the domain and range of z = x⁴ − 2x² + y²?
Domain: all (x, y). Range: z ≥ −1.
What are the partial derivatives of z = x⁴ − 2x² + y²?
∂z/∂x = 4 · - 4x and ∂z/∂y = 2y.
Where are the critical points of z = x⁴ − 2x² + y²?
Two minima at (±1, 0, −1) and a saddle at (0, 0, 0).
What do the level curves of z = x⁴ − 2x² + y² look like?
Two closed curves around each minimum at low heights, joined into one curve above height 0.