surface example

3D Mexican Hat Surface Graph

A central peak surrounded by a circular valley.

z = (1 - x^2 - y^2) * exp(-(x^2 + y^2) / 2)

Teacher prompt

Why is there a ring-shaped valley?

The factor 1 minus radius squared becomes negative outside the center.

min z 0.00max z 0.0056 samples

What this graph represents

The polynomial term changes sign while the exponential term damps the edge.

Where it appears in calculus

Useful for radial symmetry and wavelet intuition.

Embed this graph

Use the Embed button in the calculator to copy a ready iframe for blogs, LMS pages, and lesson notes.

Open embed page

Related graphs

Open another surface page and compare shape, slices, and contour behavior.