# Surface Integral – General Form, Techniques, and Examples

The surface integral allows us to generalize line integrals to account for surfaces in three dimensions. Surface integrals are important when dealing with quantities in either of the three media: solid, liquid, and gas. These integrals are also significant when working with vector fields such as gravitational fields or flux.The surface integral allows us to extend our understanding of double integrals – by extending the concept to account for surfaces in three or even higher dimensions. Through surface integrals, we can extend Green’s theorem in higher dimensions as well.In this article, we’ll show you what curls represent in the physical world and how we can apply the formulas to calculate the curl of a vector field. We’ll also provide examples and problems for you to work on and better understand this important measure.

## What Is a Surface Integral?

The surface integral represents the generalization of integrals evaluated over surfaces. A great way to understand surface integrals is to know that the process of evaluating is similar to evaluating double integrals. This time, however, we’re adding up the points of in $\mathbb{R}^3$. Similar to double integrals, surface integrals have two kinds: 1) those of the scalar-valued functions and 2) surface integrals for vector fields.\begin{aligned}\int \int_{S} f(x, y, z) \phantom{x}dS &= \int \int_{T} f(\textbf{v}(t, s)) \left|\dfrac{\partial \textbf{v}}{\partial t} \times \dfrac{\partial \textbf{v}}{\partial s}\right| \phantom{x}dtds\end{aligned}Let’s slowly understand how these expressions were derived- beginning with seeing the surface, $S$, in space as a finite surface area. Suppose that we have a scalar-valued function, $f$, is defined on the surface, $S$, and we can divide the surface into smaller portions.The image above shows a divided surface, $S$, into smaller portions: $\{S_1, S_2, S_3, …, S_n\}$ with each portion having an area of $\{\Delta S_1, \Delta S_2, \Delta S_3, …, \Delta S_n\}$, respectively. Keep in mind that for this example, $(x_k, y_k, z_k) \in S_k$, are selected randomly. Similar to how we’ve established definite and line integrals in the past, adding these infinitesimal portions’ area will lead us to the actual value of the surface integral. By evaluating the limit of $\Delta S_k$’s maximum value as it approaches zero, we’ll have the expression for the surface integral: $\int \int_{S} f(x,y, z) \phantom{x}dS$.

### Surface Integral Formula

There are different ways to interpret surface integrals and their formulas, so let’s begin by breaking down how the formula for the surface integral for parametric surfaces. In the past, we’ve learned that we can write the smooth curve, $C$, can be parametrized by the vector expression, $\textbf{r}(t)$.\begin{aligned}\textbf{r}(t) &= x(t) \textbf{i} + y(t) \textbf{j} + z(t) \textbf{k}, a\leq t \leq b\end{aligned}This means that the arc length of $C$ can be expressed as $\int_{a}^{b} |\textbf{r}^{\prime}(t)| \phantom{x}dt$. We’ve established before that the integral of $C$ is given by the equation shown below.\begin{aligned}\int_{C} f \phantom{x}ds &= \int_{a}^{b} f(x(t), y(t), z(t)) |\textbf{r}^{\prime} (t)| \phantom{x}dt\\&= \int_{a}^{b} f(\textbf{r}(t)) |\textbf{r}^{\prime} (t)| \phantom{x}dt\end{aligned}Now, what happens when $f(x, y, z) = 1$? We can rewrite the surface integral as $\int \int_{D} |\textbf{r}_u \times \textbf{r}_v|\phantom{x} dA= A(S)$. From this, we can establish the formula for the surface integral of parametrized surfaces:
 SURFACE INTEGRAL FOR A PAREMETRIZED SURFACESuppose that our surface is defined the vector function, $\textbf{r}(u, v) = x(u, v)\textbf{i} + y(u, v)\textbf{j} + z(u, v)\textbf{k}$. We can calculate the surface integral using the equation below.\begin{aligned}\int \int_{S} f(x,y ,z) \phantom{x}dS &= \int \int_{D} f(\textbf{r}(u, v)) |\textbf{r}_u \times \textbf{r}_v| \phantom{x} dA\end{aligned}Keep in mind that $\textbf{r}_u = \dfrac{\partial x}{\partial u}\textbf{i} + \dfrac{\partial y}{\partial u}\textbf{j} +\dfrac{\partial z}{\partial u}\textbf{k}$ and $\textbf{r}_v = \dfrac{\partial x}{\partial v}\textbf{i} + \dfrac{\partial y}{\partial v}\textbf{j} +\dfrac{\partial z}{\partial v}\textbf{k}$.
Before we move on to the next section, let’s see how we can use the formula shown above to find the surface integral of surfaces defined by $z = g(x, y)$.\begin{aligned}\textbf{r}(x, y) &= x\textbf{i} + y\textbf{j} + g(x,y) \textbf{k}\end{aligned}This means that $\textbf{r}_x \times \textbf{r}_y$ is equal to $-\dfrac{\partial g}{\partial x}\textbf{i} – \dfrac{\partial g}{\partial y}\textbf{j} + 1 \textbf{k}$.\begin{aligned}|\textbf{r}_x \times \textbf{r}_y| &= \sqrt{\left(\dfrac{\partial g}{\partial x} \right)^2 + \left(\dfrac{\partial g}{\partial y} \right)^2 + 1} \phantom{x}dA\end{aligned}This means that the surface integral of surfaces such as $z = g(x, y)$ can be expressed as shown below.\begin{aligned}\int \int_{S} f(x,y,z) \phantom{x}dS &= \int \int_{D} f(x, y, g(x, y))  \sqrt{\left(\dfrac{\partial g}{\partial x} \right)^2 + \left(\dfrac{\partial g}{\partial y} \right)^2 + 1} \phantom{x}dA \end{aligned}We’ll apply similar approaches when evaluating surfaces of the forms, $z = g(y, z)$ and $z = g(x, z)$.
 \begin{aligned}\boldsymbol{z = g(y, z)}\end{aligned} \begin{aligned}\boldsymbol{z = g(x, z)}\end{aligned} \begin{aligned}\int \int_{S} f(x,y,z) \phantom{x}dS &= \int \int_{D} f(g(y, z), y, z) \sqrt{\left(\dfrac{\partial g}{\partial y} \right)^2 + \left(\dfrac{\partial g}{\partial z} \right)^2 + 1} \phantom{x}dA \end{aligned} \begin{aligned}\int \int_{S} f(x,y,z) \phantom{x}dS &= \int \int_{D} f(x, g(x, z), z) \sqrt{\left(\dfrac{\partial g}{\partial x} \right)^2 + \left(\dfrac{\partial g}{\partial z} \right)^2 + 1} \phantom{x}dA \end{aligned}

## How To Evaluate Surface Integrals?

We can evaluate surface integrals by identifying the equation representing the plane then applying the appropriate equations.
• Whenever needed, divide the surface integrals into smaller chunks of surfaces.
• Find the cross product of the two parametrized functions (or vectors) then use the result to set the equation of the plane.
• Write down the expression for $dS$ by taking the magnitude of the cross products’ partial derivatives.
• Set the appropriate limits of integration then evaluate the resulting expression.
These are general guidelines to remember when evaluating surface integral, but different cases may require a more creative approach. This is why it’s helpful to try out different examples when learning about surface integrals.Let’s try to evaluate the surface integral, $\int \int_{S} xy \phantom{x}dS$, where $S$ is a triangular region that has the following vertices: $(2, 0, 0)$, $(0, 4, 0)$, and $(0, 0, 4)$.We still don’t have the equation of the plane, so let’s use the fact that $\textbf{u} = 4\textbf{i} – 2 \textbf{j}$ and $\textbf{v} =4\textbf{i} – 4 \textbf{k}$, so the plane we’re integrating over has the following equation.\begin{aligned}8(x – 4) + 16y + 8z &= 0\\z &= 4 – x – 2y \end{aligned}Graph the region of $D$ to guide us in finding the limits of integration.From the sketch of our triangular region, we can see that we’ll be integrating over the following limits of integration: $0 \leq x \leq 4$ and $0 \leq y \leq -\dfrac{1}{2}x + 2$. Before we apply the formula for the surface integral, let’s write down the rest of the components that we’ll need:\begin{aligned}f(x, y, g(x, y)) &= xy\\ \dfrac{\partial g}{\partial x} &= -1\\\dfrac{\partial g}{\partial y} &= -2\end{aligned}Rewrite $\int \int_{S} f(x, y, z) \phantom{x}dS$ as a double integral: $\int \int_{D} f(x, y, g(x, y)) \sqrt{\left(\dfrac{\partial g}{\partial x}\right)^2 + \left(\dfrac{\partial g}{\partial y}\right)^2 + 1} \phantom{x}dA$. Evaluate the resulting double integral.\begin{aligned} \int \int_{S} f(x, y, z) \phantom{x}dS &= \int \int_{D} f(x, y, g(x, y)) \sqrt{\left(\dfrac{\partial g}{\partial x}\right)^2 + \left(\dfrac{\partial g}{\partial y}\right)^2 + 1} \phantom{x}dA\\&= \int_{0}^{4} \int_{0}^{-x/2 + 2} xy \sqrt{(-1)^2 + (-2)^2 + 1}dydx\\&= \sqrt{6}  \int_{0}^{4} \int_{0}^{-\frac{x}{2} + 2} xy \phantom{x}dydx\\&=\dfrac{\sqrt{6}}{2}\int_{0}^{4} x\left[y^2 \right ]_{0}^{-\frac{x}{2} + 2} dx\\&=\dfrac{\sqrt{6}}{2} \int_{0}^{4} x\left(-\dfrac{x}{2} + 2 \right )^2 \phantom{x}dx\\&=\dfrac{\sqrt{6}}{2} \int_{0}^{4} \dfrac{x^3}{4} -2x^2 + 4x\phantom{x}dx\\&=\dfrac{\sqrt{6}}{2} \left[\dfrac{x^4}{16} – \dfrac{2x^3}{3} +  2x^2\right ]_{0}^{4}\\&= \dfrac{\sqrt{6}}{2}\left(\dfrac{16}{3} \right )\\&= \dfrac{8\sqrt{6}}{3} \end{aligned}Hence, we have $\int \int_{S} xy \phantom{x}dS = \dfrac{8\sqrt{6}}{3}$.

## How To Do Surface Integrals by Converting The Coordinates?

There are instances when it’s easier to evaluate surface integrals when we rewrite the expression in Cartesian coordinate to a different form. Here are some common coordinates we might use to simplify the expression of the surface integral:
 Sphere with a radius of $\boldsymbol{r}$:\begin{aligned}x^2 + y^2 &+ z^2 = r^2\\0 \leq &\theta \leq 2\pi\\0 \leq &\phi \leq \pi \end{aligned} \begin{aligned}x &= r \sin \phi\cos \theta\\y&= r \sin \phi\sin \theta\\z&= r \cos \phi\\\\\textbf{r}(\theta, \phi) &= < r \sin \phi\cos \theta,r \sin \phi\sin \theta,r \cos \phi>\end{aligned} Cylinder with a radius of $\boldsymbol{r}$:\begin{aligned}x^2 &+ y^2 = r^2\\0 \leq &\theta \leq 2\pi\\0 \leq &z \leq b \end{aligned} \begin{aligned}x &= r \cos \theta\\y &= r \sin \theta\\z &= z\\\\\textbf{r}(z , \theta) &= \end{aligned}