Rectangular Coordinates in 3D
Section titled “Rectangular Coordinates in 3D”A point gives a position, which we can describe using different coordinate systems. A common choice is the Cartesian (rectangular) system, with . , , and denote the distance from a plane, or basically an infinite horizontal sheet. The coordinate planes are (the -plane), (the -plane), and (the -plane). To picture a point, locate first, then move vertically by .
The distance between and follows from the Pythagorean theorem:
One of the most common types of shapes found in 3D planes is a spherical surface. A sphere is the set of points a fixed distance from a center , so its equation is
Complete the square to find the center and radius when the equation is expanded.
A cylindrical surface forms when a 3D circle is extended along parallel lines. If an equation leaves out one coordinate, that coordinate is free. For example, describes a circular cylinder extending in both directions along the -axis.
Example. Identify the surface and find its center and radius.
Group the terms and complete the squares:
so
This is a sphere with center and radius .
In two dimensions, fixing one coordinate usually leaves a line. In three dimensions, it leaves a plane because two coordinates can still vary. For example, contains every point . Adding leaves the line , and adding selects a single point. Counting the remaining free coordinates is a useful first check when an equation is hard to picture.
The distinction between a surface and a solid also comes from the equation. Equality in the sphere equation gives only the boundary. Replacing equality with includes the interior ball. Similarly, describes an infinite solid cylinder, while adding cuts out a finite cylinder with two flat ends.
Example. A sphere has diameter endpoints and . Find its equation and describe its trace in the plane .
The center is the midpoint, found by averaging corresponding coordinates:
The diameter vector is , whose length is . The radius is therefore , giving
Set to obtain . This is the largest circular cross section because the plane passes through the center. At , the trace instead has radius ; beyond there are no points on the sphere.
Vectors
Section titled “Vectors”A vector describes a magnitude and direction, which you should already be familiar with from Precalculus and Calculus. One thing that vectors can model is displacement, or how far a point moved from another. The displacement from to is defined as
Unlike a point, a displacement vector can be moved without changing it. Its components tell us how much to move along each axis. For and , we can add (and subtract) and scale the vectors component by component:
The standard basis vectors are , , and . Thus .
The magnitude and a unit vector in the same direction are
Two nonzero vectors are parallel exactly when one is a scalar multiple of the other. A negative multiple reverses direction. The zero vector has magnitude zero and no direction.
// add lots more introduction to vectors
Direction and magnitude as separate steps
Section titled “Direction and magnitude as separate steps”When a vector problem asks for a specified magnitude in a specified direction, handle the direction first. Subtract endpoint coordinates in the correct order, divide by the resulting magnitude, and only then multiply by the requested magnitude. A unit vector records direction without retaining the original displacement’s length.
Adding vectors has a geometric interpretation too. Place the tail of the second displacement at the tip of the first. The sum runs from the original starting point to the final endpoint. This explains why displacement depends only on the endpoints even when the actual path changes direction many times.
Example. A force of magnitude acts from toward . Find its component form, then find the force needed to balance it together with .
The required direction is
Thus the first force is
For equilibrium, the total force must be the zero vector. The balancing force is therefore
The minus sign reverses the entire resultant, not just its largest component. Adding all three forces componentwise gives zero, which is the quickest check.
Dot Product; Projections
Section titled “Dot Product; Projections”Suppose a force points partly along a displacement and partly across it. To measure how much of that force helps the motion, we need both its size and its alignment with the displacement. Multiplying the two magnitudes alone loses the direction information. A factor of fixes that: it is one for matching directions, zero for perpendicular directions, and negative for opposing directions.
The dot product packages that geometric measurement into a calculation with components:
The component formula and angle formula are two descriptions of the same operation. One is useful when coordinates are known; the other explains what the result means.
Proof (Dot product and angle). Place nonzero vectors at a common starting point. The third side of their triangle is . The law of cosines gives
Expanding the squared coordinate differences gives the same first two terms, followed by . Equating the two expressions proves the identity. This also explains why a sum of component products can measure an angle even though no angle appears in that calculation.
For nonzero vectors, this gives the angle . A positive dot product means an acute angle, a negative one means an obtuse angle, and zero means the vectors are perpendicular.
Imagine dropping a perpendicular from the tip of onto the line in direction . The location of its foot gives the part of that acts along that line. The signed distance to the foot is . By the dot-product identity, this equals .
That distance is the scalar component. To turn it into a vector, multiply it by the unit direction . This supplies the second factor of the magnitude in the denominator:
Subtracting the projection from leaves a component perpendicular to . This splits a vector into parallel and perpendicular parts.
For a constant force acting through displacement , work is . Only the force component along the displacement contributes.
Example. For and , find the projection of onto and the perpendicular remainder.
Since and ,
The remainder is . Its dot product with is , which checks that it is perpendicular.
Where the projection formula comes from
Section titled “Where the projection formula comes from”Suppose the component of parallel to is . The leftover vector must be perpendicular to , so
Expanding and solving gives . This produces the vector projection formula without needing to find the angle first. It also explains why the denominator is the squared magnitude when the answer is a vector.
Example. A point lies near the line . Find its nearest point on the line, the distance to the line, and the reflection of across the line.
The nearest point must be found along the whole line, rather than by choosing a coordinate that looks close. Write it as . At a nearest point, the connecting displacement is perpendicular to the line direction. Otherwise we could move slightly along the line and shorten it.
Thus
This gives and . The distance is .
The perpendicular foot is the midpoint between a point and its reflection across the line. Continuing the displacement from to an equal distance gives
This reflection means a half-turn about the line in space. Its midpoint with lies on the line, and its distance to the line is again . Projection handles the nearest-point condition and the reflection in one calculation.
A scalar projection may be negative, but the length of the projected vector cannot be. Its length is the absolute value of the scalar projection. Keep this distinction when a question asks for a component, a projection vector, or a distance.
Cross Product
Section titled “Cross Product”The dot product tells us about alignment within a plane. Sometimes we need the plane’s perpendicular direction instead, such as the normal to a triangular surface. Two independent vectors determine that plane, but there are two possible perpendicular directions. We choose one by the right-hand rule, curling from the first input toward the second.
We also want the result to record how much area the inputs span. Taking the first vector as a base, the perpendicular height supplied by the second is . The parallelogram area is therefore . Nearly parallel vectors span little area even if both are long.
The cross product is the vector with this area as its magnitude and the chosen normal as its direction. In components it is
You can remember this using a determinant:
Its direction follows the right-hand rule from toward . In particular, , and reversing the order changes the sign:
Its magnitude measures the area of the parallelogram spanned by the vectors:
A triangle has half this area. The scalar triple product gives a signed volume, so the ordinary volume of a parallelepiped is
A zero triple product means the three vectors are coplanar. A zero cross product means the two vectors are linearly dependent.
Example. A triangle has vertices , , and . Find its area and a normal vector to its plane.
Use two edges from the same vertex:
This is a normal vector, and the triangle’s area is
Products answer different geometric questions
Section titled “Products answer different geometric questions”Use a dot product when the question concerns an angle, perpendicularity, or a component along a direction. Use a cross product when it concerns a normal direction or area. The dot product returns a scalar, while the cross product returns a vector; checking the type of the answer catches many setup errors.
Cross products distribute over addition, but they do not commute. They also do not generally associate, so keep parentheses in expressions involving three cross products. The determinant shortcut is safe when the component order is fixed and the middle cofactor receives its minus sign.
Example. The edges of a parallelepiped are , , and . Find its volume and its height above the base spanned by .
The base normal is . The scalar triple product is
Thus the volume is . The base area is , so the perpendicular height is
The height is smaller than the edge length because that edge is tilted relative to the base normal. Interchanging the two base edges would reverse the normal and the signed triple product, but the volume would remain .
Parametric Equations of Lines
Section titled “Parametric Equations of Lines”A point tells us where a line is, but it does not tell us which way the line runs. A direction vector supplies that missing information. Starting from , every move along the line must be a scalar multiple of the same direction: half a step, several steps, or a negative number of steps to move backward.
This is why one parameter is enough for a line in three-dimensional space. The coordinates vary together rather than independently:
If and , the component equations are , , and . When all three direction components are nonzero, the symmetric form is
If a component is zero, write that coordinate as constant instead of dividing by zero. A segment from to uses with .
To test whether two lines intersect, give them separate parameters and solve all three coordinate equations. Nonparallel lines in space can be skew: they do not intersect and are not in a common plane.
Intersections require separate parameters
Section titled “Intersections require separate parameters”A parameter labels a point on one particular line. Two lines reaching the same spatial point need not do so at the same parameter value. Setting their parameter symbols equal imposes an extra condition that the geometry does not require. Instead, use one parameter for each line and solve for both.
Example. Find the minimum distance between the lines and , and find the two points attaining it.
The lines have directions and . These are not parallel. At the closest pair, the connecting vector must be perpendicular to both directions; otherwise sliding one endpoint along its line would reduce the distance.
The connecting vector from to is
Imposing the two perpendicularity conditions gives
Hence and . The closest points are
Their displacement is , with length . The positive minimum proves the lines are skew.
For an independent distance check, . Project the initial connecting vector onto that common normal:
The projection gives the distance quickly, while the perpendicularity equations also locate the points. For nonparallel infinite lines, the connecting vector’s common-normal component cannot change as either endpoint moves; finding a pair with no other component therefore establishes the global minimum.
For a line and a plane, substitution gives a single linear equation in the line parameter. One solution means the line crosses the plane once. An identity means every point of the line lies in the plane. A contradiction means the line is parallel to the plane and separate from it. These cases also follow from the dot product of the line direction with the plane normal: a nonzero dot product guarantees a unique intersection.
Planes in 3-Space
Section titled “Planes in 3-Space”A plane has two independent directions of motion within it. Instead of tracking both, we can describe the one direction that motion in the plane never follows: its normal. If is fixed in the plane and is another point in it, their displacement must have zero component along that normal.
Write and choose a nonzero normal . Perpendicularity gives the plane equation directly:
or . The normal is perpendicular to every displacement within the plane.
To find a plane through three noncollinear points, take the cross product of two edge vectors to obtain a normal. To find the line where two nonparallel planes intersect, cross their normals to get a direction and solve for one common point.
The distance from to is
This is the magnitude of the displacement’s scalar projection onto the normal. Similarly, the distance from to the line through with direction is .
Example. Find both planes containing the line , that are tangent to the sphere .
A plane containing the given line must vanish whenever and . Its equation can therefore be written
The case gives , which is a distance from the sphere’s center and is not tangent. For , divide through and write .
Tangency means the perpendicular distance from the center to the plane equals the sphere’s radius, one. Thus
Squaring gives , so
Both planes satisfy the original distance equation, so both are tangent. To see why this condition is enough, let be the center’s perpendicular foot on either plane. Every point in the plane satisfies . Since , a point can also lie on the sphere only when . The plane and sphere meet at exactly .
Building a plane from points
Section titled “Building a plane from points”Two independent directions within a plane are enough to determine its normal. Choose both directions from the same starting point so their geometric meaning is clear. The cross product may be multiplied by any nonzero constant without changing the plane; simplify its components before writing the equation.
Example. Find the plane through , , and . Then find the perpendicular foot from the origin to the plane.
The edge vectors are and . Their cross product is , so the plane is
A perpendicular line from the origin follows the normal: . Substituting into the plane gives . Thus the perpendicular foot is
Its distance from the origin is , agreeing with the point-to-plane distance formula. This construction finds the actual nearest point, not just the distance.
The acute angle between two planes is the acute angle between their normal lines. Use the absolute value of the normals’ dot product in the cosine formula to select that acute angle. Parallel normals mean parallel or identical planes; perpendicular normals mean perpendicular planes.
Angle between a line and a plane
Section titled “Angle between a line and a plane”A line direction is compared with the plane normal using a dot product, but that gives the angle to the normal rather than the angle to the plane itself. The acute angle to the plane is the complementary angle. If the line is parallel to the plane, its angle to the normal is a right angle and its angle to the plane is zero.
Example. Find the acute angle between a line with direction and the plane .
The plane has normal . The cosine of the angle between direction and normal is
Thus , and the angle to the plane is also . In general, if is the acute angle to a plane, use . A direction perpendicular to the plane gives a ratio of one, as it should.
Quadric Surfaces
Section titled “Quadric Surfaces”A trace is the intersection of a surface with a plane. Setting one coordinate equal to a constant reduces a 3D problem to a familiar 2D curve. Use several traces before guessing a surface from its equation.
For positive , these standard forms are centered at the origin:
| Surface | Standard equation | What to look for |
|---|---|---|
| Ellipsoid | All squared terms positive; bounded | |
| Hyperboloid of one sheet | One negative term; connected around its axis | |
| Hyperboloid of two sheets | One positive term; two separate pieces | |
| Elliptic cone | Two halves meeting at a vertex | |
| Elliptic paraboloid | Elliptical horizontal traces; one opening direction | |
| Hyperbolic paraboloid | Saddle; vertical traces open in opposite directions |
Changing which coordinate has the special sign changes the axis. Replacing by translates in the -direction, and similarly for the other coordinates.
For example, has an upward parabola in , a downward parabola in , and two intersecting lines in . These traces explain the saddle shape.
Checking the shape with traces
Section titled “Checking the shape with traces”A table of standard forms helps only after the equation has been normalized. Move the constant to one side, complete squares when necessary, and divide by the constant before comparing signs. A positive constant on the right and two positive squared terms describe a different surface from a negative constant with the same left side.
Example. Identify and describe where it exists relative to the -axis.
Divide by and rearrange:
There is one positive squared term, so this is a hyperboloid of two sheets with axis along . At , its trace is
When , there is no trace because the left side cannot be negative. At , the trace is a single point. For , the trace is an ellipse. The missing middle heights explain why there are two separate sheets.
Contrast this with . Its horizontal trace has radius for every height, so the surface stays connected through its narrowest circle. At a cone, that narrowest circle shrinks to a point instead. This trace-based reasoning is more reliable than memorizing the names from the signs alone.
Cylindrical and Spherical Coordinates
Section titled “Cylindrical and Spherical Coordinates”Cylindrical coordinates use polar coordinates in the horizontal plane:
Here and measures the angle from the positive -axis in the -plane. Use the signs of and to select the quadrant; alone loses that information.
Spherical coordinates locate a point by first choosing a ray from the origin and then traveling a distance along it. The polar angle tips the ray down from the positive -axis; the azimuth turns its horizontal projection around the vertical axis.
There are two right triangles behind the conversion formulas. In the vertical triangle, the hypotenuse is , the vertical leg is , and the horizontal leg is . In the horizontal triangle, split that leg into and . Combining these steps gives
We use , , and one full turn for . Also,
A constant gives a sphere, a constant gives a cylinder, and a constant strictly between and gives the upper half of a circular cone. Coordinates need not be unique on an axis or at the origin.
Example. Convert to cylindrical and spherical coordinates.
The horizontal distance is , and the point lies in quadrant II, so . Its distance from the origin is , and gives .
Thus one cylindrical representation is , and one spherical representation is .
Converting surfaces instead of individual points
Section titled “Converting surfaces instead of individual points”A coordinate system is useful when it simplifies a whole equation or region. Cylindrical coordinates preserve height and replace horizontal distance by . Spherical coordinates measure distance from the origin directly, so spheres centered there have especially simple equations. Neither system is automatically better just because a problem is three-dimensional.
Example. Rewrite the sphere in cylindrical and spherical coordinates, and determine the spherical bounds for its interior.
In rectangular coordinates, completing the square gives . The sphere has center and radius , touching the origin from above.
Cylindrical substitution gives
Spherical substitution gives . Away from the origin, divide by to obtain . The origin still belongs to the original surface and must be retained separately after this division.
For the interior, a ray from the origin travels from to . Since the sphere is above the horizontal plane, use
The radial upper bound depends on angle because this sphere is not centered at the origin. These same bounds will be useful for triple integrals in Chapter 4.
Reference
Section titled “Reference”Topic and section order follows Anton, Bivens, and Davis, Calculus: Early Transcendentals, 12th edition, Chapter 11, renumbered as Chapter 1 here. Explanations and worked examples on this page are original study notes.