# Comparison of E & M¶

## Useful Tricks¶

This is useful because we have

and the LHS can be turned into a surface integral as one wish and disappears.

A similar one is

## Statics in Vacuum¶

### Source of Fields¶

Source of Electric Field in Electrostatics

Source of electric field is charge

Source of Maganetic field in Magnetostatics

Current is the source of maganetic field

### Potentials¶

Electric Potential

Electric potential is given by

Imediately, we have the curl of electrical field being 0, i.e.,

By implementing Gauss’s law, the equation for potential becomes

The solution, apply the Green’s function to Laplace equation,

Magnetic Potential

Magnetic potential is given by

Applying curl of magnetic field and solving the equation,

### Gauge of fields¶

By definition, electric potential and maganetic potential are, repectively,

Electric field is invariant under a transform

where \(\nabla\phi_0=0\).

Similarly, the potential for magnetic field is

in which \(\psi\) can be any scalar fields.

Gauge

As expected, these definitions of fields do not determine the potential completely. This is gauge freedom.

**It might seem strange to talk about such a freedom. As we would ask why we have such freedom for potentials?**

In class electrodynamics, potentials are merely mathematical tools. So the notion that potental has gauge freedom comes only from the mathematical definition of potentials.

However, we do expect such a freedom is part of nature as we step into quantum ralm. In quantum world, Aharonov-Bohm effect proves that potentials are actually real existance. In such cases, the gauge freedom do have a very important impact on our theory. Gauge freedom is part of the internal structure of fields and goes deep into group theory, topology and differential geometry.

### Multipole Expansion¶

Requirement

One should be able to derive these multipole expansions of fields without refering to any material.

In the expression for potentials,

and

the term

can be Taylor expanded when \(\vec x' \ll \vec x\),

where \(1/r\) is \(1/\lvert x \rvert\) .

Apply this expansion, we can find the dipole and quadrapole of a charge distribution, which are

The corresponding potentials are

and

The electric field can be calculated using \(\vec E = -\nabla \phi\).

For magnetic field, a dipole expansion shows that

where

### Force and Torque¶

Requirement

Write the most general expression for force and torque.

Derive the expression with dipole and quadrapole approximations.

Among the tricks, virtual work principle could be a nice one.

Force and torque can be calculated using virtual work principle. However, for dipoles, they can be calculated directly.