← Back to the MAP1007 course page

Surfaces and traces

Graphs, cylinders and quadric surfaces: the traces \( x = a \), \( y = b \) and \( z = c \), the level curves and the limits along paths (Sections 3.1 to 3.3).

How to use

To sketch a surface, we cut it with planes parallel to the coordinate planes: the curves obtained are its traces (or cross-sections). This application draws in 3D the surface of an equation in \( x \), \( y \) and \( z \). With it, you can:

  • choose an example of the lecture notes, of the textbook or of the workbook, sorted by section (3.1, 3.2 and 3.3), or type your own equation: the graph of a function, for example z = 4x^2 + y^2 or simply xy/(x^2+y^2), or a surface such as x^2 + y^2/9 + z^2/4 = 1 or x^2 + y^2 = 1;
  • move the planes \( x = a \), \( y = b \) and \( z = c \) with the sliders, or sweep them through the surface with the ▶ button: each trace is also drawn in its own plane, in its own view, with its type (ellipse, hyperbola, parabola, pair of lines…), and the neighbouring traces in light grey, as in the figures of the textbook;
  • tick Several curves, under a slider, to draw the traces \( x = k \) (or \( y = k \), or \( z = k \)) for several values of \( k \), on the surface and in its view: the − and + buttons change the number of curves, and you can also type your own values, separated by semicolons;
  • draw the level curves \( f(x, y) = k \) of a function (“Level curves” tab): they are drawn only in the \( xy \)-plane, in their own view and, in 3D, in the plane \( z = 0 \), never on the surface. The slider sets \( k \) (the ▶ button makes it run through the values of \( f \)) and Several curves draws the contour map, for equally spaced or typed values of \( k \);
  • study a limit at a point \( (a, b) \) (Section 3.2): the values of \( f \) along the axes, the lines \( y - b = m(x - a) \) and parabolas, as functions of the parameter \( t \) of the path, with the limit along each path (exact for a rational function). If two paths give different limits, the limit does not exist;
  • choose the large view: by default, the 3D surface fills the left and the three traces are in a column on the right. The ⤢ button of a view makes it large, Solo shows only that view (to project it in class) and All views brings the others back. The icons at the top right change the layout: column, strip, grid, side by side or a single view. Each tab keeps its own layout; the level curves tab opens on the map alone.

Rotate the surface with a finger or the mouse; the mouse wheel zooms in and a double-click resets the view. A click on the surface moves the three planes (or the level curve) through that point. The xy, yz and xz buttons show it from above, from the front or from the side, and the hidden parts of the curves are dashed. The “Copy link” button gives an address that reopens the same surface with the same settings, handy for showing it in class. Press ? in the application for the complete help.

HTML, CSS and JavaScript application (3D rendering with WebGL), created with the help of Claude (Anthropic). The formulas are typeset with KaTeX.