Multivariable Calculus
Calculus in three dimensions. Vectors, lines and planes in space; curves and their lengths; surfaces you can turn, slice and climb with partial derivatives and gradients; highest and lowest points, with and without constraints; integrals over regions, solids, curves and surfaces; and the theorems of Green, Stokes and Gauss, where a region's boundary tells what happens inside.
Lessons
- Points and vectors in space: A point in space has three coordinates and its distance comes from Pythagoras twice; a vector is a displacement given by its components, added tip to tail and scaled component by component.
- The dot product: $\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + u_3 v_3$ equals $|\mathbf{u}|\,|\mathbf{v}| \cos\theta$, so it finds the angle between two vectors, tests for right angles and measures how much of one lies along the other.
- The cross product: $\mathbf{u} \times \mathbf{v}$ is a vector at right angles to both, pointing by the right-hand rule, whose length is the area of the parallelogram they span.
- Lines in space: A line in space is a point plus every multiple of a direction, $\mathbf{r}(t) = \mathbf{r}_0 + t\mathbf{v}$; two lines in space can meet, run parallel, or pass each other as skew lines.
- Planes: A plane is every point $P$ with $\mathbf{n} \cdot \overrightarrow{P_0P} = 0$, which multiplies out to $ax + by + cz = d$ with the normal $\langle a, b, c \rangle$ read off the coefficients.
- Curves as vector functions: A curve in space is traced by a vector function $\mathbf{r}(t)$; differentiating each component gives the velocity $\mathbf{r}'(t)$, which is tangent to the curve and as long as the speed.
- Arc length: The length of a curve is the integral of its speed, $\int_a^b |\mathbf{r}'(t)|\,dt$, which adds up the tiny straight steps the moving point takes.
- Functions of two variables and level curves: The graph of $z = f(x, y)$ is a surface, and slicing it at heights $k$ gives the level curves $f(x, y) = k$, a contour map that is crowded where the surface is steep.
- Limits in two variables: A limit at a point of the plane must come out the same along every path into it, so two paths that give different values prove the limit doesn't exist.
- Partial derivatives: $f_x$ is the slope of the surface walking in the $x$ direction with $y$ held fixed, found by differentiating in $x$ with $y$ treated as a constant; $f_y$ is the same in the $y$ direction.
- Tangent planes and linear approximation: Close to a point where $f$ is differentiable its surface is nearly flat, the tangent plane $z = f(a, b) + f_x(a, b)(x - a) + f_y(a, b)(y - b)$, which gives linear approximations.
- The chain rule in several variables: When $x$ and $y$ both depend on $t$, $z = f(x, y)$ changes at $\frac{dz}{dt} = f_x \frac{dx}{dt} + f_y \frac{dy}{dt}$, the change carried through each variable, added up.
- The gradient and directional derivatives: The gradient $\nabla f = \langle f_x, f_y \rangle$ points the way the surface climbs fastest, its length is that steepest slope, and the slope in a unit direction $\mathbf{u}$ is $\nabla f \cdot \mathbf{u}$.
- Gradients and level surfaces: The gradient is at right angles to the level curve or level surface through its point, so $\nabla F$ is a normal vector, which gives the tangent plane to any surface $F(x, y, z) = k$.
- Local maxima, minima and saddle points: At a smooth local maximum or minimum both partial derivatives are zero, and the second derivative test, $D = f_{xx} f_{yy} - f_{xy}^2$, tells a maximum, a minimum and a saddle apart.
- Absolute extrema on a closed region: A continuous function on a closed, bounded region has a greatest and a least value, and they are found among the critical points inside and the best points on the boundary.
- Lagrange multipliers: At the highest or lowest value of $f$ on a constraint curve $g = c$, a level curve of $f$ just touches the constraint, so the two gradients are parallel, $\nabla f = \lambda \nabla g$.
- Double integrals over rectangles: A double integral adds up $f(x, y)\,\Delta A$ over a region, the volume under a surface; over a rectangle it is an iterated integral, one variable at a time, in either order.
- Double integrals over general regions: Over a region between two curves the inner limits are functions of the outer variable, and reversing the order means redrawing the region and reading new limits off it.
- Double integrals in polar coordinates: In polar coordinates a small patch has area $r\,\Delta r\,\Delta\theta$, wider the farther it sits from the origin, so $dA = r\,dr\,d\theta$, which makes discs, rings and wedges easy.
- Triple integrals: A triple integral adds $f\,\Delta V$ over a solid, with its limits stacked from the inside out; with $f = 1$ it gives the volume, and with a density it gives the mass.
- Cylindrical coordinates: Cylindrical coordinates are polar coordinates with a height, and their volume element is $r\,dz\,dr\,d\theta$, the natural fit for cylinders, cones and paraboloids.
- Spherical coordinates: Spherical coordinates place a point by its distance $\rho$ from the origin and two angles, and a small box has volume $\rho^2 \sin\phi\,d\rho\,d\phi\,d\theta$, the natural fit for balls and cones.
- Change of variables and the Jacobian: A substitution $x = x(u, v)$, $y = y(u, v)$ stretches small areas by the absolute value of its Jacobian determinant, so $dA = |J|\,du\,dv$.
- Vector fields: A vector field attaches an arrow to every point, such as a velocity or a force, and a gradient field's arrows cross the level curves of its potential at right angles.
- Line integrals along a curve: A line integral $\int_C f\,ds$ adds a quantity along a curve, such as the mass of a wire, by parametrising the curve and putting $ds = |\mathbf{r}'(t)|\,dt$.
- Work and line integrals of vector fields: The work a force field does along a path is $\int_C \mathbf{F} \cdot d\mathbf{r} = \int_a^b \mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{r}'(t)\,dt$, the part of the force along each small step, added up.
- Conservative fields: If $\mathbf{F} = \nabla f$, the work from $A$ to $B$ is $f(B) - f(A)$ along every path, and so zero round any loop; in the plane, $P_y = Q_x$ tests whether such an $f$ exists.
- Green's theorem: The circulation of $\langle P, Q \rangle$ round a closed curve equals the double integral of $Q_x - P_y$ over the region inside, because the little circulations inside cancel along every shared edge.
- Curl and divergence: The divergence $\nabla \cdot \mathbf{F}$ measures how much a field spreads out from a point, and the curl $\nabla \times \mathbf{F}$ how fast it swirls round it, and about which axis.
- Parametric surfaces and their area: A surface traced by $\mathbf{r}(u, v)$ has tangent vectors $\mathbf{r}_u$ and $\mathbf{r}_v$, which span a small parallelogram of area $|\mathbf{r}_u \times \mathbf{r}_v|\,du\,dv$; adding those up gives the surface area.
- Flux through a surface: The flux of $\mathbf{F}$ through a surface, $\iint_S \mathbf{F} \cdot \mathbf{n}\,dS = \iint \mathbf{F} \cdot (\mathbf{r}_u \times \mathbf{r}_v)\,du\,dv$, measures how much of the field flows through it each second.
- Stokes' theorem: The circulation of $\mathbf{F}$ round the edge of a surface equals the flux of $\nabla \times \mathbf{F}$ through it, whatever the surface's shape; it is Green's theorem lifted off the plane.
- The divergence theorem: The flux of $\mathbf{F}$ out of a closed surface equals the integral of $\nabla \cdot \mathbf{F}$ over the solid inside, since whatever flows out must have spread out from somewhere within.