Volumes calculation using Gauss' theorem

As with what it is done with Green's theorem, we will use a powerful tool of integral calculus to calculate volumes, called the theorem of divergence or the theorem of Gauss.

This theorem says that if we have a solid D limited by a closed surface S and F(x,y,z) is a vector field, then:

SF dS=Vdiv(F) dx dy dz

where, if F(x,y,z)=(P(x,y,z),Q(x,y,z),R(x,y,z)), then div(F)=Px+Qy+Rz is the divergence of the field.

Let's remember that to calculate the first term, if r(u,v) is a parametrization of the surface,

SF dS=F(r(u,v))(ru×rv) du dv

where ru×rv denotes the vector product of the derivatives of the parametrization with respect to u and v.

Therefore, if we find a field whose divergence is equal to 1, on the right term we will have the volume of the solid and, therefore, we have a method to calculate volumes.

The most typical fields that satisfy what we need are:

  • F(x,y,z)=(x,0,0)
  • F(x,y,z)=(0,y,0)
  • F(x,y,z)=(0,0,z)
  • F(x,y,z)=13(x,y,z)

Example

For example, we are going to calculate the volume delimited by half a sphere and the equatorial plane, which is:

imagen

From Gauss’ theorem, we can integrate one of the fields given along the surface that closes the volume up.

We will use the following parametric form, using spherical coordinates:

x=sinθcosφy=sinθsinφz=cosθθ[0,π2]φ[0,2π]

Let's calculate the vectors and the vector product:

rθ=(cosθcosφ,sinφcosθ,sinφ)rφ=(sinθsinφ,sinθcosφ,0)}

 rθ×rφ=|ijkcosθcosφsinφcosθsinφsinθsinφsinθcosφ0|=(sin2θcosφ,sin2θsinφ,sinθcosθ)

Taking the vector field F(x,y,z)=(0,0,z), we have:

S(0,0,z) dS=0π202π(0,0,cosθ)(sin2θcosφ,sin2θsinφ,sinθcosθ) dφ dθ=0π202πcos2θsinθ dφ dθ=0π2cos2θsinθ(02πdφ) dθ=2π0π2cos2θsinθ dθ=2π[cos3θ3]0π2=23π

Now we must integrate the same field on the low lid since the theorem is valid for closed surfaces. A parametrization of the circle is:

x=rcos(t)y=rsin(t)z=0t[0,2π]r[0,1]

Let's calculate also the vectors and its vector product:

rr=(rsin(t),rcos(t),0)rt=(cos(t),sin(t),0)}

 rt×rr=|ijkrsin(t)rcos(t)0cos(t)sin(t)0|=(0,0,r2)

Now, we have:

C(0,0,z) dS=02π01(0,0,0)(0,0,r2) dr dt=0

Therefore,

Vol(E)=S1 dx dy dz=Ediv(0,0,z) dx dy dz=S(0,0,z) dS+C(0,0,z) dS=23π+0=23π