Parametric and 3D Graphing

3D Surface Cross-Sections and Traces

A cross-section, or trace, of the surface z = f(x, y) is the curve you get by fixing one input. Fixing y = c gives the 2D curve z = f(x, c); fixing x = c gives z = f(c, y). For z = x² + y², the trace at y = 1 is the parabola z = x² + 1. Traces turn a hard-to-read surface into familiar 2D graphs.

Paraboloid z = x² + y² with the vertical slice y = 1 highlighted in red; the red curve is the parabola z = x² + 1.

Check it yourself: every example here can be loaded into the 3D Graphing Calculator.

Open the 3D Graphing Calculator

The idea

A surface is hard to read exactly, but a 2D curve is easy. A cross-section (also called a trace) cuts the surface with a vertical plane and keeps only the curve along the cut.

  • Fix y = c → the curve z = f(x, c), graphed against x.
  • Fix x = c → the curve z = f(c, y), graphed against y.
Try it in the calculator

Worked example: the paraboloid

For z = x² + y²:

Slice Trace Shape
y = 0 z = x² parabola, vertex (0, 0)
y = 1 z = x² + 1 parabola, vertex (0, 1)
y = 2 z = x² + 4 parabola, vertex (0, 4)
x = 1 z = 1 + y² parabola, vertex at y = 0, z = 1

Every vertical slice is an upward parabola, and the parabolas get higher as you move away from the centre. That is exactly a bowl.

Left: paraboloid with the slice y = 1 shown in red. Right: the 2D graph of the trace z = x² + 1, a parabola with vertex (0, 1).
Substitute the fixed value, simplify, and graph the 2D result.
Text description of this figure

Left: paraboloid with the slice y = 1 shown in red. Right: the 2D graph of the trace z = x² + 1, a parabola with vertex (0, 1).

  1. Fix y = 1.
  2. Substitute: z = x² + 1² = x² + 1.
  3. Graph the 2D curve; its vertex is the lowest point of the slice.

Worked example: the saddle

For z = x² − y²:

  • Slice y = 0: z = x² — opens up.
  • Slice x = 0: z = −y² — opens down.

The origin is the lowest point of one trace and the highest point of the other, so it is neither a maximum nor a minimum of the surface. This is called a saddle point.

Try it in the calculator

Reading the trace in the calculator

The 3D graphing calculator highlights the slice in red on the surface and draws the trace as a separate 2D graph underneath. Hover or tap the 2D graph to read exact (x, z) or (y, z) values, then move the slider to sweep the slice across the surface and watch the trace change.

Try it in the calculator

Level curves: horizontal slices

Fixing the output instead, z = k, gives a level curve in the xy-plane:

  • z = x² + y² at k = 4 → circle x² + y² = 4 (radius 2).
  • z = x² − y² at k = 1 → hyperbola x² − y² = 1.

Level curves are what contour maps show. Together, traces and level curves describe the surface completely.

Common mistakes

  • Substituting into the wrong variable — fixing y means replacing y, not x.
  • Forgetting the constant term: at y = 2 the trace of x² + y² is x² + 4, not x².
  • Reading the trace’s horizontal axis as y when you fixed y; it is x.
  • Slicing outside the plotted domain.

Questions

What is the difference between a trace and a level curve?

A trace fixes x or y and shows a vertical slice. A level curve fixes z = k and shows the horizontal outline at that height, like a contour line on a map.

Why do traces help identify a surface?

Each family of traces is a familiar curve. Parabolas in both directions opening the same way mean a paraboloid; opening opposite ways means a saddle.

Does the slice have to be inside the domain?

Yes. A slice at y = 5 on a graph that only covers −3 ≤ y ≤ 3 has nothing to cut.

Graph your own example with the 3D Graphing Calculator — free, in your browser.

Try it now

Sources and further reading

Worked examples and figures were produced and checked with the Graphing Calculator Lab engine. See the editorial policy.

Related guides

More in Parametric and 3D Graphing · All guides