5. Vector Calculus

Divergence And Curl

Introduces divergence and curl as local measures of source/sink behavior and rotation.

Divergence and Curl in Calculus 3

Welcome, students! 🌟 Today’s lesson dives into two essential concepts in vector calculus: divergence and curl. These tools help us understand how vector fields behave—how they flow, spread, or rotate. By the end of this lesson, you’ll be able to:

  • Define and compute the divergence of a vector field.
  • Define and compute the curl of a vector field.
  • Understand the physical interpretations of divergence and curl.
  • Apply these concepts to solve real-world problems in physics and engineering.

Let’s get started and uncover the hidden “secrets” of vector fields!

What Is a Vector Field?

Before we jump into divergence and curl, let’s quickly review what a vector field is. A vector field assigns a vector to every point in space. Think of the wind: at each location, the wind has a certain speed and direction. We can represent that with a vector.

Mathematically, a vector field in three dimensions is usually written as:

$$\mathbf{F}(x, y, z) = \langle F_1(x, y, z), F_2(x, y, z), F_3(x, y, z) \rangle$$

where $F_1$, $F_2$, and $F_3$ are functions that describe the components of the vector field in the $x$, $y$, and $z$ directions.

Let’s imagine a simple vector field:

$$\mathbf{F}(x, y, z) = \langle x, y, z \rangle$$

At the point $(1, 1, 1)$, the vector is $\langle 1, 1, 1 \rangle$. At $(2, 0, -1)$, the vector is $\langle 2, 0, -1 \rangle$, and so forth. This field looks like a set of arrows pointing outward from the origin.

Understanding Divergence: The Measure of “Spreading”

Definition of Divergence

Divergence tells us how much a vector field spreads out from a point. It measures the “source” or “sink” behavior of the field. If the vectors are radiating outward, like water flowing out of a sprinkler, we say the divergence is positive. If they’re converging inward, like water flowing into a drain, the divergence is negative.

Mathematically, the divergence of a vector field $\mathbf{F}(x, y, z) = \langle F_1, F_2, F_3 \rangle$ is defined as the dot product of the del operator $\nabla$ with the vector field:

$$\text{div} \ \mathbf{F} = \nabla \cdot \mathbf{F} = \frac{\partial F_1}{\partial x} + \frac{\partial F_2}{\partial y} + \frac{\partial F_3}{\partial z}$$

A Simple Example

Let’s compute the divergence of our example vector field $\mathbf{F}(x, y, z) = \langle x, y, z \rangle$.

We take the partial derivatives:

  • $\frac{\partial F_1}{\partial x} = \frac{\partial x}{\partial x} = 1$
  • $\frac{\partial F_2}{\partial y} = \frac{\partial y}{\partial y} = 1$
  • $\frac{\partial F_3}{\partial z} = \frac{\partial z}{\partial z} = 1$

So the divergence is:

$$\text{div} \ \mathbf{F} = 1 + 1 + 1 = 3$$

This means that at every point in space, the vector field is spreading out with a divergence of 3. It’s as if the field is an expanding balloon, with vectors pushing outward in all directions.

Physical Interpretation of Divergence

Divergence has a strong physical meaning. In fluid dynamics, the divergence of a velocity field tells us if fluid is accumulating (negative divergence) or spreading out (positive divergence). In electromagnetism, the divergence of the electric field relates to the presence of electric charge (Gauss’s Law).

Here’s a fun fact: if a vector field has zero divergence everywhere, it’s called incompressible. This means that no fluid is being created or destroyed—it’s just flowing around like an ideal, incompressible liquid.

Real-World Example: Divergence in Weather Patterns

Imagine a weather map showing wind patterns. If you see air moving outward from a region, that’s a high-pressure zone—air is diverging. If air is converging into a region, that’s a low-pressure zone. Meteorologists use divergence to understand air circulation and predict weather systems.

Understanding Curl: The Measure of Rotation

Definition of Curl

Curl measures how much a vector field “rotates” around a point. It captures the twisting, swirling motion of the field. If you think of a whirlpool or a tornado, curl is the mathematical way to describe that spinning behavior.

The curl of a vector field $\mathbf{F}(x, y, z) = \langle F_1, F_2, F_3 \rangle$ is defined as the cross product of the del operator $\nabla$ with the vector field:

$$\text{curl} \ \mathbf{F} = \nabla \times \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\ F_1 & F_2 & F_3 \end{vmatrix}$$

This determinant expands to:

$$\text{curl} \ \mathbf{F} = \left( \frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z} \right) \mathbf{i} - \left( \frac{\partial F_3}{\partial x} - \frac{\partial F_1}{\partial z} \right) \mathbf{j} + \left( \frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y} \right) \mathbf{k}$$

A Simple Example

Let’s compute the curl of the vector field $\mathbf{G}(x, y, z) = \langle -y, x, 0 \rangle$.

We’ll calculate each component:

  • $\frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z} = \frac{\partial 0}{\partial y} - \frac{\partial x}{\partial z} = 0 - 0 = 0$ (the $\mathbf{i}$ component)
  • $\frac{\partial F_3}{\partial x} - \frac{\partial F_1}{\partial z} = \frac{\partial 0}{\partial x} - \frac{\partial (-y)}{\partial z} = 0 - 0 = 0$ (the $\mathbf{j}$ component)
  • $\frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y} = \frac{\partial x}{\partial x} - \frac{\partial (-y)}{\partial y} = 1 - (-1) = 2$ (the $\mathbf{k}$ component)

So the curl is:

$$\text{curl} \ \mathbf{G} = \langle 0, 0, 2 \rangle$$

This tells us that the field is rotating around the $z$-axis, like a spinning top. The magnitude of the curl is 2, indicating the strength of that rotation.

Physical Interpretation of Curl

In fluid mechanics, the curl of the velocity field is called the vorticity. It describes the local spinning motion of the fluid. Large curl values mean there’s a lot of swirling or turbulence. In electromagnetism, the curl of the magnetic field is tied to the electric current (Ampère’s Law).

Real-World Example: Curl in Ocean Currents

In oceanography, scientists study the curl of ocean currents to understand eddies—circular currents of water. Eddies can trap nutrients, affect marine life, and influence weather patterns. By analyzing the curl of the ocean’s velocity field, researchers can track these swirling phenomena.

The Divergence and Curl of Common Vector Fields

Constant and Linear Fields

Consider a constant vector field, like $\mathbf{H}(x, y, z) = \langle 1, 1, 1 \rangle$. The divergence is:

$$\text{div} \ \mathbf{H} = \frac{\partial 1}{\partial x} + \frac{\partial 1}{\partial y} + \frac{\partial 1}{\partial z} = 0 + 0 + 0 = 0$$

And the curl is:

$$\text{curl} \ \mathbf{H} = \langle 0, 0, 0 \rangle$$

This makes sense—nothing is spreading or rotating in a uniform field. It’s like a steady breeze blowing in the same direction everywhere: no swirls, no sources, no sinks.

Radial Fields

Now let’s revisit the radial field $\mathbf{F}(x, y, z) = \langle x, y, z \rangle$. We already found that its divergence is 3. What about its curl?

We compute:

  • $\frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z} = \frac{\partial z}{\partial y} - \frac{\partial y}{\partial z} = 0 - 0 = 0$
  • $\frac{\partial F_3}{\partial x} - \frac{\partial F_1}{\partial z} = \frac{\partial z}{\partial x} - \frac{\partial x}{\partial z} = 0 - 0 = 0$
  • $\frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y} = \frac{\partial y}{\partial x} - \frac{\partial x}{\partial y} = 0 - 0 = 0$

So the curl is zero. This means that while the field spreads out from the origin, it doesn’t swirl or rotate. It’s like water flowing outward from a fountain—no twisting motion.

Rotational Fields

Let’s look at a purely rotational field: $\mathbf{J}(x, y, z) = \langle -y, x, 0 \rangle$.

We’ve already computed its curl: $\langle 0, 0, 2 \rangle$. What about its divergence?

$$\text{div} \ \mathbf{J} = \frac{\partial (-y)}{\partial x} + \frac{\partial x}{\partial y} + \frac{\partial 0}{\partial z} = 0 + 0 + 0 = 0$$

This field rotates around the $z$-axis, but it doesn’t spread out or converge. It’s like a merry-go-round spinning steadily—no sources or sinks, just rotation.

Fun Fact: Irrotational and Solenoidal Fields

A field with zero curl everywhere is called irrotational. A field with zero divergence everywhere is called solenoidal. Many physical fields have these properties. For example, the electric field generated by a static charge distribution is irrotational, and the magnetic field generated by a steady current is solenoidal.

Divergence and Curl in Maxwell’s Equations

Divergence and curl play a huge role in electromagnetism. Maxwell’s equations, which describe how electric and magnetic fields behave, use both concepts.

Here are two of Maxwell’s equations that involve divergence and curl:

  1. Gauss’s Law for Electricity:

$$\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$$

This relates the divergence of the electric field $\mathbf{E}$ to the charge density $\rho$.

  1. Ampère’s Law (with Maxwell’s correction):

$$\nabla \times \mathbf{B} = \mu_0 \mathbf{J} + \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}$$

This relates the curl of the magnetic field $\mathbf{B}$ to the electric current density $\mathbf{J}$ and the time rate of change of the electric field.

These equations show how divergence and curl help us understand the fundamental forces of nature.

Conclusion

Divergence and curl are two powerful tools that let us peek inside vector fields and see their hidden patterns. Divergence tells us how much a field spreads out or converges, while curl reveals how much it rotates. These concepts have deep connections to real-world phenomena, from weather systems to ocean currents to electromagnetism.

By mastering divergence and curl, you’re gaining insights into the invisible forces that shape our world. Keep practicing, students, and soon you’ll be able to apply these ideas to solve complex problems in physics, engineering, and beyond! 🚀

Study Notes

  • A vector field $\mathbf{F}(x, y, z) = \langle F_1, F_2, F_3 \rangle$ assigns a vector to every point in space.
  • Divergence measures how much a vector field spreads out or converges:

$$\text{div} \ \mathbf{F} = \frac{\partial F_1}{\partial x} + \frac{\partial F_2}{\partial y} + \frac{\partial F_3}{\partial z}$$

  • Physical interpretation of divergence:
  • Positive divergence: field is spreading out (like water from a sprinkler).
  • Negative divergence: field is converging (like water into a drain).
  • Zero divergence: field is incompressible (no net creation or destruction of fluid).
  • Curl measures the rotation or swirling of a vector field:

$$\text{curl} \ \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\ F_1 & F_2 & F_3 \end{vmatrix}$$

  • Expanded form of curl:

$$\text{curl} \ \mathbf{F} = \left( \frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z} \right) \mathbf{i} - \left( \frac{\partial F_3}{\partial x} - \frac{\partial F_1}{\partial z} \right) \mathbf{j} + \left( \frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y} \right) \mathbf{k}$$

  • Physical interpretation of curl:
  • Zero curl: the field doesn’t rotate (irrotational field).
  • Non-zero curl: the field has rotation (vorticity in fluids, or magnetic fields around currents).
  • Real-world examples:
  • Divergence in weather systems: high-pressure (divergence) and low-pressure (convergence) zones.
  • Curl in ocean currents: eddies and vortices in the ocean’s flow.
  • Special terms:
  • Irrotational field: a field with zero curl everywhere.
  • Solenoidal field: a field with zero divergence everywhere.
  • Key connections in physics:
  • Gauss’s Law: $\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$
  • Ampère’s Law: $\nabla \times \mathbf{B} = \mu_0 \mathbf{J} + \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}$

Keep these notes handy, students, and you’ll have a solid grasp of divergence and curl to tackle more advanced topics! 🌟

Practice Quiz

5 questions to test your understanding