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=ix+jy+kz

2. Gradient and Divergence

Definitions

Gradient of a scalar function f:RnR:

grad(f)=f=fx1,fx2,,fxn

Divergence of a vector field F:RnRn:

div(F)=F=F1x1+F2x2++Fnxn

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

In R3: F=F1x+F2y+F3z


3. Curl of a Vector Field

Definition

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

curl(F)=×F=F3yF2z, F1zF3x, F2xF1y

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

curl(F)=×F~=0, 0, F2xF1y

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ϵ)\oiintBϵFdS

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^Fdr

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=Bt Faraday's law
×B=μ0(J+ε0Et) 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:

2Et2=c22E

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==2x2+2y2+2z2

It appears in many fundamental PDEs: the diffusion equation Tt=α2T, the wave equation 2ut2=v22u, 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 DR3, 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=×GF=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+zdiv(F)=2, curl(F)=0,2x,0

(b) F(x,y)=sin(x),eyxdiv(F)=cos(x)+ey, curl(F)=0,0,1

(c) F(w,x,y,z)=ey,z,w,z2div(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+35=0)

(d) F=x2,3xy,x2z3xyz: Not solenoidal

Exercise 3 — Maxwell's equations

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

E=6x+(6x1)+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.