Scroll to turn the page
Multivariable Calculus · Multivariable Calculus
three numbers for every point
Single-variable calculus lives on a line and in the plane. Multivariable calculus moves into space, where a point needs three numbers and a direction needs a vector.
This chapter builds the language the rest of the book is written in: coordinates in three dimensions, vectors and the two ways to multiply them, and the simplest objects in space, lines and planes, and the curved quadric surfaces.
The figure walks from the origin to the point (3, 2, 4), one axis at a time, then takes the straight way there. Its length, √29, comes from using the Pythagorean theorem twice.
Everything later builds on these tools. Tangent planes need normal vectors (Chapter 3), gradients are vectors (Chapter 4), and flux needs the cross product (Chapter 7).
x, y, z and the distance between points
Three mutually perpendicular axes meet at the origin O. Point the fingers of your right hand along the positive x-axis and curl them toward the positive y-axis: your thumb points along the positive z-axis. That is a right-handed system, the one every textbook uses.
The point P(3, 2, 4) is a corner of a box 3 by 2 by 4 whose opposite corner is O. Its distance from O is the box’s long diagonal. The diagonal of the floor is √(3² + 2²), and that is one leg of a right triangle whose other leg is the height 4:
Between any two points the same idea gives the distance formula:
From (1, −1, 1) to (3, 2, 4) the differences are 2, 3 and 3, so d = √22 ≈ 4.690.
The points at a fixed distance r from a center (a, b, c) form a sphere: (x − a)² + (y − b)² + (z − c)² = r². In space, the equation z = 4 is not a line but a whole plane, parallel to the floor.
a length and a direction
A vector has a length and a direction but no fixed place. Its components are how far it goes along each axis: u = ⟨2, 1, 2⟩ = 2i + j + 2k, where i, j, k are unit vectors along the axes.
Adding is done component by component, and drawn tip to tail: slide v so it starts where u ends, and the sum runs from the start of u to the end of v.
The sum is the diagonal of the parallelogram the two vectors span, and u + v = v + u.
Scaling multiplies every component: 2u = ⟨4, 2, 4⟩ is twice as long, and −u points the other way. Dividing a vector by its length gives the unit vector in its direction:
how much two vectors agree
The dot product multiplies matching components and adds. The answer is a number, not a vector:
It also measures the angle θ between the vectors, by the law of cosines:
The sign tells the story. Positive means the angle is acute, zero means the vectors are perpendicular (orthogonal), and negative means it is obtuse. In the figure v swings around while keeping its length, and the readout shows u · v following |u||v| cos θ.
The projection of v onto u is the shadow v casts on the line of u:
The work done by a force F over a displacement D is F · D: only the part of the force along the motion counts.
a vector perpendicular to both
The cross product of two vectors in space is a third vector, perpendicular to both. It is easiest to compute as a determinant:
Check that it is perpendicular to both: ⟨−6, 2, 5⟩ · ⟨2, 1, 2⟩ = −12 + 2 + 10 = 0, and ⟨−6, 2, 5⟩ · ⟨1, 3, 0⟩ = −6 + 6 + 0 = 0.
Its length is the area of the parallelogram that u and v span:
Its direction follows the right-hand rule: curl your fingers from u toward v and your thumb points along u × v. Swapping the order flips it, so v × u = −(u × v). Parallel vectors span no area, so their cross product is 0. As v swings in the figure, the arrow is longest when the angle is 90°.
With a third vector w, the triple product |w · (u × v)| is the volume of the slanted box the three span.
a point and a direction
A line in space is fixed by one point on it, r0, and a direction vector d. Every point on the line is r0 plus some multiple of d:
Written one coordinate at a time, these are the parametric equations x = 1 + 2t, y = t, z = 3 − t. Solving each for t gives the symmetric equations:
In the plane, two lines either cross or are parallel. In space there is a third option. The blue line ⟨0, 3, 1⟩ + s⟨1, −1, 1⟩ is not parallel to the first, since its direction is not a multiple of ⟨2, 1, −1⟩, yet the two never meet. They are skew.
The shortest distance between them runs along d1 × d2 = ⟨0, −3, −3⟩, which is perpendicular to both lines. Project the vector between their base points onto it: |⟨−1, 3, −2⟩ · ⟨0, −3, −3⟩| / √18 = 3/√18 ≈ 0.707.
a point and a normal
A plane is fixed by one point r0 on it and a normal vector n perpendicular to it. A point r lies in the plane exactly when the arrow from r0 to r is perpendicular to n:
With n = ⟨1, 2, 2⟩ and r0 = (1, 1, 1): 1(x − 1) + 2(y − 1) + 2(z − 1) = 0, or
The coefficients of x, y, z are the normal, so a normal can be read straight off any plane’s equation. The distance from a point (x0, y0, z0) to the plane ax + by + cz = d is below; from the origin it is |0 − 5|/√9 = 5/3.
To find where a line crosses the plane, substitute it in. For the line of 1.5: (1 + 2t) + 2t + 2(3 − t) = 5 gives 7 + 2t = 5, so t = -1 and the point is (−1, −1, 4).
second-degree equations, seen through their traces
A first-degree equation in x, y, z is a plane. A second-degree one is a quadric surface. Six shapes cover nearly every case, and each is recognized by its traces, the curves where it meets the planes x = k, y = k or z = k.
| surface | equation | traces |
|---|---|---|
| ellipsoid | x²/4 + y²/4 + z² = 1 | all ellipses |
| elliptic paraboloid | z = x² + y² | circles across, parabolas down |
| hyperbolic paraboloid | z = x² − y² | hyperbolas across, parabolas down |
| cone | z² = x² + y² | circles across; two crossing lines through the axis |
| hyperboloid, one sheet | x² + y² − z² = 1 | circles across, hyperbolas down |
| hyperboloid, two sheets | z² − x² − y² = 1 | circles for |z| > 1, none between |
The saddle z = x² − y² rises along the x-axis and falls along the y-axis, so the origin is a minimum one way and a maximum the other. Chapter 4 will call such a point a saddle point.
The figure turns one surface into the next. Count the minus signs. With none, the surface is closed (ellipsoid). With one, it is a hyperboloid of one sheet. With two, it is a hyperboloid of two sheets. When one variable appears only to the first power, the surface is a paraboloid.