Chapter 9: Vector Calculus
Section 9.6: Surface Integrals
Example 9.6.7
Integrate the scalar fx,y,z=x y z on the surface z=x2+y2 defined over the ellipse whose center is at x,y=2,3, and whose semi-major and semi-minor axes are 1 and 1/2, respectively.
Solution
Mathematical Solution
In Cartesian coordinates, the element of surface area is dσ=1+zx2+zy2 dA=1+4 x2+4 y2 dA, where dA is either dy dx or dx dy. The equation of the ellipse in Cartesian coordinates is
x−22+4y−32=1
Solving this equation for y=yx gives y±=3 ±1−x−22/2. Hence the requisite surface integral is
∫13∫y−y+x y x2+y2 1+4 x2+4 y2 dy dx ≐ 1001.38
Maple can provide an exact evaluation of the inner integral, but then the outer integral must be evaluated numerically. Alternatively, simply evaluate the double integral numerically.
Another approach to integrating over the ellipse makes use of the change of coordinates
x=2+r cosθ,y=3+r sinθ
This is not a change to polar coordinates, but rather, a translation of the ellipse to the origin. In these coordinates, the equation of the ellipse itself becomes r2cos2θ+4 sin2θ=1, so that
r=1/cos2θ+4 sin2θ
Note that when Maple implements this same change of coordinates, it writes the ellipse as shown on the left below. The calculations relating that form to the form shown above are given on the right.
12tan2θ+114+tan2θ
=12sec2θcos2θ+4 sin2θ4 cos2θ
=12⋅2sec2θcos2θcos2θ+4 sin2θ
=1/cos2θ+4 sin2θ
To obtain the element of surface area, define the surface by the position vector
R=2+r cos(θ)3+r sin(θ)(2+r cos(θ))(3+r sin(θ))
and obtain Rr×Rθ=r 4⁢r2+16⁢r⁢cos⁡θ+24⁢r⁢sin⁡θ+53 as that part of dσ free of the differentials in dA. The requisite surface integral is then
∫02 π∫01/cos2θ+4 sin2θ2+r cosθ3+r sinθ2+r cosθ2+3+r sinθ2 r 4⁢r2+16⁢r⁢cos⁡θ+24⁢r⁢sin⁡θ+53 dr dθ
which, when evaluated numerically, has approximate value 1001.38.
Maple Solution - Interactive
Table 9.6.7(a) provides a solution via task template. Anticipating that the surface integral cannot be evaluated exactly, a numeric evaluation appears in the table.
Tools≻Tasks≻Browse: Calculus - Vector≻Integration≻Surface Integration≻Surface Defined over an Ellipse
Surface Integral on a Surface Defined over an Ellipse
Integrand
fx,y,z=
Surface
zx,y=
Equation of Ellipse:
From θ= to θ=
Table 9.6.7(a) Solution via task template
Table 9.6.7(b) contains a solution from first principles where Cartesian coordinates are used. Note that Maple's solution in Table 9.6.7(a) uses what appear to be polar coordinates but in reality are just the change of coordinates x=2+r cosθ,y=3+r sinθ. Table 9.6.7(b) provides this same solution constructed from first principles. Anticipating that the surface integral has no closed-form solution, the integral is converted to its inert form so that numeric integration can be applied.
Initialize
Tools≻Load Package: Student Vector Calculus
Loading Student:-VectorCalculus
Tools≻Tasks≻Browse: Calculus - Vector≻ Vector Algebra and Settings≻ Display Format for Vectors
Press the Access Settings button and select "Display as Column Vector"
Display Format for Vectors
Context Panel: Assign Function
fx,y,z=x y z→assign as functionf
Define the surface as a position vector R
Context Panel: Assign to a Name≻X,Y,Z (as appropriate)
2+r cosθ→assign to a nameX
3+r sinθ→assign to a nameY
X2+Y2→assign to a nameZ
Context Panel: Assign to a Name≻R
X,Y,Z→assign to a nameR
Obtain Rr×Rθ
Calculus Palette: Partial derivative operator Common Symbols palette: Cross-product operator Press the Enter key.
Context Panel: Evaluate and Display Inline Context Panel: Simplify≻Simplify
Context Panel: Student Vector Calculus≻Norm≻Euclidean
Context Panel: Simplify≻Assuming Positive
Context Panel: Assign to a Name≻dsig
∂∂ r R×∂∂ θ R
= simplify
→2-norm
r2⁢4⁢r2+16⁢r⁢cos⁡θ+24⁢r⁢sin⁡θ+53
→assuming positive
4⁢r2+16⁢r⁢cos⁡θ+24⁢r⁢sin⁡θ+53⁢r
→assign to a name
dsig
Form and evaluate the appropriate surface integral
Calculus palette: Iterated double-integral template Context Panel: 2-D Math≻Convert To≻Inert Form
Context Panel: Approximate≻10 (digits)
∫02 π∫01/cos2θ+4 sin2θfX,Y,Z dsig ⅆr ⅆθ→at 10 digits1001.376693
Table 9.6.7(b) Solution from first principles
Table 9.6.7(c) contains a solution in Cartesian coordinates.
Ellipse in Cartesian coordinates
Write the equation of the ellipse in Cartesian coordinates.
Context Panel: Solve≻Obtain Solutions for≻y
Context Panel: Assign to a Name≻E
x−22+4y−32=1→solutions for y3+−x2+4⁢x−32,3−−x2+4⁢x−32→assign to a nameE
Form and evaluate numerically the requisite surface integral
Calculus palette: Iterated double-integral template
Context Panel: 2-D Math≻Convert To≻Inert Form
Context Panel: Apply a Command≻evalf
∫13∫E2E1x y x2+y2 1+4 x2+4 y2 ⅆy ⅆx→1001.376692
Table 9.6.7(c) Solution in Cartesian coordinates
A regression in Maple 2020 forces the use of the evalf command rather than the Approximate option in the Context Panel. Surprisingly, the iterated integral in Table 9.6.7(b) triggers the Approximate option in the Context Panel!
Maple Solution - Coded
Table 9.6.7(d) provides a solution based on the SurfaceInt command in the Student VectorCalculus package.
Install the Student VectorCalculus package.
withStudent:-VectorCalculus:
Define the ellipse in Cartesian coordinates.
C≔x−22+4y−32=1:
Obtain the unevaluated integral with the SurfaceInt command.
Evaluate numerically with the evalf command.
q≔SurfaceIntx y z,x,y,z=Surfacex,y,x2+y2,x,y=EllipseC,r,θ,output=integral
∫02⁢π∫012⁢tan⁡θ2+114+tan⁡θ2r⁢cos⁡θ+2⁢r⁢sin⁡θ+3⁢r⁢cos⁡θ+22+r⁢sin⁡θ+32⁢4⁢r⁢cos⁡θ+22+4⁢r⁢sin⁡θ+32+1⁢rⅆrⅆθ
evalfq = 1001.376693
Table 9.6.7(d) Solution via the SurfaceInt command
Table 9.6.7(e) provides a solution from first principles. This solution makes use of the change of coordinates defined by x=2+r cosθ,y=3+r sinθ.
Define a change of coordinates.
X,Y,Z≔2+ r cosθ,3+r sinθ,X2+Y2:
Define the surface as a position vector.
R≔X,Y,Z:
Apply the diff command to obtain tangent vectors.
Apply the CrossProduct, Norm, and simplify commands.
dsig≔simplifyNormCrossProductdiffR,r,diffR,θ assuming r>0
r⁢53+4⁢r2+16⁢r⁢cos⁡θ+24⁢r⁢sin⁡θ
Form and evaluate (numerically) the surface integral
Form the inert integral with the Int command, and evaluate it numerically with the evalf command.
Q≔IntX⋅Y⋅Z⋅dsig,r=0..1/cos2θ+4 sin2θ,θ=0..2 π: Q=evalfQ
∫02⁢π∫01cos⁡θ2+4⁢sin⁡θ22+r⁢cos⁡θ⁢3+r⁢sin⁡θ⁢2+r⁢cos⁡θ2+3+r⁢sin⁡θ2⁢r⁢53+4⁢r2+16⁢r⁢cos⁡θ+24⁢r⁢sin⁡θⅆrⅆθ=1001.376693
Table 9.6.7(e) Solution from first principles
<< Previous Example Section 9.6 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document