Magnetic Field Basics
Magnetism is electricity's velocity-dependent twin: it acts only on moving charges, always at right angles to their motion.
The magnetic force on a charge is given by , where is charge, is velocity, and is the magnetic field.
Because this force is always perpendicular to , it changes direction but never speed or kinetic energy. If a problem needs energy added, an electric field must do it.
The Biot-Savart law gives the field from a current element:
Here is the permeability of free space, is current, is length, and is distance.
Ampere's Law and Results
Ampere's law relates magnetic fields to steady currents with symmetry:
| Source | Field Formula | Notes |
|---|---|---|
| Long straight wire | Distance | |
| Solenoid (inside) | Turns per length | |
| Toroid (inside) | Total turns |
The force between parallel wires carrying currents and is . Parallel currents attract; antiparallel repel.
Physics link: A charge in a uniform moves in a circle of radius , used in cyclotrons.