5. Vector Calculus

Surface Integrals

Introduces surface integrals of scalar functions and vector fields over parameterized surfaces.

Surface Integrals

Welcome, students! 😊 Today, we’re diving into the fascinating world of surface integrals in Calculus 3. By the end of this lesson, you'll understand how to compute surface integrals of both scalar functions and vector fields over parameterized surfaces. We'll explore real-world applications, like how surface integrals can help us measure fluid flow across a surface or find the total mass of a thin sheet. Ready to get started? Let’s go!

What Are Surface Integrals?

Before we jump into the math, let’s build some intuition. Imagine you have a thin, flexible sheet of material—something like a piece of cloth. Now, suppose this sheet is not flat—it’s curved in space. How can we measure things like the total mass of the sheet (if the density varies) or the total amount of fluid flowing through it? This is where surface integrals come into play.

A surface integral is the extension of a double integral to curved surfaces. There are two main types of surface integrals:

  1. Surface integrals of scalar functions: These help us measure quantities like mass or area over a surface.
  2. Surface integrals of vector fields: These help us measure flux—how much of a vector field passes through a surface.

In this lesson, we’ll explore both types in detail.

Real-World Hook:

Surface integrals are super useful in physics, engineering, and even computer graphics. For example, in electromagnetism, the flux of an electric field through a surface tells us about the total electric charge inside. In fluid dynamics, surface integrals help us calculate the flow of a fluid across a boundary. Pretty cool, right?

Parameterizing Surfaces

Before we can integrate over a surface, we need to describe it mathematically. This is done using a parameterization. A parameterization takes two parameters—usually $u$ and $v$—and maps them to a point on the surface in 3D space.

Let’s break it down:

A surface in $\mathbb{R}^3$ can be described by a vector-valued function:

$$

$\mathbf{r}$(u, v) = \langle x(u, v), y(u, v), z(u, v) \rangle

$$

Here, $u$ and $v$ vary over some region $D$ in the $uv$-plane. As $u$ and $v$ change, $\mathbf{r}(u, v)$ traces out the surface.

Example: Parameterizing a Sphere

Let’s parameterize a sphere of radius $R$. We can use spherical coordinates:

$$

$\mathbf{r}$($\theta$, $\phi)$ = \langle R $\sin($$\phi)$ $\cos($$\theta)$, R $\sin($$\phi)$ $\sin($$\theta)$, R $\cos($$\phi)$ \rangle

$$

Here:

  • $\theta$ is the angle in the $xy$-plane (longitude), ranging from $0$ to $2\pi$.
  • $\phi$ is the angle from the positive $z$-axis (latitude), ranging from $0$ to $\pi$.

This parameterization gives us every point on the sphere’s surface.

The Surface Element: $dS$

Once we have a parameterization, the next step is to find the “surface element,” often denoted $dS$. Think of $dS$ as the infinitesimal patch of area on the surface. To find it, we use the cross product of the partial derivatives of $\mathbf{r}(u, v)$.

Let’s compute the partial derivatives:

$$

$\mathbf{r}$_u = \frac{\partial \mathbf{r}}{\partial u}, \quad $\mathbf{r}$_v = \frac{\partial \mathbf{r}}{\partial v}

$$

Then, the magnitude of their cross product gives us the area of the tiny parallelogram formed by these vectors:

$$

\| $\mathbf{r}$_u $\times$ $\mathbf{r}$_v \| = \text{the magnitude of the surface element}

$$

Thus, the surface element is:

$$

dS = \| $\mathbf{r}$_u $\times$ $\mathbf{r}$_v \| \, du \, dv

$$

Example: Surface Element for the Sphere

For the sphere parameterization:

$$

$\mathbf{r}$($\theta$, $\phi)$ = \langle R $\sin($$\phi)$ $\cos($$\theta)$, R $\sin($$\phi)$ $\sin($$\theta)$, R $\cos($$\phi)$ \rangle

$$

We find:

$$

$\mathbf{r}$_$\theta$ = \langle -R $\sin($$\phi)$ $\sin($$\theta)$, R $\sin($$\phi)$ $\cos($$\theta)$, 0 \rangle

$$

$$

$\mathbf{r}$_$\phi$ = \langle R $\cos($$\phi)$ $\cos($$\theta)$, R $\cos($$\phi)$ $\sin($$\theta)$, -R $\sin($$\phi)$ \rangle

$$

Next, compute the cross product:

$$

$\mathbf{r}$_$\theta$ $\times$ $\mathbf{r}$_$\phi$ = \langle R^$2 \sin^2$($\phi)$ $\cos($$\theta)$, R^$2 \sin^2$($\phi)$ $\sin($$\theta)$, R^$2 \sin($$\phi)$ $\cos($$\phi)$ \rangle

$$

The magnitude is:

$$

\| $\mathbf{r}$_$\theta$ $\times$ $\mathbf{r}$_$\phi$ \| = R^$2 \sin($$\phi)$

$$

So the surface element is:

$$

dS = R^$2 \sin($$\phi)$ \, d$\theta$ \, d$\phi$

$$

This tells us how to measure area on the sphere’s surface.

Surface Integrals of Scalar Functions

Now that we've parameterized the surface and found $dS$, we can integrate a scalar function over the surface.

A scalar function $f(x, y, z)$ assigns a real number to each point in space. For example, $f$ could represent the temperature at each point on a surface, or the density of a thin sheet.

The surface integral of $f$ over a surface $S$ is:

$$

$\iint_S f(x, y, z) \, dS$

$$

In terms of the parameterization, this becomes:

$$

$\iint$_D f($\mathbf{r}$(u, v)) \| $\mathbf{r}$_u $\times$ $\mathbf{r}$_v \| \, du \, dv

$$

Example: Finding the Mass of a Thin Shell

Let’s find the mass of a spherical shell with radius $R$ and a density function $f(x, y, z) = k$, where $k$ is a constant.

We already know the parameterization and the surface element for the sphere. So the surface integral is:

$$

$\iint$_S f(x, y, z) \, dS = $\iint$_D k $\cdot$ R^$2 \sin($$\phi)$ \, d$\theta$ \, d$\phi$

$$

Integrate over $\theta$ from $0$ to $2\pi$ and $\phi$ from $0$ to $\pi$:

$$

$\int_0$^{$2\pi$} $\int_0$^$\pi$ k R^$2 \sin($$\phi)$ \, d$\phi$ \, d$\theta$ = k R^$2 \int_0$^{$2\pi$} d$\theta$ $\int_0$^$\pi$ $\sin($$\phi)$ \, d$\phi$

$$

Compute the inner integral:

$$

$\int_0^\pi \sin(\phi) \, d\phi = 2$

$$

And the outer integral:

$$

$\int_0^{2\pi} d\theta = 2\pi$

$$

So the total mass is:

$$

M = k R^$2 \cdot 2$ $\cdot 2$$\pi$ = $4\pi$ k R^2

$$

This gives us the total mass of the spherical shell.

Surface Integrals of Vector Fields (Flux Integrals)

Now let’s move on to the second type of surface integral: the surface integral of a vector field. This measures the flux of the vector field through the surface. Flux can be thought of as the amount of “stuff” (like fluid or electric field) passing through the surface.

Let $\mathbf{F}(x, y, z)$ be a vector field. The surface integral of $\mathbf{F}$ over a surface $S$ is:

$$

$\iint_S \mathbf{F} \cdot \mathbf{n} \, dS$

$$

Here, $\mathbf{n}$ is the unit normal vector to the surface. In terms of the parameterization, the unit normal vector is:

$$

$\mathbf{n}$ = $\frac{\mathbf{r}_u \times \mathbf{r}_v}{\| \mathbf{r}_u \times \mathbf{r}_v \|}$

$$

So the flux integral becomes:

$$

$\iint$_S $\mathbf{F}$ $\cdot$ $\mathbf{n}$ \, dS = $\iint$_D $\mathbf{F}$($\mathbf{r}$(u, v)) $\cdot$ ($\mathbf{r}$_u $\times$ $\mathbf{r}$_v) \, du \, dv

$$

Let’s break down the steps to compute a flux integral:

  1. Parameterize the surface.
  2. Find $\mathbf{r}_u$ and $\mathbf{r}_v$.
  3. Compute the cross product $\mathbf{r}_u \times \mathbf{r}_v$.
  4. Plug in the vector field $\mathbf{F}$.
  5. Take the dot product and integrate over the parameter domain.

Example: Flux Through a Hemisphere

Let’s find the flux of the vector field $\mathbf{F}(x, y, z) = \langle x, y, z \rangle$ through the upper hemisphere of a sphere of radius $R$.

We’ll use the same parameterization as before:

$$

$\mathbf{r}$($\theta$, $\phi)$ = \langle R $\sin($$\phi)$ $\cos($$\theta)$, R $\sin($$\phi)$ $\sin($$\theta)$, R $\cos($$\phi)$ \rangle

$$

We know that:

$$

$\mathbf{r}$_$\theta$ $\times$ $\mathbf{r}$_$\phi$ = \langle R^$2 \sin^2$($\phi)$ $\cos($$\theta)$, R^$2 \sin^2$($\phi)$ $\sin($$\theta)$, R^$2 \sin($$\phi)$ $\cos($$\phi)$ \rangle

$$

Now evaluate $\mathbf{F}(\mathbf{r}(\theta, \phi))$:

$$

$\mathbf{F}$($\mathbf{r}$($\theta$, $\phi)$) = \langle R $\sin($$\phi)$ $\cos($$\theta)$, R $\sin($$\phi)$ $\sin($$\theta)$, R $\cos($$\phi)$ \rangle

$$

Take the dot product:

$$

$\mathbf{F}$($\mathbf{r}$($\theta$, $\phi)$) $\cdot$ ($\mathbf{r}$_$\theta$ $\times$ $\mathbf{r}$_$\phi)$ = R^$3 \sin^2$($\phi)$ $\cos^2$($\theta)$ + R^$3 \sin^2$($\phi)$ $\sin^2$($\theta)$ + R^$3 \sin($$\phi)$ $\cos($$\phi)$ $\cdot$ $\cos($$\phi)$

$$

Simplify using $\cos^2(\theta) + \sin^2(\theta) = 1$:

$$

= R^$3 \sin^2$($\phi)$ + R^$3 \sin($$\phi)$ $\cos^2$($\phi)$

$$

So the integrand is:

$$

$R^3 (\sin^2(\phi) + \sin(\phi) \cos^2(\phi))$

$$

We integrate over $\theta$ from $0$ to $2\pi$ and $\phi$ from $0$ to $\pi/2$ (for the upper hemisphere):

$$

$\int_0$^{$2\pi$} $\int_0$^{$\pi/2$} R^3 ($\sin^2$($\phi)$ + $\sin($$\phi)$ $\cos^2$($\phi)$) \, d$\phi$ \, d$\theta$

$$

Let’s split it into two integrals:

$$

= R^$3 \int_0$^{$2\pi$} d$\theta$ $\left($ $\int_0$^{$\pi/2$} $\sin^2$($\phi)$ \, d$\phi$ + $\int_0$^{$\pi/2$} $\sin($$\phi)$ $\cos^2$($\phi)$ \, d$\phi$ $\right)$

$$

The outer integral is just $2\pi$. Now we compute the inner integrals.

  1. For $\int_0^{\pi/2} \sin^2(\phi) \, d\phi$:

Use the identity $\sin^2(\phi) = \frac{1 - \cos(2\phi)}{2}$:

$$

$\int_0$^{$\pi/2$} $\sin^2$($\phi)$ \, d$\phi$ = $\int_0$^{$\pi/2$} $\frac{1 - \cos(2\phi)}{2}$ \, d$\phi$ = $\frac{1}{2}$ $\left[$ $\phi$ - $\frac{\sin(2\phi)}{2}$ $\right]_0$^{$\pi/2$}

$$

$$

= $\frac{1}{2}$ $\left($ $\frac{\pi}{2}$ - $0 \right)$ = $\frac{\pi}{4}$

$$

  1. For $\int_0^{\pi/2} \sin(\phi) \cos^2(\phi) \, d\phi$:

Use the substitution $u = \cos(\phi)$, $du = -\sin(\phi) d\phi$:

$$

$\int_0$^{$\pi/2$} $\sin($$\phi)$ $\cos^2$($\phi)$ \, d$\phi$ = $\int_1$^0 -u^2 \, du = $\frac{1}{3}$ $\left[$ u^$3 \right]_1$^0 = $\frac{1}{3}$

$$

So the total integral is:

$$

R^$3 \cdot 2$$\pi$ $\left($ $\frac{\pi}{4}$ + $\frac{1}{3}$ $\right)$ = R^$3 \cdot 2$$\pi$ $\left($ $\frac{\pi + \frac{4}{3}}{4}$ $\right)$ = R^$3 \cdot 2$$\pi$ $\cdot$ $\frac{3\pi + 4}{12}$

$$

$$

$= \frac{R^3 \pi (3\pi + 4)}{6}$

$$

That’s the flux of the vector field through the upper hemisphere!

Conclusion

Great job, students! 🎉 You’ve learned how to compute surface integrals of both scalar functions and vector fields. We started by parameterizing surfaces, found the surface element $dS$, and used it to integrate scalar functions over surfaces. Then, we explored flux integrals and saw how to compute the flux of a vector field through a surface using the dot product with the normal vector. Surface integrals are powerful tools with applications in physics, engineering, and beyond.

Study Notes

  • A surface integral extends the idea of a double integral to curved surfaces.
  • To compute a surface integral, we need a parameterization of the surface:

$$

$\mathbf{r}$(u, v) = \langle x(u, v), y(u, v), z(u, v) \rangle

$$

  • The surface element is given by:

$$

dS = \| $\mathbf{r}$_u $\times$ $\mathbf{r}$_v \| \, du \, dv

$$

  • Surface integral of a scalar function $f(x, y, z)$ over a surface $S$:

$$

$\iint$_S f(x, y, z) \, dS = $\iint$_D f($\mathbf{r}$(u, v)) \| $\mathbf{r}$_u $\times$ $\mathbf{r}$_v \| \, du \, dv

$$

  • Surface integral of a vector field $\mathbf{F}(x, y, z)$ (flux integral) over a surface $S$:

$$

$\iint$_S $\mathbf{F}$ $\cdot$ $\mathbf{n}$ \, dS = $\iint$_D $\mathbf{F}$($\mathbf{r}$(u, v)) $\cdot$ ($\mathbf{r}$_u $\times$ $\mathbf{r}$_v) \, du \, dv

$$

  • Example of a sphere parameterization (radius $R$):

$$

$\mathbf{r}$($\theta$, $\phi)$ = \langle R $\sin($$\phi)$ $\cos($$\theta)$, R $\sin($$\phi)$ $\sin($$\theta)$, R $\cos($$\phi)$ \rangle

$$

  • Surface element for a sphere:

$$

dS = R^$2 \sin($$\phi)$ \, d$\theta$ \, d$\phi$

$$

  • Flux integral measures the flow of a vector field through a surface.
  • Real-world applications include computing mass of a thin shell, fluid flow across a surface, and electric flux in electromagnetism.

Keep practicing, and soon these concepts will feel second nature! 🌟

Practice Quiz

5 questions to test your understanding