# Electromagnetism

These notes aren’t anything official, more reference for equations when considering problems from Physics 115 or 122. They are not complete, nor are they guaranteed to be correct.

## Electrostatics, Magnetostatics

These are the infinitesimal versions of Gauss’s and Ampère’s laws

These are essentially the relations describing the electric and magnetic fields of source static and constant charges and currents. If we wanted the reaction of test charges and currents, we use the Lorentz Force Law

If we combine the infinitesimal equations above with some calculus, especially versions of Stoke’s theorem, we get

The former seems to do quite a bit for us, we can get Coloumb’s law, as well as the electric fields of a sphere, line and plate of charge.

The latter gives us the magnetic field of a wire of current. We will not try to derive the infinitesimal contribution to a magnetic field by each moving charge, but we give the contribution from segments of a wire with constant current,

If we have a loop of charge, it is of benefit to define the magnetic dipole moment, as it may make some calculations quite simple,

As a result, we can write the torque of a magnetic field on a dipole moment as

Additionally we have the magnetic field of a dipole, the energy of a dipole, and the force on a dipole,

## Electrodynamics, Magnetodynamics

Now, what if things are moving? Well, the full dynamical equations for electromagnetism can be quite complicated, but here we will consider a few of the implications of further generality.

First we extend Maxwell’s equations with two more contributions, completing the set (I skipped \(\nabla\cdot\textbf{B}=0\)).

The integral versions, derived similarly as above, are

The first, Faraday’s law, suggests that an EMF is induced in a current loop when the magnetic flux changes, and is used in a collection of introductory applications, including transformers (AC), motional emf, AC generators and moving a magnet near a wire loop Lenz’s law is a helpful mnemonic. The latter, Maxwell’s correction to Ampère’s law, is probably referenced in more subtle ways, for instance, charging a capacitor and EM waves, which is likely why it took some time to be discovered.

## Inductance

Then potential drop at an inductor in a circuit (self-inductance)

### Coil

Induced emf,

Magnetic field due to solenoid, itself,

Thus, emf due to self is

### mutual inductance

Magnetic dipole for loops of first solenoid,

Magnetic field due to the first solenoid:

This sets up a magnetic flux in the second solenoid,

Then the emf induced in the second solenoid would be