All courses › Multivariable Calculus
Multivariable Calculus: free practice, theory and problems
A function of several variables, such as , describes something that depends on more than one quantity – temperature in a room, cost as a function of two design parameters, or pressure as a function of position. The partial derivatives tell you how fast changes as you move along one axis at a time, and the gradient collects them into a vector that points in the direction where increases fastest. This is the foundation of optimization with several variables: finding the cheapest design, the strongest structure, or the hottest spot on a plate.
Contents
1. Partial derivatives
What is it about?
A function of several variables, such as , describes something that depends on more than one quantity – temperature in a room, cost as a function of two design parameters, or pressure as a function of position. The partial derivatives tell you how fast changes as you move along one axis at a time, and the gradient collects them into a vector that points in the direction where increases fastest. This is the foundation of optimization with several variables: finding the cheapest design, the strongest structure, or the hottest spot on a plate.
Key concepts and formulas
- Partial derivative : differentiate with respect to , treating as a constant (and vice versa for ).
- Gradient: . It points in the direction where increases fastest, and is perpendicular to the level curves.
- Directional derivative along the unit vector : .
- Chain rule with one parameter: . With two parameters : .
- Critical point: where (or where the partial derivatives fail to exist).
- Second derivative test: . : local minimum. : local maximum. : saddle point.
- Lagrange's method: an extremum of subject to the constraint satisfies together with .
- Tangent plane at : . The same expression gives the linear approximation.
How to solve the problems
- Differentiate partially: hold every other variable constant.
- For critical points: set and , and solve the system of equations.
- Classify with the second derivative test, or use Lagrange's method if there is a constraint.
- For a directional derivative: normalize the direction vector first (divide by its length) if it does not already have length 1.
- For a linear approximation or tangent plane: compute and the gradient at the point, and substitute into the formula.
Example
Find and classify the critical points of .
- . . Critical point: .
- , , , so and .
- The point is a local minimum, with .
Common mistakes
- Forgetting to normalize the direction vector before using .
- Assuming and could differ – for smooth functions they are equal (Clairaut's theorem), but still write out the computation carefully.
- Believing always means an extremum. It can also be a saddle point.
- Writing the Lagrange condition backwards: it is , not .
Concepts in this part
2. Multiple integrals
What is it about?
A single integral sums values along a line. A double integral sums values over a region in the plane, and a triple integral sums over a volume. They are used for area, volume, mass, centers of mass and average values – anything that is "the sum of many small contributions" over a surface or a volume. An engineer uses this to, for example, find the mass of a plate with varying density, or the volume of a tank with slanted walls.
Key concepts and formulas
- Double integral over a rectangle: (Fubini's theorem: the order can be swapped for continuous functions).
- Area: . Volume under a surface: when .
- Mass with density : .
- Polar coordinates: , , . The factor is the Jacobian.
- Cylindrical coordinates: . Spherical coordinates: , where is measured from the -axis.
- Triple integral over a box: .
How to solve the problems
- Describe the region, and decide whether Cartesian, polar, cylindrical or spherical coordinates are simplest.
- Set up the bounds from the inside out: the innermost variable can have bounds that depend on the outer ones.
- Switch to polar/cylindrical/spherical by replacing and adding the correct Jacobian factor ( or ).
- Evaluate the integral from the inside out, one step at a time.
- Check the result: is it positive where it should be (area, volume, mass)? Does it have the right order of magnitude?
Example
Find the area of the region between and .
- The curves meet where , i.e. .
- For each between and , runs from to : .
- .
Common mistakes
- Forgetting the factor in polar/cylindrical coordinates, or in spherical coordinates.
- Using fixed bounds when the region is not actually a rectangle or a box – the inner bound often depends on the outer variable.
- Swapping the order of integration without updating the bounds accordingly.
- Confusing (measured from the -axis) with the polar angle in spherical coordinates.
Concepts in this part
3. Vector calculus
What is it about?
A vector field describes something that has both direction and magnitude at every point – a flow velocity, a force field, a heat flux. Vector calculus gives tools to measure how much a field "spreads out" (divergence) and how much it "rotates" (curl), and the big theorems (Green, Stokes, the divergence theorem) tie these local measures to global quantities such as flux through a surface or circulation around a curve. This is the language of fluid mechanics, electromagnetism and heat transfer.
Key concepts and formulas
- Divergence: . It measures sources/sinks – positive divergence means the field "flows out" of the point.
- Curl: . It measures rotation in the field. always (a gradient field is irrotational), and always.
- Conservative field: for a potential function , on a simply connected region equivalent to . Then , independent of the path.
- Green's theorem (in the plane): .
- Divergence theorem (Gauss): .
- Stokes' theorem: , where bounds the surface .
How to solve the problems
- Check whether the field is conservative: is ? If so, find the potential function and use only the endpoints.
- For closed curves in the plane: use Green's theorem instead of computing the line integral directly.
- For flux through a closed surface: use the divergence theorem, compute and integrate over the volume.
- For circulation around a curve that bounds a surface: use Stokes' theorem.
- Check the sign and units at the end – flux and circulation can be negative.
Example
Use the divergence theorem to find the flux of out of the cube .
- .
- The flux is .
- , and the rest of the volume contributes a factor : the flux is .
Common mistakes
- Using Green's/Stokes'/the divergence theorem on a surface or curve that is not closed.
- Confusing divergence (a scalar) with curl (a vector) – divergence gives sources/sinks, curl gives rotation.
- Forgetting that a conservative field makes the line integral path-independent – then you do not need to parametrize the curve at all.
- Sign errors in Green's theorem: it is , not .
Concepts in this part
Example problems with solutions
Here are some of the problems in multivariable Calculus. In the app, calculation problems get new numbers every time, so you can practise until it sticks – and take a graded practice exam before the real one.
Partial derivatives: . What is ?
Answer:
Treat as a constant.
Multiple integrals:
Answer: 0.25
.
Vector calculus:
Answer: 3
.
Partial derivatives: The gradient points in the direction where …
Answer: increases fastest
is perpendicular to the level curves.
Matches these university courses
The content covers the syllabus found in engineering degrees, for example:
- DAVE3700 (OsloMet)
- TMA4420 (NTNU)
- MATH112 (NMBU)