All published worksheets from http://sagenb.org
Image: ubuntu2004
Surface Integrals
Here, we are computing
where is a scalar function, as in Exercises 6, 7, 8, 9, 13, 14 and 34 of Section 13.7 of the Stewart book ``Essential Calculus: Early Transcendentals."
First, we identify the integrand and the surface. The specific and surface used in the cell below are appropriate for Exercise 5, Section 13.7. Note that I have used and as parameters for the surface.
If it is possible to compute the surface integral exactly, commands like those of the next cell (which relies on definitions made in the previous one) should do so.
Alternately, one might compute the integral numerically. In fact, when antiderivatives are not to be found, this is how one must carry out an integral. The next cell is one way to compute our surface integral numerically.
Let us summarize the quantities which must be given or found during the computation of the surface integral. You need not pay attention to the commands in the next cell. However, if you make changes to the integrand and/or surface, you can re-execute it so as to update the results in the table it produces.
f(x,y,z) | y z |
{\mathbf r}(u,v) | \left(u^{2},u \sin\left(v\right),u \cos\left(v\right)\right) |
f({\mathbf r}(u,v)) | u^{2} \sin\left(v\right) \cos\left(v\right) |
{\mathbf r}_u\times {\mathbf r}_v | \left(-u \sin\left(v\right)^{2} - u \cos\left(v\right)^{2},2 \, u^{2} \sin\left(v\right),2 \, u^{2} \cos\left(v\right)\right) |
|{\mathbf r}_u\times {\mathbf r}_v| | \sqrt{{\left| -u \sin\left(v\right)^{2} - u \cos\left(v\right)^{2} \right|}^{2} + {\left| 2 \, u^{2} \sin\left(v\right) \right|}^{2} + {\left| 2 \, u^{2} \cos\left(v\right) \right|}^{2}} |
f({\mathbf r}(u,v)) |{\mathbf r}_u\times {\mathbf r}_v| | \sqrt{{\left| -u \sin\left(v\right)^{2} - u \cos\left(v\right)^{2} \right|}^{2} + {\left| 2 \, u^{2} \sin\left(v\right) \right|}^{2} + {\left| 2 \, u^{2} \cos\left(v\right) \right|}^{2}} u^{2} \sin\left(v\right) \cos\left(v\right) |
Flux across a Surface
These are special surface integrals taking the form
.
This type of integral appears in Exercises 19, 20, 22, 25 and 26 of Section 13.7 in the Stewart text ``Essential Calculus: Early Transcentals."
The cells below have been tailored to the specifics of Exercise 21 of Section 13.7.
If it is possible to find the exact value of the flux integral, the next cell will do so.
Whether the value just computed is the correct answer or the negative of it depends on which of the two normals we picked to our surface.
In the next cell, we repeat this calculation using numerical integration (quadrature, as it is called), which should yield answers even when antiderivatives are unavailable. The only downside is not having exact answers.
The relevant quantities in the integral appear below. They are contingent on your being able to find a valid parametrization of your surface using parameters and .
{\mathbf F}(x,y,z) | \left(x z e^{y},-x z e^{y},z\right) |
{\mathbf r}(u,v) | \left(u,v,-u - v + 1\right) |
{\mathbf F}({\mathbf r}(u,v)) | \left(-{\left(u + v - 1\right)} u e^{v},{\left(u + v - 1\right)} u e^{v},-u - v + 1\right) |
{\mathbf r}_u\times {\mathbf r}_v | \left(1,1,1\right) |
{\mathbf F}({\mathbf r}(u,v)) \cdot ({\mathbf r}_u\times {\mathbf r}_v) | -u - v + 1 |