# Oersted's law

The magnetic field (marked B, indicated by red field lines) around wire carrying an electric current (marked I).
Compass and wire apparatus showing Ørsted's experiment (video[1])

In electromagnetism, Ørsted's law, also spelled Oersted's law, is the physical law stating that an electric current creates a magnetic field.[2]

This was discovered on 21 April 1820 by Danish physicist Hans Christian Ørsted (1777–1851),[3][4] when he noticed that the needle of a compass next to a wire carrying current turned so that the needle was perpendicular to the wire. Ørsted investigated and found the physical law describing the magnetic field, now known as Ørsted's law. Ørsted's discovery was the first connection found between electricity and magnetism, and the first of two laws that link the two; the other is Faraday's law of induction. These two laws became part of the equations that govern electromagnetism, Maxwell's equations.

## Ørsted's rules

Ørsted found that, for a straight wire carrying a steady (DC) current[5]

• The magnetic field lines encircle the current-carrying wire
• The magnetic field lines lie in a plane perpendicular to the wire
• If the direction of the current is reversed, the direction of the magnetic field reverses.
• The strength of the field is directly proportional to the magnitude of the current.
• The strength of the field at any point is inversely proportional to the distance of the point from the wire.

## Direction of the magnetic field

Using the right hand rule to find the direction of the magnetic field

The direction of the magnetic field at a point, the direction of the arrowheads on the magnetic field lines, which is the direction that the "North pole" of the compass needle points, can be found from the current by the right hand rule. If the right hand is wrapped around the wire so the thumb points in the direction of the current (conventional current, flow of positive charge), the fingers will curl around the wire in the direction of the magnetic field.

## Vector form of the law

The above rules can be generalized to give the modern vector form of Ørsted's law[2][6]

The line integral of the magnetic field ${\displaystyle \mathbf {B} (\mathbf {x} )\,}$  around any closed curve ${\displaystyle C\,}$  is proportional to the total current ${\displaystyle I\,}$  passing through any surface bounded by the curve.

${\displaystyle \oint _{C}\mathbf {B} \cdot \mathrm {d} {\boldsymbol {\ell }}=\mu _{0}I\,}$

where ${\displaystyle \mu _{0}\,}$  = 4π×10−7 V·s/(A·m) is the magnetic constant, and the direction of integration around ${\displaystyle C\,}$  is related to the direction of current by the right hand rule. The law can be expressed in terms of the current density ${\displaystyle \mathbf {J} (\mathbf {x} )\,}$  through the surface ${\displaystyle S\,}$  instead of the total current ${\displaystyle I\,}$  through it[2]

${\displaystyle \oint _{C}\mathbf {B} \cdot \mathrm {d} {\boldsymbol {\ell }}=\mu _{0}\iint _{S}\mathbf {J} \cdot \mathrm {d} \mathbf {S} \,}$

where ${\displaystyle S\,}$  is any surface spanning ${\displaystyle C\,}$ .

Ørsted's law only holds for steady currents, which don't change with time. Therefore, it only holds for DC electric circuits, with no capacitors or inductors. It can be seen that it fails for time varying currents by considering the case of a circuit consisting of a battery charging a capacitor through a resistor. It can be verified experimentally that the current in this circuit creates a magnetic field, yet any closed curve encircling the conductor can be spanned by a surface passing between the capacitor plates, through which no current passes, from which the equation would give zero magnetic field. Ørsted's law was modified by Maxwell to cover the case of time-varying currents by adding a new source term called displacement current, giving the Ampere-Maxwell equation.

## Footnotes

1. ^ Presentation (2015) by O. Zajkov, Physics Institute, Ss. Cyril and Methodius University of Skopje, Macedonia.
2. ^ a b c Becker, Richard (2013). Electromagnetic Fields and Interactions. Courier Dover Publications. p. 172. ISBN 0486318508.
3. ^ Oersted, H. C. (1820). "Experiments on the effect of a current of electricity on the magnetic needles". Annals of Philosophy. London: Baldwin, Craddock, Joy. 16: 273.
4. ^ H. A. M. Snelders, "Oersted's discovery of electromagnetism" in Cunningham, Andrew Cunningham; Nicholas Jardine (1990). Romanticism and the Sciences. CUP Archive. p. 228. ISBN 0521356857.
5. ^ Dhogal (1986). Basic Electrical Engineering, Vol. 1. Tata McGraw-Hill. p. 96. ISBN 0074515861.
6. ^ Arfken, George Brown; Hans-Jurgen Weber; Frank E. Harris (2012). Mathematical Methods for Physicists: A Comprehensive Guide. Academic Press. p. 168. ISBN 0123846544.

## References

• F. W. Sears and M. W. Zemansky 1964 University Physics Third Edition (Complete Volume), Addison-Wesley Publishing Company, Inc. Reading, MA, LCCCN: 63-15265 (no ISBN).