All published worksheets from http://sagenb.org
Image: ubuntu2004
Calculate the surface integral over the outside of the ellipsoid $\frac{x^2}{a^2}+\frac{y^2}{b^2}+\frac{z^2}{c^2}=1$.
Notice that we cannot use the divergence theorem here since there are points inside the paraboloid where does not exist.
We FIRST found the parametrization of S and ran the SOLVER (below) and then used that information to get the graphs here.
Graph 1: We use the parameterization of S that we get below to graph the surface (the intervals are numbers so no problems).
Graph 2: Our integrand from below is:
We translate this to:
Click and drag to rotate. Notice that the arrows are not all the same length. We scale the vectors by vs.
As always, to get the arrows, we use the parameterization of S to get the "base point" and then use "base point" plus ( Integrand) to get the "end point".
Here are the details.
We parameterize the surface with 2 parameters and find a unit vector normal pointing out from the ellipsoid.
Work particular to this problem:
== The equation of the ellipsoid is given above. Remember $x=a\,cos(u)sin(v)y=b\,sin(u)sin(v)z=c\,cos(v)$
== We have set a=2, b=3, and c=4
== So: $\left\{ \begin{array}{l}x=a\,cos(u)sin(v) \\y=b\,sin(u)sin(v) \\z=c\,cos(v) \end{array} \right. \,\,\,\,\, u \in [0, 2 \pi ] \,\,\,\, v \in [0,\pi]$
(These are the standard intervals for a sphere or ellipse.)
== By examination, we see: $\vec n= \lt a\,cos(u)sin(v),\,b\,sin(u)sin(v),\,c\,cos(v) \gt$
(This too is standard.)
SOLVER: Our program follows the hand solution method. Everything in red requires you change or check something for this problem!
- Parameterize S and input as vector function. Done above; input.
- Find and input as vector function. Done above; input.
- Input F.
- Find the partials of S.
- Determine by checking orientation preserving (+1 if orientation-preserving, else -1). Requires checking that you get .
- Substitute parameterization in F.
- Find the mixed product
- Find and input intervals of integration and integrate. Done above;input.
Step 0: The program defines our variables. We are given variables (x,y,z). We need (u,v) as parameters.
Step 1: We define , and . Changes with problem; you must input your parametrization in Sf and your vector n.
Step 2: The program finds the partial derivatives.
Step 3: The program checks whether our parameterization is "orientation-preserving" or not. We should get 1 or -1. If we get 0 here, we need to change the point, e.g. (u=2.0,v=2.0). Use "real" values with decimal points. (If we get something other than +1, -1 or 0, we have made an error in step 1.)
Step 4: The program defines a standard sage function for "change of variables" for a 2-variable parametrization (surface).
The program changes the variables of .
Step 5: Then program finds the mixed product and multiplies it by the orientation from step 3.
Step 6: Then program computes the integral (flux). Changes with problem - we must put in our intervals of integration.
So our flux is: = -2 (For variable constant a, we have Flux = ).