Calculate the surface integral of the scalar function f=x+y+z on the triangle with vertices A(3,0,0), B(0,2,0) and C(0,0,1).
We need to calculate \iint_S \, f \,dS
We found the surface, parameterized it and ran the SOLVER first (below) and then used that information to get the graphs here.
Graph1: I do not know how to graph a surface where the intervals are not numbers, so I worked around this :)
|
|
Graph 2: We graph the parametrization on the x0y plane and then the integrand as a z-value. (I do know how to do dependent cycles so here I could work with the one interval depending on the second.)
|
|
To use the SOLVER, we parameterize the surface with 2 parameters.
Work particular to this problem:
== The equation of the plane going through the 3 points is: z=1-\frac{x}{3}-\frac{y}{2}. Remember to parameterize an explicit function z=f(x,y), we set x=u, y=v and z=f(u,v)
The normal vector to this plane is: \vec n = \overrightarrow {AB} \times \overrightarrow {AC} = \left| {\begin{array}{*{20}{c}} {\vec i}&{\vec j}&{\vec k}\\ { - 3}&2&0\\ { - 3}&0&1 \end{array}} \right| = \vec i + \vec j + \vec k= \lt \frac{1}{3},\frac{1}{2},1 \gt
Using A and \vec n, the equation of the plane is \frac{x-3}{3} +\frac{y-0}{2} +(z-0)=0 or {\frac{x}{3}+\frac{y}{2}+z=1} or explicitly \boxed{\color{red}{S:\,z=1-\frac{x}{3}-\frac{y}{2}}}
== So: S = \left\{ \begin{array}{l}x = u \\y = v\\z =1-\frac{u}{3}-\frac{v}{2}\end{array} \right.\,\,\,\,\,u \in [0,3 ] \,\,\,\,v \in [0,\frac{-3u}{2}+2]
To get the intervals: We find the vertices of the triangle in the u0v = x0y plane. In this plane z=0. The vertices of the triangle in 3d are (3,0,0), (0,2,0) and (0,0,1). In the u0v plane, we have: V1(u=3,v=0), V2(u=0,v=2) and V3(u=0,v=0). We draw this region. It is a triangle where u goes from 0 to 3 and v goes from 0 to the line joining V1 and V2. The equation of this line is v=-2u/3+2.
Hand Solution or just go directly to the SOLVER:
We could calculate using either the explicit formula or the parameterized form. We will use the parameterized form so we need the formula:
\iint_S\,{f(x,y,z)}\,dS=\iint_{D_{xy}}\,{f(x,y,z(x,y))} \left\| {d{{\vec S}_u} \times d{{\vec S}_v}} \right\| \,du\,dv where d{{\vec S}_u}=\,\lt \frac{\partial x}{\partial u},\frac{\partial y}{\partial u},\frac{\partial z}{\partial u }\gt and d{{\vec S}_v}=\,\lt \frac{\partial x}{\partial v},\frac{\partial y}{\partial v},\frac{\partial z}{\partial v} \gt
We have
d{{\vec S}_u}=\,\lt \frac{\partial x}{\partial u},\frac{\partial y}{\partial u},\frac{\partial z}{\partial u} \gt \,=\, \lt 1,0,\frac{-1}{3} \gt\, and d{{\vec S}_v}=\,< \frac{\partial{x}}{\partial{v}},\frac{\partial{y}}{\partial{v}},\frac{\partial{z}}{\partial{v}}> \, = \, < 0,1,\frac{-1}{2} >
So {d{{\vec S}_u} \times d{{\vec S}_v}}= \left| {\begin{array}{*{20}{c}} {\vec i}&{\vec j}&{\vec k}\\ 1&0&{\frac{-1}{3}}\\ 0&1&{\frac{-1}{2}} \end{array}} \right| ={\frac{1}{3}}\vec i + {\frac{1}{2}}\vec j + \vec k= and \left\| {d{{\vec S}_u} \times d{{\vec S}_v}} \right\| =\frac{7}{6}.
f=x+y+z=u+v+1-\frac{u}{3}-\frac{v}{2}=\frac{2u}{3}+\frac{v}{2}+1
Finally \iint_S\, f \,dS=\int_0^3 \int_0^{-2u/3+2}\,(\frac{2u}{3}+\frac{v}{2}+1) \cdot \frac{7}{6} \,dv \, du = \frac{7}{6} = \int_0^3 (\frac{-1}{3}u^2+3) \,du=\frac{7}{6} \cdot 6 = \boxed{7}
SOLVER: Our program follows the hand solution method. Everything in red requires something particular to your problem!
Step 0: The program declares our variables. We are given variables (x,y,z). We need (u,v) as parameters.
(u, v) (x, y, z) (u, v) (x, y, z) |
Step 1: We define \vec S and \vec F. Changes with problem; you must input your parametrization in Sf and your function in f.
|
|
Step 2: The program finds the partial derivatives.
\newcommand{\Bold}[1]{\mathbf{#1}}\left(1,\,0,\,-\frac{1}{3}\right)
\newcommand{\Bold}[1]{\mathbf{#1}}\left(1,\,0,\,-\frac{1}{3}\right)
|
\newcommand{\Bold}[1]{\mathbf{#1}}\left(0,\,1,\,-\frac{1}{2}\right)
\newcommand{\Bold}[1]{\mathbf{#1}}\left(0,\,1,\,-\frac{1}{2}\right)
|
Step 3: The program calculates \left\| {d{{\vec S}_u} \times d{{\vec S}_v}} \right\|
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{7}{6}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{7}{6}
|
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 f.
|
|
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{2}{3} \, u + \frac{1}{2} \, v + 1
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{2}{3} \, u + \frac{1}{2} \, v + 1
|
Step 5: Then program finds the mixed product and multiplies it by the orientation from step 3.
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{7}{9} \, u + \frac{7}{12} \, v + \frac{7}{6}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{7}{9} \, u + \frac{7}{12} \, v + \frac{7}{6}
|
Step 6: The program computes the integral. Changes with problem - we must put in our intervals of integration.
\newcommand{\Bold}[1]{\mathbf{#1}}-\frac{7}{18} \, u^{2} + \frac{7}{2}
\newcommand{\Bold}[1]{\mathbf{#1}}-\frac{7}{18} \, u^{2} + \frac{7}{2}
|
\newcommand{\Bold}[1]{\mathbf{#1}}7
\newcommand{\Bold}[1]{\mathbf{#1}}7
|
7.00000000000000 7.00000000000000 |
So: \iint_S (x+y+z) \,dS = 7 (S is the triangle with vertices A(3,0,0), B(0,2,0) and C(0,0,1).)
|
|