surface example

3D Two Peak Surface Graph

Two smooth hills separated along the x-axis.

z = exp(-((x - 2)^2 + y^2)) + exp(-((x + 2)^2 + y^2))

Quick facts

  • Formula: z = exp(-((x - 2)^2 + y^2)) + exp(-((x + 2)^2 + y^2))
  • Category: surface
  • Tags: surface, calculus, z=f(x,y)

What this graph represents

Each exponential term contributes one mound.

Where it appears in calculus

Useful for optimization landscapes with multiple local maxima.

How to use this graph

  1. Rotate the surface by dragging with your mouse or finger
  2. Use the Embed button to copy an <iframe> for your LMS or lesson page
  3. Click PNG to export a classroom-ready image
  4. Click Formula or LaTeX to copy the equation for your notes

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

Teacher prompt

Question: How many main local peaks are visible?

Answer: There are two main peaks, one near x=2 and one near x=-2.

Related graphs

Explore more surface examples and compare shapes, slices, and contour behavior.

Explore more tools

Use these free browser tools to extend your graphing workflow.