Lecture Notes 2
Lecture Notes 2
1 Introduction
In this lecture, we will cover the following topics:
1
2 Gauss’s Law, Differential Form
First, we will need to prove Gauss’s divergence theorem, namely, that:
˚ ‹
dV ∇ · D = D · dS (2.1)
V S
First, we assume that a volume V has been discretized1 into a sum of small
cuboids, where the i-th cuboid has a volume of ∆Vi as shown in Figure 1. Then
N
X
V ≈ ∆Vi (2.4)
i=1
Figure 1: The discretization of a volume V into sum of small volumes ∆Vi each
of which is a small cuboid. Stair-casing error occurs near the boundary of the
volume V but the error diminishes as ∆Vi → 0.
1 Other terms are “tesselated”, “meshed”, or “gridded”.
2
Figure 2: Fluxes from adjacent cuboids cancel each other leaving only the fluxes
at the boundary that remain uncancelled. Please imagine that there is a third
dimension of the cuboids in this picture where it comes out of the paper.
By summing the above over all the cuboids, or over i, one gets
X X‹ ‹
∆Vi ∇ · Di ≈ Di · dSi ≈ D · dS (2.6)
i i ∆S S
It is easily seen the the fluxes out of the inner surfaces of the cuboids cancel
each other, leaving only the fluxes flowing out of the cuboids at the edge of the
volume V as explained in Figure 2. The right-hand side of the above equation
(2.6) becomes a surface integral over the surface S except for the stair-casing
approximation (see Figure 1). Moreover, this approximation becomes increas-
ingly good as ∆Vi → 0, or that the left-hand side becomes a volume integral,
and we have
˚ ‹
dV∇ · D = D · dS (2.7)
V S
3
Figure 3: Figure to illustrate the calculation of fluxes from a small cuboid where
a corner of the cuboid is located at (x0 , y0 , z0 ). There is a third z dimension of
the cuboid not shown, and coming out of the paper. Hence, this cuboid, unlike
as shown in the figure, has six faces.
Accounting for the fluxes going through all the six faces, assigning the ap-
propriate signs in accordance with the fluxes leaving and entering the cuboid,
one arrives at
‹
D · dS ≈ −Dx (x0 , y0 , z0 )∆y∆z + Dx (x0 + ∆x, y0 , z0 xo )∆y∆z
∆S
−Dy (x0 , y0 , z0 )∆x∆z + Dy (x0 , y0 + ∆y, z0 )∆x∆z
−Dz (x0 , y0 , z0 )∆x∆y + Dz (x0 , y0 , z0 + ∆z)∆x∆y (2.8)
Factoring out the volume of the cuboid ∆V = ∆x∆y∆z in the above, one gets
‹
D · dS ≈ ∆V {[Dx (x0 + ∆x, . . .) − Dx (x0 , . . .)] /∆x
∆S
+ [Dy (. . . , y0 + ∆y, . . .) − Dy (. . . , y0 , . . .)] /∆y
+ [Dz (. . . , z0 + ∆z) − Dz (. . . , z0 )] /∆z} (2.9)
Or that
‚
D · dS ∂Dx ∂Dy ∂Dz
≈ + + (2.10)
∆V ∂x ∂y ∂z
In the limit when ∆V → 0, then
‚
D · dS ∂Dx ∂Dy ∂Dz
lim = + + =∇·D (2.11)
∆V →0 ∆V ∂x ∂y ∂z
4
where
∂ ∂ ∂
∇ = x̂ + ŷ + ẑ (2.12)
∂x ∂y ∂z
D = x̂Dx + ŷDy + ẑDz (2.13)
which is equivalent to
˚ ˚
dV ∇ · D = dV % (2.16)
V V
∇·D=% (2.17)
In such a scenerio, whatever flux that enters the surface S must leave it. In other
words, what comes in must go out of the volume V , or that flux is conserved.
This is true of incompressible fluid flow, electric flux flow in a source free region,
as well as magnetic flux flow, where the flux is conserved.
5
Figure 4: In an incompressible flux flow, flux is conserved: whatever flux that
enters a volume V must leave the volume V .
2.1 Example
If D = (2y 2 + z)ax + 4xyay + xaz , find:
1. Volume charge density ρv at (−1, 0, 3).
2. Electric flux through the cube defined by
0 ≤ x ≤ 1, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1.
3 Faraday’s Law
3.1 Integral Form
Faraday’s law is experimentally motivated. Michael Faraday (1791-1867) was an
extraordinary experimentalist who documented this law with meticulous care.
It was only decades later that a mathematical description of this law was arrived
at. In the static limit, it can be written as
˛
E · dl = 0 (3.1)
6
The above was the limiting case of the dynamic Faraday’s law that states that
˛ ¨
∂
E · dl = − B · dS (3.2)
C ∂t S
∂
In the static limit, one assumes that ∂t = 0 and the electrostatic version of the
law (3.1) follows. At this juncture, it will be prudent to derive Stokes’s theorem.
In the above, the contour C is a closed contour, whereas the surface S is not
closed.2
First, applying Stokes’s theorem to a small surface ∆S, we define a curl
operator ∇× at a point to be
˛
E · dl
∆C
∇ × E · n̂ = lim (3.4)
∆S→0 ∆S
2 In other words, C has no boundary whereas S has boundary. A closed surface S has no
7
Figure 5: In proving Stokes’s theorem, a closed contour C is assumed to enclose
an open surface S. Then the surface S is tessellated into sum of small rects
as shown. Stair-casing error vanishes in the limit when the rects are made
vanishingly small.
Next, we sum the above equation over i or over all the small rects to arrive at
X˛ X
Ei · dli = ∇ × Ei · ∆Si (3.6)
i ∆Ci i
Again, on the left-hand side of the above, all the contour integrals over the
small rects cancel each other internal to S save for those on the boundary. In
the limit when ∆Si → 0, the left-hand side becomes a contour integral over the
larger contour C, and the right-hand side becomes a surface integral over S.
One arrives at Stokes’s theorem, which is
˛ ¨
E · dl = (∇ × E) · dS (3.7)
C S
8
Figure 6: We approximate the integration over a small rect using this figure.
There are four edges to this small rect.
Next, we need to prove the details of definition (3.4). Performing the integral
over the small rect, one gets
˛
E · dl = Ex (x0 , y0 , z0 )∆x + Ey (x0 + ∆x, y0 , z0 )∆y
∆C
− Ex (x0 , y0 + ∆y, z0 )∆x − Ey (x0 , y0 , z0 )∆y
Ex (x0 , y0 , z0 ) Ex (x0 , y0 + ∆y, z0 )
= ∆x∆y −
∆y ∆y
Ey (x0 , y0 , z0 ) Ey (x0 , y0 + ∆y, z0 )
− +
∆x ∆x
(3.8)
9
Consequently, one gets
∂ ∂ ∂ ∂
∇ × E = x̂ Ez − Ey + ŷ Ex − Ez
∂y ∂z ∂z ∂x
∂ ∂
+ẑ Ey − Ex (3.12)
∂x ∂y
where
∂ ∂ ∂
∇ = x̂ + ŷ + ẑ (3.13)
∂x ∂y ∂z
∇×E=0 (3.14)
The curl operator ∇× is a measure of¸ the rotation or the circulation of a field
at a point in space. On the other hand, ∆C E · dl is a measure of the circulation
of the field E around the loop formed by C. Again, the curl operator has its
complicated representations in other coordinate systems, a subject that will not
be discussed in detail here.
It is to be noted that our proof of the Stokes’s theorem is for a flat open
surface S, and not for a general curved open surface. Since all curved surfaces
can be tessellated into a union of flat triangular surfaces, the generalization of
the above proof to curved surface is straightforward. An example of such a
triangulation of a curved surface into a union of triangular surfaces is shown in
Figure 7.
10
3.4 Example
ˆ
Suppose E = x̂3y + ŷx, calculate E · dl along a straight ine in the x − y plane
joining (0,0) to (3,1).
4 Constitutive Relations
The constitution relation between D and E in free space is
D = ε0 E (4.1)
When material medium is present, one has to add the contribution to D by the
polarization density P which is a dipole density.3 Then
D = ε0 E + P (4.2)
The second term above is the contribution to the electric flux due to the polar-
ization density of the medium. It is due to the little dipole contribution due to
the polar nature of the atoms or molecules that make up a medium.
By the same token, the first term ε0 E can be thought of as the polarization
density contribution of vacuum. Vacuum, though represents nothingness, has
electrons and positrons, or electron-positron pairs lurking in it. Electron is
matter, whereas positron is anti-matter. In the quiescent state, they represent
nothingness, but they can be polarized by an electric field E. That also explains
why electromagnetic wave can propagate through vacuum.
For linear media, P = ε0 χ0 E
D = ε0 E + ε0 χ0 E
= ε0 (1 + χ0 )E = εE (4.3)
In other words, for linear material media, one can replace the vacuum permit-
tivity ε0 with an effective permittivity ε.
In free space:
10−8
ε = ε0 = 8.854 × 10−12 ≈ F/m (4.4)
36π
D = ε0 E + ε0 χ0 · E
= ε0 (I + χ0 ) · E = ε · E (4.5)
3 Note that a dipole moment is given by Q` where Q is its charge in coulomb and ` is
11
In the above, ε is a 3 × 3 matrix also known as a tensor in electromagnetics.
The above implies that D and E do not necessary point in the same direction,
the meaning of anisotropy. A tensor is often associated with a physical notion,
whereas a matrix is not.
Similarly for conductive media,
J = σE, (4.6)
For anisotropic conductive media, one can have
J = σ · E, (4.7)
Here, again, due to the tensorial nature of the conductivity σ, the electric
current J and electric field E do not necessary point in the same direction.
5.1 Example
Fields of a sphere of uniform charge density ρ:
Assuming that Φ|r=∞ = 0, what is Φ at r ≤ a? And Φ at r > a?
4 One an easily go through the algebra to convince oneself of this.
12
6 Poisson’s and Laplace’s Equations
As a consequence of the above,
∇ · D = % ⇒ ∇ · εE = % ⇒ −∇ · ε∇Φ = % (6.1)
∇2 Φ =0 (6.3)
13
where δ(r−r0 ) is a short-hand notation for δ(x−x0 )δ(y −y 0 )δ(z −z 0 ). Therefore,
from (6.2), the corresponding partial differential equation for a point source is
qδ(r − r0 )
∇2 Φ(r) = − (6.7)
ε
The solution to the above equation has to be
q
Φ(r) = (6.8)
4πε|r − r0 |
where (6.5) is for a point source at the origin, but (6.8) is for a point source
located and translated to r0 .
The above is similar to Poisson’s equation with a point source on the right-hand
side as in (6.7). But such a solution, a response to a point source, is called the
Green’s function.6 By comparing equations (6.7) and (6.9), then making use of
(6.8), it is deduced that the Green’s function is
1
g(r − r0 ) = (6.10)
4π|r − r0 |
The above is just the statement that an arbitrary charge distribution %(r) can
be expressed as a linear superposition of point sources δ(r−r0 ). Using the above
in (6.2), we have
˚
1
2
∇ Φ(r) = − dV 0 %(r0 )δ(r − r0 ) (6.12)
ε V
We can let ˚
1
Φ(r) = dV 0 g(r − r0 )%(r0 ) (6.13)
ε V
By substituting the above into the left-hand side of (6.12), exchanging order of
integration and differentiation, and then making use of equation (6.2), it can
be shown that (6.13) indeed satisfies (6.5). The above is just a convolutional
6 George Green (1793-1841), the son of a Nottingham miller, was self-taught, but his work
14
integral. Hence, the potential Φ(r) due to an arbitrary source distribution %(r)
can be found by using convolution, namely,
˚
1 %(r0 )
Φ(r) = 0|
dV 0 (6.14)
4πε V |r − r
15
6.2 Example
A capacitor has two parallel plates attached to a battery, what is E field inside
the capacitor?
16