Surface integral

In mathematics, a **surface integral** is a generalization of multiple integrals to integration over surfaces. It can be thought of as the double integral analogue of the line integral. Given a surface, one may integrate a scalar field (that is, a function of position which returns a scalar as a value) over the surface, or a vector field (that is, a function which returns a vector as value). If a region R is not flat, then it is called surface as shown in the illustration.

Surface integrals have applications in physics, particularly with the theories of classical electromagnetism.

## Surface integrals of scalar fields

To find an explicit formula for the surface integral over a surface *S*, we need to parameterize *S* by defining a system of curvilinear coordinates on *S*, like the latitude and longitude on a sphere. Let such a parameterization be **x**(*s*, *t*), where (*s*, *t*) varies in some region *T* in the plane. Then, the surface integral is given by

∬

S

f

d

# S

∬

T

f
(

x

(
s
,
t
)
)

‖

∂

x

∂
s

×

∂

x

∂
t

‖

d

s

d

t

{\displaystyle \iint \_{S}f\,\mathrm {d} S=\iint \_{T}f(\mathbf {x} (s,t))\left\|{\partial \mathbf {x} \over \partial s}\times {\partial \mathbf {x} \over \partial t}\right\|\mathrm {d} s\,\mathrm {d} t}

where the expression between bars on the right-hand side is the magnitude of the cross product of the partial derivatives of **x**(*s*, *t*), and is known as the surface element. The surface integral can also be expressed in the equivalent form

∬

S

f

d

# S

∬

T

f
(

x

(
s
,
t
)
)

g

d

s

d

t

{\displaystyle \iint \_{S}f\,\mathrm {d} S=\iint \_{T}f(\mathbf {x} (s,t)){\sqrt {g}}\,\mathrm {d} s\,\mathrm {d} t}

where *g* is the determinant of the first fundamental form of the surface mapping **x**(*s*, *t*).

For example, if we want to find the surface area of the graph of some scalar function, say

# z
f

(
x
,
y
)

{\displaystyle z=f\,(x,y)}

, we have

# A

∬

S

d

# S

∬

T

‖

∂

r

∂
x

×

∂

r

∂
y

‖

d

x

d

y

{\displaystyle A=\iint \_{S}\,\mathrm {d} S=\iint \_{T}\left\|{\partial \mathbf {r} \over \partial x}\times {\partial \mathbf {r} \over \partial y}\right\|\mathrm {d} x\,\mathrm {d} y}

where

r

=
(
x
,
y
,
z
# )
(
x
,
y
,
f
(
x
,
y
)
)

{\displaystyle \mathbf {r} =(x,y,z)=(x,y,f(x,y))}

. So that

∂

r

∂
x

=
(
1
,
0
,

f

x

(
x
,
y
)
)

{\displaystyle {\partial \mathbf {r} \over \partial x}=(1,0,f\_{x}(x,y))}

, and

∂

r

∂
y

=
(
0
,
1
,

f

y

(
x
,
y
)
)

{\displaystyle {\partial \mathbf {r} \over \partial y}=(0,1,f\_{y}(x,y))}

. So,

A

=

∬

T

‖

(

1
,
0
,

∂
f

∂
x

)

×

(

0
,
1
,

∂
f

∂
y

)

‖

d

x

d

y

=

∬

T

‖

(

−

∂
f

∂
x

,
−

∂
f

∂
y

,
1

)

‖

d

x

d

y

=

∬

T

(

∂
f

∂
x

)

2

(

∂
f

∂
y

)

2

1

d

x

d

y

which is the standard formula for the area of a surface described this way. One can recognize the vector in the second-last line above as the normal vector to the surface.

Note that because of the presence of the cross product, the above formulas only work for surfaces embedded in three-dimensional space.

This can be seen as integrating a Riemannian volume form on the parameterized surface, where the metric tensor is given by the first fundamental form of the surface.

## Surface integrals of vector fields

<templatestyles src="Multiple image/styles.css" wrapper=".tmulti"></templatestyles>

Consider a vector field **v** on a surface *S*, that is, for each **x** in *S*, **v**(**x**) is a vector.

The surface integral can be defined component-wise according to the definition of the surface integral of a scalar field; the result is a vector. This applies for example in the expression of the electric field at some fixed point due to an electrically charged surface, or the gravity at some fixed point due to a sheet of material.

Alternatively, if we integrate the normal component of the vector field over the surface, the result is a scalar, usually called the flux passing through the surface. Imagine that we have a fluid flowing through *S*, such that **v**(**x**) determines the velocity of the fluid at **x**. The flux is defined as the quantity of fluid flowing through *S* per unit time.

This illustration implies that if the vector field is tangent to *S* at each point, then the flux 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 a normal component, then only the normal component contributes to the flux. Based on this reasoning, to find the flux, we need to take the dot product of **v** with the unit surface normal **n** to *S* at each point, which will give us a scalar field, and integrate the obtained field as above. We find the formula

∬

S

v

⋅

d

S

=

∬

S

(

v

⋅

n

)

d

S

=

∬

T

(

v

(

x

(
s
,
t
)
)
⋅

(

∂

x

∂
s

×

∂

x

∂
t

)

‖

(

∂

x

∂
s

×

∂

x

∂
t

)

‖

)

‖

(

∂

x

∂
s

×

∂

x

∂
t

)

‖

d

s

d

t

=

∬

T

v

(

x

(
s
,
t
)
)
⋅

(

∂

x

∂
s

×

∂

x

∂
t

)

d

s

d

t
.

The cross product on the right-hand side of this expression is a (not necessarily unital) surface normal determined by the parametrisation.

This formula *defines* the integral on the left (note the dot and the vector notation for the surface element).

We may also interpret this as a special case of integrating 2-forms, where we identify the vector field with a 1-form, and then integrate its Hodge dual over the surface.
This is equivalent to integrating

⟨

v

,

n

⟩

d

S

{\displaystyle \langle \mathbf {v} ,\mathbf {n} \rangle \;\mathrm {d} S}

 over the immersed surface, where

d

S

{\displaystyle \mathrm {d} S}

 is the induced volume form on the surface, obtained
by interior multiplication of the Riemannian metric of the ambient space with the outward normal of the surface.

# f

f

z

d

x
∧

d

y

f

x

d

y
∧

d

z

f

y

d

z
∧

d

x

{\displaystyle f=f\_{z}\,\mathrm {d} x\wedge \mathrm {d} y+f\_{x}\,\mathrm {d} y\wedge \mathrm {d} z+f\_{y}\,\mathrm {d} z\wedge \mathrm {d} x}

be a differential 2-form defined on a surface *S*, and let

x

(
s
,
t
# )
(
x
(
s
,
t
)
,
y
(
s
,
t
)
,
z
(
s
,
t
)
)

{\displaystyle \mathbf {x} (s,t)=(x(s,t),y(s,t),z(s,t))\!}

be an orientation preserving parametrization of *S* with

(
s
,
t
)

{\displaystyle (s,t)}

 in *D*. Changing coordinates from

(
x
,
y
)

{\displaystyle (x,y)}

to

(
s
,
t
)

{\displaystyle (s,t)}

, the differential forms transform as

d

# x

∂
x

∂
s

d

s

∂
x

∂
t

d

t

{\displaystyle \mathrm {d} x={\frac {\partial x}{\partial s}}\mathrm {d} s+{\frac {\partial x}{\partial t}}\mathrm {d} t}

d

# y

∂
y

∂
s

d

s

∂
y

∂
t

d

t

{\displaystyle \mathrm {d} y={\frac {\partial y}{\partial s}}\mathrm {d} s+{\frac {\partial y}{\partial t}}\mathrm {d} t}

So

d

x
∧

d

y

{\displaystyle \mathrm {d} x\wedge \mathrm {d} y}

 transforms to

∂
(
x
,
y
)

∂
(
s
,
t
)

d

s
∧

d

t

{\displaystyle {\frac {\partial (x,y)}{\partial (s,t)}}\mathrm {d} s\wedge \mathrm {d} t}

, where

∂
(
x
,
y
)

∂
(
s
,
t
)

{\displaystyle {\frac {\partial (x,y)}{\partial (s,t)}}}

 denotes the determinant of the Jacobian of the transition function from

(
s
,
t
)

{\displaystyle (s,t)}

 to

(
x
,
y
)

{\displaystyle (x,y)}

. The transformation of the other forms are similar.

Then, the surface integral of *f* on *S* is given by

∬

D

[

f

z

(

x

(
s
,
t
)
)

∂
(
x
,
y
)

∂
(
s
,
t
)

f

x

(

x

(
s
,
t
)
)

∂
(
y
,
z
)

∂
(
s
,
t
)

f

y

(

x

(
s
,
t
)
)

∂
(
z
,
x
)

∂
(
s
,
t
)

]

d

s

d

t

{\displaystyle \iint \_{D}\left[f\_{z}(\mathbf {x} (s,t)){\frac {\partial (x,y)}{\partial (s,t)}}+f\_{x}(\mathbf {x} (s,t)){\frac {\partial (y,z)}{\partial (s,t)}}+f\_{y}(\mathbf {x} (s,t)){\frac {\partial (z,x)}{\partial (s,t)}}\right]\,\mathrm {d} s\,\mathrm {d} t}

where

∂

x

∂
s

×

∂

x

∂
t

=

(

∂
(
y
,
z
)

∂
(
s
,
t
)

,

∂
(
z
,
x
)

∂
(
s
,
t
)

,

∂
(
x
,
y
)

∂
(
s
,
t
)

)

{\displaystyle {\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)}

is the surface element normal to *S*.

Let us note that the surface integral of this 2-form is the same as the surface integral of the vector field which has as components

f

x

{\displaystyle f\_{x}}

,

f

y

{\displaystyle f\_{y}}

 and

f

z

{\displaystyle f\_{z}}

.

## 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.

## Dependence on parametrization

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 the 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 proven 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 in which direction the normal will point and then choose any parametrization consistent with that direction.

Another issue is that sometimes surfaces do not have parametrizations which cover the whole surface. The obvious solution is then to split that surface into several pieces, calculate the surface integral on each piece, and then add them all up. This is indeed how things work, but when integrating vector fields, one needs to again be careful how to choose the normal-pointing 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 non-orientable, and on this kind of surface, one cannot talk about integrating vector fields.