Calculate the surface integral (of function type) \iint_S f(x,y,z)\, dS where S is a surface.
We will solve the (relatively) simple problem: Calculate the surface area of the triangle x+y+z=1, x,\,y,\,z \ge 0.
Formula Sheet From the formula sheet, we find: \iint_S f(x,y,z)\, dS
Let the surface S be parameterized by S=(x(u,v),y(u,v),z(u,v)).
Surface element is the magnitude (intensity) of the vector product: dS =\left\| {d{{\vec S}_u} \times d{{\vec S}_v}} \right\| \,\, du \, dv
Integrand is the dot product: \iint_S f(x,y,z)\, dS= \iint_{D_{uv}}\, f(x(u,v),y(u,v),z(u,v)) \cdot \left\| {d{{\vec S}_u} \times d{{\vec S}_v}} \right\| \,\, du\, dv
Preparation for SOLVER: We must parameterize the surface S with 2 parameters and find the intervals.
Work particular to the given problem:
== Because we want surface area, our function of integration is f(x,y,z)=1
== We have an explicit function for the surface z=1-x-y. So we just let x=u, y=v and substitue into z: z=1-u-v. D_{uv}=D_{xy}, i.e. the projection of the triangle onto the u0v = x0y plane.
== So: S = \left\{ \begin{array}{l}x = u \\y = v\\z =1-u-v \end{array} \right.\,\,\,\,\,u \in [0,1 ] \,\,\,\,v \in [0,-u+1]
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 the intersection points of the plane with the postive x, y and z axes (we are given x, \, y,\, z \ge 0). So they are (1,0,0), (0,1,0) and (0,0,1). In the u0v plane, we have: V1(u=1,v=0), V2(u=0,v=1) and V3(u=0,v=0). We draw this region. It is a triangle where u goes from 0 to 1 and v goes from 0 to the line joining V1 and V2. The equation of this line is v=-u+1.
SOLVER: Our program follows the hand solution method. Everything in red requires something particular to your problem!
(u, v) (x, y, z) (u, v) (x, y, z) |
Step 1: We define \vec S, and f(x,y,z). Changes with problem; you must input your parametrization in Sf and your function of f.
|
|
Step 2: The program finds the partial derivatives.
\newcommand{\Bold}[1]{\mathbf{#1}}\left(1,\,0,\,-1\right)
\newcommand{\Bold}[1]{\mathbf{#1}}\left(1,\,0,\,-1\right)
|
\newcommand{\Bold}[1]{\mathbf{#1}}\left(0,\,1,\,-1\right)
\newcommand{\Bold}[1]{\mathbf{#1}}\left(0,\,1,\,-1\right)
|
Step 3: The program calculates \left\| {d{{\vec S}_u} \times d{{\vec S}_v}} \right\|
\newcommand{\Bold}[1]{\mathbf{#1}}\sqrt{3}
\newcommand{\Bold}[1]{\mathbf{#1}}\sqrt{3}
|
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}}1
\newcommand{\Bold}[1]{\mathbf{#1}}1
|
Step 5: Then program finds the dot product of f and dS (the magnitude from step 3).
\newcommand{\Bold}[1]{\mathbf{#1}}\sqrt{3}
\newcommand{\Bold}[1]{\mathbf{#1}}\sqrt{3}
|
Step 6: The program computes the integral. Changes with problem - we must put in our intervals of integration.
\newcommand{\Bold}[1]{\mathbf{#1}}-{\left(u - 1\right)} \sqrt{3}
\newcommand{\Bold}[1]{\mathbf{#1}}-{\left(u - 1\right)} \sqrt{3}
|
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{1}{2} \, \sqrt{3}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{1}{2} \, \sqrt{3}
|
0.866025403784439 0.866025403784439 |
Answer: The surface area of the triangle with vertices (1,0,0), (0,1,0) and (0,0,1) is: \frac{\sqrt{3}}{2} \approx 0.87
The triangle itself is an equilateral triangle with side length a=\sqrt{2} so with area A=\frac{\sqrt{3}}{4} \cdot a^2=\frac{\sqrt{3}}{2}
So we expect the surface area to be \iint_S\,{f(x,y,z)}\,dS=\iint_S{1}dS =1 \cdot \text{Area of Triangle}=\frac{\sqrt{3}}{2}
|
|