CalcPath
ProgressProblem setsFeedback
← Question sheet

Calculus · Solutions

Vector Calculus

12 questions · about 106 minutes

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. 1.Sketch

    Let F(x,y)=⟨x,−y⟩. A sketch with nothing written beside it earns nothing here: every feature you draw must be justified by a computation.

    1. (a)Compute F at the eight points (±1,0), (0,±1) and (±1,±1), and draw each value as an arrow with its tail at the point. Describe the resulting picture in one sentence.
    2. (b)Show that F is a gradient field by exhibiting a potential function f. Add the level curves f=0 and f=21​ to your sketch, and check at the points (1,0) and (1,1) that the arrow is perpendicular to the level curve through the point.
    3. (c)Show that for every k=0 the arrows at points of the hyperbola xy=k are tangent to that hyperbola, and add the branch of xy=1 through (1,1) to your sketch. If F is the velocity field of a fluid, describe the motion of a particle that starts at (1,1).

    Solution

    (a) Evaluate and draw. F(1,0)=⟨1,0⟩, F(−1,0)=⟨−1,0⟩, F(0,1)=⟨0,−1⟩, F(0,−1)=⟨0,1⟩, F(1,1)=⟨1,−1⟩, F(1,−1)=⟨1,1⟩, F(−1,1)=⟨−1,−1⟩, F(−1,−1)=⟨−1,1⟩.

    Drawn at their base points: along the x-axis the arrows point away from the origin, along the y-axis they point toward it, and at the four diagonal points they point away from the y-axis and toward the x-axis. The picture is a saddle — fluid arriving along the y-axis is turned and sent out along the x-axis. Every arrow has length ∣F∣=x2+y2​, the distance from the origin, and F(0,0)=0 is the one stagnation point.

    (b) Find the potential. We need fx​=x and fy​=−y. Integrating the first in x gives f=21​x2+g(y)\; then fy​=g′(y) must equal −y, so g(y)=−21​y2 and

    f(x,y)=21​(x2−y2).

    Check: ∇f=⟨x,−y⟩=F, so F is a gradient field and f is a potential.

    The level curve f=0 is x2=y2: the pair of lines y=x and y=−x. The level curve f=21​ is x2−y2=1: a hyperbola opening left and right, vertices (±1,0), asymptotes y=±x.

    At (1,0) the hyperbola has a vertical tangent and the arrow ⟨1,0⟩ is horizontal: perpendicular. At (1,1) the level curve is the line y=x, direction ⟨1,1⟩, and ⟨1,−1⟩⋅⟨1,1⟩=0: perpendicular again, as a gradient must be to the level curves of its potential.

    (c) Tangency to the hyperbolas. The curve xy=k is a level curve of g(x,y)=xy, so ∇g=⟨y,x⟩ is normal to it at each of its points, and ∇g=0 there because k=0 forces x=0 and y=0. Now

    F⋅∇g=⟨x,−y⟩⋅⟨y,x⟩=xy−xy=0,

    so F is perpendicular to the normal, that is, tangent to the hyperbola, at every one of its points. The branch of xy=1 through (1,1) lies in the first quadrant with the two axes as asymptotes, and it crosses the line y=x at right angles at (1,1) — consistent with (b), since the arrow ⟨1,−1⟩ there is tangent to one curve and normal to the other.

    A particle at (1,1) has velocity ⟨1,−1⟩: right and down. Since the velocity is always tangent to xy=1, the particle slides along that branch\; its x-velocity is x>0, so x keeps increasing, and its y-velocity is −y<0, so y decreases toward 0. It sweeps down the hyperbola toward the positive x-axis, never reaching it, and speeds up as ∣F∣ grows with distance from the origin. The whole flow is fluid arriving from above and below along the y-axis, slowing to a halt at the origin, and leaving left and right along the x-axis.

  2. 2.Computation

    Throughout, state the parametrisation you use and write down ds, dx or dy explicitly before you integrate.

    1. (a)Evaluate ∫C​xds, where C is the arc of the parabola y=x2 from (0,0) to (2,4).
    2. (b)Evaluate ∫C​xdy along the same arc. Then state, without recomputing, the values of both integrals along −C (the arc run from (2,4) back to (0,0)), and explain from the Riemann-sum definitions why one changes sign and the other does not.
    3. (c)A thin wire lies along the upper half of the circle x2+y2=4 and has linear density ρ(x,y)=y. Find its mass and its centre of mass, and say why the value of yˉ​ is physically reasonable.

    Solution

    (a) Parametrise by x itself. Take r(t)=⟨t,t2⟩, 0≤t≤2. Then r′(t)=⟨1,2t⟩ and ds=∣r′(t)∣dt=1+4t2​dt, so

    ∫C​xds=∫02​t1+4t2​dt.

    Substitute u=1+4t2, du=8tdt, so tdt=81​du, with limits u=1 to u=17:

    81​∫117​u1/2du=81​⋅32​[u3/2]117​=12173/2−1​=121717​−1​.

    Sanity check: 1717​≈70.1, so the value is about 5.8. The arc is a little under 4.7 long and x averages somewhat more than 1 along it, so this is the right size.

    (b) Same curve, different element. With the same parametrisation dy=y′(t)dt=2tdt, so

    ∫C​xdy=∫02​t⋅2tdt=[32​t3]02​=316​.

    Along −C: ∫−C​xds=121717​−1​, unchanged, while ∫−C​xdy=−316​.

    The reason sits in the two Riemann sums. The arc-length integral weights each sample value by Δsi​, the length of a subarc, which is positive whichever way the arc is walked, so reversing the direction changes nothing. The dy integral weights by Δyi​=yi​−yi−1​, the change in y across the subarc\; walking the arc backwards swaps the roles of yi​ and yi−1​ and negates every term, hence the sum and its limit.

    (c) Mass and centre of mass. Parametrise r(t)=⟨2cost,2sint⟩, 0≤t≤π. Then ∣r′(t)∣=4sin2t+4cos2t​=2, so ds=2dt — not dt\; the speed is 2. The mass is

    m=∫C​yds=∫0π​(2sint)2dt=4[−cost]0π​=8.

    By the symmetry of both the arc and the density under x↦−x, xˉ=0\; explicitly, ∫C​xyds=∫0π​(2cost)(2sint)2dt=8[21​sin2t]0π​=0. For yˉ​,

    yˉ​=m1​∫C​y⋅yds=81​∫0π​(2sint)22dt=∫0π​sin2tdt=∫0π​21−cos2t​dt=2π​.

    The centre of mass is (0,π/2). It is reasonable: π/2≈1.57 lies inside the semicircle, off the wire, as the centre of mass of a curved wire does\; and it is higher than the 4/π≈1.27 of a uniform semicircular wire of radius 2, because the density y puts more of the mass near the top of the arc.

  3. 3.Computation

    Let F(x,y)=⟨xy,x−y⟩. Compute the work ∫C​F⋅dr done by F on a particle moving from (0,0) to (1,1) along each of the following paths, giving an explicit parametrisation each time.

    1. (a)C1​: the straight segment.
    2. (b)C2​: the arc of the parabola y=x2.
    3. (c)C3​: along the x-axis to (1,0), then straight up to (1,1).
    4. (d)What do the three answers tell you about F? Confirm the conclusion by a one-line derivative computation, naming the result that makes that computation decisive.

    Solution

    (a) The segment. r(t)=⟨t,t⟩, 0≤t≤1, so r′(t)=⟨1,1⟩ and on the curve F=⟨t2,t−t⟩=⟨t2,0⟩. Then F⋅r′=t2 and

    ∫C1​​F⋅dr=∫01​t2dt=31​.

    (b) The parabola. r(t)=⟨t,t2⟩, 0≤t≤1, so r′(t)=⟨1,2t⟩ and F=⟨t⋅t2,t−t2⟩=⟨t3,t−t2⟩. Then

    F⋅r′=t3+2t(t−t2)=2t2−t3,∫C2​​F⋅dr=∫01​(2t2−t3)dt=32​−41​=125​.

    (c) Two legs. On the first leg r(t)=⟨t,0⟩, 0≤t≤1, so r′=⟨1,0⟩ and F=⟨0,t⟩\; the dot product is 0 and the leg contributes nothing — the field is vertical on the x-axis while the motion is horizontal. On the second leg r(t)=⟨1,t⟩, 0≤t≤1, so r′=⟨0,1⟩ and F=⟨t,1−t⟩\; the dot product is 1−t and

    ∫C3​​F⋅dr=0+∫01​(1−t)dt=21​.

    (d) Path dependence. Three routes between the same two points gave three different values, 31​, 125​ and 21​, so the line integral of F 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 F is not conservative: no function f has ∇f=F. Equivalently, the closed loop out along C1​ and back along −C3​ has circulation 31​−21​=−61​=0.

    The derivative check: with P=xy and Q=x−y, Py​=x while Qx​=1. For a conservative field with continuous partials the cross partials must agree everywhere (this is Clairaut's theorem applied to fxy​=fyx​), and here they disagree at every point off the line x=1. Either argument alone is conclusive.

  4. 4.Computation

    Let F(x,y,z)=⟨2xy+z2,x2+2yz,y2+2xz⟩.

    1. (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.
    2. (b)Find a potential function f 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.
    3. (c)Evaluate ∫C​F⋅dr for r(t)=⟨cos(πt),tet−1,sin(πt/2)⟩, 0≤t≤1, naming the theorem you use.
    4. (d)State the value of ∮C​F⋅dr around the circle x2+y2=1, z=3, with a one-sentence justification.

    Solution

    (a) The three conditions. With P=2xy+z2, Q=x2+2yz, R=y2+2xz:

    Py​=2x and Qx​=2x\; Pz​=2z and Rx​=2z\; Qz​=2y and Ry​=2y.

    All three pairs agree, which says exactly that curlF=0. The components are polynomials, so their partials are continuous, and F is defined on all of R3, 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 F is conservative and a potential must exist.

    (b) Build the potential one variable at a time. Integrate P with respect to x, holding y and z fixed:

    f(x,y,z)=x2y+xz2+g(y,z),

    where the constant of integration may depend on both remaining variables. Differentiate in y: fy​=x2+gy​(y,z), and this must equal Q=x2+2yz, so gy​=2yz and g(y,z)=y2z+h(z). Now f=x2y+xz2+y2z+h(z)\; differentiate in z: fz​=2xz+y2+h′(z), which must equal R=y2+2xz, so h′(z)=0 and h is a constant, which we take to be 0. A potential is

    f(x,y,z)=x2y+xz2+y2z.

    Check: ∇f=⟨2xy+z2,x2+2yz,2xz+y2⟩=F. Note the pleasant cyclic symmetry x→y→z→x of f, which the field itself has.

    (c) Endpoints only. By the Fundamental Theorem for line integrals, since F=∇f with ∇f continuous everywhere, the integral equals f(r(1))−f(r(0)), whatever the path does in between. The endpoints are r(0)=⟨cos0,0,sin0⟩=⟨1,0,0⟩ and r(1)=⟨cosπ,1⋅e0,sin(π/2)⟩=⟨−1,1,1⟩. Hence

    ∫C​F⋅dr=f(−1,1,1)−f(1,0,0)=[(1)(1)+(−1)(1)+(1)(1)]−[0+0+0]=1.

    Parametrising directly would have meant integrating products of cos(πt), tet−1 and sin(πt/2) against their derivatives — possible, but pointless.

    (d) A closed curve. The value is 0: the circle is a closed path, so its initial and terminal points coincide and the Fundamental Theorem gives f(end)−f(start)=0 for the conservative field F.

  5. 5.Computation

    Name the theorem, check its hypotheses, and fix the orientation before you convert anything.

    1. (a)Evaluate ∮C​(ex2−y3)dx+(x3+sin(y2))dy, where C is the circle x2+y2=4 traversed counterclockwise.
    2. (b)Find the area enclosed by the astroid x=cos3t, y=sin3t, 0≤t≤2π, 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.
    3. (c)Now let C be the whole boundary of the annulus 1≤x2+y2≤4, positively oriented. Say precisely which way each circle is traversed, and evaluate the integral of (a) over this C.

    Solution

    (a) Green's theorem on a disc. Neither ex2 nor sin(y2) has an elementary antiderivative, so a direct parametrisation is hopeless. Take P=ex2−y3 and Q=x3+sin(y2). Both have continuous partials on the whole plane, C is a simple closed piecewise-smooth curve, and it is positively oriented, so Green's theorem applies with D the disc x2+y2≤4:

    Qx​−Py​=3x2−(−3y2)=3(x2+y2).

    The awkward terms vanished because each depends only on the variable it is not differentiated in. In polar coordinates,

    ∮C​Pdx+Qdy=∬D​3(x2+y2)dA=∫02π​∫02​3r2⋅rdrdθ=2π⋅3[4r4​]02​=2π⋅12=24π.

    Sanity check on the sign: Qx​−Py​≥0 throughout D, so a counterclockwise circuit must give a positive answer.

    (b) Area from the boundary. Choosing P=−21​y, Q=21​x gives Qx​−Py​=1, so Green's theorem reads A=21​∮C​xdy−ydx for any positively oriented simple closed curve. Orientation: at t=0 the point is (1,0), at t=π/2 it is (0,1), and in between x decreases while y increases, so the curve moves from the positive x-axis to the positive y-axis through the first quadrant — counterclockwise. (The astroid has four cusps, but it is piecewise smooth, which is all the theorem needs.)

    With dx=−3cos2tsintdt and dy=3sin2tcostdt,

    xdy−ydx=3cos4tsin2tdt+3sin4tcos2tdt=3sin2tcos2t(cos2t+sin2t)dt=43​sin22tdt,

    using sintcost=21​sin2t. Over [0,2π] the function sin22t runs through two full periods and averages 21​, so ∫02π​sin22tdt=π and

    A=21​⋅43​⋅π=83π​.

    Check: on the astroid, with a=cos2t and b=sin2t (so a+b=1), we have ∣x∣+∣y∣=a3/2+b3/2≤a+b=1, so the astroid lies inside the diamond ∣x∣+∣y∣≤1 of area 2. And 3π/8≈1.18<2, 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 x2+y2=4 that means counterclockwise\; on the inner circle x2+y2=1 it means clockwise, since the annulus lies outside that circle. With D now the annulus, on which P and Q still have continuous partials, Green's theorem for a region with a hole gives

    ∮C​Pdx+Qdy=∬D​3(x2+y2)dA=∫02π​∫12​3r3drdθ=2π⋅3[4r4​]12​=2π⋅445​=245π​.

    Cross-check: the inner circle run counterclockwise gives, by the computation in (a) with radius 1, the value 2π⋅3⋅41​=23π​\; run clockwise it gives −23π​, and 24π−23π​=245π​, in agreement.

  6. 6.Proof

    Let f be a scalar function and F=⟨P,Q,R⟩ a vector field on R3, all with continuous first-order partial derivatives\; in (c) assume continuous second-order partials as well. Write fF for the field ⟨fP,fQ,fR⟩. Prove each identity directly from the definitions of div, curl and ∇.

    1. (a)div(fF)=fdivF+∇f⋅F.
    2. (b)curl(fF)=fcurlF+∇f×F.
    3. (c)Deduce that curl(f∇g)=∇f×∇g for any g with continuous second partials, and that if f is harmonic then div(f∇f)=∣∇f∣2.

    Solution

    (a) The divergence product rule. By definition div(fF)=∂x∂​(fP)+∂y∂​(fQ)+∂z∂​(fR). Apply the one-variable product rule to each term:

    div(fF)=(fx​P+fPx​)+(fy​Q+fQy​)+(fz​R+fRz​).

    Collect the three terms with f undifferentiated and the three with f differentiated:

    =f(Px​+Qy​+Rz​)+(fx​P+fy​Q+fz​R)=fdivF+∇f⋅F.■

    (b) The curl product rule. By definition the first component of curl(fF) is

    ∂y∂​(fR)−∂z∂​(fQ)=fy​R+fRy​−fz​Q−fQz​=f(Ry​−Qz​)+(fy​R−fz​Q).

    The first bracket is f times the first component of curlF. The second is the first component of ∇f×F=⟨fx​,fy​,fz​⟩×⟨P,Q,R⟩, which by the cross-product formula is fy​R−fz​Q. So the first components agree.

    The second component: ∂z∂​(fP)−∂x∂​(fR)=fz​P+fPz​−fx​R−fRx​=f(Pz​−Rx​)+(fz​P−fx​R), and the second component of ∇f×F is fz​P−fx​R. The third: ∂x∂​(fQ)−∂y∂​(fP)=f(Qx​−Py​)+(fx​Q−fy​P), and the third component of ∇f×F is fx​Q−fy​P. (Each line is the previous one with x→y→z→x and P→Q→R→P, which is how both the curl and the cross product are built.) All three components agree, so

    curl(fF)=fcurlF+∇f×F.■

    (c) Two consequences. Apply (b) with F=∇g, which has continuous partials because g has continuous second partials:

    curl(f∇g)=fcurl(∇g)+∇f×∇g=f0+∇f×∇g=∇f×∇g,

    since the curl of a gradient is zero (the components of curl∇g are differences of mixed second partials of g, equal by Clairaut's theorem).

    Apply (a) with F=∇f:

    div(f∇f)=fdiv(∇f)+∇f⋅∇f=f∇2f+∣∇f∣2,

    because div(∇f)=fxx​+fyy​+fzz​=∇2f is the Laplacian and ∇f⋅∇f=∣∇f∣2. If f is harmonic then ∇2f=0 and the first term drops out, leaving div(f∇f)=∣∇f∣2. ■

  7. 7.Critique

    A student is asked to evaluate ∮C​x2+y2xdx+ydy​, where C is the circle x2+y2=4 traversed counterclockwise, and submits the following.

    Step 1. Here P=x2+y2x​ and Q=x2+y2y​.

    Step 2. ∂x∂Q​=(x2+y2)2−2xy​ and ∂y∂P​=(x2+y2)2−2xy​, so Qx​−Py​=0.

    Step 3. By Green's theorem, ∮C​Pdx+Qdy=∬D​0dA=0.

    The final number is correct. The argument is not.

    1. (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.
    2. (b)Evaluate the integral correctly in two independent ways: by parametrising C, and by exhibiting a potential function on the punctured plane and naming the theorem that finishes the job.
    3. (c)Apply the student's three steps, unchanged, to ∮C​x2+y2−ydx+xdy​ 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 P and Q are defined. Green's theorem, however, requires P and Q to have continuous partial derivatives on an open region containing the whole of D, the disc x2+y2≤4 — not merely on the curve. Both functions are undefined at the origin, which lies inside D, 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 0. 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 x=2cost, y=2sint, 0≤t≤2π, so dx=−2sintdt, dy=2costdt and x2+y2=4 on C. Then

    xdx+ydy=(2cost)(−2sint)dt+(2sint)(2cost)dt=0,

    so the integrand vanishes identically along C and the integral is 0. (Geometrically: ⟨x,y⟩ is radial and the circle's tangent is perpendicular to it.)

    Find a potential. Let f(x,y)=21​ln(x2+y2) on the punctured plane R2∖{(0,0)}. Then

    fx​=21​⋅x2+y22x​=x2+y2x​=P,fy​=x2+y2y​=Q,

    so the field is ∇f, with ∇f continuous on the punctured plane, which contains C. By the Fundamental Theorem for line integrals, ∮C​∇f⋅dr=f(end)−f(start)=0, since C 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 P=x2+y2−y​ and Q=x2+y2x​, and by the quotient rule

    Qx​=(x2+y2)2(x2+y2)−2x2​=(x2+y2)2y2−x2​,Py​=(x2+y2)2−(x2+y2)+2y2​=(x2+y2)2y2−x2​,

    so again Qx​−Py​=0 and the student's Step 3 would give 0. The truth, by the same parametrisation:

    −ydx+xdy=(−2sint)(−2sint)dt+(2cost)(2cost)dt=4dt,

    and dividing by x2+y2=4 leaves an integrand of 1, so the integral is ∫02π​1dt=2π=0.

    Why the difference? For either field, Green's theorem does apply on the annulus between C and a small circle Cε​ about the origin, where the hypotheses hold and Qx​−Py​=0\; it shows ∮C​=∮Cε​​. 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 0\; for the rotational field it is 2π, no matter how small ε is. The student's argument silently replaces this contribution by 0 without ever computing it, which is harmless exactly when it happens to be 0. 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 2π.

  8. 8.Sketch

    Let S be the parametric surface r(u,v)=⟨ucosv,usinv,u⟩, 0≤u≤2, 0≤v≤2π.

    1. (a)Identify S by eliminating the parameters, and describe the two families of grid curves. Sketch S, drawing the grid curves u=1 and v=0 and labelling the point r(1,π/2).
    2. (b)Compute ru​×rv​. Find every point at which S fails to be smooth, and say whether the normal supplied by this parametrisation points into or out of the solid region lying above S. Find the tangent plane at r(1,π/2) and mark it on your sketch.
    3. (c)Find the area of S and check it against a formula from elementary geometry.

    Solution

    (a) Identify the surface. From the first two components, x2+y2=u2cos2v+u2sin2v=u2, and the third gives z=u. So every point satisfies x2+y2=z2 with z=u≥0: S is the cone z=x2+y2​, apex at the origin, opening upward, cut off at height z=2 where its rim is the circle x2+y2=4, z=2. Its sides make an angle of 45∘ with the axis.

    Grid curves with u=u0​ fixed: ⟨u0​cosv,u0​sinv,u0​⟩ is the horizontal circle of radius u0​ at height u0​ — the circles of latitude of the cone. Grid curves with v=v0​ fixed: u⟨cosv0​,sinv0​,1⟩ is a straight ray from the apex — the rulings.

    The sketch shows the cone with apex at the origin and rim circle at height 2\; the circle u=1 at height 1 with radius 1\; the ruling v=0, which is the segment from (0,0,0) to (2,0,2) in the xz-plane\; and the point r(1,π/2)=(0,1,1), on the circle u=1 directly above the positive y-axis.

    (b) Normal vector and smoothness. ru​=⟨cosv,sinv,1⟩ and rv​=⟨−usinv,ucosv,0⟩. Expanding the determinant,

    ru​×rv​=⟨sinv⋅0−1⋅ucosv,1⋅(−usinv)−cosv⋅0,cosv⋅ucosv−sinv⋅(−usinv)⟩=⟨−ucosv,−usinv,u⟩.

    This vanishes exactly when u=0, that is, at the single point r(0,v)=(0,0,0) for every v: the apex is the only non-smooth point, and indeed a cone has no tangent plane at its tip. Everywhere else the vector is u⟨−cosv,−sinv,1⟩: its horizontal part ⟨−cosv,−sinv⟩ points from the base point toward the z-axis and its vertical part is upward, so the normal points into the solid cone above S (up and toward the axis), not outward.

    At (u,v)=(1,π/2) the point is (0,1,1) and the normal is ⟨0,−1,1⟩. The tangent plane is 0⋅(x−0)−1⋅(y−1)+1⋅(z−1)=0, that is,

    z=y.

    Sanity check: this plane contains the whole ruling v=π/2, the points (0,u,u), as the tangent plane to a cone along a ruling must\; on the sketch it is the plane through the x-axis tilted at 45∘, touching the cone along that ruling.

    (c) Area. ∣ru​×rv​∣=u2cos2v+u2sin2v+u2​=2u2​=u2​, positive for u>0. The parameter rectangle covers S exactly once (each point has a unique u=z and, off the apex, a unique angle v), so

    A(S)=∫02π​∫02​u2​dudv=2​⋅2π[2u2​]02​=42​π.

    Check: the lateral area of a cone of base radius r and slant height ℓ is πrℓ. Here r=2 and ℓ=22+22​=22​, giving π⋅2⋅22​=42​π. A second check: the shadow of S is the disc of area 4π, and a surface tilted at 45∘ to the plane everywhere has 2​ times the area of its shadow.

  9. 9.Computation

    Let S be the cone z=x2+y2​, 0≤z≤2, and let F(x,y,z)=⟨x,y,2z⟩. Use whichever description of S you prefer — a graph over the disc x2+y2≤4, or r(u,v)=⟨ucosv,usinv,u⟩ — but write down the surface element you are using and, for a flux, the normal vector and the direction it points.

    1. (a)Evaluate ∬S​zdS.
    2. (b)Find the flux of F through S with the normal pointing away from the z-axis (the outward normal for the solid cone x2+y2​≤z≤2). Explain the sign of your answer.
    3. (c)Find the flux of F upward through the disc z=2, x2+y2≤4, 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 r(u,v)=⟨ucosv,usinv,u⟩ on 0≤u≤2, 0≤v≤2π, one computes ru​×rv​=⟨−ucosv,−usinv,u⟩, of length u2​, so dS=u2​dudv. On S the integrand is z=u, hence

    ∬S​zdS=∫02π​∫02​u⋅u2​dudv=2​⋅2π[3u3​]02​=3162​π​.

    The graph description gives the same thing: g(x,y)=x2+y2​ has gx​=x/x2+y2​ and gy​=y/x2+y2​, so 1+gx2​+gy2​​=1+1​=2​ and the integral is 2​∬D​x2+y2​dA=2​∫02π​∫02​r⋅rdrdθ, identical after renaming.

    Sanity check: the area of S is 42​π and the average height of the cone, weighted by area (which grows like u), is ∫02​udu∫02​u2du​=28/3​=34​\; and 42​π⋅34​=3162​π​.

    (b) Flux through the cone. The parametrisation's normal ⟨−ucosv,−usinv,u⟩ points toward the axis and upward, into the solid cone. The required normal is the opposite one,

    N=⟨ucosv,usinv,−u⟩,

    which points away from the axis (and downward, as the outward normal on the slanted side of the solid must). On S, F=⟨ucosv,usinv,2u⟩, so

    F⋅N=u2cos2v+u2sin2v−2u2=−u2,

    and

    ∬S​F⋅dS=∫02π​∫02​(−u2)dudv=−2π⋅38​=−316π​.

    The sign is right. The outward unit normal on the cone is 2​1​⟨x/z,y/z,−1⟩, and F⋅n=2​1​(zx2+y2​−2z)=2​1​(z−2z)=−2​z​<0 on S: the radial part ⟨x,y,0⟩ of the field pushes outward through the sloping side, but the vertical part 2zk 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 ⟨−gx​,−gy​,1⟩, the required one is its negative ⟨gx​,gy​,−1⟩, and F⋅⟨gx​,gy​,−1⟩=x2+y2​x2+y2​−2x2+y2​=−r, whose polar integral −∫02π​∫02​r2drdθ is again −316π​.)

    (c) The lid, and the closed surface. On the disc z=2 the upward unit normal is k and dS=dA, so F⋅k=2z=4 is constant there and the flux is 4⋅area=4⋅4π=16π. Upward is outward for the solid cone at its top, so the total outward flux through the closed surface is

    16π+(−316π​)=332π​.

    Sanity check by the Divergence theorem, which applies because the closed surface bounds the solid cone and F is smooth everywhere: divF=1+1+2=4 and the cone has volume 31​πr2h=31​π⋅4⋅2=38π​, so the outward flux should be 4⋅38π​=332π​. It is.

  10. 10.Proof

    Write r=⟨x,y,z⟩ for the position vector and let a=⟨a1​,a2​,a3​⟩ be a constant vector.

    1. (a)Prove that curl(a×r)=2a.
    2. (b)Let S be a flat region of area A lying in a plane with unit normal n, bounded by a simple closed curve C that is positively oriented with respect to n. Prove that A=21​∮C​(n×r)⋅dr, and show that the plane area formula A=21​∮C​xdy−ydx is the special case n=k.
    3. (c)Use (b) to find the area of the region cut from the plane z=2y by the cylinder x2+y2=1, and confirm the value by an independent method.

    Solution

    (a) Curl of a×r. By the cross-product formula,

    a×r=⟨a2​z−a3​y,a3​x−a1​z,a1​y−a2​x⟩=⟨P,Q,R⟩.

    Every component is linear, so the partials are constants:

    Ry​−Qz​=a1​−(−a1​)=2a1​,Pz​−Rx​=a2​−(−a2​)=2a2​,Qx​−Py​=a3​−(−a3​)=2a3​.

    Hence curl(a×r)=⟨2a1​,2a2​,2a3​⟩=2a. ■ (For a=k this is the familiar fact that the rotation field ⟨−y,x,0⟩ has curl 2k.)

    (b) Area as a line integral. Put F=n×r, with n constant. Its components are linear polynomials, so they have continuous partials on all of R3\; S is a smooth oriented surface and C its positively oriented boundary. Stokes' theorem therefore applies:

    ∮C​(n×r)⋅dr=∬S​curl(n×r)⋅ndS=∬S​2n⋅ndS=∬S​2dS=2A,

    using (a) with a=n, then n⋅n=∣n∣2=1, then ∬S​1dS=A. Dividing by 2 gives the formula. ■

    For n=k: k×⟨x,y,z⟩=⟨0⋅z−1⋅y,1⋅x−0⋅z,0⟩=⟨−y,x,0⟩, so

    21​∮C​(k×r)⋅dr=21​∮C​−ydx+xdy,

    which is the plane formula\; and positive orientation with respect to k is counterclockwise seen from above, exactly the orientation Green's theorem requires.

    (c) A tilted ellipse. The plane is −2y+z=0, with unit normal n=5​1​⟨0,−2,1⟩ (either sign would do\; this one has positive k-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

    r(t)=⟨cost,sint,2sint⟩,0≤t≤2π,

    which runs counterclockwise seen from above, as required. Then r′(t)=⟨−sint,cost,2cost⟩ and, computing the cross product with ⟨0,−2,1⟩ first,

    ⟨0,−2,1⟩×⟨cost,sint,2sint⟩=⟨(−2)(2sint)−(1)(sint),(1)(cost)−0,0−(−2)(cost)⟩=⟨−5sint,cost,2cost⟩.

    Dotting with r′(t): 5sin2t+cos2t+4cos2t=5sin2t+5cos2t=5, a constant. Therefore

    A=21​∮C​(n×r)⋅dr=21​⋅5​1​∫02π​5dt=25​1​⋅10π=5​π.

    Independent check. The region is the graph z=2y over the unit disc D, so its area is ∬D​1+zx2​+zy2​​dA=∬D​1+0+4​dA=5​⋅π. (Or: the region is an ellipse with semi-axes 1 along the x-direction and 5​ along the direction ⟨0,1,2⟩, since the points (0,±1,±2) lie on it at distance 5​ from the centre\; its area is π⋅1⋅5​.) Both agree with the line integral.

  11. 11.Critique

    A student is asked for the flux of F(x,y,z)=⟨x,y,z+1⟩ through the hemisphere S: x2+y2+z2=1, z≥0, oriented with the normal pointing away from the origin, and submits the following.

    Step 1. divF=1+1+1=3.

    Step 2. By the Divergence theorem, ∬S​F⋅dS=∭E​3dV, where E is the solid half-ball x2+y2+z2≤1, z≥0.

    Step 3. The half-ball has volume 32π​, so the flux is 3⋅32π​=2π.

    1. (a)Identify the step at which the argument goes wrong and state exactly which hypothesis of the Divergence theorem is violated.
    2. (b)Repair the argument: close the surface with a suitable lid, apply the theorem correctly, and obtain the true flux.
    3. (c)Confirm your answer by computing the flux directly, using the fact that on the unit sphere the outward unit normal at (x,y,z) is ⟨x,y,z⟩ itself.
    4. (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 divF over E with the flux through the entire boundary of E, which must be a closed surface. The hemisphere S is not closed and is not the boundary of the half-ball: that boundary is S together with the flat disc D: z=0, x2+y2≤1. Step 2 has dropped the disc. The hypothesis violated is that S be the whole boundary surface of a solid region, with outward orientation.

    (b) Close it and subtract the lid. Let D be the disc z=0, x2+y2≤1. Then S∪D is the closed boundary of E, and F is smooth everywhere, so the Divergence theorem gives

    ∬S​F⋅dS+∬D​F⋅dS=∭E​3dV=3⋅32π​=2π,

    provided both pieces carry the outward orientation. On S outward means away from the origin, which is the orientation asked for. On D outward means downward, n=−k, since the solid lies above the disc. There F⋅n=−(z+1)=−1 because z=0, so

    ∬D​F⋅dS=∬D​(−1)dA=−π.

    Hence the hemisphere flux is 2π−(−π)=3π. The student's 2π is wrong by exactly the lid's contribution.

    (c) Direct computation. On the unit sphere n=⟨x,y,z⟩, so

    F⋅n=x2+y2+z(z+1)=(x2+y2+z2)+z=1+z.

    Therefore ∬S​F⋅dS=∬S​1dS+∬S​zdS. The first term is the area of the hemisphere, 21​⋅4π=2π. For the second, parametrise by spherical angles with dS=sinϕdϕdθ and z=cosϕ, 0≤ϕ≤π/2:

    ∬S​zdS=∫02π​∫0π/2​cosϕsinϕdϕdθ=2π[2sin2ϕ​]0π/2​=π.

    Total: 2π+π=3π, confirming (b).

    (d) When the shortcut survives. From the repaired argument, hemisphere flux =∭E​divFdV−∬D​F⋅dS, so the shortcut is correct exactly when the lid's flux vanishes: writing F=⟨P,Q,R⟩, when

    ∬D​F⋅(−k)dA=−∬x2+y2≤1​R(x,y,0)dA=0.

    A sufficient condition is that the third component vanish on the plane z=0\; a condition that is exactly right is that R(x,y,0) integrate to zero over the unit disc. Example: F=⟨x,y,z⟩, whose third component is 0 on z=0. The shortcut predicts 3⋅32π​=2π\; directly, F⋅n=x2+y2+z2=1 on the sphere, so the flux is the hemisphere's area, 2π. They agree — but not because the Divergence theorem applied to S\; because it applied to S∪D and the lid happened to contribute nothing.

  12. 12.Proof

    Let E be a simple solid region with boundary surface S, oriented outward with unit normal n, and let f have continuous second-order partial derivatives on an open set containing E. Recall that f is harmonic if ∇2f=0. You may use that E is connected: any two of its points can be joined by a piecewise-smooth path lying in E.

    1. (a)Prove that div(f∇f)=f∇2f+∣∇f∣2.
    2. (b)Prove that if f is harmonic then ∭E​∣∇f∣2dV=∬S​f∇f⋅ndS.
    3. (c)Prove that if f is harmonic and f=0 at every point of S, then f=0 at every point of E. Deduce that two harmonic functions which agree on S agree throughout E.

    Solution

    (a) A product rule. The field f∇f has components ffx​, ffy​, ffz​, so by the definition of divergence and the one-variable product rule,

    div(f∇f)=∂x∂​(ffx​)+∂y∂​(ffy​)+∂z∂​(ffz​)=(fx2​+ffxx​)+(fy2​+ffyy​)+(fz2​+ffzz​).

    Grouping, this is f(fxx​+fyy​+fzz​)+(fx2​+fy2​+fz2​)=f∇2f+∣∇f∣2. ■

    (b) Apply the Divergence theorem. The field G=f∇f has components ffx​, ffy​, ffz​, whose first partials involve only f and its first and second partials, all continuous on an open set containing E by hypothesis. E is a simple solid and S is its outward-oriented boundary. So the Divergence theorem applies to G:

    ∬S​f∇f⋅ndS=∭E​div(f∇f)dV=∭E​(f∇2f+∣∇f∣2)dV,

    by (a). When f is harmonic, ∇2f=0 throughout E, the first term of the integrand vanishes, and what remains is ∭E​∣∇f∣2dV. ■

    (c) Zero on the boundary forces zero inside. Suppose f is harmonic and f=0 on S. Then the integrand on the right of (b) is 0⋅∇f⋅n=0 at every point of S, so

    ∭E​∣∇f∣2dV=0.

    The integrand ∣∇f∣2 is continuous and never negative. If it were positive at some interior point P0​ of E, say ∣∇f(P0​)∣2=2c>0, continuity would give a small ball B⊂E about P0​ on which ∣∇f∣2>c, and then ∭E​∣∇f∣2dV≥∭B​∣∇f∣2dV≥cV(B)>0, a contradiction. So ∇f=0 at every interior point of E, and by continuity of ∇f at every point of E.

    Now f is constant on E. Take any two points A, B of E and a piecewise-smooth path C in E from A to B. By the Fundamental Theorem for line integrals,

    f(B)−f(A)=∫C​∇f⋅dr=∫C​0⋅dr=0.

    So f takes one value on all of E\; choosing B on S, where f=0, shows that value is 0. Hence f=0 throughout E. ■

    Uniqueness. Let u and v be harmonic on an open set containing E with u=v on S, and put w=u−v. Differentiation is linear, so ∇2w=∇2u−∇2v=0−0=0: w is harmonic. And w=0 on S. By what was just proved, w=0 throughout E, that is, u=v on E. ■

    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 div, the Divergence theorem for a closed surface, and the Fundamental Theorem for line integrals to pass from a vanishing gradient to a constant function.

← Back to the question sheet

CalcPath·Free university mathematics

SubjectsProblem setsProgressFeedbackAbout