PHY 315 · Electricity and Magnetism I
Our notes
2 min readThe del operator
∇ = x̂ ∂/∂x + ŷ ∂/∂y + ẑ ∂/∂z (Cartesian). It acts in three ways:
Gradient (on a scalar)
∇V points in the direction of fastest increase of V; its size is the rate of increase. In electrostatics E = −∇V.
Example: V = 3x²y. ∇V = (6xy, 3x², 0). At (1, 2, 0): ∇V = (12, 3, 0).
Divergence (on a vector)
∇·A = ∂Aₓ/∂x + ∂Aᵧ/∂y + ∂A_z/∂z. Measures how much a field spreads out from a point (a source).
Example: A = (x², yz, z): ∇·A = 2x + z + 1.
Curl (on a vector)
∇×A measures circulation (swirl) about a point. In components:
(∂A_z/∂y − ∂Aᵧ/∂z, ∂Aₓ/∂z − ∂A_z/∂x, ∂Aᵧ/∂x − ∂Aₓ/∂y).
Example: A = (−y, x, 0): ∇×A = (0, 0, 1 − (−1)) = (0, 0, 2): a uniform swirl.
The Laplacian
∇²V = ∇·∇V = ∂²V/∂x² + ∂²V/∂y² + ∂²V/∂z².
Two identities used all the time
- ∇×(∇V) = 0: the curl of a gradient is zero. So a field with zero curl can be written as a gradient (electrostatics).
- ∇·(∇×A) = 0: the divergence of a curl is zero. So a field with zero divergence can be written as a curl (magnetism: B = ∇×A).
The fundamental theorems
- Gradient theorem: ∫ₐᵇ ∇V·dl = V(b) − V(a).
- Divergence (Gauss) theorem: ∮ A·da over a closed surface = ∫ (∇·A) dτ over the volume inside. "Flux out = total source inside."
- Stokes' theorem: ∮ A·dl round a loop = ∫ (∇×A)·da over a surface bounded by the loop.
Check of the divergence theorem: A = (x, y, z) over a cube 0 ≤ x, y, z ≤ 1. ∇·A = 3, so the volume integral = 3 × 1 = 3. Flux: only the three faces at x = 1, y = 1, z = 1 contribute (A·n = 1 on each, area 1), total = 3. ✓
Other coordinates
In spherical coordinates (r, θ, φ), for a field depending only on r: ∇·A = (1/r²) d(r²A_r)/dr and ∇²V = (1/r²) d/dr(r² dV/dr). In cylindrical (s, φ, z): ∇·A = (1/s) d(sA_s)/ds for radial fields. Keep a formula sheet: exams usually give the full forms.
Exams usually ask
- Compute grad, div and curl of given fields.
- Verify the divergence or Stokes theorem for a simple field and region.
- Prove ∇×∇V = 0.
Common mistake
Using Cartesian formulas in spherical coordinates. ∇·(r̂/r²) is zero everywhere except at the origin; the Cartesian-looking calculation in the wrong coordinates gives nonsense.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
David Tong, Lectures on Vector Calculus (Cambridge)
(opens davidtong.org in a new tab)
-
Vector calculus
(opens en.wikipedia.org in a new tab)
Wikipedia, Vector calculus, CC BY-SA 4.0 · licence
-
Divergence theorem
(opens en.wikipedia.org in a new tab)
Wikipedia, Divergence theorem, CC BY-SA 4.0 · licence
-
NOUN MTH 303: Vectors and Tensors Analysis
NOUN course book (PDF, about 0.4 MB). Grad, div, curl and the integral theorems.
(opens nou.edu.ng in a new tab)
Watch
-
Best pick Div, Grad, and Curl: Vector Calculus Building Blocks for PDEs [Divergence, Gradient, and Curl]
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
A unified view of Vector Calculus (Stoke's Theorem, Divergence Theorem & Green's Theorem)
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Vector Calculus for Electromagnetism 1 : Vector Components
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
-
Line, Surface and Volume Integrals of Vector Fields | Electromagnetic Theory
31 min · ≈ 140 MB · about ₦79
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.