Salta al contenuto
Note per Studenti Surfaces and Flux - Divergence and Stokes Theorems Report

Surfaces and Flux - Divergence and Stokes Theorems

In questa pagina 7

Prerequisites: Double Integrals and Fubini's TheoremThe double integral of a bounded function over a rectangle is defined through lower and upper Darboux sums (for f nonnegative it is the volume under the graph) and is extended to a bounded domain by setting f to zero outside it; for continuous f on a y-simple or x-simple domain Fubini's theorem reduces it to iterated one-variable integrals, and swapping the order can make an integral computable.Double Integrals and Fubini's Theorem →, Triple Integrals - Cylindrical and Spherical CoordinatesA triple integral is computed by columns (inner integral in z between two surfaces, then a double integral over the shadow) or by slices (double integral over a section, then in z); volume is the integral of 1; cylindrical coordinates give dV = r dr dtheta dz and spherical ones give dV = rho^2 sin(phi) drho dphi dtheta.Triple Integrals - Cylindrical and Spherical Coordinates →, Curves and Line Integrals of the First KindA curve is a continuous map from an interval into the plane or space, regular if it is C1 with nonzero velocity; its length is the integral of the speed, and the line integral of the first kind of a scalar function f is the integral of f times the speed, for instance the mass of a wire.Curves and Line Integrals of the First Kind →, Vector Fields and Work Along a CurveA vector field F = (M, N) assigns a vector to each point; the work (line integral of the second kind) along an oriented curve r(t) is the integral of F dot r', equal to the integral of M dx + N dy, it does not depend on the parametrization but changes sign when the direction is reversed.Vector Fields and Work Along a Curve →, Green's Theorem and Planar DivergenceGreen's theorem turns the circulation of a C1 field F = (M, N) along the positively oriented boundary of a regular planar domain into the double integral of N_x - M_y; it gives areas as line integrals, handles holes, and its normal form (divergence theorem in the plane) equates the outward flux with the integral of the divergence M_x + N_y.Green's Theorem and Planar Divergence →. This note is the passage from the plane to space of Green's theorem and of the planar divergence theorem.

Parametric surfaces

A parametric surface is a map r:D→R3\mathbf r:D\to\mathbb{R}^3, r(u,v)=(x(u,v),y(u,v),z(u,v))\mathbf r(u,v)=(x(u,v),y(u,v),z(u,v)), on a domain D⊆R2D\subseteq\mathbb{R}^2 (a curve has one parameter, a surface has two). Fixing vv and varying uu gives a curve on the surface with tangent vector ru=∂r/∂u\mathbf r_u=\partial\mathbf r/\partial u; likewise for rv\mathbf r_v. If they are not parallel they span the tangent plane, and their cross product

N=ru×rv\mathbf N=\mathbf r_u\times\mathbf r_v

is a normal vector. The surface is regular if N≠0\mathbf N\ne\mathbf 0 (except possibly at isolated points or on the boundary of DD). Example: the plane r(u,v)=(u,v,0)\mathbf r(u,v)=(u,v,0) has ru=(1,0,0)\mathbf r_u=(1,0,0), rv=(0,1,0)\mathbf r_v=(0,1,0), N=(0,0,1)\mathbf N=(0,0,1).

Examples.

  • Graph z=g(x,y)z=g(x,y): r=(x,y,g(x,y))\mathbf r=(x,y,g(x,y)), rx=(1,0,gx)\mathbf r_x=(1,0,g_x), ry=(0,1,gy)\mathbf r_y=(0,1,g_y), N=(−gx,−gy,1),\mathbf N=(-g_x,-g_y,1), pointing upward (third component positive).
  • Sphere of radius RR: r(φ,θ)=(Rsin⁡φcos⁡θ,Rsin⁡φsin⁡θ,Rcos⁡φ)\mathbf r(\varphi,\theta)=(R\sin\varphi\cos\theta,R\sin\varphi\sin\theta,R\cos\varphi), φ∈[0,π]\varphi\in[0,\pi], θ∈[0,2π]\theta\in[0,2\pi]. One finds N=rφ×rθ=R2sin⁡φ (sin⁡φcos⁡θ,sin⁡φsin⁡θ,cos⁡φ)\mathbf N=\mathbf r_\varphi\times\mathbf r_\theta=R^2\sin\varphi\,(\sin\varphi\cos\theta,\sin\varphi\sin\theta,\cos\varphi), i.e. R2sin⁡φR^2\sin\varphi times the outward radial unit vector, so ∣N∣=R2sin⁡φ|\mathbf N|=R^2\sin\varphi.
  • Cone z=x2+y2z=\sqrt{x^2+y^2}: a graph with gx=xx2+y2g_x=\frac x{\sqrt{x^2+y^2}}, gy=yx2+y2g_y=\frac y{\sqrt{x^2+y^2}}, so gx2+gy2=1g_x^2+g_y^2=1 and ∣N∣=2|\mathbf N|=\sqrt2 (constant, since the cone always has the same 45∘45^\circ inclination).
  • Surface of revolution: rotating through 2π2\pi about the zz axis a curve γ(t)=(x(t),z(t))\gamma(t)=(x(t),z(t)) of the half-plane x≥0x\ge0: r(t,θ)=(xcos⁡θ,xsin⁡θ,z)\mathbf r(t,\theta)=(x\cos\theta,x\sin\theta,z). From rt=(x′cos⁡θ,x′sin⁡θ,z′)\mathbf r_t=(x'\cos\theta,x'\sin\theta,z') and rθ=(−xsin⁡θ,xcos⁡θ,0)\mathbf r_\theta=(-x\sin\theta,x\cos\theta,0) one gets ∣N∣=x(t)x′2+z′2=x(t)∣γ′(t)∣|\mathbf N|=x(t)\sqrt{x'^2+z'^2}=x(t)|\gamma'(t)|.

Area and surface integral

A small rectangle du dvdu\,dv of DD becomes a parallelogram on the surface with sides ru du\mathbf r_u\,du and rv dv\mathbf r_v\,dv, of area ∣ru×rv∣ du dv|\mathbf r_u\times\mathbf r_v|\,du\,dv. So the area element is dσ=∣N∣ du dvd\sigma=|\mathbf N|\,du\,dv and

Area(S)=∬D∣N∣ du dv,∬Sf dσ=∬Df(r(u,v)) ∣N∣ du dv.\text{Area}(S)=\iint_D|\mathbf N|\,du\,dv,\qquad\iint_Sf\,d\sigma=\iint_Df(\mathbf r(u,v))\,|\mathbf N|\,du\,dv.

For a graph z=g(x,y)z=g(x,y) over DD: Area=∬D1+gx2+gy2 dx dy\text{Area}=\iint_D\sqrt{1+g_x^2+g_y^2}\,dx\,dy. (This is the analogue of L=∫∥γ′∥dtL=\int\|\gamma'\|dt; with f=1f=1 the surface integral is the area.)

Example 1: area of a paraboloid. The part of z=x2+y2z=x^2+y^2 below the plane z=9z=9 is the graph over the disc x2+y2≤9x^2+y^2\le9; gx=2xg_x=2x, gy=2yg_y=2y and in polar coordinates Area=∫02π ⁣ ⁣∫031+4r2 r dr dθ=2π[(1+4r2)3/212]03=π6(3737−1).\text{Area}=\int_0^{2\pi}\!\!\int_0^3\sqrt{1+4r^2}\,r\,dr\,d\theta=2\pi\left[\frac{(1+4r^2)^{3/2}}{12}\right]_0^3=\frac\pi6\left(37\sqrt{37}-1\right). (The derivative of (1+4r2)3/2(1+4r^2)^{3/2} is 32(1+4r2)1/2⋅8r=12r1+4r2\frac32(1+4r^2)^{1/2}\cdot8r=12r\sqrt{1+4r^2}.)

Example 2: integral over a cone. ∬Sx2 dσ\iint_Sx^2\,d\sigma with SS the cone z=x2+y2z=\sqrt{x^2+y^2}, 0≤z≤10\le z\le1: graph over x2+y2≤1x^2+y^2\le1, dσ=2 dx dyd\sigma=\sqrt2\,dx\,dy: 2∬x2+y2≤1x2 dx dy=2∫02π ⁣ ⁣∫01r2cos⁡2θ r dr dθ=2⋅14⋅π=2π4.\sqrt2\iint_{x^2+y^2\le1}x^2\,dx\,dy=\sqrt2\int_0^{2\pi}\!\!\int_0^1r^2\cos^2\theta\,r\,dr\,d\theta=\sqrt2\cdot\frac14\cdot\pi=\frac{\sqrt2\pi}4.

Surfaces of revolution and Guldin's theorem

From ∣N∣=x∣γ′∣|\mathbf N|=x|\gamma'|: Area=∫02π ⁣ ⁣∫abx(t)∣γ′(t)∣ dt dθ=2π∫abx(t)∣γ′(t)∣ dt=2πxˉL,\text{Area}=\int_0^{2\pi}\!\!\int_a^bx(t)|\gamma'(t)|\,dt\,d\theta=2\pi\int_a^bx(t)|\gamma'(t)|\,dt=2\pi\bar xL, where LL is the length of γ\gamma and xˉ=1L∫γx ds\bar x=\frac1L\int_\gamma x\,ds is the xx coordinate of the centroid of the curve: the area is the length of the curve times the length 2πxˉ2\pi\bar x of the path of its centroid (Guldin's theorem, or Pappus).

Example. The cycloid arc γ(t)=(3t−3sin⁡t, 3−3cos⁡t)\gamma(t)=(3t-3\sin t,\ 3-3\cos t), t∈[0,2π]t\in[0,2\pi], in the half-plane x≥0x\ge0 of the (x,z)(x,z) plane, rotated about the zz axis. γ′=3(1−cos⁡t,sin⁡t)\gamma'=3(1-\cos t,\sin t), ∣γ′∣=32−2cos⁡t=6sin⁡t2|\gamma'|=3\sqrt{2-2\cos t}=6\sin\frac t2, so L=∫02π6sin⁡t2 dt=24L=\int_0^{2\pi}6\sin\frac t2\,dt=24. The curve is symmetric about x=3πx=3\pi (since x(2π−t)=6π−x(t)x(2\pi-t)=6\pi-x(t) and ∣γ′∣|\gamma'| is the same at tt and 2π−t2\pi-t), so xˉ=3π\bar x=3\pi with no integrals. Area =2π⋅3π⋅24=144π2=2\pi\cdot3\pi\cdot24=144\pi^2.

Flux through an oriented surface

A surface has two orientations, i.e. two continuous choices of unit normal n\mathbf n. For a parametric surface N/∣N∣\mathbf N/|\mathbf N| is one choice, its opposite the other. For a surface enclosing a solid one normally takes the outward normal.

Definition. The flux of F\mathbf F through the oriented surface SS is Φ=∬SF⋅n dσ=∬DF(r(u,v))⋅(ru×rv) du dv\Phi=\iint_S\mathbf F\cdot\mathbf n\,d\sigma=\iint_D\mathbf F(\mathbf r(u,v))\cdot(\mathbf r_u\times\mathbf r_v)\,du\,dv with sign ++ if ru×rv\mathbf r_u\times\mathbf r_v has the direction of n\mathbf n, otherwise sign −- (n dσ=±N du dv\mathbf n\,d\sigma=\pm\mathbf N\,du\,dv).

If F\mathbf F is a velocity field, the flux is the amount of fluid crossing SS per unit time: the component F⋅n\mathbf F\cdot\mathbf n is the one passing through.

Graph oriented upward. With N=(−gx,−gy,1)\mathbf N=(-g_x,-g_y,1): Φ=∬D(−F1gx−F2gy+F3) dx dy,Fi evaluated at (x,y,g(x,y)).\Phi=\iint_D(-F_1g_x-F_2g_y+F_3)\,dx\,dy,\quad F_i\text{ evaluated at }(x,y,g(x,y)).

Example 3: flux through a paraboloid. F=(x,y,2(1−z))\mathbf F=(x,y,2(1-z)) through z=1−x2−y2z=1-x^2-y^2, x2+y2≤1x^2+y^2\le1, oriented upward. gx=−2xg_x=-2x, gy=−2yg_y=-2y, N=(2x,2y,1)\mathbf N=(2x,2y,1), and on the surface 1−z=r21-z=r^2: F⋅N=2x2+2y2+2r2=4r2,Φ=∫02π ⁣ ⁣∫014r2 r dr dθ=2π.\mathbf F\cdot\mathbf N=2x^2+2y^2+2r^2=4r^2,\qquad\Phi=\int_0^{2\pi}\!\!\int_0^14r^2\,r\,dr\,d\theta=2\pi.

Example 4: radial field through a sphere. F=(x,y,z)\mathbf F=(x,y,z) through the hemisphere x2+y2+z2=R2x^2+y^2+z^2=R^2, z≥0z\ge0, outward normal. On a sphere n=F/R\mathbf n=\mathbf F/R, so F⋅n=∣F∣2R=R\mathbf F\cdot\mathbf n=\frac{|\mathbf F|^2}R=R is constant and Φ=R⋅Area=R⋅2πR2=2πR3\Phi=R\cdot\text{Area}=R\cdot2\pi R^2=2\pi R^3.

The divergence theorem (Gauss)

For a solid Ω⊂R3\Omega\subset\mathbb{R}^3 with piecewise regular boundary ∂Ω\partial\Omega oriented by the outward normal and a C1C^1 field F\mathbf F on the closed set Ω\Omega:

∬∂ΩF⋅n dσ=∭Ωdiv⁡F dV,div⁡F=∂F1∂x+∂F2∂y+∂F3∂z.\iint_{\partial\Omega}\mathbf F\cdot\mathbf n\,d\sigma=\iiint_\Omega\operatorname{div}\mathbf F\,dV,\qquad\operatorname{div}\mathbf F=\frac{\partial F_1}{\partial x}+\frac{\partial F_2}{\partial y}+\frac{\partial F_3}{\partial z}.

It is the space version of the planar divergence theorem: the total outward flux is the sum of the sources (divergence) inside.

Example 5. F=(x,y,z)\mathbf F=(x,y,z) has div⁡F=3\operatorname{div}\mathbf F=3. The outward flux through the sphere of radius RR is 3⋅43πR3=4πR33\cdot\frac43\pi R^3=4\pi R^3; compared with Example 4, the hemisphere gives 2πR32\pi R^3, half of it, as it must.

Flux through part of the boundary. If ∂Ω\partial\Omega consists of several pieces (e.g. a cap and a base) and the flux through one is easy (a flat base) while the other is hard, Φcap=∭Ωdiv⁡F dV−Φbase.\Phi_{\text{cap}}=\iiint_\Omega\operatorname{div}\mathbf F\,dV-\Phi_{\text{base}}. On the base the outward normal is the one pointing out of the solid (for a base on the plane z=0z=0 below the solid it is −k-\mathbf k): watch the sign.

Stokes' theorem

Let SS be an oriented surface with boundary ∂S\partial S (a closed curve). The orientation of ∂S\partial S is the one compatible with the normal (right-hand rule: walking along the boundary with head pointing along n\mathbf n, the surface stays on the left). For a C1C^1 field F\mathbf F:

∬Srot⁡F⋅n dσ=∮∂SF⋅dr,rot⁡F=(∂yF3−∂zF2, ∂zF1−∂xF3, ∂xF2−∂yF1).\iint_S\operatorname{rot}\mathbf F\cdot\mathbf n\,d\sigma=\oint_{\partial S}\mathbf F\cdot d\mathbf r,\qquad\operatorname{rot}\mathbf F=(\partial_yF_3-\partial_zF_2,\ \partial_zF_1-\partial_xF_3,\ \partial_xF_2-\partial_yF_1).

If SS lies in the xyxy plane with n=k\mathbf n=\mathbf k, one recovers Green's theorem: the third component of the curl is ∂xF2−∂yF1\partial_xF_2-\partial_yF_1. Useful consequences:

Example 6. F=(−y,x,0)\mathbf F=(-y,x,0) has rot⁡F=(0,0,2)\operatorname{rot}\mathbf F=(0,0,2). Let SS be the hemisphere z=1−x2−y2z=\sqrt{1-x^2-y^2} with upward normal. The boundary is the unit circle in the plane z=0z=0, counterclockwise seen from above. Circulation: ∮(−y dx+x dy)=∫02π(sin⁡2t+cos⁡2t) dt=2π\oint(-y\,dx+x\,dy)=\int_0^{2\pi}(\sin^2t+\cos^2t)\,dt=2\pi. On the flux side, rot⁡F⋅n dσ=2nz dσ\operatorname{rot}\mathbf F\cdot\mathbf n\,d\sigma=2n_z\,d\sigma and nz dσ=dx dyn_z\,d\sigma=dx\,dy (projection of the area element on the xyxy plane): ∬S2nz dσ=2⋅Area(disc)=2π\iint_S2n_z\,d\sigma=2\cdot\text{Area}(\text{disc})=2\pi. The same value is obtained with any surface having that boundary.

Common mistakes

  • Forgetting ∣N∣|\mathbf N| in a surface integral: ∬f dσ\iint f\,d\sigma is not just the integral of ff over the parameter domain.
  • Normal and orientation: flux changes sign when n\mathbf n is reversed. In the divergence theorem the normal is always the outward one; in Stokes the boundary orientation follows the right-hand rule.
  • Using N=(−gx,−gy,1)\mathbf N=(-g_x,-g_y,1) (upward) when the surface is oriented downward: put a minus sign in front of the whole flux.
  • Forgetting a part of the boundary in the divergence theorem: the surface must be closed; if the base is missing the total flux is not the integral of the divergence.
  • Stokes needs a closed boundary curve; if ∂S\partial S has several components, add them with the right orientations.

Versione ripasso

Parametric surface. r(u,v)\mathbf r(u,v) on DD; N=ru×rv\mathbf N=\mathbf r_u\times\mathbf r_v, dσ=∣N∣ du dvd\sigma=|\mathbf N|\,du\,dv.

  • Graph z=gz=g: N=(−gx,−gy,1)\mathbf N=(-g_x,-g_y,1), ∣N∣=1+gx2+gy2|\mathbf N|=\sqrt{1+g_x^2+g_y^2}.
  • Sphere of radius RR: ∣N∣=R2sin⁡φ|\mathbf N|=R^2\sin\varphi. Cone z=x2+y2z=\sqrt{x^2+y^2}: ∣N∣=2|\mathbf N|=\sqrt2.

Area and surface integral. Area=∬D∣N∣\text{Area}=\iint_D|\mathbf N|, ∬Sf dσ=∬Df(r)∣N∣ du dv\iint_Sf\,d\sigma=\iint_Df(\mathbf r)|\mathbf N|\,du\,dv.

  • Paraboloid z=x2+y2z=x^2+y^2 below z=9z=9: ∫02π∫031+4r2 r dr dθ=π6(3737−1)\int_0^{2\pi}\int_0^3\sqrt{1+4r^2}\,r\,dr\,d\theta=\frac\pi6(37\sqrt{37}-1).
  • ∬Sx2 dσ\iint_Sx^2\,d\sigma on the cone 0≤z≤10\le z\le1: 2∬x2=2π4\sqrt2\iint x^2=\frac{\sqrt2\pi}4.

Guldin for surfaces. Revolving γ(t)=(x(t),z(t))\gamma(t)=(x(t),z(t)), x≥0x\ge0, about zz: ∣N∣=x∣γ′∣|\mathbf N|=x|\gamma'|, Area=2π∫x∣γ′∣ dt=2πxˉL\text{Area}=2\pi\int x|\gamma'|\,dt=2\pi\bar xL. Cycloid (3t−3sin⁡t,3−3cos⁡t)(3t-3\sin t,3-3\cos t): ∣γ′∣=6sin⁡t2|\gamma'|=6\sin\frac t2, L=24L=24, xˉ=3π\bar x=3\pi by symmetry, area 144π2144\pi^2.

Flux. Φ=∬SF⋅n dσ=±∬DF(r)⋅(ru×rv) du dv\Phi=\iint_S\mathbf F\cdot\mathbf n\,d\sigma=\pm\iint_D\mathbf F(\mathbf r)\cdot(\mathbf r_u\times\mathbf r_v)\,du\,dv. Graph upward: ∬D(−F1gx−F2gy+F3) dx dy\iint_D(-F_1g_x-F_2g_y+F_3)\,dx\,dy.

  • F=(x,y,2(1−z))\mathbf F=(x,y,2(1-z)) on z=1−x2−y2z=1-x^2-y^2 upward: F⋅N=4r2\mathbf F\cdot\mathbf N=4r^2, Φ=2π\Phi=2\pi.
  • (x,y,z)(x,y,z) through the hemisphere of radius RR, outward: F⋅n=R\mathbf F\cdot\mathbf n=R, Φ=2πR3\Phi=2\pi R^3.

Divergence theorem. ∬∂ΩF⋅n dσ=∭Ωdiv⁡F dV\iint_{\partial\Omega}\mathbf F\cdot\mathbf n\,d\sigma=\iiint_\Omega\operatorname{div}\mathbf F\,dV (outward normal). (x,y,z)(x,y,z): div⁡=3\operatorname{div}=3, sphere flux 4πR34\pi R^3. If the boundary is in pieces: Φcap=∭div⁡F−Φbase\Phi_{\text{cap}}=\iiint\operatorname{div}\mathbf F-\Phi_{\text{base}} (base normal outward from the solid).

Stokes. ∬Srot⁡F⋅n dσ=∮∂SF⋅dr\iint_S\operatorname{rot}\mathbf F\cdot\mathbf n\,d\sigma=\oint_{\partial S}\mathbf F\cdot d\mathbf r, boundary by the right-hand rule; Green is the planar case. Consequences: flux of rot⁡F\operatorname{rot}\mathbf F depends only on the boundary; it is 00 on closed surfaces (div⁡rot⁡=0\operatorname{div}\operatorname{rot}=0); F=∇f\mathbf F=\nabla f gives zero circulation. Example: (−y,x,0)(-y,x,0), rot⁡=(0,0,2)\operatorname{rot}=(0,0,2), hemisphere with unit circle as boundary: 2π2\pi on both sides.

Typical errors. Missing ∣N∣|\mathbf N|; wrong normal sign (outward for Gauss, right-hand rule for Stokes); upward N\mathbf N on a downward surface; missing part of the boundary in Gauss.

Teoria collegata