Intermediate Calculus
§5 Distance and Quadric Surfaces
9 min read
Walkthrough
Distance to a plane follows its normal
A plane's normal vector points in the one direction perpendicular to the plane. That makes it the right direction for measuring the shortest distance from a point to the plane.
Choose any point on the plane and let be the point outside it. The vector may be slanted, so keep only its scalar component along a nonzero normal vector :
For and the plane , take and . Then , so the distance is .
An equation can describe a whole shape
An equation in two variables usually leaves one degree of freedom. Its solutions form a curve in the plane. For example,
collects every point at distance from the origin, so it describes the unit circle.
An equation in three variables usually leaves two degrees of freedom. Its solutions form a surface in space. The equation
describes the unit sphere.
These are both level sets. A level set is the collection of inputs where a function has one fixed value. Thus usually describes a level curve in , while usually describes a level surface in .
Read a surface one slice at a time
A complicated three-dimensional equation becomes easier to picture when one coordinate is held constant. Each resulting cross-section is called a trace.
For a surface in -space:
- an -trace sets and lies in the plane ;
- a -trace sets and lies in the plane ;
- a -trace sets and lies in the horizontal plane .
The fixed coordinate tells you both what to substitute and where the resulting curve lives. After finding several traces, fit the families together into one surface.
Two trace patterns worth recognizing
For the cone
horizontal traces are circles:
Their radius is , so the circles widen at a constant rate above and below the origin. Vertical traces are pairs of lines at the center and hyperbolas away from it. Together, these slices force a double cone.
For the surface
fixing produces upward-opening parabolas, while fixing produces downward-opening parabolas. The surface therefore rises in one direction and falls in the perpendicular direction. This opposite curvature creates a hyperbolic paraboloid, usually called a saddle.
Distance from a point to a plane
The shortest route from a point to a plane is perpendicular to the plane. If has position vector , choose any point on the plane with position vector . For a nonzero normal vector , the displacement from the plane to is
Its signed component in the normal direction is
Distance cannot be negative, so take the absolute value:
The choice of does not matter. The vector between any two points in the plane is orthogonal to , so changing adds nothing to the dot product.
For a plane in the form
and a point , use the normal vector . The projection formula becomes
Example
Find the distance from
to the plane
The plane has normal vector
Choose on the plane. Then
Now calculate the normal component:
Therefore,
The coordinate formula gives the same result directly:
Level curves and level surfaces
Let be a constant. For a function of two variables, the equation
selects all points in the plane where has the value . This set is called a level curve when it is a curve.
An ordinary graph can be written this way too. If , define
Then
So a familiar graph is the zero level curve of a function of two variables.
For a function of three variables, the equation
selects points in space. When the solution set has two dimensions, it is a level surface. For example,
is the sphere of radius centered at .
The words “usually a curve” and “usually a surface” matter. A level set can collapse to a point, split into pieces, or even be empty. Its actual shape comes from the equation.
Sketching with traces
A trace is the intersection of a surface with a coordinate-parallel plane. To calculate one, hold a coordinate fixed:
This gives three families:
| Fixed coordinate | Plane containing the trace | Remaining coordinates |
|---|---|---|
| parallel to the -plane | and | |
| parallel to the -plane | and | |
| parallel to the -plane | and |
A reliable sketching process is:
- Find the traces in the three coordinate planes by setting , , and .
- Try nearby values such as and to see how each family changes.
- Identify each two-dimensional curve and record the plane it belongs to.
- Use symmetry and the movement of the vertices or radii to assemble the surface.
Do not draw every trace in the same plane. For example, and may give identical equations in and , but they lie in two different parallel planes in space.
The double cone
Consider
Equivalently,
Horizontal traces
Set . The trace equation is
This is a circle in the plane , centered on the -axis, with radius .
- At , the equation gives only the origin.
- At , the traces are circles of radius .
- At , the traces are circles of radius .
The same circle appears at heights and , so the surface is symmetric across the -plane. Because the radius grows in direct proportion to , the sides are straight rather than curved outward.
Vertical traces
To examine the vertical cross-sections, set . Then
which can be rearranged as
At , this factors:
so the central trace is the pair of lines
For , the trace is a hyperbola opening in the positive and negative -directions. For instance,
and
The -traces are identical after swapping and :
These circular and hyperbolic slices fit together into a double circular cone around the -axis.
Traces assemble the double cone
The hyperbolic paraboloid
Now consider
The signs are the key. The term raises the surface as grows, while the term lowers it as grows.
Horizontal traces
Set . Then
The sign of decides how the hyperbola opens:
-
If , the hyperbola opens in the positive and negative -directions.
-
If , the equation factors as
giving the two lines .
-
If , rewrite the equation as ; the hyperbola opens in the positive and negative -directions.
For example,
The two crossing lines at are the boundary between the two opening directions.
Fixed- traces
Set . The remaining variables satisfy
Each trace is an upward-opening parabola in the plane . Its vertex is
The first few traces are
As grows, the vertex moves downward.
Fixed- traces
Set . This gives
Each trace is a downward-opening parabola in the plane , with vertex
For example,
As grows, the vertex moves upward.
Opposite parabolic traces create the saddle
The origin is the saddle point. Along the -axis, where , the surface has . Along the -axis, where , it has . Every neighborhood of the origin contains points above and below it, so the origin is neither a local maximum nor a local minimum.
Quadric surfaces
A quadric surface is a level surface described by a polynomial of degree at most in , , and :
Both surfaces in this note are quadrics:
is a double cone, while
is the hyperbolic paraboloid .
Recognizing a standard name is useful, but traces explain why the shape has that name. They also keep working when a surface has been shifted, stretched, or oriented in a less familiar way.