A surface is the image of a rectangle or disc under a map r(u, v); the cross product of its two tangent vectors is a normal whose length is the stretching factor from parameter area to surface area, and that one vector gives the area of the surface, the integral of a scalar over it, and the flux of a vector field through it.
Taught in 375/376Beyond the courseApostol Vol. 2, 12.1 to 12.9 (12.7 surface integrals, 12.8 change of parametric representation, 12.9 other notations)MATH 376 Weeks 5 and 6: lectures of 23, 25 and 27 February and 2 March, worksheets 11 to 15, 17 and 27, homework 5, Midterm 2 problems 1 and 2, Final problem 2 and its practice siblingSchwarz, the lantern counterexample (1880)
A wire is a curve and has one parameter. A sheet of metal, a soap film or the skin of a balloon is a surface and has two. This chapter answers three questions about a surface. How big is it? What is the total of some quantity spread over it, such as mass? And how much of a flow, such as water or heat, crosses it? One vector, built from two tangent vectors, answers all three, and it is the object that Stokes’ theorem and the divergence theorem in 6.6 are written with.
Before you start
2.7: a 2×2 determinant is ad−bc, and a 3×3 one is expanded along a row. 2.9: two vectors are orthogonal when their dot product is 0. 5.2: a partial derivative treats the other variables as constants. 6.1: the line integral, and the idea of an oriented curve. 6.3 and 6.4: double integrals over a region, polar coordinates, and the change of variables.
Quick checkWhat is det[23−14]?
ad−bc=2⋅4−(−1)⋅3=8+3=11. The 2×2 determinant is the signed area of the parallelogram whose sides are the two rows.Review: the determinant
Quick checkFor r(u,v)=(ucosv,usinv,u2), what is ∂v∂r?
Differentiate each coordinate with respect to v and treat u as a constant: (ucosv)′=−usinv, (usinv)′=ucosv, (u2)′=0. The first option is ∂r/∂u.Review: partial derivatives
The picture: patches, normals and flux
Start with the paraboloid and F=(x,y,z). Slide include strips and watch the green patches fill in: the flux so far is climbing. Each short orange arrow is the vector N=ru×rv of one patch, drawn with length 1. Now tick flip the normal: every sign changes, and so does the total. Change the field to (0,0,1) and the cone: the flux comes out as 4π, the area of the disc under the cone, because a field that points straight up only sees the shadow of the surface. Choose the Moebius strip last and read the sentence under the picture.
The idea, in words
A curve is traced by one number t, and r′(t) is the velocity. A surface is traced by two numbers (u,v). Fix v and move u: the point slides along a curve on the surface with velocity ru. Fix u and move v: it slides along another curve with velocity rv. A tiny square of the parameter plane with sides du and dv is sent to a tiny patch of the surface, and the patch looks like a parallelogram with sides rudu and rvdv. The area of that parallelogram is the cross product’s length ∥ru×rv∥dudv. Add up the patches and you have the area. Put a number on each patch and add, and you have a scalar surface integral. Put a field on each patch and ask how much of it goes through the parallelogram, and you have the flux.
Why· Why a cross product, and why the same vector three times
Think of a rubber sheet stretched over a frame. The parameter square is the unstretched sheet. The vector ru×rv records two things about how the sheet is stretched at one point: how much (its length) and which way the stretched patch faces (its direction, perpendicular to the patch). Area needs only the first. A scalar quantity such as density needs the first. A flow needs both, because the part of a flow that crosses a patch depends on how the patch is tilted against the flow, and a patch lying along the flow lets nothing through. So one vector, N=ru×rv, serves all three jobs, and the entire chapter is learning to compute it and to use it with the right sign.
Where this came from· Why area of a surface was harder than length of a curve
You can find the length of a curve by laying a polygon with corners on the curve and letting the corners get closer together. In the 1860s a standard French textbook, Serret’s Cours de calcul différentiel et intégral, said the area of a curved surface is likewise the limit of the areas of inscribed polyhedra. Around 1880 Hermann Schwarz found a cylinder for which this fails: stack thin rings of triangles with the rings twisted against each other (the shape is called Schwarz’s lantern) and the area of the polyhedron can approach a number larger than the cylinder’s area, or grow without bound, even though every corner lies on the cylinder. Peano found the same example independently around 1882. The reason is that very thin, tilted triangles can hug the cylinder at their corners while leaning far away from its tangent planes. So a definition of area must use tangent planes, not only points, and that is exactly what the fundamental vector product does. The lab in the area section runs the lantern.
The cross product
Everything below needs one operation on two vectors in space. It is worth building it from what it does, because the formula is easy to misremember.
Definition T
Cross product
The cross product of a and b is the vector
a×b=(a2b3−a3b2,a3b1−a1b3,a1b2−a2b1).
It is remembered as the determinant of a 3×3 table with e1=(1,0,0), e2=(0,1,0), e3=(0,0,1) in the first row, a in the second and b in the third, expanded along the first row (2.7):
The middle term carries a minus sign from the cofactor expansion, which is why the middle component of the formula reads a3b1−a1b3 and not the other way round. Unlike the dot product, it needs three dimensions, and the result is a vector, not a number.
In one lineFor a=(a1,a2,a3) and b=(b1,b2,b3) in R3, a×b=(a2b3−a3b2,a3b1−a1b3,a1b2−a2b1): a vector perpendicular to both, whose length is the area of the parallelogram with sides a and b.
Why it existsArea and direction of a tilted patch in one vector. Both are needed to measure a surface and to say which way it faces.
Why· Where the formula comes from
The lecture does not start from the formula. It starts from what the cross product must do: it is linear in each slot, a×b=−b×a (so a×a=0), and e1×e2=e3, e2×e3=e1, e3×e1=e2. Write a=∑aiei and b=∑bjej and multiply out using linearity: a×b=∑i,jaibjei×ej. The three terms with i=j are 0. Pair the term (i,j) with (j,i), which has the opposite sign, to get ∑i<j(aibj−ajbi)ei×ej. The pair (1,2) gives (a1b2−a2b1)e3, the pair (2,3) gives (a2b3−a3b2)e1, and the pair (1,3) gives (a1b3−a3b1)e1×e3=(a3b1−a1b3)e2, because e1×e3=−e3×e1=−e2. That last minus sign is the flipped middle component.
Theorem TMATH 376 lectures of 23 and 25 February
Length and direction of the cross product
Let θ∈[0,π] be the angle between a and b. Then the facts in the statement hold. The sign rule e1×e2=e3, e2×e3=e1, e3×e1=e2 is the right-hand rule: curl the fingers of your right hand from a towards b and the thumb points along a×b.
In one linea×b is orthogonal to a and to b; ∥a×b∥2=∥a∥2∥b∥2−(a⋅b)2; so ∥a×b∥=∥a∥∥b∥sinθ is the area of the parallelogram with sides a and b. Also b×a=−a×b and e1×e2=e3.
Why it is trueIt says what the cross product is for: the direction is perpendicular to the plane of a and b and the length is the area, so the formula is the right vector to measure and to orient a patch.
ProofMATH 376 lecture of 25 February
The idea: Perpendicularity is a dot product that cancels term by term. The length comes from an identity that both sides expand to the same six products; then the formula for the dot product in terms of the angle turns it into the area of a parallelogram: base times height.
Collect: each of the six products appears once with a plus and once with a minus.Doing the same with b shows it is perpendicular to b. A cross product that fails these two dot products has a sign error in it.
∥a×b∥2=∑i=jai2bj2−2(a1a2b1b2+a1a3b1b3+a2a3b2b3), where the sum has the six terms with i=j.
Square the three components. Each square gives two squared terms and one cross term.
∥a∥2∥b∥2=∑iai2bi2+∑i=jai2bj2 and (a⋅b)2=∑iai2bi2+2(a1a2b1b2+a1a3b1b3+a2a3b2b3).
Multiply out the product of the two squared lengths, and the square of the dot product.
∥a∥2∥b∥2−(a⋅b)2=∥a×b∥2.
Subtract. The terms ∑iai2bi2 cancel and what is left is the line above.
∥a×b∥2=∥a∥2∥b∥2sin2θ.
The dot product is a⋅b=∥a∥∥b∥cosθ (2.9), and 1−cos2θ=sin2θ.
∥a×b∥=∥a∥∥b∥sinθ.
Take square roots. sinθ≥0 on [0,π], so no sign is needed.
∥a×b∥ is the area of the parallelogram. ■
A parallelogram has area base times height: the base is ∥a∥ and the height is ∥b∥sinθ. Swapping a and b flips the sign of each component in the formula.The sign claim b×a=−a×b is the same swap: b2a3−b3a2=−(a2b3−a3b2), and likewise for the other two components.
Proof workshopRebuild the proof that the length of a x b is the parallelogram areaMATH 376 lecture of 25 February
Tap the lines in the order a proof would write them. Each line can only use what is already above it.
Definition of the cross product, then squaring each of the three components.
Start from the definition: you need the components of the cross product before you can compare anything.
Multiplying out; the terms ai2bi2 appear in both and cancel.
Both sides of the identity need to be written out as sums first.
The two expansions are the same expression.
You need both expansions above before you can compare them.
The dot product in terms of the angle, and the identity sine squared equals one minus cosine squared.
The identity has to be established before the angle can replace the dot product.
A square root of a square is the absolute value, and sine is not negative on this interval.
You need the squared formula first.
Area of a parallelogram is base times height.
The length formula must come first.
Worked example MATH 376 worksheet 12 problems 1 and 2
Compute (2,−1,3)×(1,4,−2), check that it is orthogonal to both vectors, and find the area of the parallelogram and of the triangle they span.
Solution.
First component.a2b3−a3b2=(−1)(−2)−(3)(4)=2−12=−10. Rows 2 and 3 of the pattern: ignore a1 and b1.
Second component.a3b1−a1b3=(3)(1)−(2)(−2)=3+4=7. Remember the flipped order: third times first, minus first times third.
Third component.a1b2−a2b1=(2)(4)−(−1)(1)=8+1=9. Ignore a3 and b3.
Check with two dot products.(−10,7,9)⋅(2,−1,3)=−20−7+27=0 and (−10,7,9)⋅(1,4,−2)=−10+28−18=0. A cross product must be orthogonal to both factors. This catches the usual sign slip in the middle component.
Length.∥(−10,7,9)∥=100+49+81=230. The length of a×b is the parallelogram area.
Triangle. The triangle with sides a and b is half the parallelogram, so its area is 21230.
Answer.a×b=(−10,7,9); parallelogram area 230≈15.17; triangle area 21230≈7.58. Worksheet 12 problem 2 is (1,2,2)×(2,0,1)=(2,3,−4), and the same two dot products give 2+6−8=0 and 4+0−4=0.
Worked example MATH 376 worksheet 12 problem 3
Find a normal vector to the plane through A=(1,0,2), B=(3,−1,1), C=(2,2,0), and the area of the triangle ABC.
Solution.
Two edges from one corner.AB=B−A=(2,−1,−1) and AC=C−A=(1,2,−2). Both lie in the plane, and they are not parallel.
Cross them.AB×AC=((−1)(−2)−(−1)(2),(−1)(1)−(2)(−2),(2)(2)−(−1)(1))=(4,3,5). The cross product is orthogonal to two vectors in the plane, so it is a normal to the plane.
Area.21∥(4,3,5)∥=2116+9+25=2150=252. Half the parallelogram.
Answer. A normal is (4,3,5) and the area is 252≈3.54. The plane is 4(x−1)+3y+5(z−2)=0.
Your answerFind the area of the triangle with vertices A=(1,1,0), B=(3,1,2) and C=(1,4,2).
Subtract to get two edges from A, cross them, take the length, halve it.
AB=(2,0,2) and AC=(0,3,2). Their cross product is (0⋅2−2⋅3,2⋅0−2⋅2,2⋅3−0⋅0)=(−6,−4,6), of length 36+16+36=88. Half of that is 22≈4.69.
Quick checkWhat is (1,2,3)×(2,4,6)?
The second vector is twice the first, so the parallelogram they span is flat and has area 0. A cross product is zero exactly when the two vectors are parallel (or one is zero).
Quick checkYou compute a×b and get a vector whose dot product with a is not 0. What happened?
Perpendicularity to both factors is built into the formula (first step of the proof above), so the two dot products are a free check. The most common slip is the sign of the middle component.
Parametric surfaces
Definition T
Parametric surface
A curve needs one parameter, running over an interval. A surface needs two, running over a region T of the plane, such as a rectangle or a disc. The map r:T→R3 is a parametrization and S=r(T) is a parametric surface. When r(x,y)=(x,y,g(x,y)) the parametrization is explicit: S is the graph z=g(x,y). The number of parameters is the dimension: a circle and a helix have one, a disc (even though it is flat), a cylinder and a sphere have two.
In one lineA surface S given by a map r(u,v)=(x(u,v),y(u,v),z(u,v)) from a parameter region T in the uv-plane; S is the set of points r(u,v) with (u,v) in T.
Why it existsIt turns a two-dimensional object in space into two ordinary variables, so every question about the surface becomes a double integral over a flat region.
Memorize this table. Each row is used all through the chapter and the next.
Surface
Parametrization
Parameter region
graph z=g(x,y)
r(x,y)=(x,y,g(x,y))
the region D of the xy-plane under it
cylinder x2+y2=R2
r(θ,z)=(Rcosθ,Rsinθ,z)
0≤θ≤2π, z in an interval
cone z=x2+y2
r(r,θ)=(rcosθ,rsinθ,r)
r≥0, 0≤θ≤2π
paraboloid z=4−x2−y2
r(r,θ)=(rcosθ,rsinθ,4−r2)
0≤r≤2, 0≤θ≤2π
sphere of radius R
r(φ,θ)=R(sinφcosθ,sinφsinθ,cosφ)
0≤φ≤π, 0≤θ≤2π
ellipsoid a2x2+b2y2+c2z2=1
r(u,v)=(asinvcosu,bsinvsinu,ccosv)
0≤u≤2π, 0≤v≤π
torus: circle of radius a swept round a circle of radius R>a
r(u,v)=((R+acosv)cosu,(R+acosv)sinu,asinv)
0≤u,v≤2π
plane through P with sides a,b
r(u,v)=P+ua+vb
0≤u≤1, 0≤v≤1 for the parallelogram
On the sphere, φ is the angle measured down from the north pole (the positive z-axis) and θ is the angle around the z-axis. In the cone and paraboloid rows the letter r is both the radius coordinate and the name of the map; the name of the map is r(⋅,⋅) with two arguments.
Watch out· The triangle is not the parallelogram
The set {ua+vb:0≤u,v≤1} is the parallelogram. The set with the extra condition u+v≤1 is only the triangle with corners 0, a, b. A wrong parameter region gives a different set, and a different answer.
Worked example MATH 376 worksheet 11 problems 1 to 4
Parametrize the unit sphere, the cylinder x2+y2=9 with 0<z<5, the slanted triangle x+2y+z=2 in the first octant, and the punctured disc z=x with 0<x2+y2<1. In each case find the infimum and supremum of the coordinate x and say whether they are attained.
The infimum of the values of x is the largest number that is at most every value, the supremum is the smallest number that is at least every value, and a bound is attained if some point of the surface has exactly that value of x.
Solution.
Sphere.r(φ,θ)=(sinφcosθ,sinφsinθ,cosφ), 0≤φ≤π, 0≤θ≤2π. Then x=sinφcosθ has ∣x∣≤1, and φ=π/2, θ=0 gives x=1, while θ=π gives x=−1. Both bounds are reached, so the supremum 1 and infimum −1 are attained.
Cylinder.r(θ,z)=(3cosθ,3sinθ,z), θ∈[0,2π), z∈(0,5). Then x=3cosθ∈[−3,3], and θ=0 and θ=π reach both ends for any z. Attained. The missing end circles z=0 and z=5 do not matter for x. For the coordinate z instead, the infimum 0 and the supremum 5 would not be attained.
Triangle. The plane meets the axes at (2,0,0), (0,1,0), (0,0,2). Solve for z: r(u,v)=(u,v,2−u−2v) with 0≤u≤2, 0≤v≤1−u/2 (this is z≥0). Then x=u∈[0,2], with u=2 at the vertex (2,0,0) and u=0 along the edge x=0. Both are attained: the triangle contains its edges.
Punctured disc.r(r,θ)=(rcosθ,rsinθ,rcosθ) with 0<r<1, 0≤θ≤2π. Then ∣x∣≤r<1 with values arbitrarily close to 1 and −1 (take θ=0 or π and r→1). The bound 1 would need r=1, which was removed, so the supremum 1 and the infimum −1 are not attained.
Answer. Sphere: ±1, attained. Cylinder: ±3, attained. Triangle: 0 and 2, attained. Punctured disc: ±1, not attained. (The worksheet calls a surface ‘closed’ when it has no boundary curve, like the sphere, and ‘open’ when it has one. That is a different use of the words from the point-set words in 4.1.)
Worked example MATH 376 worksheet 15 problem 1
Parametrize each of: a circle of radius R, a disc of radius R, a helix of radius R and one turn of height H, and a cylinder of radius R and height h. How many parameters does each need?
Solution.
Circle.(Rcost,Rsint), 0≤t≤2π: one parameter, an interval.
Disc.(rcosθ,rsinθ), 0≤r≤R, 0≤θ≤2π: two parameters. The disc is flat and lives in the plane, but it is a surface: it takes two numbers to name a point.
Helix.(Rcost,Rsint,Ht/(2π)), 0≤t≤2π: one parameter. It is a curve in space.
Cylinder.(Rcosθ,Rsinθ,z), 0≤θ≤2π, 0≤z≤h: two parameters.
Answer. One, two, one, two. A curve has a one-dimensional parameter set and a surface a two-dimensional one, whatever space they sit in.
The fundamental vector product
Fix a point (u0,v0) of the parameter region. The partial derivatives ru=∂r/∂u and rv=∂r/∂v are two vectors at the point r(u0,v0). Moving u by a little bit δ moves the point by about δru (the linear approximation of 5.3), and moving v by δ moves it by about δrv. So the small square [u0,u0+δ]×[v0,v0+δ] is sent to a patch that is, to first order, the parallelogram with sides δru and δrv. By the theorem above, its area is ∥ru×rv∥δ2.
Definition T
Fundamental vector product
The fundamental vector product of r at (u,v) is
N(u,v)=ru×rv.
The parametrization is regular at (u,v) if N(u,v)=0, and smooth if it is regular at every point (and r is continuously differentiable). Where N=0 the two tangent vectors are parallel or one of them is zero, the patch collapses to a segment or a point, there is no tangent plane and no unit normal.
In one lineFor a parametrization r(u,v) the vector N(u,v)=ru×rv. It is normal to the surface and ∥N∥ is the area of the image of a unit parameter square. The parametrization is regular where N=0 and smooth if it is regular everywhere.
Why it existsIt is the one vector that carries the facing direction and the stretching factor of a surface patch, so every surface integral is written with it.
Theorem TMATH 376 lectures of 23 to 27 February; Apostol 12.1 to 12.5
Normal and area element of a parametrized surface
At a regular point, N is orthogonal to ru and rv, which span the tangent plane, so it is a normal vector to the surface. The unit normal is n=N/∥N∥. A small parameter rectangle of area dudv is sent to a patch of area ∥N∥dudv to first order, so we write dS=∥N∥dudv.
In one lineN=ru×rv is perpendicular to the tangent plane at each regular point, and the area element is dS=∥ru×rv∥dudv.
Why it is trueThis is the whole reason the cross product enters surface integrals: its direction is the normal and its length is the area stretching factor.
The theorem is the computation above: the first sentence is the perpendicularity part of the cross product theorem, and the second is its length part applied to the patch with sides rudu and rvdv. The ideas of linear approximation in 5.3 are what turn “to first order” into a limit, and it is the same limit that defines the surface area in the next section.
Proposition TMATH 376 lecture of 2 March and worksheet 12; Apostol 12.5
Normal of a graph
For a graph of a continuously differentiable function g, the parametrization r(x,y)=(x,y,g(x,y)) has the stated fundamental vector product, and it is regular everywhere.
In one lineFor the graph z=g(x,y) with r(x,y)=(x,y,g(x,y)): rx×ry=(−gx,−gy,1), which points upward, and ∥rx×ry∥=1+gx2+gy2.
Why it is trueGraphs are the most common surfaces, and this formula turns most flux and area problems about them into a one-line computation.
ProofMATH 376 lecture of 2 March
The idea: Differentiate, then cross. The first two components of the cross product each have one zero factor, and the third is a determinant of a matrix with $1, 0, 0, 1$ in it.
rx=(1,0,gx) and ry=(0,1,gy).
Differentiate each coordinate of r(x,y)=(x,y,g(x,y)) with respect to x and then y.
rx×ry=(0⋅gy−gx⋅1,gx⋅0−1⋅gy,1⋅1−0⋅0).
The cross product formula with a=rx and b=ry.
=(−gx,−gy,1).
Evaluate each component.The third component is +1 for every graph: that is why rx×ry always points up, and why we say 'upward' for a graph without checking anything else.
∥rx×ry∥=gx2+gy2+1. ■
Length of a vector: square root of the sum of squares. It is at least 1, so never zero.
Why· The same fact seen from the side
The factor 1+gx2+gy2 equals 1/cosγ, where γ is the angle between the upward normal and the vertical. A steep patch has a large γ and its true area is its shadow on the xy-plane divided by cosγ: a roof of slope 1 (gx=1, gy=0) has 2 times the area of the floor under it. This is also why a flat piece of paper held at an angle shades less of the table than it covers.
Worked example MATH 376 worksheet 11 problem 5
Find the tangent vectors and the fundamental vector product of r(u,v)=(u2,sin(uv),ev) at (u,v)=(1,0).
Solution.
Differentiate in u.ru=(2u,vcos(uv),0). Chain rule on sin(uv): the derivative of uv in u is v. The last coordinate has no u.
Differentiate in v.rv=(0,ucos(uv),ev).
Evaluate at (1,0).ru=(2,0,0) and rv=(0,1,1). vcos(uv)=0 and ucos(uv)=cos0=1, e0=1.
Cross.N=(0⋅1−0⋅1,0⋅0−2⋅1,2⋅1−0⋅0)=(0,−2,2).
Check.N⋅ru=0 and N⋅rv=−2+2=0. The free check from the cross product theorem.
Answer.ru=(2,0,0), rv=(0,1,1), N=(0,−2,2).
Worked example new (compare 5.3)
Find the equation of the tangent plane to the paraboloid z=x2+y2 at (1,1,2) from the fundamental vector product.
Solution.
Normal of a graph.g=x2+y2 has gx=2x=2 and gy=2y=2 at the point, so N=(−2,−2,1). The graph formula.
Plane through the point with this normal.−2(x−1)−2(y−1)+(z−2)=0, that is z=2x+2y−2. The tangent plane is the set of points X with N⋅(X−p)=0.
Check against 5.3. The level-surface gradient of f=x2+y2−z is (2x,2y,−1)=(2,2,−1), which is −N. Same line, opposite direction: both are normals, so both describe the same plane.
Answer.z=2x+2y−2.
Worked example MATH 376 Midterm 2 problem 1(a); see [A.3](/vol2/a3-midterm-2/)
Find the normal field of the surface S={(u,v,eu):0≤u,v≤1} pointing in the positive z direction.
Solution.
Parametrize.r(u,v)=(u,v,eu). It is the graph of z=ex over the unit square, with u=x and v=y.
Tangent vectors.ru=(1,0,eu) and rv=(0,1,0).
Cross.N=ru×rv=(0⋅0−eu⋅1,eu⋅0−1⋅0,1⋅1−0⋅0)=(−eu,0,1). The third component is +1>0, so it points in the positive z direction as the problem asks. No sign flip.
Length.∥N∥=e2u+1.
Normalize.n=e2u+1(−eu,0,1). The unit normal is N divided by its length.
Answer.n=(−eu,0,1)/e2u+1. The practice exam asks the same for (u,v,v−u3) (A.5), where ru=(1,0,−3u2), rv=(0,1,1) and N=(3u2,−1,1) come out the same way.
Quick checkFor the surface r(u,v)=(u,v,u2+v2), which is the fundamental vector product?
It is a graph with gx=2u and gy=2v, so N=(−gx,−gy,1)=(−2u,−2v,1). Only the sign pattern of the first two components distinguishes the first two options.
Surface area
Definition T
Surface area
For a smooth parametrization r:T→S of a surface S, the surface area of S is
area(S)=∬T∥ru×rv∥dudv.
For a graph z=g(x,y) over a region D this becomes ∬D1+gx2+gy2dxdy.
In one lineThe area of S=r(T) for a smooth parametrization is ∬T∥ru×rv∥dudv.
Why it existsIt adds up the areas ∥N∥dudv of the parallelogram patches, and is the only definition that survives the Schwarz lantern.
Method: (1) parametrize, using the constraints of the problem to set the parameter ranges; (2) compute ru, rv and N=ru×rv; (3) take the length; (4) integrate over the parameter region.
Worked example MATH 376 Midterm 2 problem 2, 6 points; see [A.3](/vol2/a3-midterm-2/)
Find the area of the part of the paraboloid z=43−x2−y2 above the plane z=0, using cylindrical coordinates. (Hint: drd(1+4r2)3/2=12r1+4r2.)
Solution.
Parameter ranges.z≥0 means 43−r2≥0, so 0≤r≤23 and 0≤θ≤2π. The constraint of the problem is what sets the limits.
Parametrize.r(r,θ)=(rcosθ,rsinθ,43−r2).
Tangent vectors.rr=(cosθ,sinθ,−2r) and rθ=(−rsinθ,rcosθ,0).
Length.4r4cos2θ+4r4sin2θ+r2=4r4+r2=r1+4r2. cos2+sin2=1, then pull r2 out of the root; this is allowed because r≥0.
Integrate in r. By the hint, ∫03/2r1+4r2dr=121[(1+4r2)3/2]03/2=121(43/2−1)=127. At r=3/2: 1+4⋅43=4 and 43/2=8. At r=0 the value is 1. If there were no hint, you would guess a multiple of (1+4r2)3/2 and differentiate it to find the multiple.
Integrate in θ. The inner integral does not depend on θ, so multiply by 2π: 2π⋅127=67π.
Answer.67π≈3.665. The flat disc under it has area π⋅43=2.356, and the cap is bigger because it is tilted.
Worked example MATH 376 practice Midterm 2 problem 2; see [A.5](/vol2/a5-practice-exams/)
Find the area of the cone z=x2+y2 between the planes z=0 and z=21/4, using cylindrical coordinates.
Solution.
Parametrize.r(r,θ)=(rcosθ,rsinθ,r) with 0≤r≤21/4, 0≤θ≤2π. On the cone z=r, so 0≤z≤21/4 is 0≤r≤21/4.
Cross.rr=(cosθ,sinθ,1) and rθ=(−rsinθ,rcosθ,0), so rr×rθ=(−rcosθ,−rsinθ,r).
Check with geometry. The lateral area of a cone is π⋅radius⋅slant height=π⋅21/4⋅2⋅21/4=π2⋅2=2π. A second method, from high-school geometry, agrees.
Answer.2π. At the apex r=0 the vector N is 0, so the parametrization is not regular there. The apex is a single point, so it changes no integral.
Worked example Apostol 12.5 (sphere); new (torus)
Find the area of a sphere of radius R, and of the torus with radii R>a.
Solution.
Sphere, tangent vectors.r(φ,θ)=R(sinφcosθ,sinφsinθ,cosφ) has rφ=R(cosφcosθ,cosφsinθ,−sinφ) and rθ=R(−sinφsinθ,sinφcosθ,0).
Sphere, cross.rφ×rθ=R2sinφ(sinφcosθ,sinφsinθ,cosφ). The first component is 0−(−sinφ)(sinφcosθ)R2=R2sin2φcosθ, and similarly for the others. The third is R2sinφcosφ(cos2θ+sin2θ).
Sphere, length. The vector in brackets has length 1, and sinφ≥0 on [0,π], so ∥N∥=R2sinφ.
Torus. With r(u,v)=((R+acosv)cosu,(R+acosv)sinu,asinv) the cross product ru×rv=a(R+acosv)(cosucosv,sinucosv,sinv), which has length a(R+acosv) since R>a. Same pattern as the sphere: a scalar times an outward unit vector.
Answer. Sphere 4πR2. Torus 4π2Ra: the length of the core circle, 2πR, times the circumference of the tube, 2πa.
Worked example Apostol 12.5 (surfaces of revolution)
Derive the high-school formula 2π∫y1+y′2dx for the area of a surface of revolution, and use it to show that the part of a sphere of radius R between two parallel planes at distance h has area 2πRh.
Solution.
Parametrize the surface of revolution. Rotate the graph y=f(x)≥0, a≤x≤b, about the x-axis: r(x,θ)=(x,f(x)cosθ,f(x)sinθ).
Cross.rx=(1,f′cosθ,f′sinθ) and rθ=(0,−fsinθ,fcosθ), so rx×rθ=(ff′,−fcosθ,−fsinθ). First: f′cosθ⋅fcosθ+f′sinθ⋅fsinθ=ff′. Second: f′sinθ⋅0−1⋅fcosθ. Third: 1⋅(−fsinθ)−0.
Length.f2f′2+f2=f1+f′2.
Area.∫ab∫02πf1+f′2dθdx=2π∫abf1+f′2dx. That is the formula from JEE: the rule you used is this computation with the angle already integrated.
The sphere. For f=R2−x2, f′=−x/f, so f1+f′2=f2+x2=R.
The zone. The area between x=a and x=b is 2πR(b−a)=2πRh. It does not depend on where the planes cut: slices of equal thickness have equal area (Archimedes).
Answer. The zone has area 2πRh; the whole sphere (h=2R) has area 4πR2.
Your answerFind the area of the part of the paraboloid z=x2+y2 with z≤1.
The region is r≤1. Use ∥N∥=1+4r2 and the antiderivative 121(1+4r2)3/2.
Polar coordinates: gx=2x, gy=2y, so ∥N∥=1+4r2 and the area is 2π∫01r1+4r2dr=2π⋅121(53/2−1)=6π(55−1)≈5.33.
Your answerFind the area of the torus whose core circle has radius 3 and whose tube has radius 1.
The area of a torus is 4π2Ra with R=3 and a=1, which is 12π2≈118.4.
Beyond the course: for understanding· Label B: the lantern and the torus
Schwarz’s lantern, the surface of revolution formula and the torus are beyond MATH 376, which set area problems only for graphs, the cone and the paraboloid cap. They are here to show why the definition of area uses tangent planes and to give more surfaces to practise the cross product on.
Python labArea of a surface by a mesh of triangles, and Schwarz's lantern
import numpy as npdef mesh_area(r, a, b, c, d, n): u = np.linspace(a, b, n + 1); v = np.linspace(c, d, n + 1) U, V = np.meshgrid(u, v, indexing="ij") P = np.stack(r(U, V), axis=-1) A, B, C, D = P[:-1, :-1], P[1:, :-1], P[1:, 1:], P[:-1, 1:] tri = lambda p, q, s: 0.5 * np.linalg.norm(np.cross(q - p, s - p), axis=-1).sum() return tri(A, B, C) + tri(A, C, D)sphere = lambda ph, th: (np.sin(ph) * np.cos(th), np.sin(ph) * np.sin(th), np.cos(ph))print("n mesh area of unit sphere error")for n in (4, 8, 16, 32, 64): A = mesh_area(sphere, 0, np.pi, 0, 2 * np.pi, n) print(f"{n:3d} {A:.6f} {abs(A - 4 * np.pi):.6f}")def lantern(m, n): # m slabs, n points per ring, neighbouring rings twisted by pi/n return 2 * n * m * np.sin(np.pi / n) * np.sqrt(1 / m**2 + (1 - np.cos(np.pi / n))**2)print("true area of the cylinder:", round(2 * np.pi, 4))for n in (10, 20, 40): print(n, " m=n:", round(lantern(n, n), 4), " m=n^2:", round(lantern(n**2, n), 4), " m=n^3:", round(lantern(n**3, n), 1))
Try this.Run it. The first table cuts the sphere into n by n parameter squares, each into two flat triangles, and adds the triangle areas (half the length of a cross product). The error against 4*pi shrinks by a factor of about 4 each time n doubles, so it falls like 1/n^2 and the mesh area converges. The second part is Schwarz's lantern: a cylinder of radius 1 and height 1, true area 2*pi = 6.2832, replaced by a polyhedron with m rings of n points, every corner on the cylinder. With m = n the area goes to 2*pi. With m = n^2 it goes to about 31.6, five times too big. With m = n^3 it grows without bound. All three have more and more triangles and every corner on the cylinder. Change m to 2*n or to n**2.5 and predict before you run.
Quick checkA cylinder of radius 3 is parametrized by r(θ,z)=(3cosθ,3sinθ,z) on the rectangle [0,2π]×[0,3]. Which is the area of the cylinder?
Here ∥rθ×rz∥=∥(3cosθ,3sinθ,0)∥=3, so the area is 3⋅6π=18π. The parameter rectangle has area 6π, but the surface is stretched by the factor 3 (one radian of θ is an arc of length 3). Writing dudv in place of dS throws away the stretching factor, here 3.
Quick checkThe apex of the cone r(r,θ)=(rcosθ,rsinθ,r) is the point r=0. What is rr×rθ there?
rr×rθ=(−rcosθ,−rsinθ,r), which is 0 at r=0. That is one point, so it changes no area or integral.
Integrating a scalar over a surface
Definition T
Surface integral
The surface integral of a continuous scalar field f over S=r(T) is
∬SfdS=∬Tf(r(u,v))∥ru×rv∥dudv.
The parametrization must be smooth, so that ∥N∥>0 and dS is a genuine area element, and f must be continuous on a set containing S. With f=1 this is the area; if f=ρ is a mass per unit area, it is the mass of the sheet.
In one lineFor a continuous scalar field f and a smooth parametrization r:T→S, ∬SfdS=∬Tf(r(u,v))∥ru×rv∥dudv.
Why it existsIt adds up f times area over the patches. With f=1 it is the area, with f a density it is the mass.
Watch out· The factor that cannot be dropped
The parameter region has area ∬Tdudv and the surface has area ∬T∥N∥dudv. They agree only when ∥N∥=1. For a scalar integral you need ∥N∥, once, as a factor. Never replace dS by dudv.
Worked example MATH 376 worksheet 13 problems 3 and 4
Compute ∬Sz2dS over the cylinder x2+y2=9, 0≤z≤3, and ∬S(x+y+z)dS over the top face z=1 of the unit cube.
Solution.
Cylinder, parametrize.r(θ,z)=(3cosθ,3sinθ,z), 0≤θ≤2π, 0≤z≤3. Then rθ×rz=(3cosθ,3sinθ,0), of length 3.
Cylinder, integrate.∫02π∫03z2⋅3dzdθ=3⋅2π⋅9=54π. The integrand does not depend on θ. ∫03z2dz=9.
Top face.r(x,y)=(x,y,1) has N=(0,0,1) and ∥N∥=1, so dS=dA. A flat horizontal face is not stretched.
Top face, integrate.∫01∫01(x+y+1)dxdy=∫01(21+y+1)dy=21+21+1=2.
Answer.54π and 2.
Worked example MATH 376 homework 5 problem 2
Compute ∬S(x2+y2+z2)dS over the triangle with vertices (1,0,0), (0,1,0), (0,0,1).
Solution.
Plane and graph. The triangle lies in x+y+z=1, so z=1−x−y over D={x,y≥0,x+y≤1}.
Normal.N=(−gx,−gy,1)=(1,1,1), so ∥N∥=3, a constant, and dS=3dA.
Use symmetry. Swapping the names of two coordinates maps the triangle onto itself and keeps dS, so ∬x2dS=∬y2dS=∬z2dS. This turns a three-term integral into three times one.
Integrate one term.33∬Dx2dA=33∫01x2(1−x)dx=33(31−41)=33⋅121=43.
Answer.43.
Worked example MATH 376 worksheet 12 problem 8
Find the mass of the surface z=x2+y2, x2+y2≤1, with density ρ=2+z.
Solution.
Normal.N=(−2x,−2y,1), ∥N∥=1+4r2 in polar coordinates, and ρ=2+r2.
Set up.M=∫02π∫01(2+r2)1+4r2rdrdθ. Here dA=rdrdθ is the Jacobian of polar coordinates (6.4), separate from the ∥N∥ factor.
Substitute.s=1+4r2, rdr=ds/8, r2=(s−1)/4, 2+r2=(s+7)/4, limits s=1 to 5. Then M=2π⋅41⋅81∫15(s+7)s1/2ds=16π∫15(s3/2+7s1/2)ds.
Integrate.16π[52s5/2+314s3/2]15=16π(31005−1576). At s=5: 52⋅255+314⋅55=105+3705. At s=1: 52+314=1576.
Simplify.16π⋅155005−76=60π(1255−19)≈13.64.
Answer.60π(1255−19)≈13.64. The same method gives ∬SzdS=60π(1755−41)≈18.34 for z=4−x2−y2 over r≤1 (worksheet 27 problem 8; the course solution stops at the antiderivative, and this value was recomputed).
Your answerCompute ∬SzdS over the upper unit hemisphere x2+y2+z2=1, z≥0.
On the unit sphere ∥N∥=sinφ and z=cosφ; the range is 0≤φ≤π/2.
With r(φ,θ) of radius 1, dS=sinφdφdθ and z=cosφ, so the integral is 2π∫0π/2cosφsinφdφ=2π⋅21=π.
Orientation and flux
For a flow we need more than area. A surface has two sides, and flux counts a crossing as positive when it goes one way and negative when it goes the other. We must say which way is positive.
Definition T
Oriented surface
An orientation of a surface S is a continuous choice of unit normal n at every point of S. A surface with an orientation is an oriented surface. A given smooth surface that has one orientation has exactly two, n and −n. A problem tells you which: ‘upward’ for a graph, ‘outward’ for a closed surface such as a sphere, ‘downward’, ‘inward’, or ‘in the direction of ru×rv’.
In one lineA surface together with a continuous choice of unit normal vector n at every point.
Why it existsFlux changes sign if the normal is reversed, so a flux problem is meaningless until a normal has been chosen: upward, outward, downward, inward.
Definition T
Orientable surface
A surface is orientable if a continuous unit normal field exists on it. A Moebius strip (a band of paper with one half twist, glued) is not: carry a normal vector once around the band and it comes back reversed, so no continuous choice exists. In the picture at the top of the chapter, choose the Moebius strip and compare N at u=0 and u=2π. A parametrization such as r(u,v)=((1+vcos2u)cosu,(1+vcos2u)sinu,vsin2u), 0≤u≤2π, −21≤v≤21 traces it, and ru×rv at u=0 is the negative of ru×rv at u=2π at the same point.
In one lineA surface that admits an orientation. Spheres, cylinders, graphs, tori and flat pieces are orientable; the Moebius strip is not.
Why it existsFlux and Stokes' theorem both need a normal, so they only make sense on orientable surfaces.
Definition T
Flux
The flux of a continuous vector field F through the oriented surface S with unit normal n is
∬SF⋅ndS.
Only the component of F along n crosses the surface, so the integrand F⋅n is the flux density: the rate of crossing per unit area. If F is the velocity of a fluid, the flux is the volume of fluid crossing the surface per unit time, positive in the direction of n.
In one lineThe flux of a vector field F through an oriented surface S with unit normal n is ∬SF⋅ndS.
Why it existsIt measures how much of the field crosses the surface, counted positive in the direction of n and negative against it.
Why the dot product with n and not something else? Try a flat square of area A in the plane x=0, with normal n=(1,0,0). If F=(1,0,0) the field goes straight through, and in one second a column of fluid of volume 1⋅A crosses. If F=(0,2,0) the field slides along the square and nothing crosses. For a constant F=v the volume crossing in one second is the volume of the slanted column on the square with edge v, which is (v⋅n)A.
Theorem TMATH 376 lectures of 25 and 27 February; Apostol 12.7 and 12.9
Flux as a double integral
Let r:T→S be a smooth parametrization and F continuous on S. If N=ru×rv points in the direction of the required normal n, then ∬SF⋅ndS=∬TF(r(u,v))⋅N(u,v)dudv. If N points the other way, then n=−N/∥N∥ and the flux is −∬TF(r)⋅Ndudv.
In one lineIf ru×rv points the same way as n, then ∬SF⋅ndS=∬TF(r(u,v))⋅(ru×rv)dudv; if it points the opposite way, the right side has the opposite sign.
Why it is trueThe length of the normal cancels, so a flux integral never contains a square root. This one identity is the working formula for every flux problem.
ProofMATH 376 lecture of 27 February
The idea: The unit normal divides by the length of N and the area element multiplies by the length of N. They cancel.
∬SF⋅ndS=∬TF(r)⋅n∥N∥dudv.
Surface integral formula with f=F⋅n.
n∥N∥=∥N∥N∥N∥=N.
If N points the way n does, then n=N/∥N∥ at every point.This is where the direction check matters. For 'upward', look at the sign of the third component of N. For 'outward' from a sphere or cylinder, test N against the position vector at one point.
=∬TF(r)⋅Ndudv.
Substitute. The normalization has vanished.
The integral is −∬TF(r)⋅Ndudv. ■
If instead N points against n, then n=−N/∥N∥ and the same cancellation gives n∥N∥=−N.Do not flip the sign by taking an absolute value at the end: a flux can truly be negative.
The method for flux: (1) parametrize; (2) compute N=ru×rv; (3) compare its direction with the required orientation, and replace N by −N if they disagree; (4) substitute the surface into F; (5) dot with N; (6) integrate over the parameter region. Nothing is normalized.
Why· Another way to write the same flux: Apostol 12.9
Apostol writes the flux of F=(P,Q,R) as ∬SPdy∧dz+Qdz∧dx+Rdx∧dy. The symbol ∬SPdy∧dz means ∬TP(r(u,v))∂(u,v)∂(y,z)dudv, where ∂(u,v)∂(y,z)=yuzv−yvzu is a 2×2 determinant. These three determinants are exactly the three components of ru×rv: the first component of N is yuzv−zuyv, the second is zuxv−xuzv and the third is xuyv−yuxv. So the notation says nothing new. It says that P is paired with the shadow of the patch on the yz-plane, Q with its shadow on the zx-plane and R with its shadow on the xy-plane. 6.7 explains what dy∧dz is.
Why· The picture behind the cancellation: a slanted box
During a short time Δt, the fluid that crosses a small patch is the fluid in a slanted box. The box has sides FΔt (how far the fluid moves), ruΔu and rvΔv (the patch). The volume of a box is the triple product FΔt⋅(ruΔu×rvΔv): base area times height, where the height is the component of FΔt along the normal. Divide by Δt and add the boxes: ∬F⋅(ru×rv)dudv, with no square root anywhere. The length of N is the base area and the unit normal only extracts the height.
Worked example MATH 376 Midterm 2 problem 1(b), 4 points; see [A.3](/vol2/a3-midterm-2/)
Find the flux of F=(x,y,z) through S={(u,v,eu):0≤u,v≤1} with the normal pointing in the positive z direction.
Solution.
Normal.N=ru×rv=(−eu,0,1), with positive third component. From the previous example. It already points the required way.
Substitute.F(r(u,v))=(u,v,eu). x=u, y=v, z=eu.
Dot.F⋅N=−ueu+0+eu=(1−u)eu. No square root: ndS=Ndudv.
Set up.∫01∫01(1−u)eudvdu=∫01(1−u)eudu. The integrand has no v, so the v integral over [0,1] is 1.
Antiderivative. Integration by parts with g=1−u and dh=eudu gives ∫(1−u)eudu=(1−u)eu+∫eudu=(2−u)eu. Check by differentiating: dud(2−u)eu=−eu+(2−u)eu=(1−u)eu.
Evaluate.[(2−u)eu]01=1⋅e−2⋅1=e−2.
Answer.e−2≈0.718. The practice exam version has S={(u,v,v−u3):(u,v)∈[0,1]×[0,2]} and F=(x,2y,z). There N=(3u2,−1,1) (positive third component again), F(r)⋅N=3u3−2v+v−u3=2u3−v, and ∫01∫02(2u3−v)dvdu=∫01(4u3−2)du=1−2=−1.
Worked example MATH 376 lecture of 25 February, Example 5.5
Find the flux of F=(x,0,2z) through the paraboloid patch S={(u,v,u2+v2):(u,v)∈[0,1]2} with the orientation of ru×rv.
Solution.
Tangent vectors and cross.ru=(1,0,2u), rv=(0,1,2v), N=(−2u,−2v,1). Graph formula with g=u2+v2.
Substitute and dot.F(r)=(u,0,2(u2+v2)) and F⋅N=−2u2+0+2u2+2v2=2v2. The u2 terms cancel.
Integrate.∫01∫012v2dudv=∫012v2dv=32.
Answer.32.
Worked example MATH 376 worksheet 11 problem 6; worksheet 12 problem 5 is the field $(0, 0, z)$
Find the upward flux of F=(y,−x,z) through the cap z=4−x2−y2, z≥0, using polar coordinates.
Cross.N=rr×rθ=(2r2cosθ,2r2sinθ,r). The same computation as in the area example: the constant in z disappears on differentiating. The third component r≥0, so it points up.
Substitute.F(r)=(rsinθ,−rcosθ,4−r2).
Dot.F⋅N=2r3sinθcosθ−2r3cosθsinθ+(4−r2)r=4r−r3. The field (y,−x,0) circles the axis and is tangent to every horizontal circle, so it contributes nothing.
Answer.8π. For F=(0,0,z) the graph shortcut ndS=(2x,2y,1)dA gives the integrand 4−x2−y2 and the same 8π.
Worked example MATH 376 worksheet 12 problems 6 and 7
Find the outward flux of F=(x,y,0) through the lateral surface of the cylinder x2+y2=1, 0≤z≤2, and the outward flux of F=(x,y,z) through the upper unit hemisphere by a shortcut.
Solution.
Cylinder.r(θ,z)=(cosθ,sinθ,z) gives N=rθ×rz=(cosθ,sinθ,0), which points away from the axis: outward. Test at θ=0: the point is (1,0,z) and N=(1,0,0).
Cylinder, dot.F(r)=(cosθ,sinθ,0), so F⋅N=cos2θ+sin2θ=1, and the flux is ∫02π∫021dzdθ=4π.
Hemisphere, shortcut. On the unit sphere the outward unit normal at (x,y,z) is (x,y,z) itself, so F⋅n=x2+y2+z2=1, constant. If F⋅n is constant c on S, the flux is c⋅area(S).
Area. Half of 4π, so the flux is 1⋅2π=2π.
Answer.4π (check: F⋅n=1 times the area 2π⋅1⋅2=4π) and 2π. Two more shortcuts in the same worksheets: on a flat horizontal piece with n=(0,0,1) only the third component of F matters, since the first two are tangent to the piece. So the flux of (0,0,5) upward through the disc x2+y2≤16 in z=2 is 5⋅16π=80π, and that of (x,y,5) through x2+y2≤4 in z=3 is 5⋅4π=20π.
Worked example MATH 376 worksheet 11 problem 7; worksheet 13 problem 6 is $F = (x, y, 0)$, $0\le z\le4$, oriented upward and inward
Find the flux of F=(0,0,z2) through the cone z=x2+y2, 1≤z≤2, oriented downward.
Solution.
Parametrize.r(r,θ)=(rcosθ,rsinθ,r) with 1≤r≤2. On the cone z=r.
Cross.rr×rθ=(−rcosθ,−rsinθ,r). Its third component is r>0: it points up (and in). The problem wants downward: the wrong way.
Flip. Use N=−rr×rθ=(rcosθ,rsinθ,−r). By the theorem, the flux is the integral with −N.
Answer.−215π. It is negative because the field points up and the surface is oriented down. For the worksheet 13 version the vector rr×rθ already points up and inward, so there is no flip: F⋅N=(rcosθ)(−rcosθ)+(rsinθ)(−rsinθ)=−r2, and the flux is 2π[−3r3]04=−3128π.
Worked example MATH 376 homework 5 problem 1
Parametrize the ellipsoid a2x2+b2y2+c2z2=1, find its normal field, and decide whether it points in or out.
Solution.
Parametrize.r(u,v)=(asinvcosu,bsinvsinu,ccosv), 0≤u≤2π, 0≤v≤π. The sphere parametrization with each coordinate stretched. It satisfies the equation: sin2v(cos2u+sin2u)+cos2v=1.
Tangent vectors.ru=(−asinvsinu,bsinvcosu,0) and rv=(acosvcosu,bcosvsinu,−csinv).
Cross.N=(−bcsin2vcosu,−acsin2vsinu,−absinvcosv).
Test the direction. At u=0, v=π/2 the point is (a,0,0) and N=(−bc,0,0), which points toward the origin. One test point is enough for a continuous normal that never vanishes inside the region.
Answer. The normal ru×rv points inward. For a flux problem that says ‘outward’, use −N=(bcsin2vcosu,acsin2vsinu,absinvcosv).
Worked example MATH 376 practice final problem 2; see [A.5](/vol2/a5-practice-exams/)
Find the upward flux of f=(y,x,1) through S={(x,y,x2−y2):x,y∈[0,1]}.
Solution.
Cross.rx=(1,0,2x), ry=(0,1,−2y), so N=(−2x,2y,1). Graph formula: −gx=−2x, −gy=2y.
Direction. The third component is 1>0: upward, as required.
Dot.f(r)⋅N=y(−2x)+x(2y)+1=1. f does not depend on z. The xy terms cancel.
Integrate.∫01∫011dydx=1.
Answer.1.
Your answerFind the outward flux of F=(x,y,z) through the lateral surface of the cylinder x2+y2=4, 0≤z≤3.
On the cylinder F⋅N=2cosθ⋅2cosθ+2sinθ⋅2sinθ. The z component of F is tangent to the surface.
With r(θ,z)=(2cosθ,2sinθ,z), N=rθ×rz=(2cosθ,2sinθ,0) (outward) and F⋅N=4. The flux is 4⋅2π⋅3=24π. Check: F⋅n=2 on the cylinder and the area is 2π⋅2⋅3=12π.
Quick checkYou parametrize a surface and ru×rv points downward at a point, but the problem asks for the upward flux. What do you do?
The formula needs N to point the way n does. When it does not, replace it by −N (equivalently, put a minus sign in front). An absolute value would be wrong whenever the true flux is negative, as in the downward cone.
Quick checkIn a flux integral through a surface parametrized by r(u,v), what happens to ∥ru×rv∥?
ndS=∥N∥N∥N∥dudv=Ndudv. A flux integral has no square root, so a square root left in the integrand is a sign that the unit normal and the factor ∥N∥ were not combined.
Quick checkThe Moebius strip is not orientable. Which statement about it is correct?
Area uses ∥N∥ only, which has no sign, so the area exists. Flux needs a continuous choice of the side, which does not exist. It has one boundary curve, not none.
The integral does not depend on the parametrization
The same surface has many parametrizations. The answer must not depend on the one you picked, or the computation would not measure the surface.
Proposition TMATH 376 lecture of 27 February, Proposition 5.11 and Lemma 5.12; Apostol 12.8
Surface integrals do not depend on the parametrization
Let r:T→S be smooth and g=(u,v):τ→T a one-to-one continuously differentiable map with detJg=0, so that ρ=r∘g is another parametrization of S with parameters (s,t). Here Jg is the Jacobian matrix with entries us,ut,vs,vt (5.3).
In one lineIf ρ=r∘g with g one-to-one and continuously differentiable, then ρs×ρt=(detJg)(ru×rv)∘g; so a scalar surface integral is the same for r and ρ, and the flux is the same if detJg>0 and changes sign if detJg<0.
Why it is trueIt justifies computing a surface integral with whichever parametrization is easiest, and it shows that orientation is the one thing that depends on the choice.
ProofMATH 376 lecture of 27 February
The idea: The chain rule says each new tangent vector is a combination of the old ones. Crossing two such combinations leaves exactly the determinant of the combination coefficients times the old cross product. Then the change of variables formula (6.4) absorbs the determinant into the area element.
ρs=usru+vsrv and ρt=utru+vtrv.
Chain rule for ρ(s,t)=r(u(s,t),v(s,t)); ru,rv are evaluated at g(s,t).
Cross product is linear in each slot, so multiply out the four terms.
ρs×ρt=(usvt−vsut)ru×rv.
A vector crossed with itself is 0 (zero area), and rv×ru=−ru×rv (anti-symmetry).The lecture notes print a slip on this line; the factor is usvt−vsut, which is what the four-term expansion gives.
usvt−vsut=detJg, so ρs×ρt=(detJg)(ru×rv)∘g.
Definition of the determinant of the Jacobian matrix of g.
∥ρs×ρt∥=∣detJg∣∥(ru×rv)∘g∥.
Take lengths. The absolute value appears because a length is not negative.
Change of variables (6.4) for the continuous function f(r(u,v))∥ru×rv∥ and the map g, with the factor ∣detJg∣.
The scalar integrals are equal, and the flux integrals are equal or opposite according to the sign of detJg. ■
For flux, the same chain gives ρs×ρt equal to detJg times the old vector. If detJg>0 it points the same way and the flux is unchanged; if detJg<0 it points the opposite way and the flux changes sign.So a surface integral depends on the surface and on the orientation, not on the parametrization. Swapping the names of u and v has detJg=−1 and reverses the orientation.
Proof workshopGive the reason for each line: the new normal is the Jacobian determinant times the old oneMATH 376 lecture of 27 February
Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.
Used inside maths· Inside maths: Archimedes, mean curvature and the divergence theorem
The area of the sphere 4πR2 is on the one hand a computation with rφ×rθ, and on the other the number Archimedes found by comparing a sphere with the cylinder around it: the zone between two parallel planes has the same area as the corresponding band of the cylinder, 2πRh. The word ‘area’ also leads to curvature: the cross product’s length squared is EG−F2, with E=ru⋅ru, F=ru⋅rv, G=rv⋅rv, the first fundamental form of the surface, which is where differential geometry begins. And flux is the left side of the divergence theorem in 6.6, where the whole surface integral for a closed surface becomes a volume integral. The flux of F=(x,y,z) out of a torus of radii R and a is 6π2Ra2 (dot F with the outward normal a(R+acosv)(cosucosv,sinucosv,sinv) found above and integrate), exactly three times its volume 2π2Ra2. Why a factor of exactly 3 is the subject of 6.6.
Used in the real world· Used in the real world: a solar panel and a mesh
Sunlight delivers about 1000 W per square metre on a surface facing the sun; the field is F=1000d, with d the unit vector along the rays, and the power on a panel is the flux through it. A flat roof panel of 1.7 m2 with upward unit normal n=(0,0,1) sees the sun 30∘ from the vertical, so the rays travel along d=(−21,0,−23), and the power on the panel is ∣F⋅n∣⋅area=1000⋅23⋅1.7≈1472 W, about 87% of the full 1700 W: the tilt costs cos30∘. Tilting the panel to face the sun turns the dot product into 1000 and the power into 1700 W.
A 3D model in a game engine or a 3D printer file is a list of flat triangles. The software finds the area of each triangle as half the length of the cross product of two edges, exactly as in the worked example, and adds: a 10 cm cube stored as 12 triangles has area 12⋅21⋅100=600 cm2, which is what determines the amount of paint or resin for the skin. The unit normal of each triangle, the cross product divided by its length, is what the shading uses: the brightness of a pixel on a triangle is proportional to the dot product of that normal with the direction to the light. A hemispherical dome of radius 12 m has roof area 2π⋅122≈904.8 m2, the number that matters for the cost of the roofing.
Your answerA flat solar panel of 1.7 m2 lies on a horizontal roof. Sunlight of intensity 1000 W/m2 arrives along the direction (−21,0,−23). How many watts reach the panel?
Dot the field with the unit normal, then multiply by the area.
The flux of F=1000d through the panel with downward-facing field and upward normal n=(0,0,1) has size ∣F⋅n∣⋅A=1000⋅23⋅1.7=8503≈1472 W.
Traps
Watch out· Midterm 2 problem 1(b) lost two of four points: three mistakes in one flux integral
On the 376 midterm, a student wrote dS=dudv but kept the unit normal n=N/e2u+1 in the integrand, so the stray square root stayed. The real area element is dS=e2u+1dudv, and it cancels the denominator of n. They then pulled the factor 1/e2u+1 out of the integral over u, which is never allowed for a factor that depends on u. A sign that something went wrong is that their boxed answer still contained the variable u: a definite integral over the whole surface is a number. And they integrated ueu as 2u2eu−eu, which is not integration by parts; the antiderivative is ueu−eu. Differentiate every antiderivative before they use it. The rubric item applied was ‘correct except for a major computational mistake’. The full solution is in A.3 and A.1.
Watch out· Compare the sign of the cross product with the orientation, every time
The formula ∬F⋅ndS=∬F⋅(ru×rv)dudv holds only when ru×rv points the way n does. Test it at one point: the sign of the third component for upward or downward, the direction relative to the axis or the centre for outward or inward. The cone (rcosθ,rsinθ,r) gives a vector pointing up and inward, and the ellipsoid parametrization gives a vector pointing inward. Both are traps in the worksheets.
Watch out· Do not normalize, and do not drop the length, whichever integral it is
Scalar integral: f∥N∥dudv, with the length. Flux: F⋅Ndudv, with no length and no unit vector. Writing the unit normal and also the length (the other way round from the exam mistake) gives the right answer but is slow and invites arithmetic slips with the square root.
Watch out· Let the problem's constraints set the parameter limits
For the paraboloid cap above the plane z=0 the limit is r≤3/2, from z≥0, not r≤1 or r≤3/4. For the cone between z=0 and z=21/4 the limit is on r, not on θ. Write the constraint as an inequality before you integrate. A dropped absolute value is the same kind of slip in a different place: the set max(∣x∣,∣y∣,∣z∣)=1 is the surface of the cube [−1,1]3, not of a cube in one octant. 6.6 returns to it.
Watch out· Cone apex, sphere poles
At the apex of the cone and at the poles of the sphere (φ=0,π) the vector N is 0 and the parametrization is not regular. These are points or curves that do not carry area, so they change no integral. What you must not do is divide by ∥N∥ there.
Problems
checknew (MATH 376 worksheet 12 style)
Compute (1,2,−1)×(3,0,2) and verify that it is orthogonal to both vectors.
Solution
Components: 2⋅2−(−1)⋅0=4; (−1)⋅3−1⋅2=−5; 1⋅0−2⋅3=−6. So the cross product is (4,−5,−6). Check: (4,−5,−6)⋅(1,2,−1)=4−10+6=0 and (4,−5,−6)⋅(3,0,2)=12+0−12=0.
checknew (MATH 376 worksheet 11 problem 5 style)
Find ru×rv for r(u,v)=(u+v,u−v,uv) at (u,v)=(1,1).
Solution
ru=(1,1,v)=(1,1,1) and rv=(1,−1,u)=(1,−1,1) at the point. ru×rv=(1⋅1−1⋅(−1),1⋅1−1⋅1,1⋅(−1)−1⋅1)=(2,0,−2). Check: dotted with ru gives 2−2=0, with rv gives 2−2=0.
checknew (Midterm 2 problem 1(b) mistake)
A cylinder of radius 4 and height 5 is parametrized on [0,2π]×[0,5]. What is the area of the parameter rectangle, and what is the area of the cylinder? What is ∥rθ×rz∥?
Solution
The rectangle has area 10π. r=(4cosθ,4sinθ,z) has rθ×rz=(4cosθ,4sinθ,0), of length 4. So the cylinder has area 4⋅10π=40π, which is 2π⋅4⋅5, circumference times height.
check
True or false: if you reparametrize a surface by swapping the roles of u and v, the flux of F through it stays the same.
Solution
It depends on what is held fixed. Swapping u and v replaces ru×rv by rv×ru=−ru×rv, so if you keep using ∬F⋅(ru×rv)dudv without comparing the direction with the required orientation, the sign of the answer flips: false. If you do compare, and use −N when N points the wrong way, the flux through the oriented surface does not depend on the parametrization: true. What changes is which of ±N equals n.
usenew (MATH 376 worksheet 12 problem 3 style)
Find the area of the part of the plane x+2y+3z=6 in the first octant.
Solution
The plane meets the axes at A=(6,0,0), B=(0,3,0), C=(0,0,2). AB=(−6,3,0) and AC=(−6,0,2), so AB×AC=(3⋅2−0,0⋅(−6)−(−6)⋅2,(−6)⋅0−3⋅(−6))=(6,12,18), of length 614. The area is 314≈11.22. Check by the graph formula: z=(6−x−2y)/3, ∥N∥=1+91+94=314, and the region D under it has area 21⋅6⋅3=9, giving 314.
usenew (symmetry, compare MATH 376 homework 5 problem 2)
Compute ∬Sx2dS over the unit sphere.
Solution
By symmetry (swapping coordinate names maps the sphere to itself), ∬x2dS=∬y2dS=∬z2dS. Their sum is ∬(x2+y2+z2)dS=∬1dS=4π. So each is 34π.
usenew (compare MATH 376 worksheet 12 problem 7)
Find the outward flux of the constant field F=(1,2,3) through the upper hemisphere of radius 2.
Solution
Use r(φ,θ)=2(sinφcosθ,sinφsinθ,cosφ), 0≤φ≤π/2. N=rφ×rθ=4sinφ(sinφcosθ,sinφsinθ,cosφ), which points outward. F⋅N=4sinφ(sinφcosθ+2sinφsinθ+3cosφ). The θ integral of the first two terms over [0,2π] is 0. What is left is 12sinφcosφ, and 2π∫0π/212sinφcosφdφ=2π⋅6=12π. This is 3⋅π⋅22, the third component times the area of the disc under the hemisphere, as it must be: only the vertical part of a constant field sees the shadow.
useMATH 376 homework 5 problem 3
Find the outward flux of F=(x2,y2,z2) through the cylinder x2+y2=1, −1≤z≤1 (lateral surface only).
Solution
r=(cosθ,sinθ,z), N=(cosθ,sinθ,0) (outward). F⋅N=cos3θ+sin3θ, with no z and no third-component term. ∫−11∫02π(cos3θ+sin3θ)dθdz=2(∫02π(1−sin2θ)cosθdθ+∫02π(1−cos2θ)sinθdθ). The first is [sinθ−3sin3θ]02π=0 and the second is [−cosθ+3cos3θ]02π=0. The flux is 0.
useMATH 376 worksheet 12 problem 4
Find the upward flux of F=(x,2y,z) through the part of the plane z=4−x−2y over 0≤x≤2, 0≤y≤1.
Solution
r(x,y)=(x,y,4−x−2y), N=(−gx,−gy,1)=(1,2,1), third component +1 so upward as required. F(r)=(x,2y,4−x−2y), so F⋅N=x+4y+4−x−2y=4+2y. The x terms cancel. ∫01∫02(4+2y)dxdy=∫01(8+4y)dy=8+2=10.
useMATH 376 worksheet 27 problem 9
Find the upward flux of F=(x,y,z) through z=4−x2−y2 over the disc x2+y2≤1.
Solution
N=(2x,2y,1) (upward), F⋅N=2x2+2y2+(4−x2−y2)=4+x2+y2. In polar coordinates ∫02π∫01(4+r2)rdrdθ=2π[2r2+4r4]01=2π⋅49=29π. Compare the cap over r≤2, where the same field gives 24π in the picture at the top of the chapter.
useMATH 376 worksheet 14 problem 3
The field B=x2+y2(−y,x,0) is defined away from the z-axis. Find its upward flux through the part of the plane z=y+5 inside the cylinder x2+y2=1.
Solution
Graph of g=y+5 over the unit disc, so N=(−gx,−gy,1)=(0,−1,1), upward. B⋅N=x2+y2−x. In polar coordinates ∫02π∫01r2−rcosθrdrdθ=∫02π∫01(−cosθ)drdθ=∫02π(−cosθ)dθ=0. The r from the area element cancels one power of r2. The plane passes through the z-axis at (0,0,5), where B is not defined. The integrand times r is bounded, so the integral exists, but the field is undefined at that one point.
useMATH 376 worksheet 14 problem 4
A bowl is the part of the sphere x2+y2+z2=4 with z≤0. Fluid of pressure 10−z pushes on it. Find the vertical force Fz=∬S(10−z)(−nz)dS, where n is the outward normal.
Solution
On the sphere of radius 2, n=(x,y,z)/2, so nz=z/2=cosφ, and z=2cosφ. By the sphere computation, dS=4sinφdφdθ. The lower half is π/2≤φ≤π. The integrand is (10−2cosφ)(−cosφ)=−10cosφ+2cos2φ. So Fz=∫02π∫π/2π(−10cosφ+2cos2φ)4sinφdφdθ. Put c=cosφ, dc=−sinφdφ, limits c=0 to −1, which reverses to ∫−10(−10c+2c2)dc=[−5c2+32c3]−10=0−(−5−32)=317. So Fz=2π⋅4⋅317=3136π. (The course solution as extracted shows 3136 with the π lost; 3136π is correct.)
provenew (the triple product and flux of a constant field)
Let a,b be vectors in space and P={ua+vb:0≤u,v≤1} the parallelogram with normal n=(a×b)/∥a×b∥. Show that the flux of a constant field c through P is c⋅(a×b).
Solution
Parametrize r(u,v)=ua+vb on [0,1]2. Then ru=a, rv=b, N=a×b is constant and points the way n does. By the flux theorem, ∬PF⋅ndS=∬[0,1]2c⋅(a×b)dudv=c⋅(a×b)⋅1. This is the volume of the parallelepiped on a,b,c (up to sign), which is the slanted-column picture.
provenew (Archimedes' hat-box, Apostol 12.5)
Prove that the area of the zone of the sphere of radius R between the planes z=z1 and z=z2 (with −R≤z1<z2≤R) is 2πR(z2−z1).
Solution
Use r(φ,θ) of radius R. ∥N∥=R2sinφ for 0≤φ≤π, as in the example. The zone is φ1≤φ≤φ2 with z=Rcosφ, so φ1<φ2 correspond to z2>z1. The area is 2π∫φ1φ2R2sinφdφ=2πR2(cosφ1−cosφ2)=2πR(z2−z1) since Rcosφ1=z2 and Rcosφ2=z1. The area depends only on the thickness.
provenew (graphs, Apostol 12.5)
For a graph z=g(x,y) over a region D, prove that area(S)=∬D1+gx2+gy2dA, and that if g is linear, z=px+qy+c, then area(S)=1+p2+q2area(D).
Solution
The graph formula gives N=(−gx,−gy,1) and ∥N∥=1+gx2+gy2, so the definition of area gives the first statement. If g=px+qy+c then gx=p and gy=q are constants, so ∥N∥ is a constant that comes out of the integral, leaving area(D).
provenew (orientation reverses under swapping the parameters)
Show that if ρ(s,t)=r(t,s) (swap the parameters), then ρs×ρt=−(ru×rv) at corresponding points, and conclude that the flux integral changes sign unless one also flips the required normal.
Solution
ρs=rv and ρt=ru at the point (t,s), so ρs×ρt=rv×ru=−ru×rv by anti-symmetry. This is also the case g(s,t)=(t,s) with detJg=−1 in the independence theorem. If the problem requires n and the new ρs×ρt points against it, the flux is −∬F(ρ)⋅(ρs×ρt)dsdt, which equals the flux computed with r. The two parametrizations give the same oriented flux once each is compared with n.
stretchApostol 12.5, the helicoid
Find the area of the helicoid r(u,v)=(ucosv,usinv,v) for 0≤u≤1, 0≤v≤2π.
Solution
ru=(cosv,sinv,0) and rv=(−usinv,ucosv,1), so ru×rv=(sinv,−cosv,u) and ∥⋅∥=1+u2. The area is 2π∫011+u2du=2π⋅21[u1+u2+ln(u+1+u2)]01=π(2+ln(1+2))≈7.21.
stretchnew (Schwarz's lantern)
Derive the area of Schwarz’s lantern with m slabs and n points per ring on a cylinder of radius 1 and height 1, and show that for m=n it tends to 2π as n→∞ while for m=n2 it does not.
Solution
Neighbouring rings are rotated by π/n relative to each other, so each triangle has two corners on one ring, joined by a chord of length 2sin(π/n), and a third corner on the next ring, directly over the middle of the chord in angle. The horizontal distance from that third corner to the chord’s midpoint is 1−cos(π/n), and the vertical distance is 1/m, so the height of the triangle (the distance from the apex to the chord’s midpoint) is m−2+(1−cos(π/n))2. A triangle has area sin(π/n)m−2+(1−cos(π/n))2, and there are 2nm of them. So the area is 2nmsin(π/n)m−2+(1−cos(π/n))2. Rewrite it as 2nsin(π/n)1+m2(1−cos(π/n))2. As n→∞, 2nsin(π/n)→2π and 1−cos(π/n)≈2n2π2. If m=n then m2(1−cos)2≈4n2π4→0 and the area tends to 2π. If m=n2 then m2(1−cos)2→4π4 and the area tends to 2π1+π4/4≈31.6, five times the cylinder’s area. The lab confirms both.
Summary
The cross producta×b=(a2b3−a3b2,a3b1−a1b3,a1b2−a2b1) is orthogonal to a and b, and its length is the area of the parallelogram they span. Check every cross product with two dot products.
A parametric surface is r(u,v) on a parameter region. Learn the table: graph, cylinder, cone, paraboloid, sphere, ellipsoid, torus, parallelogram. The problem’s constraints set the parameter limits.
The fundamental vector productN=ru×rv is normal to the surface and ∥N∥ is the stretching factor from parameter area to surface area. For a graph N=(−gx,−gy,1) points up.
Area is ∬∥N∥dudv; a scalar integral is ∬f(r)∥N∥dudv (mass if f is a density). The sphere has area 4πR2, the cone and paraboloid cap are Midterm 2 problems, the torus has 4π2Ra.
Flux through an oriented surface is ∬F⋅ndS=∬F(r)⋅Ndudv, where N must point the way n does; otherwise use −N. The length of N cancels, so a flux integral has no square root.
Compare the sign of N with ‘upward’, ‘outward’, ‘downward’ or ‘inward’ at one test point, every time. If F⋅n is constant the flux is that constant times the area.
The integral does not depend on the parametrization except through orientation, because ρs×ρt=(detJg)ru×rv. A Moebius strip is not orientable, so it has an area but no flux.
Area needs tangent planes, not only points: Schwarz’s lantern shows inscribed polyhedra can fail to converge to the area.
Watch and read
The same ideas explained by someone else. Use these when an explanation here does not land.
MATH 376: Weeks 5 and 6, Apostol 12.1 to 12.9. Every type of problem the course set is worked below: the cross product and the area of a parallelogram and a triangle (worksheet 12 problems 1 to 3), parametrizing curves, surfaces and the sphere, with the infimum and supremum of a coordinate (worksheet 11 problems 1 to 4 and worksheet 15 problem 1), the fundamental vector product at a point (worksheet 11 problem 5), surface area in cylindrical coordinates (Midterm 2 problem 2 and its sibling), scalar surface integrals and mass (worksheet 12 problem 8, worksheet 13 problems 3 and 4, homework 5 problem 2, worksheet 27 problem 8), flux through graphs, paraboloids, cylinders, cones, discs and the hemisphere (worksheets 11 to 13 and 17, worksheet 27 problem 9, homework 5 problems 1 and 3, Midterm 2 problem 1, Final problem 2 and the practice final), and the bowl under pressure (worksheet 14 problem 4). The exam problems themselves are in 9.3, 9.4 and 9.5.
MATH 521 and 561: The number E G minus F squared under the root in the area element is the determinant of the first fundamental form of the surface. Area, curvature and geodesics all start from the inner products of r_u and r_v, which is differential geometry.
CS 559 and computer graphics: A triangle mesh stores a surface as a list of flat triangles. The normal of each triangle is the cross product of two of its edges, its area is half the length of that cross product, and the lighting at a pixel is the dot product of the unit normal with the direction to the light.
Physics: Flux through a surface is how much of a flow, a heat current or an electric field crosses it. Gauss's law in 6.8 says the electric flux through a closed surface is the enclosed charge divided by a constant.