Outlier Blog Multivariable Calculus HighRes
Outlier Articles Home


What Is Multivariable Calculus?

01.26.2022 • 7 min read

Rachel McLean

Subject Matter Expert

This article is an introductory guide to multivariable calculus. We’ll discuss the meaning of multivariable calculus and how to solve basic multivariable differentiation problems. We’ll also provide a brief overview of different concepts in multivariable calculus and some real-world applications.

In This Article

  1. What Does Multivariable Mean?

  2. How to Solve Multivariable Calculus

  3. Basic vs. Advanced Multivariable Calculus

  4. Applications of Multivariable Calculus

What Does Multivariable Mean?

So far, our study of calculus has been limited to functions of a single variable. Multivariable calculus studies functions with two or more variables. Functions that take two or more input variables are called “multivariate.” These functions depend on two or more input variables to produce an output.

For example, f(x,y)=x2+yf(x, y) = x^2 + y is a multivariate function.

How to Solve Multivariable Calculus

How can we calculate derivatives in multivariable calculus? The derivative or rate of change in multivariable calculus is called the gradient. The gradient of a function ff is computed by collecting the function’s partial derivatives into a vector. The gradient is one of the most fundamental differential operators in vector calculus. Vector calculus is an important component of multivariable calculus that is concerned with the study of vector fields.

The notation for the gradient vector is f\nabla f. For a function with two variables, the gradient looks like this:

f(x,y)=f(x,y)x,f(x,y)y\nabla f(x, y) = \langle \frac{\partial{f(x, y)}}{\partial{x}}, \frac{\partial{f(x, y)}}{\partial{y}} \rangle

In this notation, f(x,y)x\frac{\partial{f(x, y)}}{\partial{x}} is the partial derivative of ff with respect to xx. We obtain f(x,y)x\frac{\partial{f(x, y)}}{\partial{x}} by treating xx as a variable and yy as a constant, and then differentiating.

Similarly, f(x,y)y\frac{\partial{f(x, y)}}{\partial{y}} is the partial derivative of ff with respect to yy. We obtain f(x,y)y\frac{\partial{f(x, y)}}{\partial{y}} by treating yy as a variable and xx as a constant, and then differentiating.

Partial derivatives help us to understand the behavior of a multivariate function when one variable changes while the rest are held constant.

Partial Derivative Example

Let’s do one example together. We’ll calculate the gradient of f(x,y)=x2+yf(x, y) = x^2 + y at (1,2)(1, 2). The plot of f(x,y)=x2+yf(x, y) = x^2 + y can be seen below.

Partial derivative plot graph example

First, we’ll calculate f(x,y)x\frac{\partial{f(x, y)}}{\partial{x}}, the partial derivative of ff with respect to xx. Treating yy as a constant and differentiating normally, we find that f(x,y)x=2x\frac{\partial{f(x, y)}}{\partial{x}} = 2x. Remember that the derivative of any constant is zero.

Next, we’ll calculate f(x,y)y\frac{\partial{f(x, y)}}{\partial{y}}, the partial derivative of ff with respect to yy. Treating xx as a constant and differentiating normally, we find that f(x,y)y=1\frac{\partial{f(x, y)}}{\partial{y}} = 1.

Collecting these components into a vector, we find that f(x,y)=2x,1\nabla f(x, y) = \langle 2x, 1 \rangle.

Plugging in our point (1, 2), we find that f(1,2)=2,1\nabla f(1, 2) = \langle 2, 1 \rangle. Thus, the gradient of ff at (1, 2) is 2,1\langle 2, 1 \rangle.

What insight does the gradient give us? Recall that the gradient is a vector. Vectors have both a magnitude and a direction. The gradient of a function ff points in the direction of greatest increase of ff. The direction of greatest increase can also be thought of as the direction of steepest ascent, the direction of the greatest rate of change, and the direction where ff increases the fastest.

Basic vs. Advanced Multivariable Calculus

Both basic and advanced multivariable calculus concepts will involve the study of multivariable integration and multivariable differentiation. What are some of the most basic concepts in basic multivariable calculus?

Below is a list of 4 fundamental multivariable calculus concepts.

1. Partial Derivatives

Partial derivatives show us how a multivariate function behaves when we change just one variable while the rest are held constant. In multivariable calculus, partial derivatives are used to calculate the gradient.

2. Gradient Vectors

The gradient vector f(x,y)\nabla f(x, y) is the collection of partial derivatives of ff. The gradient points in the direction of the greatest increase of ff. In the same vein, the opposite direction f(x,y)-\nabla f(x, y) is the direction of the greatest decrease of ff.

3. Double Integrals

Recall that the definite integral abf(x)\int_a ^b f(x) is used to calculate the area under a curve. Similarly, the double integral Rf(x,y)dydx\int \int\limits_R f(x, y)dy dx may be used to calculate the volume under a surface, where RR is the region of integration.

Any study of double integrals will cover Fubini’s Theorem, which states that we can evaluate double integrals using iterated integrals and that the order of integration does not matter in its computation. We can visualize iterated integrals below in Fubini’s Theorem.

Rf(x,y)dydx=abcdf(x,y)dydx=cdabf(x,y)dxdy\int \int\limits_R f(x, y)dy dx = \int_a ^b \int_c ^d f(x, y) dy dx = \int_c ^d \int_a ^b f(x, y) dx dy

(You can also review our beginner’s guide to integrals if needed).

4. Relative Maxima and Minima

Relative maxima and minima are “peaks” on a multivariate function’s graph. At a relative maximum, moving in any direction will decrease the value of the function. At a relative minimum, moving in any direction will increase the value of the function. You can visualize relative maxima and minima in multivariable calculus as stalagmites and stalactites in a cave. These points are called extrema, and their gradients are 0.

Critical points are points on a function’s graph where the derivative is either zero or undefined. Not all critical points of a multivariate function are relative extrema, but the relative extrema of a multivariate function are always critical points. Much of calculus is concerned with finding and classifying critical points.

What kind of advanced concepts can you expect to cover in a multivariable calculus course?

Below is a list of 6 advanced multivariable calculus concepts.

Second-Order Partial Derivatives and Higher-Order Partial Derivatives

To compute second-order partial derivatives, we calculate the partial derivatives of the partial derivatives of a function. These higher-order derivatives can be used to check the concavity and extrema of a multivariate function.

Triple Integrals

While double integrals integrate over a two-dimensional region, triple integrals integrate over a three-dimensional region.

The Multivariable Chain Rule

The multivariable chain rule is derived from the chain rule in single-variable calculus. Suppose that we have two multivariable functions, x=g(u,v)x = g(u, v) and y=h(u,v)y = h(u, v). Let z=f(x,y)=f(g(u,v)),h(u,v))z = f(x, y) = f(g(u, v)), h(u, v)).

Then the multivariable chain rule states that the partial derivatives of f(g(u,v)),h(u,v))f(g(u, v)), h(u, v)) at (u,v)(u,v) are given by

zu=zxxu+zyyu\frac{\partial{z}}{\partial{u}} = \frac{\partial{z}}{\partial{x}} \frac{\partial{x}}{\partial{u}} + \frac{\partial{z}}{\partial{y}}\frac{\partial{y}}{\partial{u}}   and   zv=zxxv+zyyv\frac{\partial{z}}{\partial{v}} = \frac{\partial{z}}{\partial{x}} \frac{\partial{x}}{\partial{v}} + \frac{\partial{z}}{\partial{y}}\frac{\partial{y}}{\partial{v}}

Four Critical Theorems

The following four theorems are some of the most important theorems in multivariable calculus:

  • Greens’ Theorem

  • Stokes’ Theorem

  • The 2D Divergence Theorem

  • The 3D Divergence Theorem

All four theorems are concerned with multivariable integration. While they require more context than is appropriate for this brief overview, they are exciting theorems to look forward to in your study of multivariable calculus.

The Jacobian Determinant

The Jacobian matrix is the matrix of all the first-order partial derivatives of a function. When the Jacobian matrix is square, meaning that it has the same number of rows and columns, then its determinant is called the Jacobian determinant. The Jacobian determinant at a given point provides very valuable information about the function’s behavior and invertibility near that point.

More Vector Calculus and Matrices

Many multivariable calculus or Calculus 3 courses include a vector calculus component.

Vector calculus is a subdivision of calculus underneath the broader umbrella category of multivariable calculus and involves:

  • Dot products

  • Cross products

  • Transformations

  • Vector fields

  • Contour plots

  • Parametric functions and surfaces

  • And much more

Applications of Multivariable Calculus

Many phenomena require more than one input variable to construct a sufficient mathematical model. Because of this, multivariable calculus is useful in many disciplines. Here are four examples of real-world applications of multivariable calculus.

Example 1

Multivariable calculus is useful in business and finance. For example, a company’s profit depends on multiple independent variables, such as pricing, sales, the cost of materials, and overhead costs. Multivariable calculus is necessary to calculate profit maximization.

Example 2

Multivariable calculus is essential to electrical engineering. Maxwell’s equations, a set of four partial differential equations, make up the backbone of electromagnetism. These equations, which explain the behavior of the different frequency ranges in the electromagnetic spectrum, encouraged the development of vector calculus in physics. Multivariable calculus is fundamental to understanding the behavior of electric fields and optimizing new electric technologies.

Example 3

We use multivariable calculus in graphics, programming, animation, and game development to model 3D worlds. For example, multivariable calculus is handy for modeling the movement of different curves and surfaces and developing lighting models.

Example 4

Most algorithms in machine learning depend on multiple variables. Many algorithms themselves rely on multivariable calculus concepts. For example, an algorithm called gradient descent is an optimization algorithm used to minimize a cost function.

Explore Outlier's Award-Winning For-Credit Courses

Outlier (from the co-founder of MasterClass) has brought together some of the world's best instructors, game designers, and filmmakers to create the future of online college.

Check out these related courses:

Intro to Statistics

Intro to Statistics

How data describes our world.

Explore course


Master the building blocks of Calculus.

Explore course
Calculus I

Calculus I

The mathematics of change.

Explore course
Intro to Microeconomics

Intro to Microeconomics

Why small choices have big impact.

Explore course