Magnetic Field

One last point of clarification on the physics of electricity, and we’ll be ready to start looking at practical aspects that arise from the underlying physics. But first, we need to understand electromagnetism.

Magnetism, that is, the effect of a magnetic field, is caused by rotating electrical charges; that is, electrons orbiting and “spinning” around a nucleus. In simple terms, we can think of magnetism as a kind of magnification of electrical charges, caused by the angular momentum of electrons. Unlike simple attraction or repulsion in all directions like simple electric charge, however, a magnetic field has a three dimensional polarity with a north/south:

Magnetic North and South are arbitrary names just like positive and negative charge used to describe repulsion of like polarity and attraction of opposite polarity along an axis.

Magnetism in metals arises when enough electrons have a similar angular momentum to create a net magnetic domain. This can happen as part of the natural geological process of creation, or during manufacturing for manmade magnets. A strong enough magnetic field can also induce a magnetic field in other metals, by pulling their electrons into a unified orbit.

A magnetic field can also be created electrically. A weak magnetic field is created when a current flows through a piece of straight wire, but if that wire is coiled, a much stronger magnetic field is created. In fact, a simple, yet effective magnet can be created with just a standard AA battery, a piece of coated wire, and a nail:


Just as a magnetic field arises from the electric charges, a magnetic field can induce current into a wire that enters the magnetic field.

As we’ll explore later, induction is a powerful tool, and in fact, it’s how most commercial electricity has traditionally been generated. Whether hydroelectric, coal, or nuclear, or wind, a turbine attached to what is essentially a large electric motor (coils of wire surrounded by fixed magnets) is spun, causing those wires to rotate within the magnetic field, which causes a current through them.

Induction is also important for a host of other uses, including transforming high voltages into lower voltages by inducing a current into a wire that’s coiled next to a higher voltage wire. We’ll explore this more in the next part of the tutorial.

For further reading on magnetism, see:

Next - Part 1 Review


These docs are open source. If you find an issue, please file a bug, or send us a pull request. And if you want to contribute, we'd love that too!