A solenoid is a coil of wire that is substantially longer than its diameter that generates a magnetic field when a current passes through it. In practice, this coil is wrapped around a metallic core and the strength of the magnetic field depends on the coil density, the current passing through the coil and the magnetic properties of the core.

This makes a solenoid a type of electromagnet, the purpose of which is to generate a controlled magnetic field. This field can be used for various purposes depending on the device, from being used to generate a magnetic field as an electromagnet, to impede current changes as an inductor, or to convert the energy stored in the magnetic field to kinetic energy as an electric motor.

## Magnetic Field of a Solenoid Derivation

The magnetic field of a solenoid derivation can be found using **Ampère's Law**. We get

where *B* is the magnetic flux density, *l* is the length of the solenoid, μ_{0} is the magnetic constant or the magnetic permeability in a vacuum, *N* is the number of turns in the coil, and *I* is the current through the coil.

Dividing throughout by *l*, we get

where *N/l* is the **turns density** or the number of turns per unit length. This equation applies for solenoids without magnetic cores or in free space. The magnetic constant is 1.257 × 10^{-6} H/m.

The **magnetic permeability** of a material is its ability to support the formation of a magnetic field. Some materials are better than others, so the permeability is the degree of magnetization a material experiences in response to a magnetic field. The relative permeability *μ*_{r} tells us how much this increases with respect to free space or the vacuum.

where *μ* is the magnetic permeability and *μ*_{r} is the relativity. This tells us how much the magnetic field increases if the solenoid has a material core going through it. If we placed a magnetic material, e.g., an iron bar, and the solenoid is wrapped around it, the iron bar will concentrate the magnetic field and increase the magnetic flux density *B*. For a solenoid with a material core, we get the solenoid formula

## Calculate Inductance of Solenoid

One of the primary purposes of solenoids in electrical circuits is to impede changes in electrical circuits. As an electric current flows through a coil or solenoid, it creates a magnetic field that grows in strength over time. This changing magnetic field induces an electromotive force across the coil that opposes the current flow. This phenomenon is known as electromagnetic induction.

The inductance, *L*, is the ratio between the induced voltage *v*, and the rate of change in the current *I*.

Solving for *v* this becomes

### Deriving the Inductance of a Solenoid

**Faraday's Law** tells us the strength of the induced EMF in response to a changing magnetic field

where n is the number of turns in the coil and *A* is the cross sectional area of the coil. Differentiating the solenoid equation with respect to time, we get

Substituting this into Faraday's Law, we get the induced EMF for a long solenoid,

Substituting this into *v = −L(*d*I*/d*t)* we get

We see the inductance *L* depends on the geometry of the coil – the turns density and the cross sectional area – and the magnetic permeability of the coil material.

References

About the Author

David Latchman is a science communicator and blogger with a background in physics. He also hosts the Science Bloggers Podcast where he interviews and talks to other science communicators. He also maintains the Science vs. Hollywood blog where he looks at the portrayal of science in popular culture.