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.

3 parts56 problems9 concepts explainedPractice examFree
Start practising for free →

Contents

  1. Partial derivatives
  2. Multiple integrals
  3. Vector calculus

1. Partial derivatives

What is it about?

A function of several variables, such as f(x,y)f(x, y), 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 ff changes as you move along one axis at a time, and the gradient ∇f\nabla f collects them into a vector that points in the direction where ff 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

How to solve the problems

  1. Differentiate partially: hold every other variable constant.
  2. For critical points: set fx=0f_x=0 and fy=0f_y=0, and solve the system of equations.
  3. Classify with the second derivative test, or use Lagrange's method if there is a constraint.
  4. For a directional derivative: normalize the direction vector first (divide by its length) if it does not already have length 1.
  5. For a linear approximation or tangent plane: compute ff and the gradient at the point, and substitute into the formula.

Example

Find and classify the critical points of f(x,y)=x2+y2−2x−4y+5f(x,y) = x^2 + y^2 - 2x - 4y + 5.

  1. fx=2x−2=0⇒x=1f_x = 2x - 2 = 0 \Rightarrow x=1. fy=2y−4=0⇒y=2f_y = 2y-4=0 \Rightarrow y=2. Critical point: (1,2)(1,2).
  2. fxx=2f_{xx}=2, fyy=2f_{yy}=2, fxy=0f_{xy}=0, so D=2⋅2−02=4>0D = 2\cdot 2 - 0^2 = 4 > 0 and fxx>0f_{xx}>0.
  3. The point (1,2)(1,2) is a local minimum, with f(1,2)=1+4−2−8+5=0f(1,2) = 1+4-2-8+5 = 0.

Common mistakes

The gradient points where ff increases fastest. A critical point is where ∇f=0⃗\nabla f = \vec 0 – the second derivative test decides whether it is a minimum, a maximum or a saddle point.

Concepts in this part

Practise partial derivatives in the app →

2. Multiple integrals

What is it about?

A single integral sums values along a line. A double integral ∬Df dA\iint_D f\,dA sums values over a region in the plane, and a triple integral ∭Bf dV\iiint_B f\,dV 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

How to solve the problems

  1. Describe the region, and decide whether Cartesian, polar, cylindrical or spherical coordinates are simplest.
  2. Set up the bounds from the inside out: the innermost variable can have bounds that depend on the outer ones.
  3. Switch to polar/cylindrical/spherical by replacing x,y,(z)x,y,(z) and adding the correct Jacobian factor (rr or ρ2sin⁡φ\rho^2\sin\varphi).
  4. Evaluate the integral from the inside out, one step at a time.
  5. 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 y=x2y=x^2 and y=4y=4.

  1. The curves meet where x2=4x^2=4, i.e. x=±2x=\pm 2.
  2. For each xx between −2-2 and 22, yy runs from x2x^2 to 44: A=∫−22∫x24dy dx=∫−22(4−x2) dxA = \int_{-2}^{2}\int_{x^2}^{4} dy\,dx = \int_{-2}^{2}(4-x^2)\,dx.
  3. ∫−22(4−x2) dx=[4x−x33]−22=(8−83)−(−8+83)=16−163=323≈10.67\int_{-2}^2(4-x^2)\,dx = \left[4x - \tfrac{x^3}{3}\right]_{-2}^2 = \left(8-\tfrac83\right) - \left(-8+\tfrac83\right) = 16 - \tfrac{16}{3} = \tfrac{32}{3} \approx 10.67.

Common mistakes

Choose the coordinate system to match the shape of the region: rectangle/box → Cartesian, circle/disk → polar, cylinder → cylindrical, sphere → spherical.

Concepts in this part

Practise multiple integrals in the app →

3. Vector calculus

What is it about?

A vector field F⃗(x,y,z)\vec F(x,y,z) 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

How to solve the problems

  1. Check whether the field is conservative: is ∇×F⃗=0⃗\nabla\times\vec F=\vec 0? If so, find the potential function and use only the endpoints.
  2. For closed curves in the plane: use Green's theorem instead of computing the line integral directly.
  3. For flux through a closed surface: use the divergence theorem, compute ∇⋅F⃗\nabla\cdot\vec F and integrate over the volume.
  4. For circulation around a curve that bounds a surface: use Stokes' theorem.
  5. Check the sign and units at the end – flux and circulation can be negative.

Example

Use the divergence theorem to find the flux of F⃗=(x2, 0, 0)\vec F=(x^2,\,0,\,0) out of the cube [0,2]3[0,2]^3.

  1. ∇⋅F⃗=2x\nabla\cdot\vec F = 2x.
  2. The flux is ∭V2x dV=∫02 ⁣∫02 ⁣∫022x dx dy dz\iiint_V 2x\,dV = \int_0^2\!\int_0^2\!\int_0^2 2x\,dx\,dy\,dz.
  3. ∫022x dx=4\int_0^2 2x\,dx = 4, and the rest of the volume contributes a factor 2⋅2=42\cdot 2=4: the flux is 4⋅4=164\cdot 4=16.

Common mistakes

Divergence measures sources, curl measures rotation. The three big theorems trade a hard line/surface integral for an easier surface/volume integral.

Concepts in this part

Practise vector calculus in the app →

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: f(x,y)=x2yf(x, y) = x^2y. What is ∂f/∂x\partial f/\partial x?

Answer: 2xy2xy

Treat yy as a constant.

Multiple integrals: ∬[0,1]×[0,1]xy dA=\displaystyle\iint_{[0,1]\times[0,1]} xy\,dA =

Answer: 0.25

∫01x dx⋅∫01y dy=12⋅12=14=0.25\int_0^1 x\,dx\cdot\int_0^1 y\,dy = \tfrac12\cdot\tfrac12 = \tfrac14 = 0.25.

Vector calculus: ∇⋅(x,y,z)=\nabla\cdot(x, y, z) =

Answer: 3

1+1+1=31 + 1 + 1 = 3.

Partial derivatives: The gradient ∇f\nabla f points in the direction where …

Answer: ff increases fastest

∇f\nabla f is perpendicular to the level curves.

Practise all the problems →

Matches these university courses

The content covers the syllabus found in engineering degrees, for example: