Parametric surfaces

The 2D version of a parametric curve is known as a parametric surface. Two parameters are needed to control the two independent dimensions of the surface. Component functions give the (x,y,z) coordinates for each pair of values (u,v):

๐ซ(u,v)=(x(u,v),y(u,v),z(u,v)).

Example

Common parametric surfaces

  • (a) A vertical cylinder may be given parametrically by:

\mathbf{r}(\theta,z) = (R\cos(\theta),R\sin(\theta),z).

- (b) A sphere of radius $R$ may be parametrized by: ParseError: Can't use function '$' in math mode at position 26: โ€ฆhere of radius $ฬฒR$ may be paramโ€ฆ

\mathbf{r}(\theta,\varphi) = (R\cos(\theta)\sin(\varphi),R\sin(\theta)\sin(\varphi),R\cos(\varphi)).

- (c) The graph of a function of two variables, $z=f(x,y)$, may be parametrized by: ParseError: Can't use function '$' in math mode at position 49: โ€ฆtwo variables, $ฬฒz=f(x,y)$, may โ€ฆ

\mathbf{r}(u,v)=(u,v,f(u,v)).

By holding u=u0 constant or v=v0 constant, one obtains grid curves. These correspond to trace curves when ๐ซ(u,v) is the graph of a function, ๐ซ=(u,v,f(u,v)).

The two tangent vectors to the grid curves are computed by components, like the tangent vector of a parametric curve:

๐ซu(u,v)=(โˆ‚xโˆ‚u,โˆ‚yโˆ‚u,โˆ‚zโˆ‚u),๐ซv(u,v)=(โˆ‚xโˆ‚v,โˆ‚yโˆ‚v,โˆ‚zโˆ‚v).

The tangent plane at a point on a surface given parametrically is given by taking all linear combinations of the tangent vectors added to the given starting point:

๐“(u,v)(a,b)=๐ซ(u,v)+a๐ซu(u,v)+b๐ซv(u,v),fixedย (u,v),ย allย a,bโˆˆโ„.

The cross product ๐ง=๐ซuร—๐ซv has several useful features:

  • The direction of this cross product is normal to the tangent plane at the point ๐ฉ=๐ซ(u,v). So the tangent plane could also be given in vector form by: ๐งโ‹…((x,y,z)โˆ’๐ฉ)=0.
  • The norm of this cross product gives a measure of area of the parallelogram created by ๐ซu and ๐ซv, so: dA=|๐ซuร—๐ซv|dudv gives the area of a microscopic region on the surface that corresponds to the area dudv in the parameter space (u,v)โˆˆโ„2. This formula is analogous to the formula ds=|๐ซโ€ฒ(t)|dt used to calculate the arc length distance along a curve.

Example

Surface area

Problem: Find the approximate surface area of the surface given parametrically by:

๐ซ(u,v)=(2usinโก(v2),2ucosโก(v2),3v),

where uโˆˆ[0,1] and vโˆˆ[0,2ฯ€]. Solution: First, the tangent vectors are ๐ซu=(2sinโก(v2),2cosโก(v2),0) and ๐ซv=(ucosโก(v2),โˆ’usinโก(v2),3). Their cross product is ๐ง=(6cosโก(v2),โˆ’6sinโก(v2),โˆ’2u). The norm is |๐ง|=36+4u2. Compute the surface area by integrating dA:

โˆซv=02ฯ€โˆซu=01dA=โˆซv=02ฯ€โˆซu=0136+4u2dudvโ‰ˆ38.39.
Exercise 15A-01

Surface area of a torus

A circle in the xz-plane, offset on the x-axis by +R from the origin, satisfies the equation (xโˆ’R)2+z2=r2. When this circle is rotated about the z-axis, the result is a torus. To find the equation it satisfies, replace the variable x with the radial quantity x2+y2 in the xy-plane:

(x2+y2โˆ’R)2+z2=r2.

This torus may be described parametrically by the formula:

๐ซ(u,v)=((R+rcosโก(u))cosโก(v),(R+rcosโก(u))sinโก(v),rsinโก(u)).

Calculate the surface area of this torus. Your answer should be a simple expression in terms of R and r.

Exercise 15-02 = Problem 15-01

Theorem of Archimedes: band of a sphere

A band of a sphere is formed by taking the region of the sphere lying between two horizontal planes. Archimedes discovered that the area of a band of a sphere is equal to the area of the corresponding band of a cylinder that circumscribes the sphere. Prove this result. Use a sphere centered at the origin of radius R, a vertical cylinder at the origin of radius R, and horizontal planes given by z=a and z=b.

(Hint: you will need to solve for the range of azimuthal angles ฯ†โˆˆ[ฯ†0,ฯ†1] that corresponds to the range zโˆˆ[a,b] by using the last component function of the parametrization of the sphere.)

Change of variables

Recall that we can calculate iterated integrals of a function f(x,y):

โˆฌ๐’Ÿf(x,y)dxdy.

Such an integral can be interpreted as the volume (with sign) under the graph of f(x,y).

Sometimes it is convenient to change variables before attempting to evaluate such an integral. This is a 2D analogue of u-substitution. Oftentimes in 2D it is useful to change variables to simplify the bounds, not just to simplify the integrand. For example, sometimes one can express the region ๐’Ÿ in terms of a rectangle in new coordinates, and compute the new integral as an iterated integral with constant bounds.

To change variables from (x,y) to (u,v), first substitute functions x(u,v) and y(u,v) in place of x and y inside f(x,y). Next, consider that ๐ซ(u,v)=(x(u,v),y(u,v),0) parametrizes the xy-plane using the new variables (u,v). Then change the area element as follows:

dxdy=(๐ซuร—z๐ซv)dudv.

Sign included

This formula is essentially the same as the one we used for dA, except that we include the sign that comes with ๐ซuร—z๐ซv, leaving out the absolute value.

This is the analogue of dx=uโ€ฒdu in u-substitution, where if x=โˆ’u then dx=โˆ’du. (Rather than dx=|uโ€ฒ|du, which would produce dx=du.)

Notice that the order matters: if we swapped the role of u and v, then ๐ซuร—z๐ซv would gain a minus sign. This is a novel feature of signs in 2D that relates to geometry via the right-hand rule.

In this situation, the item ๐ซuร—z๐ซv is also known as the Jacobian, or (when that name is used for the matrix itself), the Jacobian determinant:

Jac(x,y)=Jacobian=|โˆ‚xโˆ‚uโˆ‚xโˆ‚vโˆ‚yโˆ‚uโˆ‚yโˆ‚v|=โˆ‚xโˆ‚uโˆ‚yโˆ‚vโˆ’โˆ‚yโˆ‚uโˆ‚xโˆ‚v.

Using this notation, we can rewrite the formula for change of variables:

โˆฌf(x,y)dxdy=โˆฌf(x(u,v),y(u,v))Jac(x,y)dudv.

Exercise 15A-03

New variables to improve the bounds

Let ๐’Ÿ be the domain given by xyโˆˆ[1,4] and y/xโˆˆ[1,4]. Change variables and then compute the integral:

โˆฌ๐’Ÿx2+y2dxdy.

(Hint: let u2=xy and v2=y/x, so x=u/v and y=uv.)

Surface integral: scalar

A scalar surface integral adds up the values of a function on a surface multiplied (locally) by elements of surface area on the surface. Given a surface ๐’ฎ in โ„3 parametrized by ๐ซ(u,v) (for (u,v)โˆˆ๐’Ÿ with ๐’Ÿ some domain in the parameter space that maps to ๐’ฎ) and a scalar function f(x,y,z), we can compute a surface integral of f over ๐’ฎ with the formula:

โˆฌ๐’ฎf(x,y,z)dA=โˆฌ๐’Ÿf(๐ซ(u,v))|๐ซuร—๐ซv|dudv.

This formula is the 2D analogue of the formula for a scalar line integral: โˆซ๐’žfds=โˆซabf(๐ซ(t))|๐ซโ€ฒ(t)|dt.

Surface integral: vector: flux across

A vector surface integral adds up the total amount that a vector field ๐… crosses a surface ๐’ฎ. This total is called the flux across ๐’ฎ. When ๐…=๐ฏ is the velocity vector field of a fluid flow, the flux quantifies the total rate of flow crossing the surface. It is defined like the โ€˜acrossโ€™ line integral, but instead of ๐ž๐ง derived from a rotation ๐ง of the tangent vector ๐ซโ€ฒ, we use ๐ž๐ง derived from the normal vector to the surface, ๐ง=๐ซuร—๐ซv. In terms of a parametrization ๐ซ(u,v) of the surface ๐’ฎ, it is computed using the formula:

โˆฌ๐’ฎ๐…โ‹…d๐€=โˆฌ๐’ฎ๐…โ‹…๐ž๐งdA=โˆฌ๐’Ÿ๐…(๐ซ(u,v))โ‹…๐ง(u,v)dudv.

Here d๐€ is a vector with length dA and direction ๐ง, normal to the surface. So d๐€=๐ž๐งdA=๐งdudv because |๐ซuร—๐ซv|๐ž๐ง=๐ง. This is analogous to ๐…โ‹…๐ž๐งds=๐…โ‹…๐งdt in the โ€˜acrossโ€™ line integral.

As with line integrals, the sign of the vector surface integral depends on the orientation of the surface. In 2D the orientation is the direction of ๐ง. This direction comes from the cross product ๐ซuร—๐ซv and thus it depends on the order of u and v, as well as the sign of each of them. (Exchanging u and v, or setting uโ†ฆโˆ’u, switches the direction of ๐ง.)

Example

Upward flux through hemisphere

Problem: Let ๐…=(z,x,1) and let ๐’ฎ be the upper hemisphere of the unit sphere, oriented up and out. Compute the total flux of ๐’ฎ across ๐’ฎ.

Solution: First we need a parametrization of ๐’ฎ with the correct orientation. Try ๐ซ(ฮธ,ฯ†)=(cosโก(ฮธ)sinโก(ฯ†),sinโก(ฮธ)sinโก(ฯ†),cosโก(ฯ†)), and check the orientation after computing ๐ง. For the upper hemisphere, the domain in the (ฮธ,ฯ†)-space will be ฮธโˆˆ[0,2ฯ€] and ฯ†โˆˆ[0,ฯ€/2]. Compute:

๐ซฮธ=(โˆ’sinโก(ฮธ)sinโก(ฯ†),cosโก(ฮธ)sinโก(ฯ†),0)๐ซฯ†=(cosโก(ฮธ)cosโก(ฯ†),sinโก(ฮธ)cosโก(ฯ†),โˆ’sinโก(ฯ†))๐ซฮธร—๐ซฯ†=(โˆ’sin2โก(ฯ†)cosโก(ฮธ),โˆ’sin2โก(ฯ†)sinโก(ฮธ),โˆ’sinโก(ฯ†)cosโก(ฯ†))=โˆ’sinโก(ฯ†)๐ซ.

Notice that ๐ซฮธร—๐ซฯ† is โˆ’sinโก(ฯ†)๐ซ, which points inward, but the problem states that ๐’ฎ should be oriented with normal pointing outward, so we reverse the order, taking ฯ† first and ฮธ second.

Now plug ๐ซ into the vector field to find its values on the surface:

๐…(๐ซ(u,v))=(cosโก(ฯ†),cosโก(ฮธ)sinโก(ฯ†),1).

Then:

.๐…(๐ซ(u,v))โ‹…๐ง(u,v)=(cosโก(ฯ†),cosโก(ฮธ)sinโก(ฯ†),1)โ‹…(sin2โก(ฯ†)cosโก(ฮธ),sin2โก(ฯ†)sinโก(ฮธ),sinโก(ฯ†)cosโก(ฯ†))=cosโก(ฮธ)sin2โก(ฯ†)cosโก(ฯ†)+cosโก(ฮธ)sinโก(ฮธ)sin3โก(ฯ†)+sinโก(ฯ†)cosโก(ฯ†).

Finally we must evaluate the integral over the domain, using the fact that โˆซ02ฯ€cosโก(ฮธ)dฮธ=0 and โˆซ0ฯ€/2cosโก(ฮธ)sinโก(ฮธ)dฮธ=0:

โˆฌ๐’ฎ๐…=โˆซฮธ=02ฯ€โˆซฯ†=0ฯ€/2cosโก(ฮธ)sin2โก(ฯ†)cosโก(ฯ†)+cosโก(ฮธ)sinโก(ฮธ)sin3โก(ฯ†)+sinโก(ฯ†)cosโก(ฯ†)dฯ†dฮธ=2ฯ€โˆซ0ฯ€/2sinโก(ฯ†)cosโก(ฯ†)dฯ†=ฯ€.

Tip

Faradayโ€™s Law of Induction states that the โ€˜alignedโ€™ vector line integral of electric field around a curve ๐’ž is proportional to the rate of change of magnetic flux through the surface ๐’ฎ enclosed by ๐’ž:

โˆซ๐’ž๐„โ‹…d๐ฌ=โˆ’ddtโˆฌ๐’ฎ๐โ‹…d๐€.

Given a formula for the current I(t) flowing in the linear wire, one computes the magnetic field ๐ in the region above the linear wire. By integrating ๐ over ๐’ฎ, one obtains the total flux as a function of time; taking the (negative of the) derivative gives the quantities in the Faraday identity above. Because ๐„=โˆ‡V for the voltage V(x,y,z), the value of the line integral on the LHS is actually the voltage drop around the wire ๐’ž (by the FT of Line Integrals).

Stokesโ€™ Theorem in 3D

Vector curl

We define a vector version of the curl:

โˆ‡ร—๐…=(โˆ‚โˆ‚x,โˆ‚โˆ‚y,โˆ‚โˆ‚z)ร—(F1,F2,F3)=(โˆ‚F3โˆ‚yโˆ’โˆ‚F2โˆ‚z,โˆ’(โˆ‚F3โˆ‚xโˆ’โˆ‚F1โˆ‚z),โˆ‚F2โˆ‚xโˆ’โˆ‚F1โˆ‚y).

Each component of โˆ‡ร—๐… gives the circulation around a small circle in the plane of the other two components. This data combines the information of circulations in each coordinate plane into a single vector.

Exercise 15B-01

Linearity of curl operation

Show that โˆ‡ร—(๐…+๐†)=โˆ‡ร—๐…+โˆ‡ร—๐†.

The direction of โˆ‡ร—๐… is the direction of a normal vector to the plane of strongest rotation. The magnitude of โˆ‡ร—๐… is the strength of rotation in that plane. The right-hand rule applies: the direction of โˆ‡ร—๐… will point along the thumb when the fingers curl in the direction of strongest rotation.

Checking the interpretation

To check these claims, one would have to set up a calculation of the circulation in the plane perpendicular to an arbitrary vector ๐ง. This would be very technical and tedious. An easier argument, the details of which we also omit, is to show first that the circulation in the plane perpendicular to a sum of vectors ๐ง1+๐ง๐Ÿ equals the sum of circulations in the planes perpendicular to ๐ง1 and ๐ง2, respectively. It would follow that the circulation in the plane of ๐ง is the dot product of ๐ง with the curl. Then the final claim is established with the same argument that shows that a gradient vector points in the direction of steepest incline.

Exercise 15B-02

Conservative vector fields have no curl

Show that if ๐…=โˆ‡f for some scalar field f(x,y,z), then โˆ‡ร—๐…=0 everywhere.

Stokesโ€™ Theorem

Given a surface ๐’ฎ with normal vector ๐ง giving the orientation, apply the right-hand rule with thumb along ๐ง to find the direction of local rotations on ๐’ฎ. Place this near a boundary point in โˆ‚๐’ฎ to find the compatible orientation of the boundary.

Stokesโ€™ Theorem in 3D

For any surface ๐’ฎ with boundary โˆ‚๐’ฎ (with compatible orientation), we have:

โˆฌ๐’ฎ(โˆ‡ร—๐…)โ‹…d๐€=โˆฎโˆ‚๐’ฎ๐…โ‹…d๐ฌ.
Exercise 15B-03 = Problem 15-02

Verify Stokesโ€™ Theorem

Verify Stokesโ€™ Theorem by computing the boundary line integral for the hemisphere example above, with ๐…=(z,x,1).

Path independence

The arguments about conservative fields in the plane apply to conservative fields in 3D space. Instead of a region ๐’Ÿ in the plane enclosed between two paths ๐’ž1 and โˆ’๐’ž2, we use a surface ๐’ฎ in space that is bounded by the two paths ๐’ž1 and โˆ’๐’ž2.

In any region in space, these conditions are equivalent:

  • โˆซ๐…โ‹…d๐ฌ is path independent,
  • ๐…=โˆ‡f for some scalar field f(x,y,z).

These conditions imply the following condition:

  • โˆ‡ร—๐…=0.

When the region in space is simply connected, the curl condition also implies the gradient and line integral conditions. If, conversely, the region has some holes in it, then it is possible for the first two conditions to fail even though the curl is zero everywhere (outside the holes).

Same curl? Differ by a gradient field.

When the region is simply connected, if two vector fields ๐€ and ๐ have the same curl, i.e. โˆ‡ร—๐€=โˆ‡ร—๐, then they must differ by a gradient: ๐€=๐+โˆ‡f for some scalar field f(x,y,z). This is because โˆ‡ร—(๐€โˆ’๐)=0, so ๐€โˆ’๐=โˆ‡f for some f.

Surface independence

We know that ๐… is path independent if and only if there is a scalar field f(x,y,z) such that ๐…=โˆ‡f. This fact about 1D paths can be upgraded to an analogous fact about 2D surfaces, with gradient replaced by curl:

Surface independence for curl fields

Suppose the vector field ๐… arises as the curl of another field ๐€, so ๐…=โˆ‡ร—๐€. Then for any two surfaces ๐’ฎ1 and ๐’ฎ2 which enclose the same boundary curve ๐’ž, the vector surface integrals agree (by Stokesโ€™ Theorem), and can be computed as the line integral of ๐€ around ๐’ž:

โˆฌ๐’ฎ1๐…โ‹…d๐€=โˆฌ๐’ฎ2๐…โ‹…d๐€=โˆฎ๐’ž๐€โ‹…d๐ฌ.

In this situation, the generating vector field ๐€ is called the vector potential, by analogy to the scalar potential f for a gradient field โˆ‡f.

An important difference between f and ๐€, though, is that f must be constant when โˆ‡f=0, while ๐€ need not be constant in a region where โˆ‡ร—๐€=0.

The vector potential and the idea of surface independence play an important role in the theory of electromagnetism. One of the most famous phenomena in quantum physics, the Aharonov-Bohm Effect, involves a mystical connection between the mysterious vector potential of the magnetic field and an equally mysterious โ€œcomplex phaseโ€ of the quantum wave function. (It is a mystical connection between mysterious entities because the traditional set-up of the physical theories suggests that the vector potential and the phase of the wave function are not physically real, but instead theyโ€™re arbitrary mathematical abstractions that partially describe the structures of the electric field and the quantum measurement probabilities, respectively.)

Divergence Theorem in 3D

We have already defined divergence in 3D:

โˆ‡โ‹…๐…=(โˆ‚โˆ‚x,โˆ‚โˆ‚y,โˆ‚โˆ‚z)โ‹…(F1,F2,F3)=โˆ‚F1โˆ‚x+โˆ‚F2โˆ‚y+โˆ‚F3โˆ‚z.

The scalar field โˆ‡โ‹…๐… describes the rate of 3D expansion of ๐… at each point in space. One can show this by integrating a vector integral across a small sphere of radius r, dividing by the volume of this sphere, and then taking the limit rโ†’0.

The divergence theorem relates the 3D integral of โˆ‡โ‹…๐… over the interior of a region of space ๐’ฑ to the vector surface integral of ๐… over the boundary ๐’ฎ=โˆ‚๐’ฑ of the same region:

Divergence theorem

For a 3D region ๐’ฑ with boundary โˆ‚๐’ฑ, we have:

โˆญ๐’ฑโˆ‡โ‹…๐…dV=โˆฌโˆ‚๐’ฑ๐…โ‹…d๐€.

As for its 2D version, this theorem says that when the elements of local expansion times volume, quantified as (โˆ‚F1โˆ‚x+โˆ‚F2โˆ‚y+โˆ‚F3โˆ‚z)dV, are added up across the full interior of ๐’ฑ, the result is equal to the total flux exiting ๐’ฑ across its boundary โˆ‚๐’ฑ.

As before, to express the logic behind this theorem, one first divides the region ๐’ฑ into small cubes, adds the expansion elements for each cube, and takes the limit as the cube size goes to zero. Flux across an internal face of a cube corresponds to flux exiting one cube and simultaneously flux entering another cube, so internal cancellation occurs. Only flux exiting the boundary โˆ‚๐’ฑ (crossing an external face) is not cancelled and thus contributes to the final result.

Example

Triple integral can be easier than six flux integrals

Problem: A box ๐’ฒ is given by (x,y,z)โˆˆ[0,2]ร—[0,3]ร—[0,1]. Calculate the total flux leaving this box for the vector field ๐…=(x2,z4,ez).

Solution: Instead of computing the vector surface integral for all six sides of the box, we compute the triple integral over the interior of the box. This equals the desired flux by the divergence theorem.

First find the divergence:

โˆ‡โ‹…๐…=โˆ‚โˆ‚xx2+โˆ‚โˆ‚yz4+โˆ‚โˆ‚zez=2x+ez.

Now integrate for the answer:

โˆญ๐’ฑโˆ‡โ‹…๐…dV=โˆซ01โˆซ02โˆซ03(2x+ez)dydxdz=3โˆซ01โˆซ02(2x+ez)dxdz=3โ‹…22+3โ‹…2โ‹…(e1โˆ’1)=6(e+1).

Problems due 10 Dec 2023, 10:00pm

Problem 15-01

See Exercise 15A-02 above.

Problem 15-02

See Exercise 15B-03 above.

Problem 15-03

Curves wrapping around a cylinder

A vertical cylinder is given with axis the z-axis. You do not know the radius. Let ๐…=(y2,x2,z2). Suppose ๐’ž1 and ๐’ž2 are two simple curves wrapping one time clockwise around the cylinder. Show that:

โˆซ๐’ž1๐…โ‹…d๐ฌ=โˆซ๐’ž2๐…โ‹…d๐ฌ.
Problem 15-04

Verify the divergence theorem

Verify the divergence theorem (by computing both sides and showing they agree) for the following data: ๐…=(y,yz,z2) and ๐’ฑ is the solid cylinder around the z-axis with radius 2, height 5, and base lying in the xy-plane.