Lecture 3 Curl and Divergence

Lecture #3 — Curl and Divergence

Course: Calculus & Linear Algebra (TU Delft)
Reference: Stewart §16.5#


1. The Nabla Operator (∇)

The vector differential operator nabla (or del) is defined as:

∇=⟨∂∂x1,∂∂x2,…,∂∂xn⟩

In R3 this becomes:

∇=⟨∂∂x,∂∂y,∂∂z⟩=i∂∂x+j∂∂y+k∂∂z

2. Gradient and Divergence

Definitions

Gradient of a scalar function f:Rn→R:

grad(f)=∇f=⟨∂f∂x1,∂f∂x2,…,∂f∂xn⟩

Divergence of a vector field F:Rn→Rn:

div(F)=∇⋅F=∂F1∂x1+∂F2∂x2+⋯+∂Fn∂xn

Key distinction: ∇f is a vector field, while ∇⋅F is a scalar field.

In R3: ∇⋅F=∂F1∂x+∂F2∂y+∂F3∂z


3. Curl of a Vector Field

Definition

For a vector field F:R3→R3, the curl (or rotation) is:

curl(F)=∇×F=⟨∂F3∂y−∂F2∂z, ∂F1∂z−∂F3∂x, ∂F2∂x−∂F1∂y⟩

For 2D fields F=⟨F1,F2⟩ in R2, extend to 3D as F~=⟨F1,F2,0⟩. Then:

curl(F)=∇×F~=⟨0, 0, ∂F2∂x−∂F1∂y⟩

Note: curl(F) is always a vector field in R3.


4. Physical Interpretation

Divergence

The divergence measures net outward flux per unit volume at a point:

∇⋅F(P)=limϵ→0+1Vol(Bϵ)\oiint∂BϵF⋅dS

Curl

The curl measures circulation per unit area at a point. Projecting onto a direction n^ gives:

(∇×F(P))⋅n^=limϵ→0+1Area(Sn^(ϵ))∮∂Sn^F⋅dr

The direction of curl(F) is given by the right-hand rule: curl your right hand's fingers in the rotation direction — your thumb points in the direction of curl(F).


5. Application: Maxwell's Equations

Equation Name
∇⋅E=ρε0 Gauss' law for electricity
∇⋅B=0 Gauss' law for magnetism
∇×E=−∂B∂t Faraday's law
∇×B=μ0(J+ε0∂E∂t) Ampère's law

Physical insight: In a vacuum (ρ=0, J=0), using the identity μ0ε0=1c2, Maxwell's equations yield the wave equation:

∂2E∂t2=c2∇2E

This shows that light is an electromagnetic wave.

Note: Maxwell's equations do not need to be memorized for this course.


6. Second-Order Derivatives

The Laplacian

The Laplace operator (Laplacian) is:

∇2=∇⋅∇=∂2∂x2+∂2∂y2+∂2∂z2

It appears in many fundamental PDEs: the diffusion equation ∂T∂t=α∇2T, the wave equation ∂2u∂t2=v2∇2u, and Laplace's equation ∇2u=0.

Key Identities

For a smooth scalar field f and vector field F:

Identity Meaning
∇⋅(∇f)=∇2f Divergence of a gradient is the Laplacian
∇⋅(∇×F)=0 Curl is always solenoidal
∇×(∇f)=0 Gradient is always irrotational
∇×(∇×F)=∇(∇⋅F)−∇2F Vector Laplacian identity

These identities don't need to be memorized, but you should be able to apply them.


7. Irrotational and Solenoidal Vector Fields

Definitions

  • A vector field F is irrotational if ∇×F=0
  • A vector field F is solenoidal if ∇⋅F=0

Irrotational Fields and Conservative Fields

Every conservative field is irrotational:

F=∇ϕ⟹∇×F=0

On an open, simply-connected region D⊂R3, the converse also holds:

F=∇ϕ⟺∇×F=0

Watch out: An irrotational field on a non-simply-connected domain (e.g., R3 minus a line) is not necessarily conservative. In such cases the field is irrotational but not conservative.

Solenoidal Fields and Vector Potentials

The curl of any vector field is solenoidal:

F=∇×G⟹∇⋅F=0

The field G is called a vector potential for F. The magnetic field B (with ∇⋅B=0) is the classical example.


8. Summary Table

Property Condition Consequence
Conservative F=∇ϕ Path-independent line integrals
Irrotational ∇×F=0 No local rotation/circulation
Solenoidal ∇⋅F=0 No net outward flux (no sources/sinks)

9. Practice Problems

Exercise 1 — Compute div and curl

(a) F(x,y,z)=⟨3x,−2y,x2+z⟩ → div(F)=2, curl(F)=⟨0,−2x,0⟩

(b) F(x,y)=⟨sin⁡(x),ey−x⟩ → div(F)=cos⁡(x)+ey, curl(F)=⟨0,0,−1⟩

(c) F(w,x,y,z)=⟨ey,z,w,z2⟩ → div(F)=2z, curl is undefined (4D field)

Exercise 2 — Irrotational or Solenoidal?

(a) F=⟨x,y,z⟩: Irrotational ✓ (curl = 0)

(b) F=⟨yz,x2y,3z⟩: Not irrotational ✗

(c) F=⟨2x,3y,−5z⟩: Solenoidal ✓ (div = 2+3−5=0)

(d) F=⟨x2,3xy,−x2z−3xyz⟩: Not solenoidal ✗

Exercise 3 — Maxwell's equations

If E(x,y,z)=⟨3x2,6xy−y,xyz2⟩, what is the charge density ρ at (0,1,2)?

∇⋅E=6x+(6x−1)+2xyz=ρε0

At (0,1,2): ∇⋅E=0+(−1)+0=−1, so ρ=−ε0


10. What's Next

Lecture 4: Stokes' theorem (Stewart §16.8)

Stokes' theorem relates the flux of curl(F) through a surface to the line integral of F around its boundary — a beautiful generalization connecting curl, surfaces, and line integrals.