Math · 06

Multivariable and Vector Calculus

← Linear AlgebraOrdinary Differential Equations →

Problems first

Attempt these before you open a book or a video. Write the argument in the work box and the conclusion in the answer box. Check counts the problem only when both pass, and it does not open the solution. The solution stays locked for twenty minutes after you start the timer.

Attack 1

For \(f(x,y)=x^2+y^2\), compute the gradient at \((1,1)\) and say what it points toward.

Timer not started. Twenty minutes of real work before a solution.

Attack 2

Compute both mixed second partials of \(f(x,y)=x^2 y+y^3\).

Timer not started. Twenty minutes of real work before a solution.

Attack 3

Why is the line integral of a gradient around a closed loop equal to 0?

Timer not started. Twenty minutes of real work before a solution.

Prerequisites

What this actually is

Multivariable calculus is single-variable calculus with linear algebra inserted at every derivative. The derivative of a map \(\mathbb{R}^n\to\mathbb{R}^m\) at a point is the linear map that best approximates it there, represented by the Jacobian matrix. Gradients, directional derivatives, chain rules, and tangent planes are that one definition specialized. Integration becomes a limit of sums over boxes, and the change-of-variables theorem multiplies by the absolute value of the Jacobian determinant, which is why determinants were worth learning.

The second half is the integral theorems: Green, Stokes, and the divergence theorem. They are one theorem, the generalized Stokes theorem, cut into the cases a first course can compute. Schey’s Div, Grad, Curl, and All That (ISBN 978-0-393-92516-6, paid) is the short intuition book; the author is H. M. Schey, not Saff and Snider. Marsden and Tromba, Vector Calculus, ISBN 978-1-4292-1508-4, is a standard paid text. You will work from MIT 18.02 and OpenStax Volume 3, which are free and have exercises.

Learn Anything has no separate vetted path here beyond the calculus junk drawer. The multivariable items in that drawer were course fragments. 18.02 is the course.

Core results

Statements only. Write the argument before you reveal it. A revealed proof you did not attempt is a paragraph you will not be able to rebuild at 2am.

  1. Derivative as a linear map. \(f:\mathbb{R}^n\to\mathbb{R}^m\) is differentiable at \(a\) when there is a linear map \(Df(a)\) with \(f(a+h)=f(a)+Df(a)(h)+o(\|h\|)\). For \(m=1\) the matrix of \(Df\) is the gradient row. The chain rule is composition of those linear maps.

  2. Extrema. At an interior local extremum of a differentiable function, the gradient vanishes. On a constraint \(g=c\) with \(\nabla g\ne 0\), Lagrange multipliers say \(\nabla f=\lambda\nabla g\). The Hessian test classifies nondegenerate critical points.

  3. Multiple integrals. A continuous function on a rectangle is Riemann integrable. Fubini’s theorem reduces an integral over a rectangle to iterated one-variable integrals. Under a \(C^1\) change of variables with nonzero Jacobian, \(dx\,dy=|\det D\Phi|\,du\,dv\).

  4. Vector calculus identities. \(\operatorname{curl}\nabla f=0\) and \(\operatorname{div}\operatorname{curl}\mathbf F=0\) wherever the derivatives exist and are continuous. A \(C^1\) vector field on a simply connected domain in \(\mathbb{R}^3\) is conservative if and only if its curl is zero.

  5. Green, Stokes, divergence. Green: \(\int_{\partial D} P\,dx+Q\,dy=\iint_D(Q_x-P_y)\,dA\). Stokes: \(\int_{\partial S}\mathbf F\cdot d\mathbf r=\iint_S(\nabla\times\mathbf F)\cdot d\mathbf S\). Divergence: \(\iint_{\partial W}\mathbf F\cdot d\mathbf S=\iiint_W\nabla\cdot\mathbf F\,dV\). Orientations match.

The ladder

Four rungs, in order. Do not skip a rung because the next one looks more serious.

Tier 0 / First contact

Watch or read once. Do not study from this.

Paul’s Online Math Notes, Calculus III
Read once, do not study from this. Use the section list as a map of topics. The notes are a reference you already know how to find, not the course.

Tier 1 / Main text

The thing you work through.

MIT 18.02SC and OpenStax Calculus Volume 3
18.02 is the lecture and exam path. OpenStax Volume 3 is the free book: https://openstax.org/details/books/calculus-volume-3 . Marsden and Tromba, ISBN 978-1-4292-1508-4, is the paid text if you want a tighter one. Schey, ISBN 978-0-393-92516-6, is the short paid supplement for the field theorems.

Tier 2 / Hard problems

The problem book.

18.02 problem sets and Apostol, Volume 2
Do the 18.02 sets before you shop. Apostol, Calculus, Volume 2, is the paid harder text; the Volume 1 ISBN was verified, the Volume 2 ISBN was not, so it is named without a number.

Tier 3 / The ceiling

The hardest questions that exist at this level.

18.02 exams and Putnam problems Kedlaya files under geometry or analysis
The exam page is the same 18.02 site. The Putnam archive is the public ceiling. Borisov’s sorted list helps you find the vector-calculus problems: https://people.math.binghamton.edu/borisov/Putnam/SelectedProblemList.pdf

Hardest questions

Names and links. The problem text stays on the source site. Copyrighted contest problems are not copied here. What follows is where they are and why they hurt.

  1. MIT 18.02 exams
    Stokes and the divergence theorem under a clock, with a surface you have to parametrize yourself.
  2. Borisov, the multivariable and vector-calculus Putnam items
    They are listed. You do not get to decide that a problem “isn’t really calculus.”
  3. Putnam 2024, any problem that is an integral, a gradient, or an inequality in several variables
    Recent papers assume the theorems and ask for an estimate. The setup is the hard part.
  4. OpenStax Volume 3, the challenge exercises on the integral theorems
    Free, so there is no excuse. The hard items ask you to check hypotheses, not just plug in.
  5. A change-of-variables integral you choose from 18.02 that needs polar, cylindrical, or spherical coordinates
    The Jacobian is where people write \(r\) and hope. Derive the factor.

Mastery gate

Pass: one 18.02 exam, timed, plus written proofs of Green’s theorem on a rectangle and of the fact that curl of a gradient is zero. Fail if you cannot parametrize a sphere or state the hypotheses of Stokes.

Diagrams

normaltangent plane
The tangent plane is the graph of the derivative. The normal is the gradient of a defining function.

Escalating sets

Five sets. Finish a set before you touch the next. Full sentences, not a circled answer.

Set 1. Derivatives

  1. Gradient and Hessian of \(x^2+xy+y^2\).
  2. Chain rule: \(z=f(x,y)\), \(x=\cos t\), \(y=\sin t\). Write \(dz/dt\).
  3. Tangent plane to \(z=x^2-y^2\) at \((1,1,0)\).
  4. Directional derivative of \(x^2+y^2\) at \((1,1)\) in the direction of \((1,-1)\).
  5. Show mixed partials of \(x^2 y+y^3\) agree.

Set 2. Optimization

  1. Critical points of \(x^3+y^3-3xy\).
  2. Minimum of \(x^2+y^2\) on \(x+2y=5\), by Lagrange and by substitution.
  3. Farthest point of \(x^2+y^2+z^2=1\) from the point \((2,0,0)\), geometrically and by Lagrange.
  4. Why a continuous function on a closed disk attains its maximum.
  5. Give a function on \(\mathbb{R}^2\) with a single critical point that is not an extremum. Or prove you cannot, and be right.

Set 3. Integrals

  1. \(\iint_D (x+y)\,dA\) where \(D\) is the triangle with vertices \((0,0),(1,0),(0,1)\).
  2. Switch to polar: \(\iint_{x^2+y^2\le 1} e^{-x^2-y^2}\,dA\).
  3. Volume of the ice cream cone: sphere \(x^2+y^2+z^2\le 1\) above the cone \(z=\sqrt{x^2+y^2}\). Set it up in spherical coordinates and finish it.
  4. State the change-of-variables theorem and use it for \(u=x+y\), \(v=x-y\) on a square.
  5. Derive the polar factor \(r\) from the Jacobian of \((r\cos\theta,r\sin\theta)\).

Set 4. Fields

  1. Compute \(\nabla\times\nabla f\) in coordinates.
  2. Is \((-y/(x^2+y^2), x/(x^2+y^2))\) conservative on \(\mathbb{R}^2\setminus\{0\}\)? Compute the integral around the unit circle.
  3. Green’s theorem on the unit disk for \(P=-y\), \(Q=x\).
  4. Flux of \(\mathbf F=(x,y,z)\) through the unit sphere.
  5. State Stokes and name the orientations.

Set 5. Ceiling

  1. One 18.02 exam.
  2. Three Borisov problems on this material.
  3. Proof of Green on a rectangle.
  4. One Putnam problem involving an integral in the plane.
  5. Oral explanation of why curl grad is zero.

Return bank

Ten problems to meet again. Logging a writeup schedules them at 1 day, 7 days, and 30 days in this browser.

  1. Gradient of \(x^2+y^2\) at \((1,1)\).
  2. Closed line integral of a gradient.
  3. Lagrange on \(x^2+y^2\) subject to \(x+2y=5\).
  4. Polar Jacobian.
  5. Ice-cream volume setup.
  6. The angular form around the origin, and the unit-circle integral.
  7. Green on the unit disk for \((-y,x)\).
  8. Flux of \((x,y,z)\) through the sphere.
  9. Proof that curl grad vanishes.
  10. One missed 18.02 problem.

Oral pass

Define the derivative of a function of several variables, state Lagrange multipliers, and state Stokes’ theorem with orientations. Blank page.

← Linear AlgebraOrdinary Differential Equations →