← Back to Math 005C

12.1 Three-Dimensional Coordinate Systems: Class Notes

12.1a

The plane is two-dimensional, written ℝ2 (read “R two”). Space is three-dimensional, written ℝ3 (“R three”).

The xy-plane R2 with a point (x, y), and xyz-space R3 with a point (x, y, z) in the first octant

Left: the plane ℝ2 with x- and y-axes; the axes divide the plane into four quadrants (shaded green, blue, purple, and orange). A point (x,y) in the first quadrant is marked, with dashed lines to x on the x-axis and y on the y-axis. Right: space ℝ3 with x-, y-, and z-axes. The point (x,y,z) is in the first octant (all three coordinates positive); a dashed line drops straight down from it to the point (x,y) in the xy-plane.

A point in ℝ2 has two coordinates, (x,y); a point in ℝ3 has three, (x,y,z). The point drawn here is in the first octant. Directly below it in the xy-plane is the point (x,y).

Distance between two points in space

Box with opposite corners P1 and P2, showing the distance d as the diagonal of the box

A rectangular box in space with opposite corners P1(x1,y1,z1) (bottom) and P2(x2,y2,z2) (top); dashed lines drop from them to (x1,y1) and (x2,y2) in the xy-plane. The bottom face of the box (at height z1) has edges of length x2−x1 and y2−y1, and its diagonal from P1 has length d1. From the end of that diagonal, a vertical edge of length d2 rises to P2. The segment from P1 to P2 has length d.

Start with the diagonal of the bottom of the box. It is the hypotenuse of a right triangle with legs x2−x1 and y2−y1, so

d12=(x2−x1)2+(y2−y1)2

The vertical edge of the box has length d2=z2−z1. The distance d from P1 to P2 is the hypotenuse of a second right triangle, with legs d1 and d2:

d2=d12+d22d2=(x2−x1)2+(y2−y1)2+(z2−z1)2

d(P1,P2)=(x2−x1)2+(y2−y1)2+(z2−z1)2

The set of points in space equidistant to a given point is a sphere.

Sphere with center (h, k, l) and a point (x, y, z) on it at distance r from the center

A sphere in space with center (h,k,l) marked. A point (x,y,z) on the sphere is joined to the center by a segment of length r, the radius. A dashed line drops from the center to the point (h,k) below it.

A point (x,y,z) is on the sphere with center (h,k,l) exactly when its distance to the center is the radius r. Squaring that distance gives the equation of the sphere.

Equation of a sphere with center (h,k,l) and radius r

(x−h)2+(y−k)2+(z−l)2=r2

12.1b

Exercises

Show that the equation represents a sphere, and find its center and radius.
x2+y2+z2+8x−6y+2z+17=0

Solution

Group the terms by variable and complete the square in each one, adding the same numbers to both sides: 16 for x (half of 8, squared), 9 for y, and 1 for z.

x2+8x+16+y2−6y+9+z2+2z+1=−17+16+9+1(x+4)2+(y−3)2+(z+1)2=9

This is the equation of a sphere with center (−4,3,−1) and r2=9, so r=3.

Answer: center (−4,3,−1),  r=3

Find an equation of a sphere if one of its diameters has endpoints (5,4,3) and (1,6,−9).

Solution

The center is the midpoint of the diameter:

center (midpoint):(x1+x22,y1+y22,z1+z22)

center:(5+12,4+62,3−92)=(3,5,−3)

For the radius, put the center (3,5,−3) and the endpoint (5,4,3) (a point on the sphere) into (x−h)2+(y−k)2+(z−l)2=r2:

(5−3)2+(4−5)2+(3+3)2=r2r2=41

Tip: Another way: the radius is half the diameter d, so (d2)2=r2, that is, r2=d24.

Answer: (x−3)2+(y−5)2+(z+3)2=41

Describe in words the region of ℝ3 represented by the equation x2+y2=4.

Solution

The first question is: in what space?

In ℝ2: a circle of radius 2 centered at the origin.

In ℝ3: z does not appear in the equation, so it can be anything. Every point above or below that circle is included: a right circular cylinder with radius 2, centered on the z-axis.

Left: circle of radius 2 in the xy-plane. Right: cylinder of radius 2 around the z-axis

Left, in ℝ2: the circle x2+y2=4 of radius 2 centered at the origin, crossing the axes at 2. Right, in ℝ3: the same equation gives a right circular cylinder of radius 2 whose axis is the z-axis; its cross-section in the xy-plane (drawn in gray) is that circle.

Answer: a right circular cylinder with radius 2, centered on the z-axis