Sources of Magnetic Field
Just as electric charges are the sources of electric fields, electric currents are the sources of magnetic fields. The Biot–Savart law gives the field of any current distribution by integration; Ampère's law gives it directly for highly symmetric geometries. These results underpin every electromagnet, transformer, and electric motor ever built.
Key Concepts
Key Equations
Magnetic Field of a Long Straight Wire and Force Between Wires
Two long parallel wires carry A and A in the same direction, separated by m. Find (a) the field from wire 1 at wire 2's location, and (b) the force per unit length between them.
(a) Magnetic field of wire 1 at distance m:
(b) Force per unit length on wire 2 in the field of wire 1:
Same-direction currents attract, so the wires pull toward each other.
Exercises
7 problemsA long straight wire carries A. What is the magnetic field magnitude (in T) at a perpendicular distance m? Use T·m/A.
A solenoid has turns/m and carries A. What is the magnetic field (in mT) inside it?
Two long parallel wires carry A and A, separated by m. What is the force per unit length (in N/m) between them?
Unlock Exercise 3
Subscribe to PhysWeb Pro to access all exercises and track your progress.
Upgrade to Pro →A solenoid of length m must produce mT with a current of A. How many turns does it need?
Unlock Exercise 4
Subscribe to PhysWeb Pro to access all exercises and track your progress.
Upgrade to Pro →A long straight wire carries A. At what distance (in cm) from the wire is the field T?
Unlock Exercise 5
Subscribe to PhysWeb Pro to access all exercises and track your progress.
Upgrade to Pro →A long wire carries A. What is the magnetic field (in T) at m from it?
Unlock Exercise 6
Subscribe to PhysWeb Pro to access all exercises and track your progress.
Upgrade to Pro →A solenoid has turns/m, carries A, and has a ferromagnetic core with relative permeability . What is the field (in T) inside it?
Unlock Exercise 7
Subscribe to PhysWeb Pro to access all exercises and track your progress.
Upgrade to Pro →Key Takeaways
- Magnetic fields from currents form closed loops (no magnetic monopoles); they circle a straight wire and are uniform inside a solenoid.
- Right-hand rule: thumb in the direction of , fingers wrap in the direction of around a straight wire.
- Solenoid field depends only on turns per meter and current — not on the solenoid's diameter or total length.
- Same-direction currents attract; opposite-direction currents repel. This is how the ampere is formally defined.
- Ampère's law and Gauss's law are parallel structures: both relate a field integral to an enclosed source, and both work best with high symmetry.