Mathwords logoMathwords

Multivariable Calculus

Multivariable Calculus
Multivariable Analysis
Vector Calculus

The use of calculus (limits, derivatives, and integrals) with two or more independent variables, or two or more dependent variables. This can be thought of as the calculus of three dimensional figures.

Common elements of multivariable calculus include parametric equations, vectors, partial derivatives, multiple integrals, line integrals, and surface integrals. Most of multivariable calculus is beyond the scope of this website.

 

See also

Curly d, del operator, multivariable

Key Formula

fx=limh0f(x+h,y)f(x,y)h\frac{\partial f}{\partial x} = \lim_{h \to 0} \frac{f(x+h,\, y) - f(x,\, y)}{h}
Where:
  • f(x,y)f(x, y) = A function of two independent variables x and y
  • fx\frac{\partial f}{\partial x} = The partial derivative of f with respect to x, measuring how f changes as x alone varies
  • hh = A small increment approaching zero
  • \partial = The 'curly d' symbol used for partial derivatives (as opposed to the ordinary d in single-variable calculus)

Worked Example

Problem: Find all first-order partial derivatives of f(x, y) = 3x²y + 2xy³ − 5y.
Step 1: To find the partial derivative with respect to x, treat y as a constant and differentiate with respect to x.
fx=x(3x2y+2xy35y)\frac{\partial f}{\partial x} = \frac{\partial}{\partial x}(3x^2 y + 2xy^3 - 5y)
Step 2: Differentiate each term: 3x²y becomes 6xy, 2xy³ becomes 2y³, and −5y becomes 0 (since it has no x).
fx=6xy+2y3\frac{\partial f}{\partial x} = 6xy + 2y^3
Step 3: Now find the partial derivative with respect to y by treating x as a constant.
fy=y(3x2y+2xy35y)\frac{\partial f}{\partial y} = \frac{\partial}{\partial y}(3x^2 y + 2xy^3 - 5y)
Step 4: Differentiate each term: 3x²y becomes 3x², 2xy³ becomes 6xy², and −5y becomes −5.
fy=3x2+6xy25\frac{\partial f}{\partial y} = 3x^2 + 6xy^2 - 5
Answer: The partial derivatives are ∂f/∂x = 6xy + 2y³ and ∂f/∂y = 3x² + 6xy² − 5.

Another Example

This example demonstrates multiple integration over a rectangular region, contrasting with the first example which focused on partial differentiation. Double integrals extend single-variable definite integrals to compute volumes and accumulated quantities over two-dimensional regions.

Problem: Evaluate the double integral ∬_R (x + 2y) dA, where R is the rectangle 0 ≤ x ≤ 3, 0 ≤ y ≤ 2.
Step 1: Set up the double integral with the given bounds. You can integrate in either order; here integrate with respect to y first, then x.
0302(x+2y)dydx\int_0^3 \int_0^2 (x + 2y)\, dy\, dx
Step 2: Evaluate the inner integral with respect to y, treating x as a constant.
02(x+2y)dy=[xy+y2]02=2x+4\int_0^2 (x + 2y)\, dy = \left[xy + y^2\right]_0^2 = 2x + 4
Step 3: Now evaluate the outer integral with respect to x.
03(2x+4)dx=[x2+4x]03=9+12=21\int_0^3 (2x + 4)\, dx = \left[x^2 + 4x\right]_0^3 = 9 + 12 = 21
Answer: The value of the double integral is 21.

Frequently Asked Questions

What is the difference between multivariable calculus and single-variable calculus?
Single-variable calculus deals with functions of one input, like f(x), using ordinary derivatives and single integrals. Multivariable calculus extends these ideas to functions of two or more inputs, like f(x, y) or f(x, y, z), introducing partial derivatives, gradient vectors, double and triple integrals, and new types of integrals along curves and over surfaces. The core concepts of limits, derivatives, and integrals remain, but they become richer in higher dimensions.
When do you take multivariable calculus?
Most students take multivariable calculus (often called Calculus III) after completing single-variable calculus (Calculus I and II). It is typically required for majors in mathematics, physics, engineering, economics, and computer science. A solid understanding of derivatives, integrals, and series from earlier calculus courses is essential before starting.
What is the gradient in multivariable calculus?
The gradient of a function f(x, y) is a vector of its partial derivatives: ∇f = (∂f/∂x, ∂f/∂y). It points in the direction of the steepest increase of f and its magnitude gives the rate of that steepest increase. The gradient is central to optimization, physics, and many applied fields.

Multivariable Calculus vs. Single-Variable Calculus

Multivariable CalculusSingle-Variable Calculus
Number of variablesTwo or more independent variables (x, y, z, …)One independent variable (x)
DerivativesPartial derivatives (∂f/∂x, ∂f/∂y), gradient, directional derivativesOrdinary derivative (df/dx)
IntegralsDouble integrals, triple integrals, line integrals, surface integralsSingle definite and indefinite integrals
Key toolsVectors, gradient (∇f), divergence, curl, parametric surfacesChain rule, Fundamental Theorem of Calculus, u-substitution
Typical courseCalculus III (college sophomore level)Calculus I and II (college freshman level)

Why It Matters

Multivariable calculus is essential for describing the physical world, where quantities like temperature, pressure, and electromagnetic fields depend on multiple spatial variables. Engineers use it to analyze fluid flow and stress in materials, economists use it to optimize functions of several decision variables, and data scientists rely on gradients for training machine learning models. Virtually every STEM field beyond introductory coursework requires fluency in these concepts.

Common Mistakes

Mistake: Forgetting to hold other variables constant when computing a partial derivative.
Correction: When finding ∂f/∂x, treat every other variable (y, z, etc.) as a constant — just as you would treat a number. For example, the partial derivative of xy² with respect to x is y² (not 2xy).
Mistake: Confusing the ordinary derivative notation d with the partial derivative notation ∂.
Correction: Use ∂ (the curly d) whenever the function depends on more than one variable. Writing df/dx for a multivariable function is ambiguous and can lead to errors, especially when applying the multivariable chain rule.

Related Terms

  • CalculusThe broader field that multivariable calculus extends
  • Partial DerivativeDerivative with respect to one variable, holding others fixed
  • IntegralExtended to double and triple integrals in multiple dimensions
  • VectorFundamental object used throughout multivariable calculus
  • Del OperatorOperator ∇ used for gradient, divergence, and curl
  • Curly dSymbol ∂ denoting partial differentiation
  • Parametric EquationsUsed to describe curves and surfaces in multiple dimensions
  • Three DimensionsThe geometric setting for most multivariable calculus problems