Vector Calculus and Differential Forms With Applications To Electromagnetism
Vector Calculus and Differential Forms With Applications To Electromagnetism
Vector Calculus and Differential Forms With Applications To Electromagnetism
Sean Roberson
May 7, 2015
P R E FA C E
2
ACKNOWLEDGEMENTS
3
1
F U N D A M E N TA L D I F F E R E N T I A L O P E R AT O R S
1.1 gradient
g grad f − f grad g
f
grad = ,
g g2
similar to the product and quotient rules familiar in single variable
calculus.
4
1.2 divergence
1.2 divergence
∂F j
div F := ∑ ∂x j
.
1≤ j ≤ n
f div G − G · grad f
G
div = .
f f2
Another differential operator can be built from the divergence op-
erator. The Laplacian is a differential operator that returns a sum of
second derivatives. It it defined as
∇2 : = ∇ · ∇,
or, when acting on a function f ,
∇2 f = div grad f
= ∇ · ∇f
∂2 f
= ∑ 2
.
1≤ j≤n ∂x j
∂2 u
= c2 ∇2 u,
∂t2
the diffusion equation
∂u
= k∇2 u,
∂t
and the Laplace equation ∇2 u = 0. It is important to note that the
Laplacian operator acts on spatial variables such as x, y, z and not the
time variable t (Strauss, 14).
5
1.3 curl
1.3 curl
f curl G − G × (grad f )
G
curl = .
f f2
We also have two important results regarding the curl.
Proof. By definition,
∂2 f ∂2 f
−
∂y∂z ∂z∂y
∂2 f ∂2 f
curl grad f = ∂x∂z − ∂z∂x
∂2 f ∂2 f
∂x∂y − ∂y∂x
=0
Proof. By definition,
∂F ∂F2
T ∂y
3
− ∂z
∂ ∂ ∂ ∂F3 ∂F1
div curl F = ∂x ∂y ∂z ∂x − ∂z
∂F2 ∂F1
∂x − ∂y
∂2 F3 ∂2 F2 ∂2 F2 2 ∂2 F1
∂ F1 ∂2 F3
= − + − + −
∂x∂y ∂x∂z ∂y∂z ∂y∂x ∂z∂x ∂z∂y
= 0,
6
1.3 curl
There are many other product rules for vector derivatives. Griffiths
gives the following three product rules utilizing both the inner and
cross products:
7
2
C L A S S I C A L T H E O R E M S A N D R E S U LT S
As with any branch of mathematics, vector calculus has its own set of
classic results. The theorems here are presented in the order in which
they appear in James Stewart’s Calculus: Early Transcendentals.
The Fundamental Theorem for Line Integrals, also called the Gradi-
ent Theorem by David Griffiths gives a way to evaluate special line
integrals (p. 29). In order to understand the theorem, we must first
define a conservative vector field and a potential function.
8
2.1 fundamental theorem for line integrals
∂M ∂N
= ,
∂y ∂x
provided that M and N are differentiable on R.
The proof for the necessity is given in Zill, while the proof of the
sufficiency outlines the method of solution to an exact differential
equation (p. 64). To solve such an equation, one of the functions M
or N is selected and then integrated with respect to their “attached”
variable - that is, integrate M with respect to x, and N with respect
to y. Afterwards, differentiate with respect to the remaining variable
and then solve for f ( x, y). This procedure is similar to finding a po-
tential function for a conservative vector field.
∂P ∂Q
= .
∂y ∂x
The converse holds on an open, simply-connected region - a region
whose boundary curve does not intersect itself and is convex.
P dx + Q dy = 0.
We are now ready to state the Fundamental Theorem of Line Inte-
grals.
R
Theorem 6 (Path Independence Theorem). The integral F · dr is
R C
path independent on a domain D iff F · dr = 0 for each closed path
C
C ⊂ D.
9
2.2 green’s theorem
The following result is due to George Green. It relates the line integral
of a function over a closed curved to an associated double integral
taken over the interior of the curve.
10
2.2 green’s theorem
∂ f gx ∂ f gy ∂ f gz
∇ · ( f ∇ g) = + +
∂x ∂y ∂z
= f gxx + f x gx + f gyy + f y gy + f gzz + f z gz
= f ∇2 g + ∇ f · ∇ g.
I ZZ
f ∇ g · n ds = ∇ · ( f ∇ g) dA
∂D
D
ZZ
= f ∇2 g + ∇ f · ∇ g dA.
D
Proof. Apply the First Identity to the integral on the left, separating
the integrand. Then the only term that remains is the line integral.
∇2 f = 0,
then the following theorem holds.
11
2.3 stokes’ theorem
12
2.4 gauss’ divergence theorem
13
3
DIFFERENTIAL FORMS
3.1 forms
2. Forms are normalizing. That is, when a form acts on the stan-
dard basis vectors, it returns 1.
Notice that the properties of forms are similar to those for determi-
nants. Thus the determinant is an example of a form on Rn .
A form is classified by the number of vectors it acts on and the
vector space it lives in. For example, a 2-form on R3 can look like
2x + y − z dx ∧ dz, and a 3-form on R6 can look like x1 x2 dx2 ∧ dx5 ∧
dx6 . The wedges determine how to act on the vectors provided (the
example forms given above do not have specific vectors). For now,
we can focus on the wedge product and not the function at the front
of the product. To see this, suppose ϕ is a k-form on Rn . In particular,
let ϕ = dxi1 ∧ dxi2 ∧ . . . ∧ dxik , and let v1 , . . . , vk be a set of vectors in
Rn . Build the matrix A whose columns are each v j . Then ϕ takes, in
succession, each row i1 , i2 , . . . ik from A, builds a new matrix B, then
takes the determinant of B. Notice that if im = in , then ϕ returns the
value zero.
14
3.2 forms and integrals
Z Z
x dy = (2 cos t) d(2 sin t)
C [0, π2 ]
Z 2
= 4 cos2 t dt
0
=π
15
3.3 the exterior derivative
and hence det B = 3v2 . The last step is to write the integral as an
ordinary double integral, making appropriate choices for the limits
of integration (the limits are given in the constraint for S). So,
Z Z 1 Z 1
x dy ∧ dz = 3u2 v2 du dv
[γ(S)] −1 −1
Z 1
2
2
=3 w dw
−1
2
= 3·
3
= 2.
1
Z
dϕ( Px (v1 , . . . , vk+1 )) = lim ϕ,
h →0 h k +1 ∂Px (hv1 ,...,hvk+1 )
16
3.3 the exterior derivative
f ( x + h) − f ( x )
f 0 ( x ) = lim .
h →0 h
∂f
df = ∑ ∂x j
dx j
1≤ j ≤ n
!
= df ∧
V V
4. If f is a function, then d f dxi j dxi j .
1≤ j ≤ k 1≤ j ≤ k
To see how the exterior derivative works, first consider the function
of two variables f ( x, y) = 3 ln xy − 2 sinh x. Then by the third rule,
d f = d f , that is,
∂ ∂
df = (3 ln xy − 2 sinh x ) dx + (3 ln xy − 2 sinh x ) dy
∂x ∂y
3 3
= − 2 cosh x dx + dy.
x y
dϕ = d(2xz2 ) ∧ dx ∧ dy − d(3x3 ) ∧ dy ∧ dz
= (2z2 dx + 4xz dz) ∧ dx ∧ dy − 9x2 dx ∧ dy ∧ dz
= 2z2 dx ∧ dx ∧ dy + 4xz dz ∧ dx ∧ dy − 9x2 dx ∧ dy ∧ dz
= 4xz dx ∧ dy ∧ dz − 9x2 dx ∧ dy ∧ dz
= (4xz − 9x2 ) dx ∧ dy ∧ dz.
17
3.4 some basic forms: work, flux, and mass
!
∂f
d(dϕ) = d ∑ ∂x j dx j
1≤ j ≤ n
∂f
= ∑ d dx j
1≤ j ≤ n
∂x j
∂f
= ∑ d ∧ dx j
1≤ j ≤ n
∂x j
2
∂ f
= ∑ dx j ∧ dxi
1≤i,j≤n
∂xi ∂x j
= 0.
There are three kinds of forms that will characterize the integral the-
orems. They come from their interpretations in physics and engineer-
ing. Also covered in Hubbard and Hubbard is a 0-form field, which
is simply a function that returns a real number.
3.4.1 Work
WF := ∑ Fj dx j .
1≤ j ≤ n
18
3.4 some basic forms: work, flux, and mass
3.4.2 Flux
F1 dx ∧ dy − F2 dx ∧ dz + F3 dy ∧ dz.
19
3.5 integral theorems in the language of forms
3.4.3 Mass
The last form that will be used in the integral theorems is the mass
form.
M f := f dx ∧ dy ∧ dz.
The mass form is measured in mass per unit volume, or in the case
of electrostatics, charge per unit volume.
3.4.4 Derivatives
1. d f = W∇F
2. dWF = Φ∇×F
3. dΦF = M∇·F
All the classical results in vector calculus can be cast in the language
of forms. In particular, the integral theorems can be expressed us-
ing forms, usually in a more concise manner. The results presented
here are given in the order in which they appear in Hubbard’s Vector
Calculus, Linear Algebra, and Differential Forms.
20
3.5 integral theorems in the language of forms
Stokes’ Theorem says that the integral of a form taken over the
boundary of a manifold is equal to the integral of the exterior deriva-
tive of the form taken over the manifold. Compare this to the one-
variable Fundamental Theorem of Calculus:
Z b
f ( x ) dx = F (b) − F ( a)
a
where the right side is an “integral” over the boundary of the inter-
val [ a, b]: a 1-dimensional manifold in R. A general proof of Stokes’
Theorem is difficult to write: Hubbard and Hubbard give an infor-
mal proof that relies on estimating the integral using parallelograms
in n dimensions; a much more generalized proof is outlined in the
appendix of their text. Their generalized proof requires a solid foun-
dation in real analysis, linear algebra, and the theory of calculus on
manifolds.
We now express the Gradient Theorem without using the word “gra-
dient.”
21
3.5 integral theorems in the language of forms
Z
d f = f (γ(b)) − f (γ( a)).
C
22
3.5 integral theorems in the language of forms
23
4
M A X W E L L’ S E Q U AT I O N S
F
E= ,
q0
where F is the force the test charge experiences in Newtons and q0 is
the charge in coulombs (Serway, 688).
The second vector field is the magnetic field B. To define this field,
it is useful to examine the force exerted by this field. Suppose a
charge q moves with velocity v in a magnetic field B. Then the force
in this magnetic field can be described by the Lorentz force law:
F = qv × B
24
4.1 the maxwell equations - traditional forms
1 ∂B
− = curl E
c ∂t
∇·B =0
1 ∂E 4πJ
= curl B −
c ∂t c
∇·E = 4πρ
Some texts, such as Serway’s Physics for Scientists and Engineers also
give integral representations for Maxwell’s equations. The integrals
can be checked for validity using both Stokes’ and Gauss’ theorems
in the appropriate contexts.
It is easy to obtain an integral representation for the second equa-
tion. Taking a triple integral on both sides and applying the diver-
gence theorem backwards gives a surface integral of the magnetic
field equal to zero.
For the fourth equation, the divergence theorem produces a surface
integral of the electric field on the left side and a triple integral of the
charge density on the right. But the integral of a density function
gives the total amount of the measurement - in this case, charge. So,
ZZ
E · dS = 4πq,
σ
25
4.2 differential forms and maxwell’s equations
q
or in SI units, e0 .
The curl equations are slightly more difficult to obtain an integral
representation for. First, consider the integral
I
E · dr
C
I ZZ
E · dr = curl E · dS
C σ
1 ∂B
ZZ
= − · dS
c ∂t
σ
1 d
ZZ
=− B · dS
c dt
σ
where the last equality follows from differentiation under the integral
sign. As a result, we have that the work done by the electric field
along a closed curve C is proportional to the time derivative of the
flux of B through the surface S bounded by C.
To obtain an integral form for the remaining equation, begin with
the line integral of B over some closed curve C. Again, under appro-
priate conditions, the following holds:
I ZZ
B · dr = curl B · dS
C σ
1 ∂E 4πJ
ZZ
= + · dS
c ∂t c
σ
1 d 16π 2 I
ZZ
=− B · dS +
c2 dt c2
σ
26
4.2 differential forms and maxwell’s equations
Begin with the Faraday form F and take its exterior derivative.
dF = Φ∇×E ∧ c dt + dΦB
= Φ∇×E ∧ c dt + M∇·B + Φ 1 ∂B ∧ c dt
c ∂t
= Φ∇×E+ 1 ∂B ∧ c dt + Mdiv B
c ∂t
=0
Each equality used either the derivatives of the basic forms or the
partial differential equations from Maxwell. Thus, for two equations,
we have the compact formulation dF = 0.
dM = Φ∇×B ∧ c dt − M∇·E − Φ 1 ∂E ∧ c dt
c ∂t
= 4π Φ J ∧ c dt − Mρ
c
= 4πJ
27
4.2 differential forms and maxwell’s equations
references
Fleisch, D. (2008). A Student’s Guide to Maxwell’s Equations.
Cambridge University Press.
Serway, R. A., & John W. Jewett, J. (2008). Physics for Scientists and
Engineers with Modern Physics (7th ed.). Brooks/Cole.
28