Multivariable Calculus · Undergraduate
Three-Dimensional Coordinates, Distance and Spheres
Quick answer
Three mutually perpendicular axes locate every point in space with an ordered triple (x, y, z). The distance between two points comes from applying the Pythagorean theorem twice, giving a formula with three squared differences. The points at a fixed distance from a center form a sphere, and completing the square in each variable finds the center and radius of one written out in expanded form. An equation in x, y and z usually describes a surface: z = 3 is a plane, and x² + y² = 4 is a cylinder.
What you'll learn
- Plot and describe points and regions in three dimensions
- Find the distance and midpoint between two points in space
- Write the equation of a sphere and find its center and radius
- Recognize planes and cylinders from their equations
A third axis
Add a -axis perpendicular to both the - and -axes, and every point in space gets an address . The axes follow the right-hand rule. Curl the fingers of your right hand from the positive -axis toward the positive -axis, and your thumb points along the positive -axis.
The three coordinate planes, , and , divide space into eight octants; the first octant is where all three coordinates are positive. Equations that fix one coordinate describe flat sheets: is the horizontal plane at height , and is a vertical plane parallel to the -plane.
Distance in space
To get from to , first move across the floor, which is a plane distance, then rise straight up by . Those two legs meet at a right angle, so
The midpoint averages each coordinate, the same way it does in the plane.
Why a sphere has this equation
A sphere is the set of points at a fixed distance from a center . Writing that distance with the formula and squaring both sides gives
The equation of a sphere is the distance formula with the distance held fixed, exactly as the equation of a circle is in the plane. Cutting a sphere with a horizontal plane fixes the last term and leaves a circle, which is how three-dimensional shapes are studied through two-dimensional slices.
Worked examples
Common mistakes
Practice problems
-
Find the distance from the origin to .
Answer
Full solution
.
-
Find the distance between and .
Answer
Full solution
The differences are , and , so .
-
Write the equation of the sphere centered at the origin with radius . Is on it?
Answer
; yes
Full solution
, so the point is exactly from the origin.
-
Find the center and radius of .
Answer
Center , radius
Full solution
Completing the squares adds and : .
-
Find the midpoint of and .
Answer
Full solution
Average each coordinate.
-
Describe the set of points with in space.
Answer
A plane parallel to the -plane
Full solution
and are free, so the points fill a flat sheet one unit behind the -plane.
-
Describe the surface .
Answer
A cylinder of radius around the -axis
Full solution
The variable is missing, so the circle repeats along the whole -axis.
-
The sphere is cut by the plane . Describe the cut.
Answer
A circle of radius at height
Full solution
Substituting leaves .
-
Which point is closer to the -plane, or ?
Answer
Full solution
The distance to the -plane is : for the first point and for the second.
-
A student reads as the sphere with center . What went wrong?
Hint
What value of makes zero?
Answer
The signs flip: the center is .
Full solution
The form is , so means and means . The radius is .
Frequently asked questions
What is the distance formula in three dimensions?
The distance between (x₁, y₁, z₁) and (x₂, y₂, z₂) is √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²).
What is the equation of a sphere?
(x − h)² + (y − k)² + (z − l)² = r², for center (h, k, l) and radius r.
What does z = 3 describe in space?
The horizontal plane of all points at height 3. In the plane an equation like y = 3 is a line; in space it is a plane.
What does x² + y² = 4 describe in space?
A cylinder of radius 2 around the z-axis. The equation places no condition on z, so the circle in the xy-plane is repeated at every height.
What is the right-hand rule for axes?
Curl the fingers of your right hand from the positive x-axis toward the positive y-axis; your thumb points along the positive z-axis.