Docsity

Electromagnetism Review Sheet, Exercises of Electromagnetism and Electromagnetic Fields Theory

Toggle sidebar
bg1
Electromagnetism Review Sheet
Michael Li
May 20, 2016
Electromagnetism and Relativity
Review of Special Relativity; tensors and index notation. Lorentz force law. Electromagnetic
tensor. Lorentz transformations of electric and magnetic fields. Currents and the conservation
of charge. Maxwell equations in relativistic and non-relativistic forms. [5]
Electrostatics
Gauss’s law. Application to spherically symmetric and cylindrically symmetric charge distri-
butions. Point, line and surface charges. Electrostatic potentials; general charge distributions,
dipoles. Electrostatic energy. Conductors. [3]
Magnetostatics
Magnetic fields due to steady currents. Ampre’s law. Simple examples. Vector potentials and
the Biot-Savart law for general current distributions. Magnetic dipoles. Lorentz force on current
distributions and force between current-carrying wires. Ohm’s law. [3]
Electrodynamics
Faraday’s law of induction for fixed and moving circuits. Electromagnetic energy and Poynting
vector. 4-vector potential, gauge transformations. Plane electromagnetic waves in vacuum,
polarization. [5]
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download Electromagnetism Review Sheet and more Exercises Electromagnetism and Electromagnetic Fields Theory in PDF only on Docsity!

Electromagnetism Review Sheet

Michael Li

May 20, 2016

Electromagnetism and Relativity Review of Special Relativity; tensors and index notation. Lorentz force law. Electromagnetic tensor. Lorentz transformations of electric and magnetic fields. Currents and the conservation of charge. Maxwell equations in relativistic and non-relativistic forms. [5]

Electrostatics Gauss’s law. Application to spherically symmetric and cylindrically symmetric charge distri- butions. Point, line and surface charges. Electrostatic potentials; general charge distributions, dipoles. Electrostatic energy. Conductors. [3]

Magnetostatics Magnetic fields due to steady currents. Ampre’s law. Simple examples. Vector potentials and the Biot-Savart law for general current distributions. Magnetic dipoles. Lorentz force on current distributions and force between current-carrying wires. Ohm’s law. [3]

Electrodynamics Faraday’s law of induction for fixed and moving circuits. Electromagnetic energy and Poynting vector. 4-vector potential, gauge transformations. Plane electromagnetic waves in vacuum, polarization. [5]

Contents

  • Contents
  • 1 Introduction
  • 2 Electrostatics
    • 2.1 Gauss’ Law
    • 2.2 Electrostatic Potential
    • 2.3 Field Lines and Equipotentials
    • 2.4 Electrostatic Energy
    • 2.5 Conductors, or the Image Charge Method
  • 3 Magnetostatics
    • 3.1 Ampere’s Law
    • 3.2 Vector Potential
    • 3.3 Magnetic Dipoles
    • 3.4 Magnetic Force Examples
  • 4 Electrodynamics
    • 4.1 Induction
    • 4.2 Magnetostatic Energy
    • 4.3 Resistance
    • 4.4 Displacement Currents
    • 4.5 EM Waves. Let there be light!T M
    • 4.6 Poynting Vector
  • 5 Electromagnetism and Relativity
    • 5.1 Vectors and Covectors
      • 5.1.1 Lorentz Transformations
    • 5.2 Vectors and Covectors
    • 5.3 Conserved Currents
    • 5.4 Gauge potentials and EM Fields
      • 5.4.1 Lorenz Invariants
    • 5.5 Maxwell Equations
    • 5.6 The Lorentz Force Law

The only important thing in calculating the electric field for these surfaces is to use the right symmetry and pick the right surface. We would list the results of some common examples: Sphere Using spherical symmetry and picking a radius r from a ρ uniform charge R- radius sphere, we have:

E =

Q 4 πε 0 r^2 ˆr^ r > R Qr 4 πε 0 R^3 ˆr^ r^ ≤^ R

Infinite line Using circular symmetry, where r is now the r in cylindrical coordinates, we take a cylinder around the line and reach that:

E(r) =

η 2 πε 0 r

ˆr.

Infinite Plane Now we have vertical symmetry, and we can take a box that is symmetric about the plane to get E(z): E(z) =

σ 2 ε 0 Where it point upwards above the plane and downwards below.

2.2 Electrostatic Potential

From ∇ × E = 0, we know that E = −∇φ for some electrostatic potential φ. Substi- tuting into ∇ · E = (^) ρ 0 , we have:

∇^2 φ =

ρ ε 0

We now list some examples: Point Charge This gives ρ = Qδ^3 (r), where δ^3 is the 3D delta function. Now we can solve this to give φ = (^4) πQ 0 r as from 1A Vector Calculus we know the solution is some multiple of (^1) r. Differentiating it gives Coulomb’s law.

Dipole We have: φ =

4 πε 0

Q

r

Q

|r + d|

From superposition of point charges. We taylor expand |R + d to be: 1 |r + d|

r − d · ∇

r

(d · ∇)^2

r

r

d · r r^3

d · d r^3

3(d · r)^2 r^5

Then this gives:

φ =

Q

4 πε 0

r

r

d · r r^3

Q

4 πε 0

d · r r^3

If we define the electric dipole moment to be p = Qd, then we have:

E = −∇φ =

4 πε 0

3(p · ˆr)ˆr − p r^3

General To find φ for a general charge distribution ρ, we use the Green’s function for the Laplacian. The Green’s function is defined to be the solution to

∇^2 G(r, r′) = δ^3 (r − r′), or G(r, r′) = −

4 π

|r − r′|

We assume all charge is contained in some compact region V. Then

φ(r) = −

ε 0

V

ρ(r′)G(r, r′) d^3 r′

4 πε 0

V

ρ(r′) |r − r′|

d^3 r′

Then

E(r) = −∇φ(r) = −

4 πε 0

V

ρ(r′)∇

|r − r′|

d^3 r′

4 πε 0

V

ρ(r′) (r − r′) |r − r′|^3

d^3 r′

Now, to make it simple, we can ask what φ and E look like very far from V , ie. |r|  |r′| using taylor expansion: 1 |r − r′|

r

r · r′ r^3

Then we get

φ(r) =

4 πε 0

V

ρ(r′)

r

r · r′ r^3

d^3 r′

4 πε 0

Q

r

p · ˆr r^2

where Q =

V

ρ(r′) dV ′^ p =

V

r′ρ(r′) dV ′^ ˆr = r ‖r‖

So if we have a huge lump of charge, we can consider it to be a point charge Q, plus some dipole correction terms when we are far away from the charge.

2.3 Field Lines and Equipotentials

Let’s start from some definitions: Definition (Field line). A field line is a continuous line tangent to the electric field E. The density of lines is proportional to |E|. Definition (Equipotentials). Equipotentials are surfaces of constant φ. Because E = −∇φ, they are always perpendicular to field lines. if we indicate field lines using straight lines and equipotentials using dashed ones, we have:

We look for a potential that has a source at x = d and satisfies φ = 0 for x < 0. Since the solution to the Poisson equation is unique, we can use the method of images, which is to pretend that we don’t have a conductor. Instead, we have a charge −q and x = −d. Then by symmetry we will get φ = 0 when x = 0. The potential of this pair is φ =

4 πε 0

[

q √ (x − d)^2 + y^2 + z^2

q √ (x + d)^2 + y^2 + z^2

]

To get the solution we want, we “steal” part of this potential and declare our potential to be

φ =

1 4 πε 0

[

√ q (x−d)^2 +y^2 +z^2 − √ q (x+d)^2 +y^2 +z^2

]

if x > 0

0 if x ≤ 0 Using this solution, we can immediately see that it satisfies Poisson’s equations both outside and inside the conductor. Now we calculate the surface charge induced. We can calculate the electric field near the surface, and use the relation σ = Eoutside · nˆ. To find σ, we only need the component of E in the x direction:

Ex = − ∂φ ∂x

q 4 πε 0

x − d |r − d|^3 /^2

x + d |r + d|^3 /^2

for x > 0. Then induced surface charge density is given by Ex at x = 0:

σ = Exε 0 = −

q 2 π

d (d^2 + y^2 + z^2 )^3 /^2

The total surface charge is then given by ∫ σ dy dz = −q.

Which is expected. Note. Here are some handy tips for handling other situations:

Sphere Image Charge For a grounded sphere with radius R and a charge at (d, 0 , 0), we should place the image charge at x = R

2 d. Conductor in Field For a spherical conductor in a constant electric field, we orient the electric field in the z-axis to give φ 0 = −E 0 r cos θ and add a dipole term to the potential, giving: φ = −E 0

r −

R^3

r^2

cos θ

Note. For people learning fluids, if this looks like the solution of a sphere pass- ing through a fluid, because this is! This is solving the Laplace equation with φ = 0 on the spherical boundary.

3 Magnetostatics

Now similarly, we look at E = 0. Then we are left with:

∇ × B = μJ ∇ · B = 0

3.1 Ampere’s Law

We use Stokes’ Law to integrate the first equation to get:

Law (Ampere’s law). (^) ∮

C

B · dr = μ 0 I,

where I is the current through the surface.

Similarly, we have the classic examples:

Long Straight Wire We integrate over a disc to find:

B(r) =

μ 0 I 2 πr

ϕˆ.

Infinite surface Now if we have constant x direction current on an infinite plane with surface current density k, then we must have y direction magnetic field. So we choose a loop through the surface to find:

B(z) =

μ 0 k 2 for z > 0.

Similarly, the direction reverses for above/below the plane.

Solenoid Imagine wrapping N wires per unit length with each wire having current I. Then we integrate over a loop that passes the cylinder, as the magnetic field must be in the z direction inside the cylinder:

b = μ 0 IN z.

inside the cylinder. Outside the cylinder, B is constant, so it is 0.

3.2 Vector Potential

Definition (Vector potential). If B = ∇ × A, then A is a vector potential.

This is NOT unique! If A is a vector potential, then A′^ = A + ∇χ is another one. But we do have some canonical choice:

Definition ((Coulomb) gauge). Each choice of A is called a gauge. An A such that ∇ · A = 0 is called a Coulomb gauge.

Proposition. We can always pick χ such that ∇ · A′^ = 0.

Proof. Suppose that B = ∇ × A with ∇ · A = ψ(x). Then for any A′^ = A + ∇χ, we have ∇ · A′^ = ∇A + ∇^2 χ = ψ + ∇^2 χ. So we need a χ such that ∇^2 χ = −ψ. This is the Poisson equation which we know that there is always a solution by, say, the Green’s function. Hence we can find a χ that works.

Based on the fields generated by a straight wire, we can guess that B looks like this, but we want to calculate it. By the Biot-Savart law, we know that

A(r) = μ 0 4 π

J(r′) |r − r′|

dV = μ 0 I 4 π

C

dr′ |r − r′|

Far from the loop, |r − r′| is small and we can use the Taylor expansion.

A(r) =

μ 0 I 4 π

C

r

r · r′ r^3

dr′.

Note that r is a constant of the integral, and we can take it out. The first (^1) r term vanishes because it is a constant, and when we integrate along a closed loop, we get

  1. So we only consider the second term. Following from green’s theorem, we have: ∮

C

g · r′^ dr′^ =

S

g × dS = S × g.

Using this, we have

A(r) ≈

μ 0 4 π

m × r r^3

where

Definition (Magnetic dipole moment). The magnetic dipole moment is

m = IS.

Then B = ∇ × A =

μ 0 4 π

3(m · ˆr)ˆr − m r^3

This is the same form as E for an electric dipole

Similar to electrostatics, we can do this to a general distribution to get:

Definition (Magnetic dipole moment).

m =

r′^ × J(r′) dV ′.

3.4 Magnetic Force Examples

Now we list two classic examples to help understand the magnetic aŠraction/repulsion:

Example (Two parallel wires).

d

z

x

y

We know that the field produced by each current is

B 1 =

μ 0 I 2 πr ϕ.ˆ

The particles on the second wire will feel a force

F = qv × B 1 = qv ×

μ 0 I 1 2 πd

ˆy.

But J 2 = nqv and I 2 = J 2 A, where n is the density of particles and A is the cross- sectional area of the wire. So the number of particles per unit length is nA, and the force per unit length is

F = naF =

μ 0 I 1 I 2 2 πd

ˆz × yˆ = −μ 0

I 1 I 2

2 πd

xˆ.

So if I 1 I 2 > 0 , ie. the currents are in the same direction, the force is aŠractive. Otherwise the force is repulsive.

Example (General force). In the general case, following the same procedure, we have, using Biot-Savart’s law:

F =

μ 0 4 π

I 1 I 2

C 1

C 2

dr 2 ×

dr 1 ×

r 2 − r 1 |r 2 − r 1 |^3

For well-separated currents, approximated by m 1 and m 2 , we claim that the force can be wriŠen as

F =

μ 0 4 π

3(m 1 · ˆr)(m 2 · ˆr) − (m 1 · m 2 ) r^3

No, we are not going to prove this. It is a complicated mess of indices.

4 Electrodynamics

Now we look at fields that do something slightly more interesting. They change with time!

4.1 Induction

If we integrate the Maxwell equation below

∇ × E +

∂B

∂t

Through a surface, use Stokes’ theorem, then we have: ∫

C

E · dr = −

d dt

S

B · dS.

Definition (Electromotive force (emf)). The electromotive force (emf) is

E =

C

E · dr.

From Maxwell’s equation, we know that ∂ ∂tB = −∇ × E. So we have

dΦ dt

C

(E + v × B) dr.

Now defining the emf properly we have:

E = −

∂t

4.2 Magnetostatic Energy

This work done is identified with the energy stored in the system. Recall that the vector potential A is given by B = ∇ × A. So

U =

I

S

B · dS =

I

S

(∇ × A) · dS =

I

C

A · dr

R^3

J · A dV

Using Maxwell’s equation ∇ × B = μ 0 J, we obtain

2 μ 0

(∇ × B) · A dV

2 μ 0

[∇ · (B × A) + B · (∇ × A)] dV

Assuming that B × A vanishes sufficiently fast at infinity, the integral vanishes. So we are left with

2 μ 0

B · B dV.

Thus, in general, the energy stored in E and B is

U =

ε 0 2

E · E +

2 μ 0

B · B

dV.

Note this kind of is hand-waving, because we don’t know if weird stuff is happening when E and B are together. Turns out there isn’t, but still, be careful.

4.3 Resistance

What is the most important law in high school electrical physics?

Law (Ohm’s law). E = IR or J = σE.

Where R is defined as the resistance.

Definition (Resistivity and conductivity). For the wire of length L and cross-sectional area A, we define the resistivity to be ρ = ARL , and the conductivity σ = (^1) ρ.

Let’s do a classic high school example:

Example.

d

z

x

y

Suppose the bar moves to the left with speed v. Suppose that the sliding bar has resistance R, and everything else has no resistance. You can see we assume this so that the resistance does not change with time. There are two dynamical variables, the position of the bar x(t), and the current I(t). If a current I = qv flows, using the Lorentz force formula, the force on the bar is

F = IB`xˆ.

So mx¨ = IB`.

We can compute the current using

E = −

dΦ dt = −B` x.˙

So Ohm’s law gives IR = −B` x.˙

Hence

m¨x = −

B^2 `^2

R

x.˙

Integrating once gives x ˙(t) = −ve−B

(^2) ` (^2) t/mR .

With resistance, we need to do work to keep a constant current. In time δt, the work needed is δW = EIδt = I^2 Rδt

using Ohm’s law. So

Definition (Joule heating). Joule heating is the energy lost in a circuit due to friction. It is given by dW dt

= I^2 R.

4.4 Displacement Currents

Let’s have a quick note about the last Maxwell equation:

∇ × B = μ 0

J + ε 0

∂E

∂t

Now what is μ 0 ε 0 ∂ ∂tE? This was really discovered mathematically to make the equa- tions consistent with charge conservation and is called a displacement current.

This says that the waves oscillate up and down in a fixed plane. Now if we have a wave Einc = E 0 yˆ exp(i(kx + ωt)), coming at right angle into a conductor, then we know since E = 0 inside the conductor, this solution clearly doesn’t work. Using the image method again, we have, with Eref = −E 0 ˆy exp(i(−kx− ωt)).: E = Einc + Eref.

Where the reflected wave is caused by the surface current. Why?, first let’s derive the incident and reflected magnetic field:

Binc =

E 0

c

ˆz exp(i(kx − ωt)) Bref =

E 0

c

ˆz exp(i(−kx − ωt))

Then the surface magnetic field is:

B · ˆz|x=0− =

c

e−iωt,

This gives rise to a surface current, as inside the conductor we have B = 0. The surface current is, by the same method as in Ampere’s law:

B · ˆz|x=0− =

c

e−iωt,

The surface current is oscillating, so charges are accelerating, and they give out light in the process, which are the reflected waves. And that’s why metals are shiny!

4.6 Poynting Vector

Now we would derive Poynting’s theorem as followed: First we differentiate the energy equation for an electric field E and B:

dU dt

V

J · E dV −

μ 0

S

(E × B) · dS.

From vector identities, we have E · (∇ × B) − B · (∇ × E) = ∇ · (E × B):

dU dt

V

J · E dV −

μ 0

S

(E × B) · dS.

So:

Theorem (Poynting theorem).

dU dt

V

J · E dV ︸ ︷︷ ︸ Total change of energy in V (fields + particles)

μ 0

S

(E × B) · dS ︸ ︷︷ ︸ Energy that escapes through the surface S

Definition (Poynting vector). The Poynting vector is

S =

μ 0

E × B.

Note. The poynting vector can and should be seen as the energy per unit surface area geiven into the system at any given time. It characterizes the energy transfer.

5 Electromagnetism and Relativity

Now the original course ended here. But our great David Tong (rightfully?) decided it was a bit short and added this section. Now, first things first:

5.1 Vectors and Covectors

Wait….where was this in Special Relativity? Don’t panic, we will go through this again. First off we had the Minkowski metric η, vectors Xμ, Y μ^ and a dot product:

X · Y = XT^ ηY.

Right? Now we define Xμ = ημv Xv^ and Xμ^ = X. So the dot product now becomes XμXμ. Now pure mathematicians will start mumbling about that one is contravariant and one is covariant, but we will skip this part. The only thing we care is that from this point on:

  • You can only sum iff the same indices appear once above and once below.
  • You can use ημv to raise or lower indices. To raise them, use ημv^ , which is the inverse matrix, but actually the same matrix.

5.1.1 Lorentz Transformations

These are the transformations or matrices that preserve the Minkowski metric. What does it mean? In Einstein notation, this means the matrix/transformation Λμν satisfy:

Λρμηρσ Λσν = ημν.

Ok, wait a sec… didn’t we just use 2 lower or upper indices to represent a matrix? Why are we using one upper and one lower now? Hold on that thought, we will come to it very soon. From special relativity, we know there are two classes of Lorentz transformations: (i) Rotations:

Λμν =

0 R

where RT^ R = 1, ie. is an orthogonal matrix.

(ii) Boosts, eg. a boost in the x direction is

Λμν =

γ −γv/c 0 0 −γv/c γ 0 0 0 0 1 0 0 0 0 1

Now thus, the lower indices one transform as:

Xμ 7 → X μ′ = ημν X′ν^ = ημν Λνσ Xσ^ = ημν Λνσ ησρXρ = ΛμρXρ

where Λμρ, as you have probably guessed, is the inverse of Λμρ. But also remember, it is also the transpose of Λρμ, as it is an orthogonal matrix (in the Minkowski metric).

5.4 Gauge potentials and EM Fields

Now we define our potentials as before:

E = −∇φ −

∂A

∂t B = ∇ × A.

Ok, ok…I know something has changed. The extra − ∂A∂t term is to compensate the fact that when we defined the potential for E we had no magnetic field, but in reality we do have.Now since we have 4 components of a thing,we make it into a 4-vector!

Aμ^ =

φ/c A

Trust me this works. Now we define the anti-symmetric electromagnetic tensor

Fμν = ∂μAν − ∂ν Aμ.

Since this is antisymmetric, the diagonals are all 0, and Aμν = −Aνμ. So this thing has (4× 4 −4)/2 = 6 independent components. And this encapsulates all information about the EM field. Writing it out, we have:

Fμν =

0 Ex/c Ey /c Ez /c −Ex/c 0 −Bz By −Ey /c Bz 0 −Bx −Ez /c −By Bx 0

Note this is also invariant under gauge transformations. Under a boost by v in the x-direction, we have: E′ x = Ex E y′ = γ(Ey − vBz ) E z′ = γ(Ez + vBy ) B′ x = Bx

B y′ = γ

By +

v c^2 Ez

B z′ = γ

Bz −

v c^2

Ey

By multiplying the Lorenz matrix with this one. We look at an example to show the relationship between E and B fields:

Example (Boosted line charge). An infinite line along the x direction with uniform charge per unit length, η, has electric field

E =

η 2 πε 0 (y^2 + z^2 )

y z

The magnetic field is B = 0. Plugging this into the equation above, an observer in frame S′^ boosted with v = (v, 0 , 0), ie. parallel to the wire, sees

E =

ηγ 2 πε 0 (y^2 + z^2 )

y z

 (^) = ηγ 2 πε 0 (y′^2 + z′^2 )

y′ z′

Also,

B = ηγv 2 πε 0 σ^2 (y^2 + z^2 )

z −y

 (^) = ηγv 2 πε 0 σ^2 (y′^2 + z′^2 )

z′ −y′

In frame S′, the charge density is Lorentz contracted to γη. The magnetic field can be wriŠen as

B =

μ 0 I′ 2 π

y′^2 + z′^2

ϕˆ′,

where ϕˆ′^ =

y′^2 + z′^2

−z′ y′

 (^) is the basis vector of cylindrical coordinates, and

I′^ = −γηv is the current. This is what we calculated from Ampere’s law previously. But we didn’t use Am- pere’s law here. We used Gauss’ law, and then applied a Lorentz boost.

We see that magnetic fields are relativistic effects of electric fields. They are what we get when we apply a Lorentz boost to an electric field. So relativity is not only about very fast objectsTM. It is there when you stick a magnet onto your fridge!

Example (Boosted point charge). A point charge Q, at rest in frame S has

E =

Q

4 πε 0 r^2

ˆr =

Q

4 πε^20 (x^2 + y^2 + z^2 )^3 /^2

x y z

and B = 0. In frame S′, boosted with v = (v, 0 , 0), we have

E′^ =

Q

4 πε 0 (x^2 + y^2 + z^2 )^3 /^2

x γy γz.

We need to express this in terms of x′, y′, z′, instead of x, y, z. Then we get

E′^ =

Qγ 4 πε 0 (γ^2 (x′^ + vt′)^2 + y′^2 + z′^2 )

x′^ + vt′ y′ z′

Suppose that the particle sits at (−vt′, 0 , 0) in S′. Let’s look at the electric at t′^ = 0.

Then the radial vector is r′^ =

x′ y′ z′

 (^). In the denominator, we write

γ^2 (x′^2 + y′^2 + z′^2 ) = (γ^2 − 1)x′^2 + r′^2

=

v^2 γ^2 c^2

x′^2 + r′^2

v^2 γ^2 c

2 cos^2 θ + 1

r′^2

= γ^2

v^2 c^2

sin^2 θ

r′^2