Plot and explore mathematical surfaces z = f(x, y) in an interactive 3D environment.Rotate, zoom, and pan to inspect every detail. Supports custom functions with instant feedback.now with saddle point detection
A 3D graphing calculator is a powerful mathematical tool that visualizes multivariable functions of the form z = f(x, y) as three-dimensional surfaces. Unlike traditional 2D graphing, which plots a single independent variable, 3D graphing reveals the full topography of a function — its peaks, valleys, ridges, and saddles — enabling deeper insight into complex relationships.
This interactive calculator leverages the Plotly.js engine to render high-quality, interactive 3D surfaces directly in your browser. You can rotate, zoom, and pan around the graph, inspect precise coordinates via hover tooltips, and toggle between surface, contour, and wireframe views. Whether you are a student exploring calculus, an engineer modeling physical systems, or a researcher visualizing data, this tool provides an intuitive and responsive environment for mathematical discovery.
For a function z = f(x, y) defined on a domain D ⊂ ℝ², the graph is the set of points {(x, y, f(x, y)) : (x, y) ∈ D}.
The surface is constructed by evaluating f at a grid of points (xi, yj) and rendering the resulting mesh with color mapping proportional to the z‑value.
The surface z = f(x, y) represents a scalar field over a two‑dimensional domain. Key mathematical concepts associated with such surfaces include:
Our calculator automatically analyzes the function to estimate its range, identify critical points (including saddles via Hessian approximation), and provide a summary of its behavior — turning abstract equations into actionable insight.
^ for exponentiation, and functions like sin(), cos(), log(), sqrt(),
and exp(). Constants pi and e are supported.
| Function | Expression | Key Features | Typical Applications |
|---|---|---|---|
| Paraboloid |
x² + y²
|
Elliptic paraboloid, global minimum at (0,0,0) | Potential wells, optics, optimization |
| Hyperbolic |
x² − y²
|
Hyperbolic paraboloid (saddle), saddle point at origin | Gravity models, structural engineering |
| Sinc |
sin(x)·cos(y)
|
Oscillatory surface with alternating ridges and valleys | Wave interference, signal processing |
| Gaussian |
exp(−(x²+y²))
|
Bell‑shaped surface with rapid decay | Probability distributions, heat transfer |
| Ripple |
sin(x²+y²)
|
Concentric ripples with expanding wavelength | Wave propagation, acoustics |
| Saddle |
x·y
|
Hyperbolic surface with saddle at origin | Multivariable optimization, game theory |
| Torus‑like |
(1−√(x²+y²))²
|
Ring‑shaped surface with two minima | Topology, molecular modeling |
| Rosenbrock |
(1−x)² + 100·(y−x²)²
|
Banana‑shaped valley, global minimum at (1,1) | Optimization benchmarking, test functions |
In computational chemistry, the potential energy surface (PES) describes the energy of a molecular system as a function of nuclear coordinates. A PES typically has multiple minima (stable conformations) and saddle points (transition states). By plotting the PES as a 3D surface, chemists can identify reaction pathways, locate transition states, and predict reaction kinetics. Our 3D graphing calculator, though simplified, provides a conceptual model of such surfaces, enabling students and researchers to visualize the relationship between molecular geometry and energy.
Try it: Use the (1−√(x²+y²))² example to model a ring‑shaped potential
with two equivalent minima — a common motif in conformational analysis.
In mechanical and civil engineering, design optimization often involves minimizing or
maximizing an objective function that depends on multiple design parameters. For example,
the Rosenbrock function (1−x)² + 100·(y−x²)² is a classic
test problem for optimization algorithms. Its narrow, banana‑shaped valley makes it
challenging for gradient‑based methods. By visualizing this function in 3D, engineers
can understand the difficulty of the optimization landscape and choose appropriate
algorithms (e.g., evolutionary strategies) to navigate the valley efficiently.
^),
and parentheses. Supported functions include sin, cos, tan, log (natural log), log10, sqrt, exp, abs, floor, ceil, and more.
Constants pi and e are also available.
x² + y² + z² = 1) or parametric surfaces,
we recommend using a dedicated tool such as our Parametric 3D Plotter (coming soon). However, you can approximate some implicit surfaces by solving for z
(e.g., z = sqrt(1 − x² − y²) for the upper hemisphere).
log(x) is undefined for x ≤ 0, and sqrt(x) is undefined for x < 0. In such
cases, the calculator will skip those points, leaving gaps in the surface. You can
adjust the domain ranges to avoid undefined regions, or use functions like abs() or conditional expressions to handle them gracefully.