Surface integral

In mathematics, a surface integral is a definite integral taken over some surface that may be a curved set in space; it can be thought of as the double integral analog of the path integral. Given a surface, one can integrate over it scalar fields (that is, functions which return numbers as values), and vector fields (that is, functions which return vectors as values).
Surface integrals have applications in physics, especially in the classical theory of electromagnetism.
Contents 
Surface integrals of scalar fields
Consider a surface S on which a scalar field f is defined. If we think of S as made of some material, and for each x in S the number f(x) is the density of material at x, then the surface integral of f over S is the mass of S. One approach to calculating the surface integral is then to split the surface in many very small pieces, assume that on each piece the density is approximately constant, find the mass of each piece by multiplying the density of the piece by its area, and then sum up the resulting numbers to find the total mass of S.
To find an explicit formula for the surface integral, we need to parametrize S by considering on S a system of curvilinear coordinates, like the latitude and longitude on a sphere. Let such a parametrization be x(s, t), where (s, t) varies in some region T in the plane. Then, the surface integral is given by
 <math>\int_S f \,dS = \iint_T f(\mathbf{x}(s, t)) \left{\partial \mathbf{x} \over \partial s}\times {\partial \mathbf{x} \over \partial t}\right ds\, dt<math>
where the expression between bars on the righthand side is the magnitude of the cross product of the partial derivatives of x(s, t).
Surface integrals of vector fields
Consider a vector field v on S, that is, for each x in S, v(x) is a vector. Imagine that we have a fluid flowing through S, such that v(x) determines the direction and velocity of the fluid at x. Then, the integral of v over S is the quantity of fluid flowing through S in unit amount of time.
This illustration implies that if the vector field is tangent to S at each point, then the integral of the vector field is zero, because the fluid just flows in parallel to S, and neither in nor out. This also implies that if v does not just flow along S, that is, if v has both a tangential and normal component, then only the normal component contributes to the flow. Based on this reasoning, to find the surface integral of v over S, we need to take the dot product of v with the unit surface normal to S at each point, which will give us a scalar field, and integrate the obtained field as above. We find the formula
 <math>\int_S {\mathbf v}\cdot \,dS = \int_S ({\mathbf v}\cdot {\mathbf n})\,dS=\iint_T {\mathbf v}(\mathbf{x}(s, t))\cdot \left({\partial \mathbf{x} \over \partial s}\times {\partial \mathbf{x} \over \partial t}\right) ds\, dt.<math>
The cross product on the righthand side of this expression is a surface normal determined by the parametrization.
Surface integrals of differential 2forms
Let
 <math> f=f_{1} dx \wedge dy + f_{2} dy \wedge dz + f_{3} dz \wedge dx <math>
be a differential 2form defined on the surface S, and let
 <math>\mathbf{x} (s,t)=( x(s,t), y(s,t), z(s,t))\!<math>
be an orientation preserving parametrization of S with <math>(s,t)<math> in D. Then, the surface integral of f on S is given by
 <math>\iint_D \left[ f_{1} ( \mathbf{x} (s,t)) \frac{\partial(x,y)}{\partial(s,t)} + f_{2} ( \mathbf{x} (s,t))\frac{\partial(y,z)}{\partial(s,t)} + f_{3} ( \mathbf{x} (s,t))\frac{\partial(z,x)}{\partial(s,t)} \right]\, ds dt<math>
where
 <math>{\partial \mathbf{x} \over \partial s}\times {\partial \mathbf{x} \over \partial t}=\left(\frac{\partial(y,z)}{\partial(s,t)}, \frac{\partial(z,x)}{\partial(s,t)}, \frac{\partial(x,y)}{\partial(s,t))}\right)<math>
is the surface normal to S.
Let us note that the surface integral of this 2form is the same as the surface integral of the vector field which has as components <math>f_1<math>, <math>f_2<math> and <math>f_3.<math>
Theorems involving surface integrals
Various useful results for surface integrals can be derived using differential geometry and vector calculus, such as the divergence theorem, and its generalization, Stokes' theorem.
Advanced issues
Let us notice that we defined the surface integral by using a parametrization of the surface S. We know that a given surface might have several parametrizations. For example, if we move the locations of the North Pole and South Pole on a sphere, the latitude and longitude change for all the points on the sphere. A natural question is then whether the definition of the surface integral depends on the chosen parametrization. For integrals of scalar fields, the answer to this question is simple, the value of the surface integral will be the same no matter what parametrization one uses.
For integrals of vector fields things are more complicated, because the surface normal is involved. It can be proved that given two parametrizations of the same surface, whose surface normals point in the same direction, one obtains the same value for the surface integral with both parametrizations. If, however, the normals for these parametrizations point in opposite directions, the value of the surface integral obtained using one parametrization is the negative of the one obtained via the other parametrization. It follows that given a surface, we do not need to stick to any unique parametrization; but, when integrating vector fields, we do need to decide in advance which direction the normal will point to and then choose any parametrization consistent with that direction.
Another issue is that sometimes surfaces do not have parametrizations which cover the whole surface; this is true for example for the surface of a cylinder. The obvious solution is then to split that surface in several pieces, calculate the surface integral on each piece, and then add things up. This is indeed how things work, but when integrating vector fields one needs to again be careful how to choose the normalpointing vector for each piece of the surface, so that when the pieces are put back together, the results are consistent. For the cylinder, this means that if we decide that for the side region the normal will point out of the body, then for the top and bottom circular parts the normal must point out of the body too.
Lastly, there are surfaces which do not admit a surface normal at each point with consistent results (for example, the Möbius strip). If such a surface is split into pieces, on each piece a parametrization and corresponding surface normal is chosen, and the pieces are put back together, we will find that the normal vectors coming from different pieces cannot be reconciled. This means that at some junction between two pieces we will have normal vectors pointing in opposite directions. Such a surface is called nonorientable, and on this kind of surfaces one cannot talk about integrating vector fields.
See also
External links
 Surface Integral  from MathWorld (http://mathworld.wolfram.com/SurfaceIntegral.html)pl:Całka powierzchniowa