Chapter 38. Flux
We now discuss (3D) flux, the final type of vector field integral that we haven’t seen yet. This is the final cell in the poster Figure 75 that we haven’t met yet.
This chapter will be pretty reminiscent of Chapter 33. We’ll start by giving a “bare-hands” definition of the flux through a parametrized surface. It will be usable, but pretty cumbersome, so in the next chapter Chapter 39 we’ll immediately try to find ways to shortcut it. For 18.02, the methods available to you will be
Bare-hands parametrization (covered here)
- Even here, magic formulas can save you a lot of work — see Table 23.
- Shortcut: Transforming to a surface area integral (covered in Section 38.6)
- Shortcut: The divergence theorem, by converting to a 3D volume integral (covered in the next chapter Chapter 39)
§38.1 [TEXT] The definition of flux using bare-hands parametrization
Let parametrize an oriented surface in . The flux of a vector field through is defined by
(We’ll explain what “oriented” means in the next section.)
Yes, there’s that hideous cross product again. Naturally, people have shorthand to make this easier to swallow: this time either
is used to sweep everything under the carpet. That is, and are both shorthands for the longer . We’ll usually prefer in this book.
I promised you back in the surface area chapter (Chapter 29) that at some point you’d need the whole cross product and not just its magnitude, and here we are! In fact, the absolute value being gone is in some sense an improvement: I would argue is less messy than .
We’ll do example calculations in a moment, but let me first talk about how to think about this, and also explain what the adjective “oriented” means.
§38.2 [TEXT] Aquatic interpretation of flux
Flip back to Figure 81 for a moment. Back when we were talking about the work integral , I told you to visualize the work as adding the dot products of the force vectors with tangent vectors.
The interpretation here is similar to 2D flux. You should imagine the surface as some membrane in the water; then the flux measures the rate at which water moves through it.
To make this picture complete, I need to tell you about orientation. Remember, back when we had work integrals, a curve wasn’t just a bunch of points; we also had to tell you which point was the “start” and which one was the “stop”. In other words, work integrals operate on a curve with a direction.
Something similar happens with flux integrals over surfaces: in addition to the actual points, we need to specify an orientation. To be more precise, at every point of the surface , the cross product from our parametrization could point in one of two opposite directions.
Algebraically, this corresponds to choosing the order of and ; as if you flip the order of the two parameters it will negate the entire cross product:
Hence the flux will get negated too. This sign issue is disorienting because it wasn’t present for work, where “start to stop” was pretty easy to think about; we’ll give more examples momentarily.
Going back to our new flux integral, we need to visualize the dot products
The is still the force vector, and as we describe earlier, the vector
represents a normal vector to the surface at each point. We draw this in Figure 93.
The dot product of Figure 93 should match your aquatic intuition. For our oriented surface, the dot product is large when the force is moving along the same direction as the normal vector. That matches our description of a water current puncturing the surface. On the other hand, if the force had been moving mostly parallel to the surface, then the dot products and hence flux are both close to zero.
§38.3 [TEXT] More on orientation
Here’s another example of an orientation to make things less abstract.
Let’s consider the sphere with . For each point on the sphere, the normal vector to the sphere at either points straight towards the center, or away from the center.
What does this correspond to algebraically? We consider two possible ways to parametrize the sphere that differ only in the order.
Let’s imagine we used a spherical parametrization of the hemisphere as
where and . If we grinded out the cross product, you would find that (see Chapter 30 to see this written out)
At each point of the sphere, this points outwards (since ), so this would be a parametrization of the sphere with all the cross products pointing out.
But what if we had flipped the order of and ? That is, suppose we used
where and instead. Then the cross product will get negated:
And now at every point, the cross product points inside the sphere instead!
So which one of these orientations is “correct”? Well, that’s why a convention is needed. It’s just like when we computed work or flux integrals of circles in 2D, we had to say “counterclockwise” or “clockwise”. For this sphere we have to say “outwards” or “inwards” or something like that so that whoever is computing the flux integral knows which way to take the cross product.
In general, for surfaces where inward vs outward has an obvious meaning, the convention is usually “outward”. But not all surfaces have an obvious inward vs outward (for example, the -plane given by ), and in those cases an exam question should tell you which one to use for that question.
§38.4 [TEXT] Magic formulas for the cross product (reprise)
TL;DR: cross products are too annoying, so we pre-compute them all.
In Chapter 30 I gave you Table 14 which let you bypass the cross product step when calculating surface area, and it still works here. But I’m actually going to rewrite the table to connect it to the shorthand . In fact, people often split the shorthand into two parts: is the unit vector in the direction of the cross product, while represents the absolute value with tacked on. In symbols, this says
(So is indeed the full cross product, as the two absolute value things cancel.)
The reason people will separate it like this is to make the geometry a bit easier to think about. Remember from back in Chapter 6 that a cross product has two pieces of information: a direction (meant to give two right angles) and a magnitude (meant to interpret area). The point of separating the shorthand is to make these correspond to and respectively.
Personally, I don’t see the point of decomposing the information like this, since you need the entire cross product when you do calculation anyway. But a lot of people do it. So by popular request, here’s a version of Table 14 that separates the components. I think this separation only really helps with the fourth and fifth rows, because back in Chapter 30 we described ways to remember geometrically for the cylinder and the sphere. (For the cylinder, ; for the sphere, .) For the first and second rows, you should just remember the fifth column.
| Surface | Param’s | (unit vec) | ||
|---|---|---|---|---|
| Level surface over an -region | ||||
| Flat surface | ||||
| Cylindrical coords with fixed | ||||
| Spherical coords with fixed | (if ) | (if ) |
Again, when actually doing flux calculation with bare hands, you only need the fifth column. And if you ever do need the third and fourth column for some other reason, they can be derived instantly from the fifth column anyways. So the third and fourth column are only helpful insomuch as they might make the formula for the cylinder and sphere easier to remember or more conceptually intuitive. But for practical calculation they are redundant.
§38.5 [RECIPE] Recipe for flux integrals with bare-hands parametrization
We go back to recipe format now.
To compute the flux of over a surface :
Get the cross product for a parametrization using the following checklist.
- If you are using -coordinates to parametrize (meaning is or a level surface), use the magic formulas in rows 1 or 2 of Table 23.
- For a flat surface, it’s easy (row 3 of Table 23).
- If is specifically given by cylindrical/spherical coordinates with fixed radius, use rows 4 or 5 of Table 23.
Otherwise, evaluate the cross product manually:
- Pick a parametrization of the surface . Sort of like in Section 12.7, you have some freedom in how you set the parametrization.
- Compute and (both are three-dimensional vectors at each point).
- Compute the cross product as in Chapter 6.
- Look at which way the cross product points. Does it point the direction you want? If not, negate the entire cross product (equivalently, swap the order of and ) before going on.
Compute the dot product
This gives you a number at every point on the parametrizing region .
- Integrate the entire thing over using any of the methods for double integrals (such as horizontal/vertical slicing, polar coordinates, change of variables, etc.).
Let’s give one example corresponding to each row of Table 23.
Solution. Our parametrization of the surface is by definition
for and . Accordingly, we use the first row of Table 23 with . Compute the partial derivatives
Then by using the first row of Table 23, if we we get that the cross product at each point is given by
At this point we have to check whether this cross product points the direction specified in the problem, or if we need to negate everything and consider instead. The question wanted the normal vector to be oriented upwards, and since is positive, the original we had is okay; we use
Now, the vector field is given at each point by
So we can compute the dot product
Hence the flux requested is given by
which is straightforward to evaluate:
Solution. Our parametrization of is going to be
across . If we wanted to use the first row of the table Table 23, we would use . However, square roots are annoying and we’ll use the second row instead by viewing this hemisphere as a chunk of the level surface
for the value . Since and , our table gives
Here .
At this point we have to check whether this cross product points the direction specified in the problem, or if we need to negate everything and consider instead. This time, the question specified the normal vector should point downwards, towards the -plane. So we had better use the negative one:
Meanwhile, the force at each point of the parametrization is given by
So the dot product is given by
Hence the flux we seek is
But notice that the integrand is an odd function in both and . Since the region is symmetric with respect to both axes, we don’t even have to bother changing to polar coordinates; we can just deduce directly that
Solution. Let be the surface of the plane mentioned. We parametrize with the variables and ;
across .
This cross product is the third (easiest) row of Table 23; you just get
Before going on, we again have to check whether the normal vector points the correct way, or we should negate it and use instead. The problem wants the direction, so indeed, we take the negated one here:
Meanwhile, the force vector at each point is just
The dot product is then
Hence, the flux we seek is
Solution. It’s natural to parametrize this with cylindrical coordinates as
for and . As this is a cylinder, we use the fourth row of Table 23 to get
As before we pause to see whether this points the right way or whether we need to instead use . The question specifies to orient the normal vector outwards, so we use the former one:
Meanwhile, the force at each point is given by
Thus, the dot product is:
Hence, the flux we seek is
Recall that:
by using and . Hence,
For the final example, we actually use the same hemisphere again, but this time we use spherical coordinates, so you can compare the methods. (In my opinion, this is uglier, but some people prefer spherical coordinates anyway.)
Solution. We parametrize with spherical coordinates by writing
for and . In that case, the cross product according to Table 23 is
This points away from the sphere since , so we flip the order:
Meanwhile, we have
If we expand the entire dot product we now get
In other words, we have
The latter integral is super annoying to evaluate, but the former integral is zero because , so we don’t have to worry about the integral at all; we just get as the answer.
§38.6 [TEXT] Another trick: writing as surface area if is constant
We give one more trick for avoiding the cross product that only works in certain situations, but when it does, it makes your life a lot easier. Let be a surface parametrized by , and as always let be shorthand for the unit vector in the direction of .
Let’s compare the flux and surface area in both longhand and shorthand.
In longhand, we have
(Keep type safety in mind here: the absolute value is a number, and the is dot product of vectors in .) What we’ve done for the flux is decompose the cross product into times its magnitude, which we can do (in general, any vector equals multiplied by its direction unit vector). In this way you can make flux look a little more like surface area.
In shorthand, it’s even more obvious:
However, this resemblance is mostly useless, except in one really particular circumstance: the case where it happens is always equal to the same constant for every point on the surface. If you are that lucky, then the resemblance can actually be put to use:
Then if you know the surface are of , you don’t have to do any integration. You just multiply the surface area by .
Again, this particular trick is extremely specific. It will only happen if and have been cherry-picked so that is constant, and if you write down a “random” vector field there is absolutely no chance this occurs by luck. However, despite the brittleness of the technique, this trick is still popular for some homework and exam questions because no calculation is needed. Here are two examples of this with spheres.
Let denote the sphere of radius . Let . Compute the flux
(Orient outwards.)
Solution. The normal vector at any point on the surface of the sphere is a unit vector pointing in the direction of . Conveniently, the force vector is a vector of magnitude in the same direction! That is,
Consequently,
(In general, we know a sphere of radius has surface area .)
Let denote the sphere of radius . Let be the force of gravity exerted by a point mass at the origin. Compute the flux
(Orient outwards.)
Solution. This is just like the previous example except that the gravity exerted has magnitude and points in the opposite direction as . That is,
Consequently,
(In general, we know a sphere of radius has surface area .)
Note that the answer is independent of the radius! The cancels out.
§38.7 [EXER] Exercises
Exercise 38.1. Calculate the flux of the vector field
across the portion of the surface defined by
where the normal vector is oriented upwards.