Multivariable Calculus Tutorial
Learn Multivariable Calculus step by step: 39 lessons in 9 chapters with examples, quizzes, diagrams and practice.
Start learning →
of lessons completed
Getting Started
- What Is Multivariable Calculus? See why single-variable calculus is not enough, what changes with two or more inputs, and how this course is organized, with runnable Python examples.
- Functions of Several Variables Learn domain, range and graphs of functions of two and three variables, with worked examples and Python code that plots surfaces.
- Level Curves and Level Surfaces Read contour maps, draw level curves of f(x, y) and understand level surfaces of f(x, y, z), with worked examples and runnable contour plots.
- Limits and Continuity in Several Variables Understand limits in the plane, why approaching along different paths matters, the two-path test and continuity, with worked examples and Python experiments.
Vectors and Curves in Space
- Vectors in Space and the Dot Product Work with vectors in three-dimensional space: length, unit vectors, the dot product, angles and projections, with worked examples and Python code.
- The Cross Product Learn the cross product of 3D vectors, its direction by the right-hand rule, areas of parallelograms and triangles, the triple product and torque, with Python.
- Lines and Planes in Space Write equations of lines and planes in three-dimensional space, find intersections and distances from a point to a plane, with worked examples and Python checks.
- Vector Functions and Space Curves Describe curves in space with vector-valued functions r(t), differentiate and integrate them, and compute tangent vectors, velocity and acceleration with Python.
- Arc Length and Curvature Compute the length of a space curve, reparametrize by arc length, and measure how sharply it bends with curvature, the normal and binormal vectors.
Partial Derivatives
- Partial Derivatives Learn partial derivatives of functions of two and three variables: the limit definition, geometric meaning as slopes, computation rules and Python checks.
- Higher-Order Partial Derivatives Compute second-order partial derivatives, understand mixed partials and Clairaut's theorem, and verify the Laplace and wave equations with sympy.
- Tangent Planes and Linear Approximation Find the tangent plane to z = f(x, y), use it for linear approximation and differentials, and see when a function is differentiable, with Python checks.
- The Chain Rule for Several Variables Master the multivariable chain rule with tree diagrams: derivatives along curves, functions of several intermediate variables, and related rates, with sympy.
- Implicit Differentiation with Partial Derivatives Use F(x, y) = 0 and F(x, y, z) = 0 to find dy/dx and partial derivatives of implicit functions with the implicit function formulas and sympy.
The Gradient and Directional Derivatives
- The Gradient Define the gradient of a function of several variables, compute it, see why it points uphill, and draw gradient fields over contour plots with Python.
- Directional Derivatives Find the rate of change of f in any direction with D_u f = โf ยท u, and learn why the gradient gives the direction and size of the steepest ascent.
- Gradients, Level Sets and Tangent Planes Why the gradient is normal to level curves and surfaces, and how to write tangent lines, tangent planes and normal lines to level sets, with Python.
- Gradient Descent and Steepest Ascent in Practice Use the negative gradient to find minima numerically: implement gradient descent, choose step sizes, see zig-zags and divergence, and compare with scipy.
Optimization in Several Variables
- Critical Points and the Second Derivative Test Find critical points of f(x, y), classify them as minima, maxima or saddle points with the Hessian determinant, and check every step with SymPy.
- Absolute Extrema on Closed Regions Find the absolute maximum and minimum of f(x, y) on a closed, bounded region by checking interior critical points and the boundary, with SymPy checks.
- Lagrange Multipliers Maximize or minimize f subject to a constraint g = c using Lagrange multipliers: geometric idea, worked examples in two and three variables, SymPy code.
- Least Squares and Gradient Descent Fit a line to data by minimizing the sum of squared errors, solve it exactly with partial derivatives, and then find the same answer with gradient descent.
Multiple Integrals
- Double Integrals over Rectangles Understand the double integral as volume, compute it with iterated integrals and Fubini's theorem, and check results with Riemann sums and SymPy.
- Double Integrals over General Regions Set up double integrals over regions bounded by curves, using type I and type II descriptions, and learn to reverse the order of integration.
- Double Integrals in Polar Coordinates Switch double integrals to polar coordinates for disks, rings and petals: why dA = r dr dฮธ, worked examples, and the Gaussian integral.
- Triple Integrals, Cylindrical and Spherical Coordinates Integrate over solids with triple integrals, and choose cylindrical or spherical coordinates for cylinders, cones and balls. Includes volume and mass examples.
- Change of Variables and the Jacobian See why polar, cylindrical and spherical factors are Jacobians, and use the Jacobian determinant to transform double integrals over parallelograms and ellipses.
Line and Surface Integrals
- Vector Fields Learn what a vector field is, how to read and plot one, how flow lines follow it, and how gradient fields come from scalar functions. Python plots included.
- Line Integrals Compute line integrals of scalar functions with arc length and of vector fields as work, using parametrizations, orientation rules and Python checks.
- Conservative Fields and Potential Functions Decide whether a vector field is conservative, find its potential function, and use the fundamental theorem for line integrals to compute work from endpoints.
- Surface Integrals and Flux Parametrize surfaces, compute surface area and scalar surface integrals, and measure flux of a vector field through a surface with the normal vector.
The Big Theorems
- Green's Theorem Green's theorem links a line integral around a closed curve to a double integral over the region inside. Learn the statement, examples, and the area formula.
- Divergence and Curl Learn the meaning and formulas of divergence (sources and sinks) and curl (rotation) for 3D vector fields, key identities, and SymPy computations.
- Stokes' Theorem Stokes' theorem relates the circulation of a field around a closed space curve to the flux of its curl through any surface bounded by the curve.
- The Divergence Theorem The divergence theorem turns the outward flux through a closed surface into a triple integral of the divergence. Examples, Gauss's law and a summary of all theorems.
Projects and Practice
- Practice Set: Optimization and Integrals Eight worked practice problems on critical points, Lagrange multipliers, double and triple integrals, each with a SymPy checker so you can test your own answers.
- Practice Set: Vector Calculus Eight practice problems on vector fields, line integrals, conservative fields, surface integrals, Green, Stokes and the divergence theorem, with SymPy checkers.
- Project: Gradient Descent on a Landscape Build gradient descent from scratch, run it on a four-minimum landscape, draw the paths on a contour map and see how start point and step size matter.
- Project: Verifying the Big Theorems Numerically Build small numerical tools to test Green's theorem, Stokes' theorem and the divergence theorem on fields of your choice, using Monte Carlo and grids.