Calculus · Solutions
Vector Calculus
Work this sheet on paper, showing every step — the method is what is being tested, and the solutions are written so you can check your route rather than just your answer. Name every theorem you use (“by the Fundamental Theorem for line integrals”, “by Green's theorem”, “by Stokes' theorem”, “by the Divergence theorem”) and each time say why its hypotheses hold: that the curve is closed, that the orientations match, that the field is defined on the whole region and not just on its edge. No calculator is needed anywhere\; every answer is an exact expression. Full worked solutions are on a separate page\; each question also has its own reveal, so you can check one answer without seeing the rest.
- 1.Sketch
Let . A sketch with nothing written beside it earns nothing here: every feature you draw must be justified by a computation.
- (a)Compute at the eight points , and , and draw each value as an arrow with its tail at the point. Describe the resulting picture in one sentence.
- (b)Show that is a gradient field by exhibiting a potential function . Add the level curves and to your sketch, and check at the points and that the arrow is perpendicular to the level curve through the point.
- (c)Show that for every the arrows at points of the hyperbola are tangent to that hyperbola, and add the branch of through to your sketch. If is the velocity field of a fluid, describe the motion of a particle that starts at .
Solution
(a) Evaluate and draw. , , , , , , , .
Drawn at their base points: along the -axis the arrows point away from the origin, along the -axis they point toward it, and at the four diagonal points they point away from the -axis and toward the -axis. The picture is a saddle — fluid arriving along the -axis is turned and sent out along the -axis. Every arrow has length , the distance from the origin, and is the one stagnation point.
(b) Find the potential. We need and . Integrating the first in gives \; then must equal , so and
Check: , so is a gradient field and is a potential.
The level curve is : the pair of lines and . The level curve is : a hyperbola opening left and right, vertices , asymptotes .
At the hyperbola has a vertical tangent and the arrow is horizontal: perpendicular. At the level curve is the line , direction , and : perpendicular again, as a gradient must be to the level curves of its potential.
(c) Tangency to the hyperbolas. The curve is a level curve of , so is normal to it at each of its points, and there because forces and . Now
so is perpendicular to the normal, that is, tangent to the hyperbola, at every one of its points. The branch of through lies in the first quadrant with the two axes as asymptotes, and it crosses the line at right angles at — consistent with (b), since the arrow there is tangent to one curve and normal to the other.
A particle at has velocity : right and down. Since the velocity is always tangent to , the particle slides along that branch\; its -velocity is , so keeps increasing, and its -velocity is , so decreases toward . It sweeps down the hyperbola toward the positive -axis, never reaching it, and speeds up as grows with distance from the origin. The whole flow is fluid arriving from above and below along the -axis, slowing to a halt at the origin, and leaving left and right along the -axis.
- 2.Computation
Throughout, state the parametrisation you use and write down , or explicitly before you integrate.
- (a)Evaluate , where is the arc of the parabola from to .
- (b)Evaluate along the same arc. Then state, without recomputing, the values of both integrals along (the arc run from back to ), and explain from the Riemann-sum definitions why one changes sign and the other does not.
- (c)A thin wire lies along the upper half of the circle and has linear density . Find its mass and its centre of mass, and say why the value of is physically reasonable.
Solution
(a) Parametrise by itself. Take , . Then and , so
Substitute , , so , with limits to :
Sanity check: , so the value is about . The arc is a little under long and averages somewhat more than along it, so this is the right size.
(b) Same curve, different element. With the same parametrisation , so
Along : , unchanged, while .
The reason sits in the two Riemann sums. The arc-length integral weights each sample value by , the length of a subarc, which is positive whichever way the arc is walked, so reversing the direction changes nothing. The integral weights by , the change in across the subarc\; walking the arc backwards swaps the roles of and and negates every term, hence the sum and its limit.
(c) Mass and centre of mass. Parametrise , . Then , so — not \; the speed is . The mass is
By the symmetry of both the arc and the density under , \; explicitly, . For ,
The centre of mass is . It is reasonable: lies inside the semicircle, off the wire, as the centre of mass of a curved wire does\; and it is higher than the of a uniform semicircular wire of radius , because the density puts more of the mass near the top of the arc.
- 3.Computation
Let . Compute the work done by on a particle moving from to along each of the following paths, giving an explicit parametrisation each time.
- (a): the straight segment.
- (b): the arc of the parabola .
- (c): along the -axis to , then straight up to .
- (d)What do the three answers tell you about ? Confirm the conclusion by a one-line derivative computation, naming the result that makes that computation decisive.
Solution
(a) The segment. , , so and on the curve . Then and
(b) The parabola. , , so and . Then
(c) Two legs. On the first leg , , so and \; the dot product is and the leg contributes nothing — the field is vertical on the -axis while the motion is horizontal. On the second leg , , so and \; the dot product is and
(d) Path dependence. Three routes between the same two points gave three different values, , and , so the line integral of is not independent of path. By the Fundamental Theorem for line integrals a conservative field gives the same value on every path between two points, so is not conservative: no function has . Equivalently, the closed loop out along and back along has circulation .
The derivative check: with and , while . For a conservative field with continuous partials the cross partials must agree everywhere (this is Clairaut's theorem applied to ), and here they disagree at every point off the line . Either argument alone is conclusive.
- 4.Computation
Let .
- (a)Verify the three cross-partial conditions that a conservative field in space must satisfy, and say why in this case they are also sufficient.
- (b)Find a potential function by integrating one variable at a time, writing out the unknown function of the remaining variables at each stage, and check the answer by differentiating it.
- (c)Evaluate for , , naming the theorem you use.
- (d)State the value of around the circle , , with a one-sentence justification.
Solution
(a) The three conditions. With , , :
and \; and \; and .
All three pairs agree, which says exactly that . The components are polynomials, so their partials are continuous, and is defined on all of , which is simply connected. Under those hypotheses the curl test is a two-way test: zero curl on a simply connected region implies conservative. So is conservative and a potential must exist.
(b) Build the potential one variable at a time. Integrate with respect to , holding and fixed:
where the constant of integration may depend on both remaining variables. Differentiate in : , and this must equal , so and . Now \; differentiate in : , which must equal , so and is a constant, which we take to be . A potential is
Check: . Note the pleasant cyclic symmetry of , which the field itself has.
(c) Endpoints only. By the Fundamental Theorem for line integrals, since with continuous everywhere, the integral equals , whatever the path does in between. The endpoints are and . Hence
Parametrising directly would have meant integrating products of , and against their derivatives — possible, but pointless.
(d) A closed curve. The value is : the circle is a closed path, so its initial and terminal points coincide and the Fundamental Theorem gives for the conservative field .
- 5.Computation
Name the theorem, check its hypotheses, and fix the orientation before you convert anything.
- (a)Evaluate , where is the circle traversed counterclockwise.
- (b)Find the area enclosed by the astroid , , , using a line integral. Say how you know the parametrisation runs the right way round, and check the answer against a region you know contains the astroid.
- (c)Now let be the whole boundary of the annulus , positively oriented. Say precisely which way each circle is traversed, and evaluate the integral of (a) over this .
Solution
(a) Green's theorem on a disc. Neither nor has an elementary antiderivative, so a direct parametrisation is hopeless. Take and . Both have continuous partials on the whole plane, is a simple closed piecewise-smooth curve, and it is positively oriented, so Green's theorem applies with the disc :
The awkward terms vanished because each depends only on the variable it is not differentiated in. In polar coordinates,
Sanity check on the sign: throughout , so a counterclockwise circuit must give a positive answer.
(b) Area from the boundary. Choosing , gives , so Green's theorem reads for any positively oriented simple closed curve. Orientation: at the point is , at it is , and in between decreases while increases, so the curve moves from the positive -axis to the positive -axis through the first quadrant — counterclockwise. (The astroid has four cusps, but it is piecewise smooth, which is all the theorem needs.)
With and ,
using . Over the function runs through two full periods and averages , so and
Check: on the astroid, with and (so ), we have , so the astroid lies inside the diamond of area . And , as it must be.
(c) A region with a hole. The positive orientation of a boundary keeps the region on the walker's left. On the outer circle that means counterclockwise\; on the inner circle it means clockwise, since the annulus lies outside that circle. With now the annulus, on which and still have continuous partials, Green's theorem for a region with a hole gives
Cross-check: the inner circle run counterclockwise gives, by the computation in (a) with radius , the value \; run clockwise it gives , and , in agreement.
- 6.Proof
Let be a scalar function and a vector field on , all with continuous first-order partial derivatives\; in (c) assume continuous second-order partials as well. Write for the field . Prove each identity directly from the definitions of , and .
- (a).
- (b).
- (c)Deduce that for any with continuous second partials, and that if is harmonic then .
Solution
(a) The divergence product rule. By definition . Apply the one-variable product rule to each term:
Collect the three terms with undifferentiated and the three with differentiated:
(b) The curl product rule. By definition the first component of is
The first bracket is times the first component of . The second is the first component of , which by the cross-product formula is . So the first components agree.
The second component: , and the second component of is . The third: , and the third component of is . (Each line is the previous one with and , which is how both the curl and the cross product are built.) All three components agree, so
(c) Two consequences. Apply (b) with , which has continuous partials because has continuous second partials:
since the curl of a gradient is zero (the components of are differences of mixed second partials of , equal by Clairaut's theorem).
Apply (a) with :
because is the Laplacian and . If is harmonic then and the first term drops out, leaving .
- 7.Critique
A student is asked to evaluate , where is the circle traversed counterclockwise, and submits the following.
Step 1. Here and .
Step 2. and , so .
Step 3. By Green's theorem, .
The final number is correct. The argument is not.
- (a)Identify the step that is not justified and state exactly which hypothesis of Green's theorem fails. Explain why an unjustified argument can nevertheless land on the right number.
- (b)Evaluate the integral correctly in two independent ways: by parametrising , and by exhibiting a potential function on the punctured plane and naming the theorem that finishes the job.
- (c)Apply the student's three steps, unchanged, to over the same circle, then compute the true value by parametrisation. Explain why the same invalid argument gives the right number for one integrand and the wrong number for the other.
Solution
(a) Step 3 is the illegal one. Steps 1 and 2 are correct wherever and are defined. Green's theorem, however, requires and to have continuous partial derivatives on an open region containing the whole of , the disc — not merely on the curve. Both functions are undefined at the origin, which lies inside , so the hypothesis fails and the theorem says nothing at all about this integral. The derivatives in Step 2 are valid only on the punctured plane.
A theorem whose hypotheses fail does not assert the opposite of its conclusion\; it is simply silent. The true value could be anything, and here it happens to be . An argument that reaches a true statement by an invalid step has proved nothing, which is why the number must be recovered honestly.
(b) Two honest evaluations. Parametrise. Take , , , so , and on . Then
so the integrand vanishes identically along and the integral is . (Geometrically: is radial and the circle's tangent is perpendicular to it.)
Find a potential. Let on the punctured plane . Then
so the field is , with continuous on the punctured plane, which contains . By the Fundamental Theorem for line integrals, , since is closed. Note the moral: the field is conservative on the punctured plane, even though the cross-partial test cannot certify that on a region with a hole — the test being inconclusive is not the same as the field failing.
(c) The same steps, a different field. Now and , and by the quotient rule
so again and the student's Step 3 would give . The truth, by the same parametrisation:
and dividing by leaves an integrand of , so the integral is .
Why the difference? For either field, Green's theorem does apply on the annulus between and a small circle about the origin, where the hypotheses hold and \; it shows . So the whole value of the integral is decided by what the field does arbitrarily close to its singular point. For the radial field that small-circle contribution is \; for the rotational field it is , no matter how small is. The student's argument silently replaces this contribution by without ever computing it, which is harmless exactly when it happens to be . Equivalently: the first field has a potential on the whole punctured plane, and the second cannot, because a gradient field integrates to zero around every closed curve and this one gives .
- 8.Sketch
Let be the parametric surface , , .
- (a)Identify by eliminating the parameters, and describe the two families of grid curves. Sketch , drawing the grid curves and and labelling the point .
- (b)Compute . Find every point at which fails to be smooth, and say whether the normal supplied by this parametrisation points into or out of the solid region lying above . Find the tangent plane at and mark it on your sketch.
- (c)Find the area of and check it against a formula from elementary geometry.
Solution
(a) Identify the surface. From the first two components, , and the third gives . So every point satisfies with : is the cone , apex at the origin, opening upward, cut off at height where its rim is the circle , . Its sides make an angle of with the axis.
Grid curves with fixed: is the horizontal circle of radius at height — the circles of latitude of the cone. Grid curves with fixed: is a straight ray from the apex — the rulings.
The sketch shows the cone with apex at the origin and rim circle at height \; the circle at height with radius \; the ruling , which is the segment from to in the -plane\; and the point , on the circle directly above the positive -axis.
(b) Normal vector and smoothness. and . Expanding the determinant,
This vanishes exactly when , that is, at the single point for every : the apex is the only non-smooth point, and indeed a cone has no tangent plane at its tip. Everywhere else the vector is : its horizontal part points from the base point toward the -axis and its vertical part is upward, so the normal points into the solid cone above (up and toward the axis), not outward.
At the point is and the normal is . The tangent plane is , that is,
Sanity check: this plane contains the whole ruling , the points , as the tangent plane to a cone along a ruling must\; on the sketch it is the plane through the -axis tilted at , touching the cone along that ruling.
(c) Area. , positive for . The parameter rectangle covers exactly once (each point has a unique and, off the apex, a unique angle ), so
Check: the lateral area of a cone of base radius and slant height is . Here and , giving . A second check: the shadow of is the disc of area , and a surface tilted at to the plane everywhere has times the area of its shadow.
- 9.Computation
Let be the cone , , and let . Use whichever description of you prefer — a graph over the disc , or — but write down the surface element you are using and, for a flux, the normal vector and the direction it points.
- (a)Evaluate .
- (b)Find the flux of through with the normal pointing away from the -axis (the outward normal for the solid cone ). Explain the sign of your answer.
- (c)Find the flux of upward through the disc , , and hence the total outward flux through the closed surface formed by the cone together with the disc.
Solution
(a) A scalar surface integral. With on , , one computes , of length , so . On the integrand is , hence
The graph description gives the same thing: has and , so and the integral is , identical after renaming.
Sanity check: the area of is and the average height of the cone, weighted by area (which grows like ), is \; and .
(b) Flux through the cone. The parametrisation's normal points toward the axis and upward, into the solid cone. The required normal is the opposite one,
which points away from the axis (and downward, as the outward normal on the slanted side of the solid must). On , , so
and
The sign is right. The outward unit normal on the cone is , and on : the radial part of the field pushes outward through the sloping side, but the vertical part is twice as strong and pushes upward, which through a normal tilted downward counts as inward. Net flow is into the solid through its side. (Via the graph formula: the upward normal is , the required one is its negative , and , whose polar integral is again .)
(c) The lid, and the closed surface. On the disc the upward unit normal is and , so is constant there and the flux is . Upward is outward for the solid cone at its top, so the total outward flux through the closed surface is
Sanity check by the Divergence theorem, which applies because the closed surface bounds the solid cone and is smooth everywhere: and the cone has volume , so the outward flux should be . It is.
- 10.Proof
Write for the position vector and let be a constant vector.
- (a)Prove that .
- (b)Let be a flat region of area lying in a plane with unit normal , bounded by a simple closed curve that is positively oriented with respect to . Prove that and show that the plane area formula is the special case .
- (c)Use (b) to find the area of the region cut from the plane by the cylinder , and confirm the value by an independent method.
Solution
(a) Curl of . By the cross-product formula,
Every component is linear, so the partials are constants:
Hence . (For this is the familiar fact that the rotation field has curl .)
(b) Area as a line integral. Put , with constant. Its components are linear polynomials, so they have continuous partials on all of \; is a smooth oriented surface and its positively oriented boundary. Stokes' theorem therefore applies:
using (a) with , then , then . Dividing by gives the formula.
For : , so
which is the plane formula\; and positive orientation with respect to is counterclockwise seen from above, exactly the orientation Green's theorem requires.
(c) A tilted ellipse. The plane is , with unit normal (either sign would do\; this one has positive -component, so the positive boundary orientation is counterclockwise seen from above). The boundary curve is the intersection of the plane with the cylinder, parametrised by
which runs counterclockwise seen from above, as required. Then and, computing the cross product with first,
Dotting with : , a constant. Therefore
Independent check. The region is the graph over the unit disc , so its area is . (Or: the region is an ellipse with semi-axes along the -direction and along the direction , since the points lie on it at distance from the centre\; its area is .) Both agree with the line integral.
- 11.Critique
A student is asked for the flux of through the hemisphere : , , oriented with the normal pointing away from the origin, and submits the following.
Step 1. .
Step 2. By the Divergence theorem, , where is the solid half-ball , .
Step 3. The half-ball has volume , so the flux is .
- (a)Identify the step at which the argument goes wrong and state exactly which hypothesis of the Divergence theorem is violated.
- (b)Repair the argument: close the surface with a suitable lid, apply the theorem correctly, and obtain the true flux.
- (c)Confirm your answer by computing the flux directly, using the fact that on the unit sphere the outward unit normal at is itself.
- (d)The student's shortcut — divergence times the volume of the half-ball — does give the correct hemisphere flux for some fields. State exactly when, and give one such field together with a one-line check.
Solution
(a) Step 2 is wrong. Step 1 is correct and Step 3 correctly computes the triple integral. But the Divergence theorem equates the triple integral of over with the flux through the entire boundary of , which must be a closed surface. The hemisphere is not closed and is not the boundary of the half-ball: that boundary is together with the flat disc : , . Step 2 has dropped the disc. The hypothesis violated is that be the whole boundary surface of a solid region, with outward orientation.
(b) Close it and subtract the lid. Let be the disc , . Then is the closed boundary of , and is smooth everywhere, so the Divergence theorem gives
provided both pieces carry the outward orientation. On outward means away from the origin, which is the orientation asked for. On outward means downward, , since the solid lies above the disc. There because , so
Hence the hemisphere flux is . The student's is wrong by exactly the lid's contribution.
(c) Direct computation. On the unit sphere , so
Therefore . The first term is the area of the hemisphere, . For the second, parametrise by spherical angles with and , :
Total: , confirming (b).
(d) When the shortcut survives. From the repaired argument, hemisphere flux , so the shortcut is correct exactly when the lid's flux vanishes: writing , when
A sufficient condition is that the third component vanish on the plane \; a condition that is exactly right is that integrate to zero over the unit disc. Example: , whose third component is on . The shortcut predicts \; directly, on the sphere, so the flux is the hemisphere's area, . They agree — but not because the Divergence theorem applied to \; because it applied to and the lid happened to contribute nothing.
- 12.Proof
Let be a simple solid region with boundary surface , oriented outward with unit normal , and let have continuous second-order partial derivatives on an open set containing . Recall that is harmonic if . You may use that is connected: any two of its points can be joined by a piecewise-smooth path lying in .
- (a)Prove that .
- (b)Prove that if is harmonic then
- (c)Prove that if is harmonic and at every point of , then at every point of . Deduce that two harmonic functions which agree on agree throughout .
Solution
(a) A product rule. The field has components , , , so by the definition of divergence and the one-variable product rule,
Grouping, this is .
(b) Apply the Divergence theorem. The field has components , , , whose first partials involve only and its first and second partials, all continuous on an open set containing by hypothesis. is a simple solid and is its outward-oriented boundary. So the Divergence theorem applies to :
by (a). When is harmonic, throughout , the first term of the integrand vanishes, and what remains is .
(c) Zero on the boundary forces zero inside. Suppose is harmonic and on . Then the integrand on the right of (b) is at every point of , so
The integrand is continuous and never negative. If it were positive at some interior point of , say , continuity would give a small ball about on which , and then , a contradiction. So at every interior point of , and by continuity of at every point of .
Now is constant on . Take any two points , of and a piecewise-smooth path in from to . By the Fundamental Theorem for line integrals,
So takes one value on all of \; choosing on , where , shows that value is . Hence throughout .
Uniqueness. Let and be harmonic on an open set containing with on , and put . Differentiation is linear, so : is harmonic. And on . By what was just proved, throughout , that is, on .
The physical reading: a steady-state temperature distribution satisfies Laplace's equation, and the result says the temperature inside a solid is completely determined by the temperature held on its surface. Every ingredient of the chapter appeared once — a product rule for , the Divergence theorem for a closed surface, and the Fundamental Theorem for line integrals to pass from a vanishing gradient to a constant function.