Skip to content

Calculus 3 Review

This review covers everything from Calculus 3: vectors in 3D space, vector functions, partial derivatives, multiple integrals, vector fields, line and surface integrals, and the three big theorems (Green’s, Stokes’, Divergence). Use this as your final checkpoint.

The dot product AB=ABcosθ\mathbf{A} \cdot \mathbf{B} = \|\mathbf{A}\|\|\mathbf{B}\|\cos\theta measures how aligned two vectors are. The cross product A×B\mathbf{A} \times \mathbf{B} gives a vector perpendicular to both, with magnitude equal to the area of the parallelogram they form. Lines in 3D are parametrized as r(t)=r0+tv\mathbf{r}(t) = \mathbf{r}_0 + t\mathbf{v}, and planes are described by n(rr0)=0\mathbf{n} \cdot (\mathbf{r} - \mathbf{r}_0) = 0.

A space curve is parametrized by r(t)=x(t),y(t),z(t)\mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle. The tangent vector is r(t)\mathbf{r}'(t), the unit tangent is T=r/r\mathbf{T} = \mathbf{r}'/\|\mathbf{r}'\|, and arc length is L=abr(t)dtL = \int_a^b \|\mathbf{r}'(t)\| \, dt. Curvature κ\kappa measures how fast the curve turns.

For f(x,y,z)f(x,y,z), partial derivatives fx,fy,fzf_x, f_y, f_z measure the rate of change in each direction independently. The gradient f=fx,fy,fz\nabla f = \langle f_x, f_y, f_z \rangle points in the direction of steepest ascent. The directional derivative in direction u\mathbf{u} is Duf=fuD_\mathbf{u}f = \nabla f \cdot \mathbf{u}. Tangent planes and linear approximations extend the idea of tangent lines to surfaces.

Double integrals compute area, volume, and accumulated quantities over 2D regions. Triple integrals extend this to 3D. The key is choosing the right coordinate system:

  • Rectangular: dA=dxdydA = dx\,dy, dV=dxdydzdV = dx\,dy\,dz
  • Polar: dA=rdrdθdA = r\,dr\,d\theta
  • Cylindrical: dV=rdrdθdzdV = r\,dr\,d\theta\,dz
  • Spherical: dV=ρ2sinφdρdφdθdV = \rho^2 \sin\varphi\,d\rho\,d\varphi\,d\theta

The extra factors (r, ρ2sinφ\rho^2\sin\varphi) are Jacobians that account for how the coordinate grid stretches.

5. Vector Fields, Line Integrals, and Surface Integrals

Section titled “5. Vector Fields, Line Integrals, and Surface Integrals”

A vector field assigns a vector to each point: F(x,y,z)=P,Q,R\mathbf{F}(x,y,z) = \langle P, Q, R \rangle. The line integral CFdr\int_C \mathbf{F} \cdot d\mathbf{r} computes work done by the field along a path. The surface integral SFdS\iint_S \mathbf{F} \cdot d\mathbf{S} computes flux through a surface. Conservative fields have a potential function ff where F=f\mathbf{F} = \nabla f, and their line integrals are path-independent.

These theorems connect integrals across different dimensions. They all say the same thing: what happens on the boundary determines what’s happening inside.

Green’s Theorem (2D): line integral around a closed curve = double integral over the enclosed region

CPdx+Qdy=D(QxPy)dA\oint_C P\,dx + Q\,dy = \iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dA

Stokes’ Theorem (3D surfaces): surface integral of curl = line integral around the boundary

S(×F)dS=CFdr\iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} = \oint_C \mathbf{F} \cdot d\mathbf{r}

Divergence Theorem (3D volumes): flux through a closed surface = triple integral of divergence inside

SFdS=E(F)dV\oiint_S \mathbf{F} \cdot d\mathbf{S} = \iiint_E (\nabla \cdot \mathbf{F})\,dV

Curl measures rotation. Divergence measures sources and sinks. If curl F = 0 (and the domain is simply connected), F is conservative. If div F = 0, the field is incompressible.

Example 1: Divergence Theorem

Compute the outward flux of F=x,y,z\mathbf{F} = \langle x, y, z \rangle through the unit sphere.

Instead of parametrizing the sphere, use the Divergence Theorem. The divergence is:

F=1+1+1=3\nabla \cdot \mathbf{F} = 1 + 1 + 1 = 3

Integrate over the unit ball:

SFdS=E3dV=343π=4π\oiint_S \mathbf{F} \cdot d\mathbf{S} = \iiint_E 3\,dV = 3 \cdot \frac{4}{3}\pi = 4\pi

Example 2: Stokes’ Theorem

Evaluate the circulation of F=y,x,0\mathbf{F} = \langle -y, x, 0 \rangle around the unit circle in the xy-plane.

Compute the curl:

×F=0,0,2\nabla \times \mathbf{F} = \langle 0, 0, 2 \rangle

The flat unit disk has upward normal n=0,0,1\mathbf{n} = \langle 0,0,1 \rangle, so:

D(×F)dS=D2dA=2π\iint_D (\nabla \times \mathbf{F}) \cdot d\mathbf{S} = \iint_D 2\,dA = 2\pi

Example 3: Volume in Spherical Coordinates

Find the volume of the unit ball x2+y2+z21x^2 + y^2 + z^2 \leq 1.

In spherical coordinates, ρ\rho (rho) is the distance from the origin, φ\varphi (phi) is the angle from the positive z-axis, and θ\theta (theta) is the angle in the xy-plane. The volume element is dV=ρ2sinφdρdφdθdV = \rho^2 \sin\varphi\,d\rho\,d\varphi\,d\theta.

V=02π0π01ρ2sinφdρdφdθV = \int_0^{2\pi} \int_0^{\pi} \int_0^{1} \rho^2 \sin\varphi \, d\rho \, d\varphi \, d\theta

The innermost integral:

01ρ2dρ=13\int_0^1 \rho^2 \, d\rho = \frac{1}{3}

The middle integral:

0πsinφdφ=2\int_0^{\pi} \sin\varphi \, d\varphi = 2

The outer integral:

02πdθ=2π\int_0^{2\pi} d\theta = 2\pi

Multiply them together: V=1322π=4π3V = \frac{1}{3} \cdot 2 \cdot 2\pi = \frac{4\pi}{3}.

Example 4: Line Integral (Work)

Compute the work done by F=y,x\mathbf{F} = \langle -y, x \rangle along the unit circle from (1,0) back to (1,0), counterclockwise.

Parametrize: r(t)=cost,sint\mathbf{r}(t) = \langle \cos t, \sin t \rangle for tt from 0 to 2π2\pi.

r(t)=sint,cost\mathbf{r}'(t) = \langle -\sin t, \cos t \rangle F(r(t))=sint,cost\mathbf{F}(\mathbf{r}(t)) = \langle -\sin t, \cos t \rangle Fr=(sint)(sint)+(cost)(cost)=sin2t+cos2t=1\mathbf{F} \cdot \mathbf{r}' = (-\sin t)(-\sin t) + (\cos t)(\cos t) = \sin^2 t + \cos^2 t = 1 W=02π1dt=2πW = \int_0^{2\pi} 1\,dt = 2\pi

Example 5: Green’s Theorem

Evaluate C(x2+y)dx+(3xy)dy\oint_C (x^2 + y)\,dx + (3x - y)\,dy where C is the unit circle.

Using Green’s Theorem with P=x2+yP = x^2 + y and Q=3xyQ = 3x - y:

QxPy=31=2\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 3 - 1 = 2 CPdx+Qdy=D2dA=2π(1)2=2π\oint_C P\,dx + Q\,dy = \iint_D 2\,dA = 2 \cdot \pi(1)^2 = 2\pi

Example 6: Curl of a Rotational Field

For F=y,x,0\mathbf{F} = \langle -y, x, 0 \rangle, compute the curl.

×F=0yxz,  (y)z0x,  xx(y)y=0,0,2\nabla \times \mathbf{F} = \left\langle \frac{\partial 0}{\partial y} - \frac{\partial x}{\partial z},\; \frac{\partial(-y)}{\partial z} - \frac{\partial 0}{\partial x},\; \frac{\partial x}{\partial x} - \frac{\partial(-y)}{\partial y} \right\rangle = \langle 0, 0, 2 \rangle

The curl is a constant vector pointing straight up, confirming uniform counterclockwise rotation in the xy-plane with strength 2.

Real-World and Game Development Applications

Section titled “Real-World and Game Development Applications”
  • Gauss’s Law: the Divergence Theorem applied to electric fields. Total electric flux through a closed surface equals the enclosed charge.
  • Faraday’s Law: Stokes’ Theorem applied to the electric field. The induced voltage around a loop equals the rate of change of magnetic flux.
  • Fluid dynamics: divergence tells you where fluid is being created or destroyed. Curl tells you where it’s spinning.
  • Game engines: wind simulation uses vector fields with curl for vortices and divergence for sources/sinks. Particle emitters use divergence to control outflow. Lighting on curved surfaces uses surface integrals. Flow fields guide AI pathfinding.
The Divergence Theorem states that the outward flux through a closed surface equals
Stokes' Theorem relates the surface integral of curl F to
Positive divergence at a point in a vector field indicates
In spherical coordinates, the volume element dV is
If a vector field F is conservative, then its curl is
Green's Theorem converts a line integral around a closed curve into
The cross product A $\times$ B gives a vector that is
The gradient $\nabla f$ points in the direction of
In cylindrical coordinates, the volume element for triple integrals is
The line integral $\int_C \mathbf{F} \cdot d\mathbf{r}$ represents
Curl of a vector field measures
The surface integral $\iint_S \mathbf{F} \cdot d\mathbf{S}$ computes
If div F = 0 throughout a region, then by the Divergence Theorem the net flux through any closed surface is
Which coordinate system is usually best for integrating over a sphere or ball?
The normal vector to a parametrized surface is given by
Green's Theorem is most useful when
In game development, the Divergence Theorem helps efficiently compute
If curl F = 0 and the domain is simply connected, then F is
The Jacobian factor in polar coordinates for double integrals is
The three major theorems of vector calculus (Green's, Stokes', Divergence) fundamentally show that