The goal with our vector calculus discussions is to build up to the famous Stokes’ and divergence theorems, which many consider the cornerstones of vector calculus.
These theorems have to do with integrating vector fields and the differential vector field operators over surfaces and curves.
As we know, vectors have multiple components and are usually higher dimensional objects. Therefore, we need to first understand the notion of integrals in higher dimensions before we can get to anything else.
In this lesson, however, we’ll only look at things in 1, 2 or 3 dimensions.
Lesson Contents
Multivariable integrals are really just integrals in more than one dimension and they aren’t that much different from ordinary integrals of one variable. Multivariable integration is used to integrate a function of multiple variables, as you might expect.
So, with a multivariable integral, we’re really talking about integrating a scalar field (i.e. a multivariable function). We want to look at this first, since generalizing integration to vector fields (ultimately in the form of Stokes’ and divergence theorems) is based on the concept of multivariable integrals.
In 2D, a multivariable integral of a scalar field f(x,y) is a double integral over both of the variables x and y:
Now, remember that integrals in 1D represented the area under the function you’re integrating (the integrand).
In a similar sense, a double integral represents the volume in a region under a surface whose “height” is described by the integrand function:
We can also understand the geometric intuition behind all of the pieces in the integral itself by breaking down the volume into little (infinitesimal) “cubes”:
For example, we could have the function f(x,y)=x2-y, the integration limits of x going from 0 to 1 and the limits of y going from -1 to 1, so the double integral of this would be:
To do this integral, we first integrate with respect to x and imagine that y is constant (similarly to how we do partial derivatives):
Now, this is just a simple one variable integral from which we get:
So, as you can see, the idea behind these multivariable integrals is not too difficult; you just integrate over each variable one at a time.
In the case that your integration limits are just some numbers that don’t depend on the variables, x and y, the order of integration doesn’t matter; you can integrate with respect to x first or with respect to y first and get the same result.
However, it’s possible that your integration limits may also depend on the variables themselves, so in that case, the order of integration DOES matter (we’ll see an example of this later).
Similarly, we can do a triple integral of a function of three variables, however, we cannot really visualize this in the same manner since it would require a 4D graph:
Here, the intuitive idea is that dxdydz represents a little volume element, dV (basically three lengths multiplied together), and again, the function describes a height in a sense, so all together this integral would give a 4D volume of some sorts.
Down below, you’ll find a little example of doing a triple integral (and plenty more in your problem set).
It’s also possible to find volumes of 3D shapes using triple integrals. The way to do this is by integrating the little volume element dV over a particular region defined by the integration limits:
For example, we can compute the volume of a cylinder of height h and radius of the bottom circle of r:
To do this, we need to find appropriate integration limits for each of the coordinates x, y and z. The limits for z are easy; z just runs from 0 to h.
To find the limits for x and y, we can look at the x,y -plane (imagine looking at the cylinder from above), which just looks like a circle of radius r centered at the origin:
The limits of x therefore run from -r to r. As far as it comes to the limits of y, we can find these by solving the equation for a circle for y as a function of x:
We want our y to run through all of its values on the circle, so the integration limits for y will then be -√(r2-x2) and +√(r2-x2). So, our integration limits for the variables x, y and z are:
We can now integrate our volume element, which will be:
It’s easier to look at this integral in parts to avoid clutter. Let’s begin with the integral over y, which will give us:
We then integrate this over x:
We can do a trig substitution here:
Doing this, dx will be:
The new limits of integration (the limits for which u runs over) can be obtained by looking at the relation x=rsin(u). For the lower bound (x=-r), u will be:
And for x=r, u will be:
Putting all of it together, the integral over x turns into:
We can simplify this a bit (by pulling out a factor of r from under the square root and then using 1-sin2u=cos2u)
This integral will give us just π/2:
The last step is to integrate over the variable z:
So, all in all, the volume for our cylinder is:
That’s basically all there is to a multivariable integral (at least the key ideas) and this is enough for us to move forward with these concepts.
Now, it’s worth noting that many of the “integration tricks” from single-variable calculus still apply to multivariable calculus, but can be somewhat more complicated.
For example, the u-substitution method turns into something that generally requires the use of a Jacobian determinant (this is discussed in the lesson on coordinate transformations).
This lesson was fairly short, but here’s a quick summary of the key concepts: