Lesson 1.1 · Vectors and 3D Space
Three-dimensional coordinates
Single-variable calculus lives in the plane, but most of the world is three-dimensional: a drone's position, the temperature at a point in a room, the surface of a lens. Everything in this course is built on one simple device, a coordinate system that attaches three numbers to every point in space. This lesson sets up that system and the two basic measurements, distance and midpoint, that you'll use constantly.
Three axes and the right-hand rule
Start with a point , the origin, and three mutually perpendicular number lines through it: the -axis, the -axis and the -axis. There are two mirror-image ways to arrange them, and mathematicians and physicists agree to use the right-handed one: point the fingers of your right hand along the positive -axis and curl them toward the positive -axis; your thumb then points along the positive -axis.
A point in space gets the ordered triple if you can reach it from the origin by moving units parallel to the -axis, then units parallel to the -axis, then units parallel to the -axis. The set of all such triples is written .
On paper we draw space with an oblique projection: the - and -axes are drawn at a right angle, and the -axis points diagonally down and to the left, "out of the page" toward you. The dashed path below shows how to locate the point .
Coordinate planes and octants
Each pair of axes spans a coordinate plane:
| plane | contains | equation |
|---|---|---|
| -plane | - and -axes | |
| -plane | - and -axes | |
| -plane | - and -axes |
The three coordinate planes divide space into eight octants. The one where all three coordinates are positive is the first octant; the others are usually described by their sign patterns, such as ", , ."
Dropping a perpendicular from to a coordinate plane gives its projection onto that plane: on the -plane, on the -plane, and on the -plane.
Common mistake
An equation means different things in different dimensions. In , is a line. In , is the set of all points with and free: a plane parallel to the -plane. Likewise is a circle in the plane but an infinite circular cylinder in space, because is unrestricted. Always ask which variables are missing.
Distance and midpoint
To find the distance between and , build a box with and at opposite corners. Its edges have lengths , and . The Pythagorean theorem in the base gives the diagonal of the bottom face, , and applying it once more with the vertical edge gives the space diagonal.
Distance and midpoint in space
The distance between and is
The midpoint of segment is
Worked example: Distance and midpoint
Find the distance between and , and the midpoint of .
Solution. The coordinate differences are , and , so
The midpoint is .
Spheres
A sphere is the set of points at a fixed distance (the radius) from a fixed point (the center). Writing with the distance formula and squaring gives its equation.
Definition
Sphere
The sphere with center and radius has equation
Expanding shows that every sphere has an equation of the form . Going backward, you complete the square in each variable separately. The result is a sphere if , a single point if , and empty if .
Worked example: Recognizing a sphere
Show that is a sphere, and find its center and radius.
Solution. Group the terms by variable and complete each square:
Since , this is a sphere with center and radius .
Worked example: Describing a region
Describe the set of points satisfying and .
Solution. The quantity is the distance from to the origin, so the first condition says that distance is between and . That is the solid shell between the spheres of radius and centered at the origin. The condition keeps only the part on or above the -plane. The region is the upper half of a thick spherical shell, like half of a hollow ball with walls unit thick.
Tip
The distance from to a coordinate plane is just the absolute value of the missing coordinate: the distance to the -plane is . The distance to a coordinate axis uses the other two coordinates: the distance to the -axis is , since the nearest point on that axis is .
Practice
Find the distance between and .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the projection of the point onto the -plane.
Enter a point like (2, -3)
Find the midpoint of the segment joining and .
Enter a point like (2, -3)
Find the distance from the point to the -axis.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the center of the sphere .
Enter a point like (2, -3)
A sphere has a diameter with endpoints and . Its equation is . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Which set does the equation describe in ?
The points , and form a triangle. Which describes it?