14. Divergence Theorem and Final Review

Divergence And Flux

Divergence and Flux 🌊

Introduction

students, this lesson focuses on two ideas that appear everywhere in vector calculus: divergence and flux. These ideas help describe how a vector field moves through space, like wind flowing around a building, water moving through a pipe, or a crowd spreading out from a doorway. 🌬️🚪

By the end of this lesson, you should be able to:

  • explain what divergence and flux mean in everyday language,
  • compute and interpret them in multivariable calculus,
  • connect them to the Divergence Theorem, and
  • use them in review problems that combine several course ideas.

A useful big-picture idea is this: divergence measures how much a vector field behaves like a source or sink at a point, while flux measures how much of that field passes through a surface. These are related, but not the same. One is local, and the other is about flow through a boundary. ✅

What Divergence Means

Suppose a vector field is written as $\mathbf{F}(x,y,z)=\langle P(x,y,z),Q(x,y,z),R(x,y,z)\rangle$. The divergence of $\mathbf{F}$ is

$$\nabla\cdot\mathbf{F}=\frac{\partial P}{\partial x}+\frac{\partial Q}{\partial y}+\frac{\partial R}{\partial z}.$$

This is a scalar field, meaning the output is a number, not a vector.

A simple way to think about it

Imagine placing a tiny balloon in a fluid flow:

  • If the flow pushes outward from the balloon in all directions, divergence is positive.
  • If the flow pushes inward, divergence is negative.
  • If the amount flowing in balances the amount flowing out, divergence is near zero.

This does not mean the field is physically “spreading” in every case. It means the field has a local tendency to expand or compress at a point. For example, the vector field $\mathbf{F}(x,y)=\langle x,y\rangle$ has divergence

$$\nabla\cdot\mathbf{F}=\frac{\partial x}{\partial x}+\frac{\partial y}{\partial y}=1+1=2.$$

That positive value says the field behaves like a source everywhere. If instead we had $\mathbf{F}(x,y)=\langle -x,-y\rangle$, then

$$\nabla\cdot\mathbf{F}=-1-1=-2,$$

which suggests inward flow, like a sink.

Why the derivatives matter

Each partial derivative checks how one component changes in one direction:

  • $\frac{\partial P}{\partial x}$ measures how the $x$-component changes as $x$ changes,
  • $\frac{\partial Q}{\partial y}$ measures how the $y$-component changes as $y$ changes,
  • $\frac{\partial R}{\partial z}$ measures how the $z$-component changes as $z$ changes.

So divergence combines three directional rates of change into one number. This is why it is so useful in physics and geometry. 🌟

What Flux Means

Flux measures how much of a vector field passes through a surface. Think of a net catching a current of water, or a fan pushing air through a window. The amount that actually goes through the surface is the flux.

If $S$ is an oriented surface with unit normal vector $\mathbf{n}$, then the flux of $\mathbf{F}$ across $S$ is

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

The dot product is important. It measures how much the vector field points in the same direction as the surface normal.

  • If $\mathbf{F}$ points mostly outward, the flux is positive.
  • If $\mathbf{F}$ points mostly inward, the flux is negative.
  • If $\mathbf{F}$ is tangent to the surface, the flux is zero because $\mathbf{F}\cdot\mathbf{n}=0$.

Orientation matters

A surface can have two possible orientations: one normal direction or the opposite. Choosing the outward normal versus the inward normal changes the sign of flux. This is a common source of mistakes in problem solving, so students should always check the orientation carefully. 🔍

Example of flux through a flat surface

Let $\mathbf{F}(x,y,z)=\langle 0,0,5\rangle$ and let $S$ be a horizontal disk in the plane $z=c$ with upward normal $\mathbf{n}=\langle 0,0,1\rangle$. Then

$$\mathbf{F}\cdot\mathbf{n}=5,$$

so the flux is

$$\iint_S 5\,dS=5\cdot\text{area}(S).$$

If the same surface uses the downward normal, then the flux becomes negative:

$$\iint_S \mathbf{F}\cdot(-\mathbf{n})\,dS=-5\cdot\text{area}(S).$$

This example shows that flux depends on both the field and the orientation of the surface.

Connecting Divergence and Flux

Divergence and flux are linked by a major idea in vector calculus: a field’s outward flow through a closed surface is connected to the divergence inside the region.

Here is the intuition:

  • divergence describes what is happening at points inside a region,
  • flux measures what crosses the boundary of that region.

If a field has positive divergence throughout a solid object, then more field seems to be created inside than destroyed, so the net flux outward should be positive.

This connection becomes exact in the Divergence Theorem, which states that for a solid region $E$ with boundary surface $\partial E$,

$$\iint_{\partial E} \mathbf{F}\cdot\mathbf{n}\,dS=\iiint_E \nabla\cdot\mathbf{F}\,dV.$$

This theorem says that the total outward flux through the closed surface equals the triple integral of divergence over the volume inside. It is one of the most important results in multivariable calculus. 📦

Why this matters

Sometimes a surface integral is hard to compute directly. If the surface is closed and the divergence is simple, the Divergence Theorem can make the problem much easier.

For example, if $\nabla\cdot\mathbf{F}=3$ everywhere in a solid region $E$, then the outward flux is simply

$$\iiint_E 3\,dV=3\,\text{Vol}(E).$$

So if students knows the volume of the solid, the flux is quick to find.

Example: Divergence and Flux in Action

Consider the vector field $\mathbf{F}(x,y,z)=\langle x,y,z\rangle$ and the ball $E$ of radius $a$ centered at the origin. First compute divergence:

$$\nabla\cdot\mathbf{F}=\frac{\partial x}{\partial x}+\frac{\partial y}{\partial y}+\frac{\partial z}{\partial z}=3.$$

By the Divergence Theorem, the outward flux across the sphere $\partial E$ is

$$\iint_{\partial E} \mathbf{F}\cdot\mathbf{n}\,dS=\iiint_E 3\,dV=3\cdot\frac{4}{3}\pi a^3=4\pi a^3.$$

This is a great example because the field points outward from the origin, so the result is positive. The fact that the answer depends only on the volume is a clear sign that the Divergence Theorem is working.

A quick interpretation check

If the radius $a$ gets larger, the volume increases like $a^3$, so the flux also increases like $a^3$. That makes sense because a bigger sphere catches more of the field crossing outward. 📈

Common Mistakes to Avoid

students, here are some frequent errors and how to avoid them:

  1. Confusing divergence with flux
  • Divergence is a pointwise quantity.
  • Flux is an integral through a surface.
  1. Forgetting the orientation
  • Outward normal and inward normal give opposite signs.
  1. Using the Divergence Theorem on open surfaces
  • The theorem applies to closed surfaces $\partial E$.
  1. Missing part of the divergence formula
  • Always include all three terms:

$$\nabla\cdot\mathbf{F}=\frac{\partial P}{\partial x}+\frac{\partial Q}{\partial y}+\frac{\partial R}{\partial z}.$$

  1. Misreading the meaning of a negative value
  • Negative divergence means local inward tendency, not “negative flow” in a general sense.

Review and Synthesis

Divergence and flux fit into the broader story of vector calculus because they help connect local behavior to global behavior.

  • Local idea: Divergence tells how a field behaves near a point.
  • Global idea: Flux tells how much field passes through a surface.
  • Bridge between them: The Divergence Theorem relates the flux across a closed surface to the divergence inside the volume.

This is a powerful pattern in multivariable calculus. Many topics in the course use this same style of reasoning: understand a local quantity, then integrate it to get a total effect. Examples include total mass, volume, work, and circulation. Although those ideas are not identical, they all show how calculus translates small-scale change into large-scale meaning.

When reviewing for exams, students should be able to answer questions like:

  • Is the given quantity a scalar or a vector?
  • Is the problem asking for local behavior or total flow?
  • Is the surface closed, so the Divergence Theorem can be used?
  • Is the orientation outward or inward?
  • Does the answer make physical sense based on the field?

Thinking through those questions helps prevent algebra mistakes and also strengthens conceptual understanding. 🧠

Conclusion

Divergence and flux are central ideas in multivariable calculus. Divergence measures how a vector field expands or compresses at a point, while flux measures how much of the field passes through a surface. Together, they lead to the Divergence Theorem, which connects a surface integral to a triple integral over the enclosed region. That connection is one of the clearest examples of how calculus turns geometry and physics into computable formulas. For final review, students should focus on definitions, orientation, interpretation, and the ability to recognize when the Divergence Theorem applies.

Study Notes

  • Divergence of $\mathbf{F}=\langle P,Q,R\rangle$ is $\nabla\cdot\mathbf{F}=\frac{\partial P}{\partial x}+\frac{\partial Q}{\partial y}+\frac{\partial R}{\partial z}$.
  • Divergence is a scalar field that measures local source or sink behavior.
  • Flux across a surface $S$ is $\iint_S \mathbf{F}\cdot\mathbf{n}\,dS$.
  • Flux depends on the chosen orientation of the normal vector.
  • A closed surface is required for the Divergence Theorem.
  • The Divergence Theorem is $$\iint_{\partial E} \mathbf{F}\cdot\mathbf{n}\,dS=\iiint_E \nabla\cdot\mathbf{F}\,dV.$$
  • Use the theorem when the surface integral is hard but the divergence is simple.
  • Positive divergence suggests outward source-like behavior; negative divergence suggests inward sink-like behavior.
  • Always check whether a problem asks for a pointwise quantity or a total quantity.
  • In review problems, connect the algebra to the geometry and the physical meaning.

Practice Quiz

5 questions to test your understanding

Divergence And Flux — Multivariable Calculus | A-Warded