This set practises four lessons: vector fields in space and flux, flux through graphs and the divergence theorem, the divergence theorem, its proof and the diffusion equation and line integrals, gradient fields and curl in space. It follows MIT's Problem Set 11, in our own words.
MIT's set has two parts. Part B holds MIT's five problems (26 points), for which OpenCourseWare has no solutions. All five are written out below, with hints and solutions of our own. Part A is a list of short exercises from MIT's own Supplementary Notes, which also hold their solutions. Those are not rewritten here: the last section of this page lists them and links to MIT's exercises and solutions.
MIT's Problem 1 is not printed on the sheet. It says only "Notes 6B/7", which is an exercise in the problems section of MIT's Supplementary Notes. That exercise carries a star, and MIT's Notes give no solution to starred exercises. It is written out here as Problem 1, in our own words.
MIT labels each problem with the day from which it can be done. MIT's sheet numbers its lectures with a calendar that counts the days of the exams, so its Lectures 30 to 33 are Lectures 27 to 30 on this site, and in Prof. Auroux's lecture summaries. Problem 1 goes with Lecture 27, Problems 2 and 3 with Lecture 28, Problem 4 with Lecture 29 and Problem 5 with Lecture 30.
How to answer#
Work each problem on paper first. Then choose or type your result in the answer box and press Check. A formula box takes plain typing, for example x*sin(z) + y^2, and accepts every correct way of writing the answer. A number box wants a decimal number, not a fraction or a multiple of . The points of each problem, and the split over the parts of Problems 2 to 5, are MIT's. The questions that have an answer box are marked as such in each part; a part that asks you to show or verify something has no box, only a solution to compare with. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
Problem 1#
Flux of a field through an infinite cylinder
Let be the infinite cylinder of radius 1 around the -axis, with the unit normal pointing away from the axis. Here is the field, with the distance to the origin:
In words
vector capital F equals the quantity x i hat plus y j hat plus z k hat, all over the quantity x squared plus y squared plus z squared, equals vector r over rho squared
Find the flux through the cylinder, as a decimal number.
Hint
On the cylinder the normal is , a unit vector. Work out and use to write it with only.
Hint
For a cylinder of radius the surface element is . Here . The integral over and the integral over then separate.
Hint
The integral over runs over the whole real line. Its integrand is , which has a well-known antiderivative.
Solution
The idea. Write on the cylinder as a function of alone, take , and integrate. The cylinder is infinite, so the integral is improper, and it converges.
The integrand on the cylinder
On the cylinder , the unit normal pointing away from the axis is . So
In words
vector capital F dot n hat equals the quantity x squared plus y squared, all over the quantity x squared plus y squared plus z squared, equals 1 over the quantity 1 plus z squared
The surface element
For a cylinder of radius around the -axis the lesson uses . With :
In words
d S equals d z d theta
The flux
In words
the integral of the integral over S of vector capital F dot n hat d S equals the integral from 0 to 2 pi of the integral from minus infinity to infinity of d z over the quantity 1 plus z squared, times d theta equals 2 pi ( arc tangent z ) sub minus infinity to the power infinity equals 2 pi times pi equals 2 pi squared is approximately 19.74
Check the result
A check with a field whose answer we know. The inverse-square field has the flux through every closed surface that contains the origin (this is the subject of Problem 3). The cylinder is not closed, but it is the limit of closed surfaces that include two far-away discs. Through the cylinder, , and , so the flux is . That is the whole , as it should be, because the two discs at the far ends carry nothing in the limit. The field falls off more slowly, so its flux is more than .
Problem 2#
The divergence theorem on a tetrahedron
A tetrahedron has the four vertices , , and . Its four faces are called by their vertices: for example, face .
In words
vector capital F equals y i hat
Throughout, the surface of the tetrahedron is oriented with the normal pointing out of the solid.
(a)1 point
The symmetry is a reflection in the -plane. Which two faces are exchanged by it?
Hint
See what the reflection does to each vertex. Which vertices stay where they are, and which two change places?
Solution
The idea. A symmetry of the solid permutes its vertices, and a face goes to the face through the images of its vertices.
What happens to the vertices
The reflection keeps and , because their is . It exchanges and .
What happens to the faces
Face goes to , itself: it lies in the plane and the reflection only turns it over. Face goes to itself too, because it lies in the plane and is symmetric about . Face goes to , and the other way round. So the two faces that are exchanged are and .
Check
Each face is named by three vertices, so each face is the one that does not contain one vertex. The face without is and the face without is : they are the faces opposite the two vertices that the reflection exchanges. The two vertices that the reflection exchanges are and , so the faces without them are exchanged.
(b)2 points
Find a normal vector to each face, pointing outwards. Use the easiest ones, not unit vectors. One of the calculations can be avoided by symmetry.
Give the outward normal of the face , and of the face .
Hint
Two faces lie in coordinate planes, so their normals can be read off. For the other two, take the cross product of two edges of the face.
Hint
A cross product gives a normal, but perhaps the inward one. To decide, look at the fourth vertex, the one that is not on the face: the outward normal points away from it.
Solution
The idea. A normal to a flat face is the cross product of two of its edges. Of the two directions it can have, choose the one that points away from the vertex that is not on the face.
Face , in the plane
All three vertices have , so the face lies in the -plane and its normal is . The fourth vertex has , so it is on the positive side, and the outward normal is .
Face , in the plane
All three vertices have . The fourth vertex has , so the outward normal is .
Face
Two edges from are the vector from to , which is , and the vector from to , which is :
In words
the average of 1, 0, 1 times the average of 1, 1, 0 equals the average of 0 times 0 minus 1 times 1, 1 times 1 minus 1 times 0, 1 times 1 minus 0 times 1 equals the average of minus 1, 1, 1
The fourth vertex is . Its dot product with the normal is , which is negative, so is on the side opposite to . Then points away from : it is the outward normal.
Face by symmetry
The reflection exchanges this face with the face of the last step. Reflecting the vector gives . This one is outward too, because the reflection maps the solid to itself. The calculation with the cross product is avoided.
Check the result
If you compute the cross product for this face directly: . The fourth vertex is and , so points towards , and the outward normal is the opposite one, , as found by symmetry.
A second check: the four outward area vectors (half the cross products of two edges, pointing out) must add to the zero vector, as in Problem 3 of Problem Set 1. They are for (its edges give , which is reversed to point outward and halved), for , and and for the other two. Their sum is .
(c)3 points
Find the flux of out through each face. Because is symmetric under , you can again avoid one calculation.
Give the flux through the face and through the face , as decimal numbers.
Hint
For a flat face, is the normal vector times an element of area in a coordinate plane. For the face in the plane the normal is and the area element is .
Hint
The face lies in a plane through the origin. Its normal from part (b) gives the equation of the plane. Solve it for , so that the face is a graph over the -plane, and use the graph formula of Lecture 28 with the roles of the variables renamed.
Hint
The plane is , which is . The face is the part of it above the triangle with the corners , and in the -plane. The normal has a positive component, which is the right one for a graph over the -plane.
Solution
The idea. On each flat face, write as , where is the outward normal of part (b), scaled so that its component along the projection axis is , and is the area element of the projection of the face onto a coordinate plane.
Face , in the plane
On this face , so and the flux is .
Face , in the plane
Here , , and . The face is the triangle in the -plane with the corners , , : for each between and , the height runs from to .
In words
the integral of the integral of _ capital B y d y d z equals the integral from 0 to 1 of y times 2 the quantity 1 minus y, d y equals 2 the quantity one half minus one third, equals one third is approximately 0.3333
Face , in the plane
The plane through the origin with the normal is , which gives . The face is a graph over the -plane. The projection of , and onto the -plane are the points , and : the triangle with . For a graph the normal is (the graph formula of the lesson, with the roles of the variables renamed). Here and , so , with the component positive: this is the outward direction found in part (b).
In words
vector capital F dot n hat d S equals y i hat times the average of minus 1, 1, 1 d x d z equals minus y d x d z equals minus the quantity x minus z, d x d z
In words
the integral from 0 to 1 of the integral from 0 to x of minus the quantity x minus z, d z d x equals minus the integral from 0 to 1 of x squared over 2, times d x equals minus one sixth is approximately minus 0.1667
Face by symmetry
The field does not change under , and the reflection exchanges the faces and . So the flux through is also .
Check the result
The four fluxes are , , and . They add up to . This is what part (d) will explain: the divergence of is .
A test of the method with another field, , whose divergence is , so that its total outward flux must equal the volume of the tetrahedron. The volume is of the absolute value of the determinant of the three edges from : . The flux of is through (), then through (the field is there, the area of the face is ), and through each of the two slanted faces: , which is the volume.
(d)2 points
Verify the divergence theorem for the tetrahedron and the field by computing each side of the formula.
Hint
The left side is the total outward flux, the sum over the four faces. You have everything for it. The right side is the triple integral of the divergence over the solid.
Solution
The idea. Compute the two sides separately, and see that they agree.
The surface side
The total outward flux is the sum of the four fluxes of part (c):
In words
the integral of the integral over S of vector capital F dot n hat d S equals 0 plus one third minus one sixth minus one sixth equals 0
The volume side
The divergence of is . So the triple integral is zero whatever the region:
In words
the integral of the integral of the integral of _ capital D d i v vector capital F d V equals the integral of the integral of the integral of _ capital D 0 d V equals 0
The two sides are equal, .
Check the result
A sum of fluxes that gives exactly zero is a strong check on the three separate values, because they are different numbers: an error in one of them would show here. The check with at the end of part (c) shows that the method gives the right answer when the divergence is not zero.
Problem 3#
The inverse-square field of a gradient
Let and .
(a)2 points
Calculate , and describe the vector field geometrically.
Type the -component of as a formula in , and .
Hint
Write and use the chain rule for the partial derivative with respect to .
Hint
The and components follow by the same steps, so the whole field is . Compare that with the position vector , which points outward.
Solution
The idea. Differentiate with the chain rule. The three components have the same form, so the field is a scalar function times the position vector.
The partial derivatives
With , the chain rule gives
In words
f sub x equals minus one half the quantity x squared plus y squared plus z squared, all to the power minus three halves, end of power, times 2 x equals minus x over rho cubed
and and in the same way.
The field
In words
vector capital F equals del 1 over rho equals minus the average of x, y, z over rho cubed equals minus vector r over rho cubed
The picture
The vector is the unit vector pointing away from the origin. So points straight towards the origin, and its length is 1/ρ²: it gets weaker with the square of the distance. It has the shape of the gravitational field of a point mass, which is per unit mass, and of the electric field of a point charge, with the sign of the charge reversed.
Check the result
The field is the gradient of 1/ρ, so it points in the direction in which 1/ρ grows fastest, which is towards the origin. It must be perpendicular to the level surfaces of 1/ρ, which are spheres around the origin, and it is, because it is radial. At the point : , and a step of towards the origin changes 1/ρ from to , an increase of for the length of the gradient.
(b)1 point
Find the flux of over the sphere of radius centred at the origin. Take the normal pointing outward (our addition: MIT does not say which side). Type the flux as a formula; it may contain . Use pi for .
Hint
Use on the sphere, where . What is there, with ?
Hint
If has the same value at every point of the sphere, the flux is that value times the area of the sphere, .
Solution
The idea. On the sphere the field is perpendicular to the surface and has the same length at every point, so the flux is a product.
The integrand
On the sphere of radius the outward unit normal is , and :
In words
vector capital F dot n hat equals minus vector r over a cubed times vector r over a equals minus the absolute value of vector r squared over a to the power 4 equals minus 1 over a squared
The flux
The value is the same at every point, so the flux is it times the area :
In words
the integral of the integral over S of vector capital F dot n hat d S equals minus 1 over a squared times 4 pi a squared equals minus 4 pi
The flux does not depend on . The weakening of the field with the square of the distance exactly cancels the growth of the area.
Check the result
The method is the one of Lecture 27, where the flux of out of a sphere is computed from and the area. For the field of this problem, the factor is instead. The sign is negative because the whole field flows inward, and the unit is a plain number, because times an area is dimensionless.
(c)2 points
Show that . Does the answer of part (b) contradict the divergence theorem? Explain.
The first question has no answer box: it is a calculation to show. The second has a choice.
Hint
For the divergence, differentiate each component of with respect to its own variable, using the product rule: times a power of , and itself depends on . Do the three terms and add them.
Hint
The divergence theorem says that the flux out of a closed surface equals the integral of the divergence over the solid inside, and it comes with a condition on the field. Does satisfy that condition everywhere inside the sphere?
Solution
The idea. Compute the three partial derivatives and add them. Then read the divergence theorem for what it requires.
The divergence
The -component of is , with and . By the product rule:
In words
partial over partial x (-x rho to the power minus 3 ) equals minus rho to the power minus 3 plus 3 x rho to the power minus 4 times x over rho equals minus 1 over rho cubed plus 3 x squared over rho to the power 5
The terms for and have the same form, with and in the last fraction. Adding the three:
In words
d i v vector capital F equals minus 3 over rho cubed plus 3 the quantity x squared plus y squared plus z squared, over rho to the power 5 equals minus 3 over rho cubed plus 3 over rho cubed equals 0
This is valid at every point except the origin, where and the expressions are not defined.
The apparent contradiction
The divergence theorem says . With the right side would be , but part (b) gives for the left side.
There is no contradiction because the theorem has a condition: must be defined, with continuous derivatives, at every point of the solid , including the inside. The sphere of part (b) encloses the origin, where is not defined and blows up. So the theorem does not apply to that solid. The whole flux of is produced by the single point at the origin. It is a point source (a "sink" here, because the sign is negative), and its strength is concentrated at one point, where the divergence has no value that can be integrated.
Check the result
If a closed surface does not enclose the origin, the condition holds, and the theorem gives a flux of : all the field that goes into the sphere also leaves it. And the answer is the same for every closed surface that encloses the origin, which is Gauss's law for gravity: the flux of the gravitational field out of a closed surface depends only on the mass inside, and not on the surface.
Problem 4#
Harmonic functions are fixed by their boundary values
The Laplacian of a function is . A function is harmonic if it satisfies the Laplace equation .
In all four parts, is a closed surface that bounds a region , with the normal pointing out of , and has continuous second derivatives inside (and on ). This problem has no answer boxes: every part asks you to show a result, so each part is self-marked against its solution.
(a)1 point
Show that
In words
the integral of the integral over S of del f times n hat d S equals the integral of the integral of the integral of _ capital D del squared f d V
In particular, the flux of the gradient of a harmonic function through a closed surface is always zero.
Hint
Apply the divergence theorem to a suitable vector field. The field is the gradient of .
Solution
The idea. The divergence of a gradient is the Laplacian.
The divergence of the gradient
For :
In words
d i v del f equals partial f sub x over partial x plus partial f sub y over partial y plus partial f sub z over partial z equals f sub x x plus f sub y y plus f sub z z equals del squared f
The divergence theorem
The field has continuous first derivatives inside , because has continuous second derivatives. So the divergence theorem applies to it:
In words
the integral of the integral over S of del f times n hat d S equals the integral of the integral of the integral of _ capital D d i v del f d V equals the integral of the integral of the integral of _ capital D del squared f d V
If is harmonic, then everywhere in , and the right side is zero: the flux of its gradient through a closed surface vanishes.
Check the result
A test: is harmonic, because . On the unit sphere, . By symmetry the integrals of , and over the sphere are equal, so the flux is the common value of the integral times .
(b)2 points
Show that
In words
the integral of the integral over S of f del f times n hat d S equals the integral of the integral of the integral of _ capital D the quantity f del squared f plus the absolute value of del f squared, d V
Hint
Use the divergence theorem again, now for the field , the gradient multiplied by the function itself.
Hint
For the divergence of , differentiate each component , , with the product rule.
Solution
The idea. Apply the divergence theorem to and use the product rule for the divergence.
The divergence of f times the gradient
The -component of is . By the product rule . The same holds for and . Adding:
In words
d i v (f del f) equals f sub x squared plus f sub y squared plus f sub z squared plus f the quantity f sub x x plus f sub y y plus f sub z z, equals the absolute value of del f squared plus f del squared f
The divergence theorem
The field has continuous first derivatives in . So
In words
the integral of the integral over S of f del f times n hat d S equals the integral of the integral of the integral of _ capital D d i v (f del f) d V equals the integral of the integral of the integral of _ capital D the quantity f del squared f plus the absolute value of del f squared, d V
Check the result
If the left side is , because , and the right side is because and . For in the unit cube : the left side is the flux of , which is through the five faces where the normal is (at , where ) or perpendicular to , and through the face . The right side is . Both sides are .
(c)2 points
Use the result of part (b) to show that if is harmonic everywhere in and is zero at every point of the boundary , then is zero everywhere in . First show that .
Hint
Put and on into the formula of part (b). What is left on each side?
Hint
An integral of a function that is never negative, and continuous, can only be zero if the function is zero at every point. Then use that means that does not change.
Solution
The idea. The formula of part (b) turns into the statement that the integral of is zero.
Both sides of the formula
On we have , so the left side of the formula of part (b) is the integral of zero over : it is . On the right side, in , so the term with is gone:
In words
0 equals the integral of the integral of the integral of _ capital D the absolute value of del f squared d V
The gradient is zero
The integrand is continuous and never negative. If it were positive at one point, it would be positive in a small ball around that point, and the integral would be positive. So at every point, which means in all of .
f is zero
A function whose gradient is zero everywhere in a region of one piece is constant there: all its partial derivatives are zero, so it does not change along any path. By continuity this constant is the value that has on the boundary. So everywhere in . (If has several separate pieces, the argument applies to each, because each has a boundary part where .)
Check the result
A harmonic function that is not zero cannot vanish on the whole boundary of a ball: for example is harmonic, and on the unit sphere it is zero only on a circle, not everywhere. The function is harmonic and is zero on the planes , but these planes do not enclose a bounded region, so the result is not violated.
(d)1 point
Deduce that if two functions and are harmonic everywhere in and on the boundary , then everywhere in .
Hint
Look at the difference . What are its properties?
Solution
The idea. The difference of two harmonic functions is harmonic, and the part above applies to it.
The difference
Let . The Laplacian is linear: , so is harmonic in . On the boundary we have , so there.
Apply part (c)
By part (c), everywhere in , which is . In words: a harmonic function inside a region is fixed by its values on the boundary. It is the uniqueness of the solution of the Laplace equation with given boundary values.
Check the result
An example: the temperature in a room in a steady state satisfies the Laplace equation (this is the diffusion equation of Lecture 29 with ). The result says that fixing the temperature of the walls fixes the temperature everywhere inside. It does not say that such a function exists, only that there is at most one.
Problem 5#
Work along a helix, conservative fields and a potential
Here are a vector field with two constants and , and a helix:
In words
vector capital F equals the quantity a sine z plus b x y squared, i hat plus 2 x squared y j hat plus the quantity x cos z minus z squared, k hat, x equals cos t, y equals sine t, z equals t
(a)2 points
Compute, in terms of the constants and , the work done by along the part of the helix from to .
Type the work as a formula in and . Use pi for .
Hint
Put , , into the field, and put , , into . Which values of give the two end points?
Hint
You get a sum of five integrals over . Two of them are a power of the sine times the cosine, or the other way round; those are best done by the substitution or .
Solution
The idea. Express in the one parameter and integrate from to , as in Lecture 30.
The integrand
The field components along the helix are , and , and . So
In words
W equals the integral from 0 to 2 pi of the quantity minus a sine squared t minus b cos t sine cubed t plus 2 cos cubed t sine t plus cos squared t minus t squared, d t
The end points are at and at .
The five integrals
Over a full period, and . The terms and are derivatives of and , which have the same value at and , so both integrals are . And .
In words
W equals minus a pi minus b times 0 plus 2 times 0 plus pi minus 8 pi cubed over 3 equals pi the quantity 1 minus a, all minus 8 pi cubed over 3
The constant drops out.
Check the result
For the work is , whatever is. Part (b) shows that the field is conservative for and , and part (c) finds the same value in another way. A numerical integration of the five-term integrand over for other values of and agrees with the formula.
(b)1 point
Compute . For which values of and is the vector field conservative?
Give the values of and of as decimal numbers.
Hint
The curl of is . Compute its three components for this field.
Hint
The field is defined in all of space, which has no holes. So it is conservative when the curl is the zero vector, for all , , . Each component of the curl must be zero as a function.
Solution
The idea. On a region without holes, a field is conservative if and only if its curl is zero. Compute the curl and see what that asks of and .
The curl
With , and :
In words
c u r l vector capital F equals the average of capital R sub y minus Q sub z, P sub z minus capital R sub x, Q sub x minus P sub y equals the average of 0, the quantity a minus 1, cos z, the quantity 4 minus 2 b, x y
Here and ; and ; and .
When it is zero
The second component is zero for all only if . The third component is zero for all and only if . The space has no holes, so for these values the field is conservative (the test of Lecture 30).
In words
a equals 1, b equals 2
Check the result
With and the field is , and the three conditions , , read , and . They hold.
(c)2 points
Let and be the values of part (b). Find a potential function for with a systematic method, and verify the answer of part (a) with the fundamental theorem of calculus for line integrals.
Type the potential as a formula in , and , with the constant chosen so that (our addition, so that the answer is definite). Then give the work from to as a decimal number.
Hint
Integrate with respect to . The constant of integration may depend on and : call it . Then compare with to find , and so on.
Hint
After the step, the unknown is a function of only. Its derivative is what is left of after is taken away.
Hint
For the work, use with the end points of the helix.
Solution
The idea. Find with by integrating one variable at a time, as in Lecture 30. Then the work is the difference of at the two end points, and the path does not matter.
Integrate with respect to x
For , the components are , and . From :
In words
f equals x sine z plus x squared y squared plus g(y, z)
Compare with Q
must equal , so , and is a function of only: .
Compare with R
must equal , so and . Setting gives :
In words
f(x, y, z) equals x sine z plus x squared y squared minus z cubed over 3
The work by the fundamental theorem
In words
W equals f(1, 0, 2 pi ) minus f(1, 0, 0) equals the quantity sine 2 pi plus 0 minus (2 pi ) cubed over 3, all minus 0 equals minus 8 pi cubed over 3 is approximately minus 82.68
This agrees with part (a) at : .
Check the result
The gradient of the potential gives the field back: , and , which are , and . And the two routes for the work, the integral over the helix and the difference of the potential, agree for every value of , which part (a) found to be independent of it.
More practice: MIT's own solved exercises#
Part A of MIT's Problem Set 11 (17 points at MIT, not scored here) is a list of short exercises from the problems section of MIT's "18.02 Supplementary Notes and Problems", which is on MIT OpenCourseWare under the same licence as the rest of the course, with solutions to the exercises that are not marked with a star. They are not rewritten here: open the exercises (section 6, Vector integral calculus in space), try them, then compare with MIT's solutions.
An exercise number such as 6B-3 means section 6, group B, exercise 3; the letters after it are its parts. MIT assigned these, lecture by lecture (with this site's lecture numbers):
| For | Exercises in section 6 of the Notes |
|---|---|
| Lecture 27: vector fields in space and flux | 6A-1, 6A-2, 6A-3, 6A-4; 6B-1, 6B-2, 6B-3, 6B-4, 6B-6, 6B-8 |
| Lecture 28: flux through graphs and the divergence theorem | 6C-1a, 6C-2, 6C-3, 6C-5, 6C-6, 6C-7a, 6C-8 |
| Lecture 29: the divergence theorem, its proof and the diffusion equation | none listed |
| Lecture 30: line integrals, gradient fields and curl in space | 6D-1a, b, c, d, 6D-2, 6D-4, 6D-5; 6E-1, 6E-2, 6E-3a, b (part (ii), by both methods), 6E-5 |
MIT also names the Supplementary Notes to read for these lectures: V8 (Vector fields in space), V9 (Surface integrals), V10 (The divergence theorem), V11 (Line integrals in space) and V12 (Gradient fields in space), all in the list of MIT's Supplementary Notes. The exercise 6B-7 of the Notes is Problem 1 above.
MIT's list also names sections of the course textbook to read (Edwards and Penney, Multivariable Calculus, 6th edition). The textbook is not openly licensed and is not used on this site, so they are not part of this page.