We’ve learned so far to integrate multivariate functions over a line or over regions in or . Here we extend our knowledge to consider integrals over a curve or a surface in space. Such integrals appear in many mathematical and physical contexts, and in particular turn out to be rather important in our final unit, dealing with vector fields.
17.1 Line Integrals
A better name for this object would be a curve integral as the goal is to allow the integration of a multivariable function over some general curve . We already know how to do this if is a straight line parallel to the or axes, as this is just a slice, representing the net area above that slice, or the total amount of on that slice:
This picture caries over directly when is an arbitrary curve. The area under above the curve (or the total amount of along , depending on your interpretation) is the line integral over
We can denote the domain as a subscript just like we do for double and triple integrals, and write
Where represents an infinitesimal bit of arclength along the curve. When is a closed curve one may optionally modify the integral sign to denote this, writing . Our first goal is to try and figure out how to compute this in terms of integrals we know how to do. First: recall that we can represent a curve by parameterizing it, writing it as the image of a function in the plane, or in 3 dimensions. We saw back in the chapter on curves how to express a small bit of arclength along a parametric curve:
To evaluate a function along the curve , we simply plug the curve into the function. This gives a concrete quantity to integrate:
Note the simplest line integrals are just when . This is the integral just adding up the infinitesimal arclengths . We already met this integral long ago - this gives the arclength of the curve!
Example 17.1 The slices we have been computing are special cases of line integrals: for a fixed we can parameterize a slice in the direction by the curve which has velocity and speed , so arclength . Plugging our curve into the function yields and thus an integral The variable has a different name (because we decided to parameterize our curve with ) but this is nothing other than the integral in the direction, holding fixed!
Example 17.2 Find for the diagonal of the unit square going from to .
Example 17.3 Evaluate for the top half of the unit circle parameterized counterclockwise.
Example 17.4 Evaluate for the circle of radius , traversed clockwise.
This tells us what to do anytime we can write as a differentiable curve: but what if we can’t? Sometimes a curve might be piecewise, and has a corner where the edges join up. In this case, we evaluate the line integral by doing each segment of the curve separately, and adding the results:
We just have to be sure to parameterize the two curves so that ends where starts, so that together they continuously trace the entire curve.
Example 17.5 Find the line integral of along the curve which traces out the triangle with vertices , and , starting at the origin and going clockwise.
We break this into three curves: Each is segment is traced from to . We then just compute the line integral along each and add up the results.
Its no difficulty to generalize this to doing integrals along space curves instead of in the plane:
Example 17.6 Compute the line integral for and the helix , and for .
17.2 Surface Integrals
We are now interested in extending this notion to integrals over a surface instead of a curve. If that surface is a 2D region inside of the plane, we already know how to do this: its just the double integral , where is an infinitesimal piece of area on the plane. So, what we are interested in here instead is when is a surface in 3 dimensional space and is a scalar function on 3 dimensional space
These integrals will add up the total amount of which lies on the surface . This is useful for many things: if is a density this gives the mass of the object. If is a charge density this would give the total charge on the surface: a computation that is useful inside of batteries, where the anode and cathode may be tightly coiled surfaces. These integrals can also be used to help find the average value of a function: dividing the surface integral of over by the surface area of . We will denote such an integral as
Where we think of as an infinitesimal piece of surface area. A lot of the work in computing surface integrals is just finding the right form for to use, to convert int into a double integral we know how to do. So we begin by looking at some special cases: we actually know how to write the infinitesimal areas on a cylinder or sphere from our work with coordinates!
The Surface of a Cylinder
In cylindrical coordinates we convert two of to polar and leave the other alone. The resulting volume element was
We can use this to find the area element on a cylinder, realizing this simply means that is held fixed and are allowed to vary:
Definition 17.1 The area element along a cylinder of fixed radius is
Thus, to compute a surface integral of on a portion of a cylinder, we can convert to cylindrical coordinates and then use the cylinders’s area element:
Example 17.7 Compute $ for the cylinder of radius 2 centered on the -axis between and .
Here and remains the same, giving and . The bounds on the cylinder are and . Putting this all together gives
This is a double integral we can easily evaluate, using the trick and a -substitution.
Example 17.8 Compute for the cylinder of radius 1 centered on the axis from to .
Here the cylinder is along the axis so we instead have being the polar coordinates. The cylinders bounds are and , with since . Plugging all this in yields
The Surface of a Sphere On a sphere we already have spherical coordinates for which we computed a nice volume element
If we wish to look at the area of a sphere we just need to fix to some constant value (its radius), and then consider only small changes in and (we are not changing as we wish to stay on the surface!)
Definition 17.2 The infinitesimal area element on a sphere of radius is
Thus, to compute a surface integral of on a portion of a sphere, we can convert to spherical coordinates and then use the sphere’s area element:
Example 17.9 Compute for the upper hemisphere of the sphere of radius .
In spherical coordinates , and here the radius is fixed at so . The spherical coordinate bounds for the upper hemisphere have and , so plugging these in with the area element yields
This integral is easily evaluated with a -sub .
Example 17.10 Compute for the sphere of radius 3 centered at the origin.
The Graph of a Function
What about when our surface isnt something simple like this that we already know the answer to? Let’s start with the case that our surface is the graph of a function .
How do we describe an infinitesimal area element on this surface? Recalling back to our earlier study of functions and their graphs, we can easily find two tangent vectors to our graph by writing it as a parametric surface and then taking the partial derivatives. This gives a vector in the direction and in the direction
These two vectors span an infinitesimal parallelogram, whose area is the area element we seek. How do we find the area of a small parallelogram again? The cross product! Thus, the area element is simply
Computing this cross product and taking the magnitude gives our answer
Definition 17.3 The area element along the graph of a function is given by
This gives us a means to evaluate surface integrals along such objects: we simply evaluate at points along the graph, and integrate with respect to this .
Example 17.11 Find the area of the paraboloid that lies below the plane .
Example 17.12 Find for the surface for and .
Ans: .
Just like for Line Integrals, surface integrals can be computed over regions bounded by two or more surfaces joined together by computing each part separately and adding the results:
Example 17.13 Let denote the closed surface defined by and the plane . Compute the surface integral $
General Surface Integrals
The cases above actually cover many useful examples, so we will not often need the general case. But we’ve come so far we might as well spell it out precisely. Let’s say we have a surface in space described by a parametric equation . Its easy to evaluate a scalar function on the surface, we just plug in this parameterization
To get an infinitesimal surface area element, we can follow the trick that worked for graphs: if we can find two tangent vectors at a point we can find the area of the infintiesimal parallelogram they span using the cross product.
Here the tangent vectors are the and derivatives of the parameterization
The normal vector to the surface at this point is the cross product and its magnitude is the infinitesimal area element:
This converts everything into an explicit double integral
Where is the domain of the parameterization (its bounds and bounds).
Example 17.14 Compute for the cone parameterized by , and for and .
Example 17.15 Compute for the surface with parameteric equation where lies in the unit disk .