Calculus III

Multivariable calculus and vector fields: vectors, motion in space, partial derivatives, gradients and Lagrange multipliers, multiple integrals, and the theorems of Green, Stokes and Gauss, with four computer labs on winds, terrain, lakes and orbits.

NASA Blue MarbleCNES (PIA25623)NASA/JPL-CaltechNASA/Kim Shiflett (KSC-20210927-PH-KLS04_0013, Sept. 27, 2021)

Courses › MATH 210

Download the PDF study guide

About this course

This is a free self-study course outline written by Saving Planets. It is not a university course, it carries no academic credit, and no school is involved.

Its scope follows third-semester college calculus, modeled on the topics and depth of open materials such as OpenStax Calculus Volume 3 and MIT OpenCourseWare 18.02 Multivariable Calculus, and on the syllabi of courses such as Stanford Math 51/52 and Georgia Tech MATH 2551. We link to the free materials throughout. None of those organizations endorses this page.

What we add: every unit connects to real wind, ocean, terrain, climate and satellite problems with a cited public source, every number on the page is re-computed by a checking script before it goes live, and four computer labs apply the ideas to wind fields, elevation grids, lake volumes and orbits.

Work through it in order. Each unit has goals, key ideas, equations, step-by-step examples, practice with full answers, common mistakes, flashcards and a quiz. Your progress is saved only in this browser.

How this course helps save the planet

The planet is three-dimensional and always moving. Winds and ocean currents are vector fields, terrain and temperature are functions of two or three variables, heat and pollutants cross surfaces as flux, and the satellites that measure all of this follow vector-valued paths in space.

Each unit ends with a short, sourced section showing how its ideas help both people and nature.

Back to top

Before you start

Prerequisites

  • Calculus I and II: derivatives, integrals, substitution and integration by parts, parametric and polar curves.
  • Basic trigonometry and the equation of a circle and sphere.
  • Physics I helps for the work, flux and orbit examples but is not required.

How to study

  • Draw a 3D picture for every problem: axes, the region, the vectors.
  • Do every practice problem on paper before opening the answer.
  • Check units and signs: a flux, work or circulation should make physical sense.
  • For multiple integrals, sketch the region and write the limits before integrating anything.
  • Use a 3D grapher (Desmos 3D or GeoGebra 3D) to see surfaces and fields.
  • Retake the quizzes a few days later. Spaced practice beats one long session.

Lab equipment (for the wet labs)

  • A computer or tablet with a spreadsheet.
  • A free 3D grapher such as Desmos 3D or GeoGebra 3D.
  • Optional: Python with NumPy (free in Google Colab).

Back to top

Suggested 15-week schedule

About 6 to 9 hours a week: reading, practice problems and, in lab weeks, the lab.

WeekUnitTopicsReading
1Vectors and the Geometry of Space3D coordinates, vectors, dot productOpenStax 2.1–2.3
2Vectors and the Geometry of SpaceCross product, lines and planesOpenStax 2.4–2.5
3Vector Functions and Motion in SpaceVector functions, motion in space, curvature; Lab DOpenStax 3.1–3.4
4Partial DerivativesFunctions of several variables, limits, partial derivativesOpenStax 4.1–4.3
5Partial DerivativesTangent planes, linear approximation, chain ruleOpenStax 4.4–4.5
6Gradients and OptimizationGradient, directional derivatives, extremaOpenStax 4.6–4.7
7Gradients and OptimizationLagrange multipliers; Lab B; midterm practiceOpenStax 4.8
8Double IntegralsDouble integrals over rectangles and general regionsOpenStax 5.1–5.2
9Double IntegralsPolar double integrals; Lab COpenStax 5.3
10Triple Integrals and Change of VariablesTriple integrals; cylindrical and spherical coordinatesOpenStax 5.4–5.5
11Triple Integrals and Change of VariablesMass and center of mass; change of variablesOpenStax 5.6–5.7
12Vector Fields, Line Integrals and Green’s TheoremVector fields, line integrals, conservative fields, Green’s theoremOpenStax 6.1–6.4
13Surface Integrals, Stokes’ and the Divergence TheoremDivergence and curl; surface integrals and fluxOpenStax 6.5–6.6
14Surface Integrals, Stokes’ and the Divergence TheoremStokes’ and Divergence theorems; Lab AOpenStax 6.7–6.8
15ReviewReview and final practice setAll units

Back to top

Your progress

Tick units and labs as you finish them, and take the quizzes. Progress and quiz scores are saved only in this browser, never sent to us.

Turn on JavaScript to track progress.

Back to top

Unit 1 · Weeks 1–2

Vectors and the Geometry of Space

3D coordinates, vectors, the dot and cross products, and equations of lines and planes.

Learning objectives

By the end of this unit you can:

  • Add, scale and find the length of vectors in 3D.
  • Use the dot product for angles and projections.
  • Use the cross product for normals, areas and volumes.
  • Write equations of lines and planes, and find distances.

Key concepts

  • A vector has magnitude and direction; in components, v = ⟨v₁, v₂, v₃⟩ and |v| = √(v₁² + v₂² + v₃²).
  • The dot product a · b = |a||b| cos θ measures how much two vectors point the same way. It is zero exactly when they are perpendicular.
  • The cross product a × b is perpendicular to both, with length equal to the area of the parallelogram they span.
  • A plane is fixed by a point and a normal vector n: n · (r − r₀) = 0. A line is a point plus multiples of a direction: r = r₀ + t v.

Key equations

a⋅b=∣a∣∣b∣cos⁡θ\mathbf a\cdot\mathbf b=|\mathbf a||\mathbf b|\cos\theta
Dot product and angle
proj⁡ba=a⋅b∣b∣2b\operatorname{proj}_{\mathbf b}\mathbf a=\frac{\mathbf a\cdot\mathbf b}{|\mathbf b|^2}\mathbf b
Projection
∣a×b∣=∣a∣∣b∣sin⁡θ|\mathbf a\times\mathbf b|=|\mathbf a||\mathbf b|\sin\theta
Cross product length = parallelogram area
a(x−x0)+b(y−y0)+c(z−z0)=0a(x-x_0)+b(y-y_0)+c(z-z_0)=0
Plane with normal ⟨a, b, c⟩
D=∣ax1+by1+cz1−d∣a2+b2+c2D=\frac{|ax_1+by_1+cz_1-d|}{\sqrt{a^2+b^2+c^2}}
Distance from a point to the plane ax + by + cz = d

Worked examples, step by step

Example 1.1 For a = ⟨1, 2, 2⟩ and b = ⟨2, −1, 2⟩, find |a|, a · b and the angle between them.

Show the steps
  1. |a| = √(1 + 4 + 4) = 3, and |b| = 3 too.
  2. a · b = 2 − 2 + 4 = 4.
  3. cos θ = 4/9, so θ = arccos(0.444).

Answer: |a| = 3, a · b = 4, θ ≈ 63.6°.

Example 1.2 Find a × b for the same vectors and the area of the parallelogram they span.

Show the steps
  1. a × b = ⟨2·2 − 2·(−1), 2·2 − 1·2, 1·(−1) − 2·2⟩.
  2. = ⟨6, 2, −5⟩. Check: it dots to 0 with a and with b.
  3. Area = |⟨6, 2, −5⟩| = √65.

Answer: ⟨6, 2, −5⟩; area √65 ≈ 8.06.

Example 1.3 A wind of 10 m/s blows at 30° to the axis of a wind turbine’s rotor. What fraction of the head-on power does the turbine see, if power grows with the cube of the wind speed along its axis?

Show the steps
  1. Component along the axis: 10 cos 30° = 8.66 m/s (a dot product with the unit axis vector).
  2. Power ratio = (cos 30°)³.

Answer: About 0.65: a 30° misalignment loses roughly a third of the power, which is why turbines yaw to face the wind.

Practice problems

Work each on paper first, then check.

  1. Find the plane through (1, 0, 0), (0, 2, 0) and (0, 0, 3).

    Show answer

    Intercept form x/1 + y/2 + z/3 = 1, i.e. 6x + 3y + 2z = 6.

  2. Find the distance from the origin to that plane.

    Show answer

    |−6|/√(36 + 9 + 4) = 6/7 ≈ 0.857.

  3. Find the projection of ⟨3, 4, 0⟩ onto ⟨1, 0, 0⟩.

    Show answer

    ⟨3, 0, 0⟩.

  4. Find the volume of the box (parallelepiped) spanned by ⟨1, 0, 0⟩, ⟨0, 2, 0⟩ and ⟨1, 1, 3⟩.

    Show answer

    |a · (b × c)| = det = 1·(2·3 − 0·1) = 6.

  5. Are ⟨1, 2, 3⟩ and ⟨3, 0, −1⟩ perpendicular?

    Show answer

    Dot product 3 + 0 − 3 = 0, so yes.

Common misconceptions

  • Myth: a × b = b × a.

    Actually: The cross product is anti-commutative: b × a = −(a × b).

  • Myth: The dot product of two vectors is a vector.

    Actually: It is a scalar (a number).

  • Myth: A plane’s equation tells you its direction.

    Actually: Its coefficients give the normal, which is perpendicular to the plane.

Flashcards

  • Dot product

    a · b = |a||b| cos θ; zero when perpendicular.

  • Cross product

    Perpendicular to both; length = parallelogram area.

  • Projection

    (a · b/|b|²) b.

  • Triple product

    |a · (b × c)| = box volume.

  • Plane

    n · (r − r₀) = 0.

  • Line

    r = r₀ + t v.

Self-check quiz

1. If a · b = 0 (both nonzero), the vectors are…

Show answer

perpendicular. cos θ = 0, so θ = 90°.

2. The length of a × b equals…

Show answer

the parallelogram’s area. |a||b| sin θ.

3. The normal to 2x − y + 5z = 7 is…

Show answer

⟨2, −1, 5⟩. Read off the coefficients.

4. |⟨2, 3, 6⟩| =

Show answer

7. √(4 + 9 + 36) = √49.

How this helps save the planet

Wind is a vector, and turbines turn their rotors to face it because power depends on the cube of the component along the rotor axis, a dot product in disguise.

The same arithmetic tells a solar panel how much sunlight it catches: the useful part is the dot product of the sunlight direction with the panel’s normal vector.

On Saving Planets: Physics I, Unit 3: wind power

Sources: U.S. DOE: How do wind turbines work? · OpenStax Calculus 3, 2.3 The Dot Product

Free learning resources

Back to top

Unit 2 · Week 3

Vector Functions and Motion in Space

Curves in space as vector-valued functions: velocity, acceleration, arc length, curvature, and the motion of satellites.

Learning objectives

By the end of this unit you can:

  • Differentiate and integrate vector-valued functions.
  • Find velocity, speed and acceleration along a path.
  • Compute arc length and curvature.
  • Analyze circular orbits with vector calculus.

Key concepts

  • A space curve is r(t) = ⟨x(t), y(t), z(t)⟩; differentiate component by component.
  • Velocity v = r′(t) is tangent to the path; speed is |v|; acceleration is a = v′.
  • Arc length is the integral of speed: L = ∫|r′(t)| dt.
  • In uniform circular motion the speed is constant but the acceleration points to the center with size v²/r.

Key equations

v=r′(t), a=r′′(t)\mathbf v=\mathbf r'(t),\ \mathbf a=\mathbf r''(t)
Velocity and acceleration
L=∫ab∣r′(t)∣ dtL=\int_a^b|\mathbf r'(t)|\,dt
Arc length
κ=∣r′×r′′∣∣r′∣3\kappa=\frac{|\mathbf r'\times\mathbf r''|}{|\mathbf r'|^3}
Curvature
v=GM/r, T=2πr/vv=\sqrt{GM/r},\ T=2\pi r/v
Circular orbit speed and period

Worked examples, step by step

Example 2.1 Find the length of one turn of the helix r(t) = ⟨cos t, sin t, t⟩, 0 ≤ t ≤ 2π.

Show the steps
  1. r′ = ⟨−sin t, cos t, 1⟩, speed √(sin²t + cos²t + 1) = √2.
  2. L = ∫₀^(2π) √2 dt = 2π√2.

Answer: 2π√2 ≈ 8.89.

Example 2.2 Landsat 9 orbits 705 km above Earth (mean radius 6,371 km). Treating the orbit as a circle, find its speed, acceleration and period.

Show the steps
  1. r = 7,076 km = 7.076 × 10⁶ m; GM = 3.986 × 10¹⁴ m³/s².
  2. v = √(GM/r) = 7,505 m/s.
  3. a = v²/r = 7.96 m/s², pointing to Earth’s center.
  4. T = 2πr/v = 5,924 s.

Answer: About 7.5 km/s and 98.7 minutes per orbit, matching NASA’s listed 99-minute period.

Example 2.3 Find the curvature of a circle of radius 2, r(t) = ⟨2 cos t, 2 sin t, 0⟩.

Show the steps
  1. r′ = ⟨−2 sin t, 2 cos t, 0⟩, |r′| = 2.
  2. r′′ = ⟨−2 cos t, −2 sin t, 0⟩; r′ × r′′ = ⟨0, 0, 4⟩.
  3. κ = 4/2³.

Answer: κ = 1/2: a circle’s curvature is 1/radius.

Practice problems

Work each on paper first, then check.

  1. A projectile has r(t) = ⟨20t, 20t − 4.9t²⟩ m. Find its velocity and speed at t = 1 s.

    Show answer

    v = ⟨20, 20 − 9.8t⟩ = ⟨20, 10.2⟩; speed √(400 + 104.04) ≈ 22.45 m/s.

  2. Find the acceleration of r(t) = ⟨t², 3t, eᵗ⟩.

    Show answer

    ⟨2, 0, eᵗ⟩.

  3. Find the length of r(t) = ⟨3t, 4t, 0⟩ for 0 ≤ t ≤ 2.

    Show answer

    Speed 5, so L = 10.

  4. A satellite orbits at 35,786 km altitude. Find its period.

    Show answer

    r = 42,157 km; T = 2π√(r³/GM) ≈ 86,160 s ≈ 23.93 h: one sidereal day, so it is geostationary.

Common misconceptions

  • Myth: Constant speed means zero acceleration.

    Actually: Turning is acceleration: a satellite in a circular orbit accelerates toward Earth the whole time.

  • Myth: Arc length is |r(b) − r(a)|.

    Actually: That is the straight-line distance; arc length integrates speed along the path.

  • Myth: Higher satellites move faster.

    Actually: v = √(GM/r) falls with distance; higher orbits are slower and longer.

Flashcards

  • Vector function

    r(t) = ⟨x(t), y(t), z(t)⟩.

  • Velocity

    r′(t), tangent to the path.

  • Speed

    |r′(t)|.

  • Arc length

    ∫|r′| dt.

  • Curvature

    |r′ × r′′|/|r′|³.

  • Circular orbit

    v = √(GM/r).

Self-check quiz

1. Velocity is…

Show answer

r′(t). The derivative of position.

2. Arc length integrates…

Show answer

speed. L = ∫|r′| dt.

3. Curvature of a circle of radius 5 is…

Show answer

1/5. κ = 1/R.

4. Doubling a circular orbit’s radius changes its speed by a factor…

Show answer

1/√2. v ∝ 1/√r.

How this helps save the planet

Earth-observing satellites such as Landsat 9 follow vector paths chosen with exactly these formulas. Its near-polar, sun-synchronous orbit at 705 km lets it image the same place every 16 days at about the same local time, so changes in forests, glaciers and cities stand out.

On Saving Planets: Landsat 9 · Calculus II, Unit 7: polar orbits

Sources: NASA: Landsat 9 quick facts · NASA Earth fact sheet

Free learning resources

Back to top

Unit 3 · Weeks 4–5

Partial Derivatives

Functions of several variables: level curves, partial derivatives, tangent planes, linear approximation and the multivariable chain rule.

Learning objectives

By the end of this unit you can:

  • Read level curves and contour maps.
  • Compute partial derivatives and interpret them as rates.
  • Find tangent planes and use linear approximation.
  • Apply the multivariable chain rule.

Key concepts

  • A function z = f(x, y) is a surface; its level curves f = c are a contour map.
  • ∂f/∂x is the rate of change in x with y held fixed.
  • Near a point, a smooth surface looks like its tangent plane: Δf ≈ fₓΔx + f_yΔy.
  • Chain rule: if x and y depend on t, df/dt = fₓ dx/dt + f_y dy/dt.

Key equations

fx=∂f∂xf_x=\frac{\partial f}{\partial x}
Partial derivative
z−z0=fx(x0,y0)(x−x0)+fy(x0,y0)(y−y0)z-z_0=f_x(x_0,y_0)(x-x_0)+f_y(x_0,y_0)(y-y_0)
Tangent plane
dfdt=fxdxdt+fydydt\frac{df}{dt}=f_x\frac{dx}{dt}+f_y\frac{dy}{dt}
Chain rule
fxy=fyxf_{xy}=f_{yx}
Clairaut’s theorem (smooth f)

Worked examples, step by step

Example 3.1 For f(x, y) = x²y + y³, find fₓ and f_y at (1, 2), and use the tangent plane to estimate f(1.1, 1.9).

Show the steps
  1. fₓ = 2xy = 4; f_y = x² + 3y² = 13; f(1, 2) = 10.
  2. f ≈ 10 + 4(0.1) + 13(−0.1) = 9.1.
  3. True value: 1.21 × 1.9 + 6.859 = 9.158.

Answer: Estimate 9.1 versus the true 9.158.

Example 3.2 For an ideal gas, P = nRT/V. With n = 1 mol, T = 300 K and V = 0.025 m³, find P, ∂P/∂T and ∂P/∂V.

Show the steps
  1. P = 8.314 × 300/0.025 = 99,768 Pa.
  2. ∂P/∂T = nR/V = 332.6 Pa/K.
  3. ∂P/∂V = −nRT/V² = −P/V = −3.99 × 10⁶ Pa/m³.

Answer: P ≈ 99.8 kPa; warming 1 K raises it about 333 Pa; expanding lowers it.

Example 3.3 A drone flies with x = 2t, y = t². The temperature it measures is T = 20 + 0.1x − 0.05y (°C, km). Find dT/dt at t = 1.

Show the steps
  1. Tₓ = 0.1, T_y = −0.05; dx/dt = 2, dy/dt = 2t = 2.
  2. dT/dt = 0.1(2) − 0.05(2).

Answer: 0.1 °C per unit time.

Practice problems

Work each on paper first, then check.

  1. Find fₓ and f_y for f = e^(xy).

    Show answer

    fₓ = y e^(xy), f_y = x e^(xy).

  2. Find f_xy for f = x³y².

    Show answer

    fₓ = 3x²y², f_xy = 6x²y (same as f_yx).

  3. Find the tangent plane to z = x² + y² at (1, 1, 2).

    Show answer

    z = 2 + 2(x − 1) + 2(y − 1), i.e. z = 2x + 2y − 2.

  4. Estimate √(3.02² + 3.97²) by linear approximation at (3, 4).

    Show answer

    f = 5, fₓ = 3/5, f_y = 4/5: 5 + 0.6(0.02) + 0.8(−0.03) = 4.988 (true 4.9880).

Common misconceptions

  • Myth: ∂f/∂x ignores y.

    Actually: It holds y fixed; y can still appear in the answer.

  • Myth: If both partials exist, f is smooth.

    Actually: Partials can exist where f is not even continuous; differentiability needs more.

  • Myth: Linear approximation is good anywhere.

    Actually: Only near the base point.

Flashcards

  • Partial derivative

    Rate of change in one variable with the others fixed.

  • Level curve

    f(x, y) = c; a contour line.

  • Tangent plane

    z = z₀ + fₓΔx + f_yΔy.

  • Linear approximation

    Δf ≈ fₓΔx + f_yΔy.

  • Chain rule

    df/dt = fₓx′ + f_yy′.

  • Clairaut

    f_xy = f_yx for smooth f.

Self-check quiz

1. For f = x²y, fₓ =

Show answer

2xy. Treat y as a constant.

2. Level curves of f(x, y) = x² + y² are…

Show answer

circles. x² + y² = c.

3. For smooth f, f_xy and f_yx are…

Show answer

equal. Clairaut’s theorem.

4. df/dt for f(x(t), y(t)) is…

Show answer

fₓx′ + f_yy′. Multivariable chain rule.

How this helps save the planet

Weather maps are contour maps of functions of two variables: isobars are level curves of pressure, isotherms of temperature. Partial derivatives tell forecasters how fast pressure or temperature changes eastward or northward, which drives the winds.

On Saving Planets: Calculus I

Sources: NOAA/NWS JetStream: Wind · OpenStax Calculus 3, 4.3 Partial Derivatives

Free learning resources

Back to top

Unit 4 · Weeks 6–7

Gradients and Optimization

The gradient vector, directional derivatives, critical points and the second-derivative test, and constrained optimization with Lagrange multipliers.

Learning objectives

By the end of this unit you can:

  • Compute the gradient and directional derivatives.
  • Explain why the gradient points uphill and is perpendicular to level curves.
  • Classify critical points with the second-derivative test.
  • Solve constrained problems with Lagrange multipliers.

Key concepts

  • ∇f = ⟨fₓ, f_y⟩ points in the direction of fastest increase, and its length is that fastest rate.
  • The rate of change in the direction of a unit vector u is D_u f = ∇f · u.
  • The gradient is perpendicular to level curves, so water flows downhill along −∇h, across the contours.
  • At an interior extremum ∇f = 0. The test D = f_xx f_yy − f_xy² decides: D > 0 and f_xx > 0 is a minimum; D < 0 is a saddle.
  • To optimize f subject to g = c, solve ∇f = λ∇g: at the best point the level curve of f just touches the constraint.

Key equations

∇f=⟨fx,fy,fz⟩\nabla f=\langle f_x,f_y,f_z\rangle
Gradient
Duf=∇f⋅uD_{\mathbf u}f=\nabla f\cdot\mathbf u
Directional derivative
D=fxxfyy−fxy2D=f_{xx}f_{yy}-f_{xy}^2
Second-derivative test
∇f=λ∇g,g=c\nabla f=\lambda\nabla g,\quad g=c
Lagrange multiplier condition

Worked examples, step by step

Example 4.1 A hill has height h(x, y) = 500 − 0.01x² − 0.02y² (meters, x and y in meters). At (100, 50), find ∇h, the steepest slope, and the slope heading toward ⟨3, 4⟩/5.

Show the steps
  1. ∇h = ⟨−0.02x, −0.04y⟩ = ⟨−2, −2⟩.
  2. Steepest uphill rate |∇h| = 2√2 = 2.83 m per m.
  3. D_u h = ⟨−2, −2⟩ · ⟨0.6, 0.8⟩ = −2.8.

Answer: Steepest climb 2.83 (uphill toward ⟨−1, −1⟩); heading ⟨3, 4⟩ you descend 2.8 m per m. Rain runs off along −∇h.

Example 4.2 Find and classify the critical point of f = x² + xy + y² − 3x.

Show the steps
  1. fₓ = 2x + y − 3 = 0, f_y = x + 2y = 0 give x = 2, y = −1.
  2. f_xx = 2, f_yy = 2, f_xy = 1: D = 3 > 0, f_xx > 0.
  3. f(2, −1) = 4 − 2 + 1 − 6 = −3.

Answer: A minimum, f = −3 at (2, −1).

Example 4.3 A can must hold 1 liter (1,000 cm³). Which radius and height use the least metal (closed cylinder)?

Show the steps
  1. Minimize A = 2πr² + 2πrh with g = πr²h = 1,000.
  2. ∇A = λ∇g gives 4πr + 2πh = λ2πrh and 2πr = λπr², so λ = 2/r and h = 2r.
  3. πr²(2r) = 1,000 gives r = (500/π)^(1/3).

Answer: r ≈ 5.42 cm, h ≈ 10.84 cm (height = diameter), area ≈ 554 cm².

Practice problems

Work each on paper first, then check.

  1. Find ∇f for f = xyz at (1, 2, 3).

    Show answer

    ⟨yz, xz, xy⟩ = ⟨6, 3, 2⟩.

  2. Find D_u f for f = x² + y² at (1, 1) toward ⟨1, 0⟩.

    Show answer

    ∇f = ⟨2, 2⟩; D_u f = 2.

  3. Classify the critical point of f = x² − y².

    Show answer

    At (0, 0): D = (2)(−2) − 0 = −4 < 0, a saddle.

  4. Fence a rectangle along a straight river with 40 m of fence (no fence on the river side). Maximize the area.

    Show answer

    Maximize xy with x + 2y = 40: y = 10, x = 20, area 200 m².

  5. Maximize f = x + y on the circle x² + y² = 2.

    Show answer

    ⟨1, 1⟩ = λ⟨2x, 2y⟩ gives x = y = 1; maximum 2.

Common misconceptions

  • Myth: The gradient points along the level curve.

    Actually: It is perpendicular to the level curve.

  • Myth: ∇f = 0 means a maximum or minimum.

    Actually: It may be a saddle; use the D test.

  • Myth: λ is just a trick to eliminate.

    Actually: λ is the rate at which the best value changes as the constraint c changes, which is useful in economics and engineering.

Flashcards

  • Gradient

    ⟨fₓ, f_y, f_z⟩; fastest increase.

  • Directional derivative

    ∇f · u.

  • Critical point

    ∇f = 0.

  • Saddle point

    D < 0.

  • Lagrange condition

    ∇f = λ∇g.

  • Steepest descent

    Move along −∇f.

Self-check quiz

1. The gradient points…

Show answer

in the direction of fastest increase. Its length is the maximum rate.

2. D < 0 at a critical point means…

Show answer

saddle. Curving up one way, down another.

3. Lagrange multipliers solve…

Show answer

∇f = λ∇g. Gradients are parallel at a constrained optimum.

4. D_u f is largest when u is…

Show answer

parallel to ∇f. ∇f · u = |∇f| cos θ.

How this helps save the planet

Water flows down the gradient of terrain. Flood maps, watershed boundaries and erosion models are built by computing −∇h from elevation data, such as the free lidar elevation models of the USGS 3D Elevation Program.

Lagrange multipliers minimize material for a required volume or strength. Using less material for the same job is a direct cut in mining, energy and emissions.

On Saving Planets: Rivers hub · Engineering Graphics / CAD: lightweighting

Sources: USGS 3D Elevation Program (3DEP) · OpenStax Calculus 3, 4.8 Lagrange Multipliers

Free learning resources

Back to top

Unit 5 · Weeks 8–9

Double Integrals

Integrating over regions in the plane: iterated integrals, Fubini’s theorem, general regions, polar coordinates, area, mass and averages.

Learning objectives

By the end of this unit you can:

  • Evaluate double integrals as iterated integrals.
  • Set up limits for general regions and reverse the order.
  • Convert to polar coordinates with dA = r dr dθ.
  • Use double integrals for area, mass, averages and totals over a map.

Key concepts

  • ∬_R f dA adds f times tiny areas. Over a rectangle, Fubini says integrate one variable, then the other, in either order.
  • For a general region, the inner limits are curves; sketch the region to read them.
  • Round regions are easier in polar coordinates, where the area element is r dr dθ (not dr dθ).
  • The average of f over R is ∬f dA divided by the area of R.

Key equations

∬Rf dA=∫ab ⁣∫cdf(x,y) dy dx\iint_Rf\,dA=\int_a^b\!\int_c^df(x,y)\,dy\,dx
Fubini’s theorem
dA=r dr dθdA=r\,dr\,d\theta
Polar area element
fˉ=1Area(R)∬Rf dA\bar f=\frac{1}{\text{Area}(R)}\iint_Rf\,dA
Average value
∫−∞∞e−x2dx=π\int_{-\infty}^{\infty}e^{-x^2}dx=\sqrt\pi
Gaussian integral (via polar coordinates)

Worked examples, step by step

Example 5.1 Evaluate ∬_R xy dA over R = [0, 2] × [0, 3].

Show the steps
  1. ∫₀² x dx = 2 and ∫₀³ y dy = 4.5.
  2. The integral separates: 2 × 4.5.

Answer: 9.

Example 5.2 Rain falls on a 10 km × 5 km catchment with depth d(x, y) = 20 + 2x mm (x in km, across the 10 km side). How much water fell?

Show the steps
  1. Total = ∫₀¹⁰∫₀⁵ (20 + 2x) dy dx = 5 ∫₀¹⁰ (20 + 2x) dx.
  2. = 5(200 + 100) = 1,500 mm·km².
  3. 1 mm over 1 km² is 1,000 m³.

Answer: 1.5 × 10⁶ m³ (average depth 30 mm). This is how rain gauges and radar become river-flow forecasts.

Example 5.3 Evaluate ∬ e^(−(x² + y²)) dA over the unit disk, then over the whole plane.

Show the steps
  1. Polar: ∫₀^(2π)∫₀¹ e^(−r²) r dr dθ = 2π × ½(1 − e^(−1)).
  2. Over the plane, the r-integral goes to ∞ and gives ½.

Answer: π(1 − 1/e) ≈ 1.986 on the disk; π over the plane, which proves ∫e^(−x²) dx = √π.

Practice problems

Work each on paper first, then check.

  1. ∫₀¹∫₀ˣ x dy dx

    Show answer

    ∫₀¹ x² dx = 1/3.

  2. Reverse the order of ∫₀¹∫_y¹ f dx dy.

    Show answer

    ∫₀¹∫₀ˣ f dy dx.

  3. Find the area of a circle of radius a in polar coordinates.

    Show answer

    ∫₀^(2π)∫₀ᵃ r dr dθ = πa².

  4. Find the volume under z = 4 − x² − y² above the disk x² + y² ≤ 4.

    Show answer

    ∫₀^(2π)∫₀² (4 − r²) r dr dθ = 2π(8 − 4) = 8π ≈ 25.1.

  5. Average of f = x + y over [0, 1] × [0, 1].

    Show answer

    ∬(x + y) dA = 1, area 1, average 1.

Common misconceptions

  • Myth: In polar, dA = dr dθ.

    Actually: dA = r dr dθ; forgetting r is the most common error.

  • Myth: Inner limits must be numbers.

    Actually: For a general region, inner limits are functions of the outer variable.

  • Myth: Order never matters.

    Actually: The value doesn’t, but the limits change, and one order is often much easier.

Flashcards

  • Double integral

    ∬_R f dA.

  • Fubini

    Iterate in either order over a rectangle.

  • Type I region

    a ≤ x ≤ b, g₁(x) ≤ y ≤ g₂(x).

  • Polar dA

    r dr dθ.

  • Average value

    ∬f dA / Area.

  • Gaussian integral

    ∫e^(−x²) dx = √π.

Self-check quiz

1. Polar area element:

Show answer

r dr dθ. A polar patch is r dθ by dr.

2. ∬_R 1 dA equals…

Show answer

the area of R. Adds up the area.

3. ∫₀¹∫₀² 3 dy dx =

Show answer

6. 3 × area 2.

4. Fubini’s theorem lets you…

Show answer

integrate one variable at a time. Iterated integrals.

How this helps save the planet

Totals over a map are double integrals: rain on a watershed, carbon stored in a forest, or crops harvested from a field. Hydrologists turn rainfall maps into volumes this way to predict floods and plan water supply.

On Saving Planets: Rivers hub · Deforestation hub

Sources: USGS Water Science School: Precipitation and the water cycle · OpenStax Calculus 3, 5.2 Double Integrals over General Regions

Free learning resources

Back to top

Unit 6 · Weeks 10–11

Triple Integrals and Change of Variables

Integrating over solids in rectangular, cylindrical and spherical coordinates, and the Jacobian for general changes of variables.

Learning objectives

By the end of this unit you can:

  • Set up and evaluate triple integrals.
  • Use cylindrical (r dz dr dθ) and spherical (ρ² sin φ dρ dφ dθ) coordinates.
  • Compute the Jacobian of a change of variables.
  • Find volumes, masses and centers of mass of solids.

Key concepts

  • ∭_E f dV adds f over tiny boxes; with f = density it gives mass.
  • Cylindrical coordinates suit pipes, tanks and cones: dV = r dz dr dθ.
  • Spherical coordinates suit balls and planets: dV = ρ² sin φ dρ dφ dθ.
  • Any substitution x = x(u, v) stretches area by the Jacobian |∂(x, y)/∂(u, v)|.

Key equations

dV=r dz dr dθdV=r\,dz\,dr\,d\theta
Cylindrical volume element
dV=ρ2sin⁡φ dρ dφ dθdV=\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta
Spherical volume element
J=∣∂(x,y)∂(u,v)∣=∣xuyv−xvyu∣J=\left|\frac{\partial(x,y)}{\partial(u,v)}\right|=|x_uy_v-x_vy_u|
Jacobian
∬Rf dx dy=∬Sf ∣J∣ du dv\iint_Rf\,dx\,dy=\iint_Sf\,|J|\,du\,dv
Change of variables

Worked examples, step by step

Example 6.1 Use spherical coordinates to find the volume of a ball of radius R.

Show the steps
  1. V = ∫₀^(2π)∫₀^π∫₀ᴿ ρ² sin φ dρ dφ dθ.
  2. = (R³/3)(2)(2π).

Answer: 4πR³/3.

Example 6.2 Estimate the mass of Earth’s atmosphere: the weight of air above each square meter is the surface pressure, so M = ∬ p/g dA over the sphere.

Show the steps
  1. The surface integral of a constant is p/g times the area 4πR².
  2. 4π(6.371 × 10⁶)² = 5.10 × 10¹⁴ m².
  3. M = 101,400 × 5.10 × 10¹⁴ / 9.81.

Answer: About 5.3 × 10¹⁸ kg, close to NASA’s 5.1 × 10¹⁸ kg (land above sea level holds up less air).

Example 6.3 Find the area of the ellipse x²/a² + y²/b² ≤ 1 with x = au, y = bv.

Show the steps
  1. The ellipse becomes the unit disk u² + v² ≤ 1.
  2. J = ab.
  3. Area = ab × π.

Answer: πab.

Practice problems

Work each on paper first, then check.

  1. Find the volume of the cone 0 ≤ z ≤ 1 − r (radius 1, height 1) in cylindrical coordinates.

    Show answer

    ∫₀^(2π)∫₀¹ (1 − r) r dr dθ = 2π(1/2 − 1/3) = π/3.

  2. Evaluate ∭ 1 dV over the box [0, 1] × [0, 2] × [0, 3].

    Show answer

    6.

  3. Find the Jacobian of polar coordinates.

    Show answer

    x_r y_θ − x_θ y_r = cos θ (r cos θ) + r sin θ (sin θ) = r.

  4. A cylinder of radius 1 m and height 2 m has density 1,000(1 − z/4) kg/m³. Find its mass.

    Show answer

    π ∫₀² 1,000(1 − z/4) dz = π × 1,000 × 1.5 = 1,500π ≈ 4,712 kg.

Common misconceptions

  • Myth: In spherical coordinates dV = dρ dφ dθ.

    Actually: dV = ρ² sin φ dρ dφ dθ.

  • Myth: φ runs from 0 to 2π.

    Actually: φ (from the north pole) runs 0 to π; θ runs 0 to 2π.

  • Myth: The Jacobian can be negative inside the integral.

    Actually: Use its absolute value.

Flashcards

  • Triple integral

    ∭_E f dV.

  • Cylindrical

    x = r cos θ, y = r sin θ, z; dV = r dz dr dθ.

  • Spherical

    dV = ρ² sin φ dρ dφ dθ.

  • Jacobian

    Area or volume stretch factor of a substitution.

  • Mass

    ∭ density dV.

  • Center of mass

    ∭ x ρ dV / mass.

Self-check quiz

1. The spherical volume element is…

Show answer

ρ² sin φ dρ dφ dθ. A spherical box of sides dρ, ρ dφ, ρ sin φ dθ.

2. Cylindrical coordinates are best for…

Show answer

pipes and tanks. Circular cross-sections.

3. The Jacobian of x = 2u, y = 3v is…

Show answer

6. 2 × 3.

4. Volume of a ball of radius 3:

Show answer

36π. 4π(27)/3.

How this helps save the planet

Climate scientists add up quantities through the volume of the ocean and atmosphere with exactly these integrals. Ocean heat content, the heat stored in the top 2,000 m of the sea, is a triple integral of temperature change times density and heat capacity, and it is one of the clearest records of global warming.

On Saving Planets: Oceans hub

Sources: NOAA NCEI: Global ocean heat content · NASA Earth fact sheet

Free learning resources

Back to top

Unit 7 · Week 12

Vector Fields, Line Integrals and Green’s Theorem

Vector fields such as winds and currents, work and circulation along curves, conservative fields and potentials, and Green’s theorem in the plane.

Learning objectives

By the end of this unit you can:

  • Sketch and interpret vector fields.
  • Evaluate line integrals of scalar functions and of vector fields (work).
  • Test whether a field is conservative and find a potential.
  • Apply Green’s theorem to circulation and flux in the plane.

Key concepts

  • A vector field assigns a vector to every point, like a wind or current map.
  • Work along a path is ∫_C F · dr; for a closed loop it is called circulation.
  • A conservative field is a gradient, F = ∇φ; its work depends only on the endpoints, and it has zero circulation.
  • Green’s theorem: circulation around a closed curve equals the integral of the curl (Q_x − P_y) over the region inside.

Key equations

∫CF⋅dr=∫abF(r(t))⋅r′(t) dt\int_C\mathbf F\cdot d\mathbf r=\int_a^b\mathbf F(\mathbf r(t))\cdot\mathbf r'(t)\,dt
Line integral (work)
∫C∇φ⋅dr=φ(B)−φ(A)\int_C\nabla\varphi\cdot d\mathbf r=\varphi(B)-\varphi(A)
Fundamental theorem for line integrals
∮CP dx+Q dy=∬D(Qx−Py) dA\oint_CP\,dx+Q\,dy=\iint_D(Q_x-P_y)\,dA
Green’s theorem
Area=12∮Cx dy−y dx\text{Area}=\tfrac12\oint_Cx\,dy-y\,dx
Area from the boundary

Worked examples, step by step

Example 7.1 F = ⟨y, x⟩. Find the work from (0, 0) to (2, 3) along any path.

Show the steps
  1. P_y = 1 = Q_x, so F is conservative.
  2. φ = xy has ∇φ = ⟨y, x⟩.
  3. Work = φ(2, 3) − φ(0, 0).

Answer: 6, on every path.

Example 7.2 A gyre-like current F = ⟨−y, x⟩ circles the origin. Find its circulation around the unit circle directly and by Green’s theorem.

Show the steps
  1. r = ⟨cos t, sin t⟩, F · r′ = sin²t + cos²t = 1, so ∮ = 2π.
  2. Green: Q_x − P_y = 1 − (−1) = 2; ∬2 dA = 2 × π.

Answer: 2π ≈ 6.28 both ways.

Example 7.3 Use ½∮(x dy − y dx) to find the area inside x = 3 cos t, y = 2 sin t.

Show the steps
  1. x dy − y dx = (3 cos t)(2 cos t) + (2 sin t)(3 sin t) = 6 dt.
  2. ½ ∫₀^(2π) 6 dt.

Answer: 6π ≈ 18.85 (πab with a = 3, b = 2).

Practice problems

Work each on paper first, then check.

  1. Is F = ⟨2xy, x² + 1⟩ conservative? Find φ.

    Show answer

    P_y = 2x = Q_x; φ = x²y + y.

  2. Find ∫_C F · dr for F = ⟨x, y⟩ along y = x² from (0, 0) to (1, 1).

    Show answer

    Conservative, φ = (x² + y²)/2: work 1.

  3. Find ∮(x² dx + xy dy) around the square [0, 1] × [0, 1], counterclockwise.

    Show answer

    Green: ∬ y dA = 1/2.

  4. Find the circulation of F = ⟨−y, x⟩ around a circle of radius 3.

    Show answer

    2 × area = 18π ≈ 56.5.

Common misconceptions

  • Myth: Every field with zero curl is conservative.

    Actually: True only on simply connected regions (no holes).

  • Myth: The work along a closed path is always zero.

    Actually: Only for conservative fields; a gyre circulates.

  • Myth: Green’s theorem works for any orientation.

    Actually: It assumes counterclockwise; clockwise flips the sign.

Flashcards

  • Vector field

    A vector at every point.

  • Line integral

    ∫F · dr, work along a curve.

  • Circulation

    Line integral around a closed curve.

  • Conservative

    F = ∇φ; path-independent.

  • Potential

    φ with ∇φ = F.

  • Green’s theorem

    ∮P dx + Q dy = ∬(Q_x − P_y) dA.

Self-check quiz

1. F = ∇φ means F is…

Show answer

conservative. A gradient field.

2. Work of a conservative field around a closed loop:

Show answer

0. φ(A) − φ(A).

3. Green’s theorem links a line integral to…

Show answer

a double integral. Boundary ↔ interior.

4. Q_x − P_y for F = ⟨−y, x⟩ is…

Show answer

2. 1 − (−1).

How this helps save the planet

Ocean gyres are huge rotating current systems: there are five main ones, and each collects floating debris toward its center, forming the garbage patches. The circulation of a current field is a line integral, and Green’s theorem ties it to the rotation (curl) inside.

Winds and currents on maps such as earth.nullschool.net, which draws public NOAA forecast data, are vector fields you can read with this unit.

On Saving Planets: Oceans hub

Sources: NOAA Marine Debris Program: Garbage patches · NOAA Ocean Service: Ocean currents tutorial (gyres) · earth.nullschool.net: live global wind and ocean-current map (from NOAA GFS and other public data)

Free learning resources

Back to top

Unit 8 · Weeks 13–14

Surface Integrals, Stokes’ and the Divergence Theorem

Divergence and curl, parametrized surfaces, flux through a surface, and the two great theorems that tie boundaries to interiors in 3D.

Learning objectives

By the end of this unit you can:

  • Compute divergence and curl and interpret them as source strength and rotation.
  • Parametrize surfaces and compute surface area and flux.
  • Apply Stokes’ theorem.
  • Apply the Divergence (Gauss) theorem to net outward flux.

Key concepts

  • div F = ∇ · F measures outflow per volume; curl F = ∇ × F measures rotation.
  • Flux ∬_S F · n dS is how much of the field crosses a surface per unit time.
  • Stokes: circulation around a surface’s edge equals the flux of curl F through the surface.
  • Divergence theorem: net outward flux through a closed surface equals the total divergence inside.

Key equations

∇⋅F=Px+Qy+Rz\nabla\cdot\mathbf F=P_x+Q_y+R_z
Divergence
∇×F=⟨Ry−Qz, Pz−Rx, Qx−Py⟩\nabla\times\mathbf F=\langle R_y-Q_z,\ P_z-R_x,\ Q_x-P_y\rangle
Curl
∮∂SF⋅dr=∬S(∇×F)⋅n dS\oint_{\partial S}\mathbf F\cdot d\mathbf r=\iint_S(\nabla\times\mathbf F)\cdot\mathbf n\,dS
Stokes’ theorem
∯SF⋅n dS=∭E∇⋅F dV\oiint_S\mathbf F\cdot\mathbf n\,dS=\iiint_E\nabla\cdot\mathbf F\,dV
Divergence theorem

Worked examples, step by step

Example 8.1 Find the outward flux of F = ⟨x, y, z⟩ through the sphere of radius R.

Show the steps
  1. div F = 3.
  2. Divergence theorem: 3 × (4πR³/3).
  3. Check directly: on the sphere F · n = R, so the flux is R × 4πR².

Answer: 4πR³ both ways.

Example 8.2 Sunlight of 1,361 W/m² falls on Earth (radius 6,371 km). What total power does Earth intercept, and what is the average per square meter of its surface?

Show the steps
  1. The flux through Earth’s shadow disk is 1,361 × πR² = 1.735 × 10¹⁷ W.
  2. Spread over the whole sphere (area 4πR²) it is 1,361/4.

Answer: 1.74 × 10¹⁷ W, or 340 W/m² on average, the figure at the top of NASA’s energy-budget diagram.

Example 8.3 Verify Stokes’ theorem for F = ⟨−y, x, 0⟩ on the upper half of the unit sphere.

Show the steps
  1. curl F = ⟨0, 0, 2⟩.
  2. Flux of curl through the hemisphere equals that through the flat unit disk (same edge): 2 × π.
  3. The edge circulation is 2π (Unit 7).

Answer: 2π both ways.

Practice problems

Work each on paper first, then check.

  1. Find div and curl of F = ⟨x², yz, xy⟩.

    Show answer

    div = 2x + z; curl = ⟨x − y, −y, 0⟩.

  2. Flux of F = ⟨0, 0, 5⟩ upward through the unit square in the plane z = 1.

    Show answer

    5 × 1 = 5.

  3. Use the Divergence theorem: flux of F = ⟨x, y, z⟩ out of the unit cube [0, 1]³.

    Show answer

    div = 3; flux 3.

  4. Find the surface area of a sphere of radius 2 by integrating dS = 4 sin φ dφ dθ.

    Show answer

    4 × 2 × 2π = 16π ≈ 50.3.

  5. Is the curl of a gradient field ever nonzero?

    Show answer

    No: ∇ × ∇φ = 0 for smooth φ.

Common misconceptions

  • Myth: Flux is the same as circulation.

    Actually: Flux crosses a surface; circulation runs along a curve.

  • Myth: Divergence-free means nothing moves.

    Actually: It means no net source: whatever flows in, flows out.

  • Myth: The Divergence theorem works on open surfaces.

    Actually: It needs a closed surface; Stokes handles surfaces with an edge.

Flashcards

  • Divergence

    ∇ · F; source strength.

  • Curl

    ∇ × F; rotation.

  • Flux

    ∬F · n dS.

  • Stokes’ theorem

    Edge circulation = flux of curl.

  • Divergence theorem

    Outward flux = ∭ div F dV.

  • Closed surface

    Encloses a solid; no edge.

Self-check quiz

1. div ⟨x, y, z⟩ =

Show answer

3. 1 + 1 + 1.

2. Stokes’ theorem relates edge circulation to…

Show answer

flux of curl F. ∬(∇ × F) · n dS.

3. The Divergence theorem needs…

Show answer

a closed surface. It encloses a solid.

4. Average sunlight per square meter at Earth’s top of atmosphere is about…

Show answer

340 W/m². Disk area πR² over sphere area 4πR²: one quarter.

How this helps save the planet

Earth’s climate is a flux balance: sunlight crosses the top of the atmosphere at about 340 W/m² on average, and Earth must send the same energy back out to space. When greenhouse gases trap some outgoing heat, the imbalance is a net flux into the planet, mostly stored in the ocean.

Pollutant transport is the same mathematics: the Divergence theorem says the pollutant leaving a lake or air basin through its boundary equals what its sources inside release, minus what is removed.

On Saving Planets: Earth Observation hub

Sources: NASA Earth Observatory: Climate and Earth’s Energy Budget · NASA Earth fact sheet

Free learning resources

Back to top

Computer labs

Four computer labs apply the units: divergence and curl of a wind field from station data, slope and water-flow direction from an elevation grid, the volume of a lake by a polar double integral, and a satellite orbit stepped through time.

Sample data is labeled as such; each lab links to the public data source to try next.

Safety reference: OpenStax Calculus Volume 3 (free textbook)

Lab A: Divergence and curl of a wind field

Week 14

Goal: Estimate the divergence and curl of the wind at a point from four surrounding stations, and interpret them as rising air and storm rotation.

∇⋅v≈uE−uW2Δ+vN−vS2Δ,(∇×v)z≈vE−vW2Δ−uN−uS2Δ\nabla\cdot\mathbf v\approx\frac{u_E-u_W}{2\Delta}+\frac{v_N-v_S}{2\Delta},\quad(\nabla\times\mathbf v)_z\approx\frac{v_E-v_W}{2\Delta}-\frac{u_N-u_S}{2\Delta}
Centered differences

Procedure

  1. Enter the eastward (u) and northward (v) wind at stations 100 km east, west, north and south of a center (Δ = 100 km = 10⁵ m).
  2. Compute the divergence and the vertical curl (vorticity).
  3. Interpret the signs, then repeat with real winds read off earth.nullschool.net or NOAA forecast data.

Data table

Stationu (m/s, east)v (m/s, north)
East48
West6−6
North−5−3
South7−1

Sample values for practice, not a real weather map.

Sample calculation

  1. Divergence = (4 − 6)/(2 × 10⁵) + (−3 − (−1))/(2 × 10⁵) = −2 × 10⁻⁵ s⁻¹: air converges, so it must rise, which favors clouds and rain.
  2. Vorticity = (8 − (−6))/(2 × 10⁵) − (−5 − 7)/(2 × 10⁵) = 1.3 × 10⁻⁴ s⁻¹: positive, counterclockwise, like a Northern Hemisphere low.

Safety

  • None beyond normal computer use.

Home or virtual alternative

  • A spreadsheet is enough.

earth.nullschool.net: live global wind and ocean-current map (from NOAA GFS and other public data) · NOAA NCEI: Global Forecast System (GFS)

Planet link: Convergence and vorticity are what forecasters track to warn of heavy rain and storms. NOAA/NWS JetStream: Wind

Lab B: Slope and water flow from an elevation grid

Week 7

Goal: Estimate the gradient of terrain from a grid of elevations and find which way rainwater runs.

∇h≈⟨hE−hW2Δ,hN−hS2Δ⟩\nabla h\approx\left\langle\frac{h_E-h_W}{2\Delta},\frac{h_N-h_S}{2\Delta}\right\rangle
Gradient by centered differences

Procedure

  1. Use elevations 100 m east, west, north and south of a point (Δ = 100 m).
  2. Compute ∇h, its size (slope) and the slope angle arctan|∇h|.
  3. The flow direction is −∇h. Then download a free USGS 3DEP elevation tile and repeat for a hillside near you.

Data table

NeighborElevation (m)
Center250
East262
West240
North256
South246

Sample values for practice.

Sample calculation

  1. ∇h ≈ ⟨(262 − 240)/200, (256 − 246)/200⟩ = ⟨0.11, 0.05⟩.
  2. |∇h| = 0.121, a slope angle of about 6.9°.
  3. Water runs along −∇h, to the west-southwest; tracing these directions over a grid outlines a watershed.

Safety

  • None beyond normal computer use.

Home or virtual alternative

  • A spreadsheet is enough; GIS software is optional.

USGS 3D Elevation Program (3DEP)

Planet link: Flow directions from elevation grids are the basis of flood and erosion maps. USGS 3D Elevation Program (3DEP)

Lab C: The volume of a lake by a polar double integral

Week 9

Goal: Compute the volume of a bowl-shaped lake exactly and with a numerical sum, and see how the error shrinks.

V=∫02π ⁣ ⁣∫0RD(1−r2R2)r dr dθ=πR2D2V=\int_0^{2\pi}\!\!\int_0^RD\left(1-\frac{r^2}{R^2}\right)r\,dr\,d\theta=\frac{\pi R^2D}{2}
Lake with a paraboloid basin

Procedure

  1. Take R = 1,000 m and maximum depth D = 20 m.
  2. Compute the exact volume.
  3. Split the lake into n rings, evaluate the depth at each ring’s middle radius, and add depth × ring area. Try n = 5 and n = 10.

Data table

MethodVolume (m³)
Exact3.14 × 10⁷
Midpoint, 5 rings3.20 × 10⁷
Midpoint, 10 rings3.16 × 10⁷

Computed values for a model lake.

Sample calculation

  1. Exact: π(1,000)²(20)/2 = 3.14 × 10⁷ m³ (31.4 million cubic meters).
  2. The 5-ring sum is 2.0% high and the 10-ring sum 0.5% high: doubling n cuts the error about four times.

Safety

  • None beyond normal computer use.

Home or virtual alternative

  • A spreadsheet or Python.

OpenStax Calculus 3, 5.3 Double Integrals in Polar Coordinates

Planet link: Lake and reservoir volumes from depth surveys tell water managers how much they can store and release. NASA: SWOT mission

Lab D: Stepping a satellite orbit through time

Week 3

Goal: Integrate r′′ = −GM r/|r|³ numerically for a Landsat-like orbit and compare two stepping methods.

vn+1=vn−GM rn∣rn∣3Δt,rn+1=rn+vn+1Δt\mathbf v_{n+1}=\mathbf v_n-\frac{GM\,\mathbf r_n}{|\mathbf r_n|^3}\Delta t,\quad\mathbf r_{n+1}=\mathbf r_n+\mathbf v_{n+1}\Delta t
Semi-implicit (symplectic) Euler

Procedure

  1. Start at r = ⟨7,076 km, 0⟩ with v = ⟨0, 7,505 m/s⟩ (Unit 2).
  2. Step 592 times with Δt = 10 s (one period), first with plain Euler (update r with the old v), then with the semi-implicit version above.
  3. Compare the final radius with the start.

Data table

Method (Δt = 10 s)Radius change after one orbit
Plain Euler+908 km
Semi-implicit Euler+0.16 km

Computed values; GM = 3.986 × 10¹⁴ m³/s².

Sample calculation

  1. Plain Euler spirals outward by about 908 km per orbit, a useless forecast; even Δt = 1 s still drifts about 94 km.
  2. The semi-implicit update changes one line of code and keeps the orbit to within about 0.16 km.

Safety

  • None beyond normal computer use.

Home or virtual alternative

  • A spreadsheet works; Python in Colab is easier.

Google Colab (free notebooks) · NASA: Landsat 9 quick facts

Planet link: Accurate orbit propagation keeps Earth-observing satellites on their repeat tracks. NASA: Landsat 9 quick facts

Back to top

Exam prep practice sets

Time yourself: about 10 minutes per problem. Then compare with the full solutions.

Midterm practice set (Units 1–4)

  1. Find the angle between ⟨1, 1, 0⟩ and ⟨0, 1, 1⟩.

    Show full solution
    1. Dot product 1; both lengths √2.
    2. cos θ = 1/2.

    Answer: 60°.

  2. Find the plane through (1, 1, 1) with normal ⟨2, −1, 3⟩.

    Show full solution
    1. 2(x − 1) − (y − 1) + 3(z − 1) = 0.

    Answer: 2x − y + 3z = 4.

  3. A satellite orbits at radius 6,771 km (400 km altitude). Find its period.

    Show full solution
    1. T = 2π√(r³/GM).

    Answer: ≈ 5,544 s ≈ 92.4 min.

  4. Maximize f = xy subject to x + y = 10.

    Show full solution
    1. ⟨y, x⟩ = λ⟨1, 1⟩ gives x = y = 5.

    Answer: 25 at (5, 5).

Final practice set (all units)

  1. Evaluate ∫₀^(2π)∫₀³ r dr dθ.

    Show full solution
    1. 4.5 × 2π.

    Answer: 9π ≈ 28.3 (area of a disk of radius 3).

  2. Find the volume of a hemisphere of radius 2 with spherical coordinates.

    Show full solution
    1. ∫₀^(2π)∫₀^(π/2)∫₀² ρ² sin φ dρ dφ dθ = (8/3)(1)(2π).

    Answer: 16π/3 ≈ 16.76.

  3. Find ∮ F · dr for F = ⟨−y, x⟩ around the square [0, 2] × [0, 2], counterclockwise.

    Show full solution
    1. Green: ∬2 dA = 2 × 4.

    Answer: 8.

  4. Find the outward flux of F = ⟨2x, 0, 0⟩ through the sphere of radius 1.

    Show full solution
    1. div F = 2; flux = 2 × 4π/3.

    Answer: 8π/3 ≈ 8.38.

Back to top

Formula sheet

a⋅b=∣a∣∣b∣cos⁡θ\mathbf a\cdot\mathbf b=|\mathbf a||\mathbf b|\cos\theta
∣a×b∣=∣a∣∣b∣sin⁡θ|\mathbf a\times\mathbf b|=|\mathbf a||\mathbf b|\sin\theta
n⋅(r−r0)=0n\cdot(\mathbf r-\mathbf r_0)=0
L=∫∣r′(t)∣ dtL=\int|\mathbf r'(t)|\,dt
κ=∣r′×r′′∣/∣r′∣3\kappa=|\mathbf r'\times\mathbf r''|/|\mathbf r'|^3
v=GM/rv=\sqrt{GM/r}
Δf≈fxΔx+fyΔy\Delta f\approx f_x\Delta x+f_y\Delta y
Duf=∇f⋅uD_{\mathbf u}f=\nabla f\cdot\mathbf u
D=fxxfyy−fxy2D=f_{xx}f_{yy}-f_{xy}^2
∇f=λ∇g\nabla f=\lambda\nabla g
dA=r dr dθdA=r\,dr\,d\theta
dV=r dz dr dθdV=r\,dz\,dr\,d\theta
dV=ρ2sin⁡φ dρ dφ dθdV=\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta
∫C∇φ⋅dr=φ(B)−φ(A)\int_C\nabla\varphi\cdot d\mathbf r=\varphi(B)-\varphi(A)
∮P dx+Q dy=∬(Qx−Py) dA\oint P\,dx+Q\,dy=\iint(Q_x-P_y)\,dA
∮F⋅dr=∬(∇×F)⋅n dS\oint\mathbf F\cdot d\mathbf r=\iint(\nabla\times\mathbf F)\cdot\mathbf n\,dS
∯F⋅n dS=∭∇⋅F dV\oiint\mathbf F\cdot\mathbf n\,dS=\iiint\nabla\cdot\mathbf F\,dV

Constants

ConstantValue
Earth’s GM3.986 × 10¹⁴ m³/s²
Earth’s mean radius6,371 km
Solar irradiance at Earth1,361 W/m²
Mean surface pressure1,014 mb = 101,400 Pa
Atmospheric scale height8.5 km
Standard gravity9.81 m/s²

Source: NASA Earth fact sheet

Back to top

Graphing and data tools

Use these free tools and data alongside the course.

Back to top

Glossary

Circulation
Line integral of a field around a closed curve.
Conservative field
A gradient field; work is path-independent.
Cross product
Vector perpendicular to two vectors.
Curl
∇ × F; local rotation of a field.
Curvature
How sharply a curve bends; 1/R for a circle.
Directional derivative
Rate of change in a given direction, ∇f · u.
Divergence
∇ · F; net outflow per volume.
Divergence theorem
Outward flux through a closed surface equals the integral of the divergence inside.
Dot product
a · b = |a||b| cos θ.
Flux
Amount of a field crossing a surface.
Gradient
Vector of partial derivatives; points uphill.
Green’s theorem
Circulation around a plane curve equals the integral of Q_x − P_y inside.
Jacobian
Stretch factor of a change of variables.
Lagrange multiplier
λ in ∇f = λ∇g for constrained optimization.
Level curve
Curve where f(x, y) is constant.
Line integral
Integral along a curve.
Partial derivative
Derivative in one variable with the others fixed.
Saddle point
Critical point that is neither a max nor a min.
Stokes’ theorem
Edge circulation equals the flux of the curl.
Vector field
Assignment of a vector to each point.

Back to top

Self-assessment rubric

No grade or credit is given. Use this to judge honestly where you are in each unit.

LevelWhat it looks like
4 · MasterySets up integrals and fields from a picture unprompted, picks good coordinates, and checks answers by a second method or a theorem.
3 · ProficientSolves the practice problems with occasional slips.
2 · DevelopingFollows worked examples but struggles to set up limits or choose coordinates.
1 · BeginningApplies formulas without sketching or checking; needs to revisit the unit.

Suggested weighting if you want a score

PartWeight
Practice problems30%
Computer labs15%
Midterm practice set25%
Final practice set30%

Aim for level 3 or better in every unit before moving to the next course.

Back to top

Help / Donate