Skip to main content
Physics LibreTexts

8.8: Magnetism in Matter

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    Learning Objectives

    By the end of this section, you will be able to:

    • Classify magnetic materials as paramagnetic, diamagnetic, or ferromagnetic, based on their response to a magnetic field
    • Sketch how magnetic dipoles align with the magnetic field in each type of substance
    • Define hysteresis and magnetic susceptibility, which determines the type of magnetic material

    Why are certain materials magnetic and others not? And why do certain substances become magnetized by a field, whereas others are unaffected? To answer such questions, we need an understanding of magnetism on a microscopic level.

    Within an atom, every electron travels in an orbit and spins on an internal axis. Both types of motion produce current loops and therefore magnetic dipoles. For a particular atom, the net magnetic dipole moment is the vector sum of the magnetic dipole moments. Values of \(\mu\) for several types of atoms are given in Table \(\PageIndex{1}\). Notice that some atoms have a zero net dipole moment and that the magnitudes of the nonvanishing moments are typically \(10^{23} \, A \cdot m^2\).

    Table \(\PageIndex{1}\): Magnetic Moments of Some Atoms
    Atom Magnetic Moment \((10^{-24} \, A \cdot m^2)\)
    H 9.27
    He 0
    Li 9.27
    O 13.9
    Na 9.27
    S 13.9

    A handful of matter has approximately \(10^{26}\) atoms and ions, each with its magnetic dipole moment. If no external magnetic field is present, the magnetic dipoles are randomly oriented—as many are pointed up as down, as many are pointed east as west, and so on. Consequently, the net magnetic dipole moment of the sample is zero. However, if the sample is placed in a magnetic field, these dipoles tend to align with the field, and this alignment determines how the sample responds to the field. On the basis of this response, a material is said to be either paramagnetic, ferromagnetic, or diamagnetic.

    In a paramagnetic material, only a small fraction (roughly one-third) of the magnetic dipoles are aligned with the applied field. Since each dipole produces its own magnetic field, this alignment contributes an extra magnetic field, which enhances the applied field. When a ferromagnetic material is placed in a magnetic field, its magnetic dipoles also become aligned; furthermore, they become locked together so that a permanent magnetization results, even when the field is turned off or reversed. This permanent magnetization happens in ferromagnetic materials but not paramagnetic materials. Diamagnetic materials are composed of atoms that have no net magnetic dipole moment. However, when a diamagnetic material is placed in a magnetic field, a magnetic dipole moment is directed opposite to the applied field and therefore produces a magnetic field that opposes the applied field. We now consider each type of material in greater detail.

    Paramagnetic Materials

    For simplicity, we assume our sample is a long, cylindrical piece that completely fills the interior of a long, tightly wound solenoid. When there is no current in the solenoid, the magnetic dipoles in the sample are randomly oriented and produce no net magnetic field. With a solenoid current, the magnetic field due to the solenoid exerts a torque on the dipoles that tends to align them with the field. In competition with the aligning torque are thermal collisions that tend to randomize the orientations of the dipoles. The relative importance of these two competing processes can be estimated by comparing the energies involved. The energy difference between a magnetic dipole aligned with and against a magnetic field is \(U_B = 2\mu B\). If \(\mu = 9.3 \times 10^{-24} A \cdot m^2\) (the value of atomic hydrogen) and B = 1.0 T, then

    \[U_B = 1.9 \times 10^{-23}J.\]

    At a room temperature of \(27^o C\) the thermal energy per atom is

    \[U_T \approx kT = (1.38 \times 10^{-23} J/K)(300 \, K) = 4.1 \times 10^{-21}J,\]

    which is about 220 times greater than \(U_B\). Clearly, energy exchanges in thermal collisions can seriously interfere with the alignment of the magnetic dipoles. As a result, only a small fraction of the dipoles is aligned at any instant.

    The four sketches of Figure \(\PageIndex{1}\) furnish a simple model of this alignment process. In part (a), before the field of the solenoid (not shown) containing the paramagnetic sample is applied, the magnetic dipoles are randomly oriented and there is no net magnetic dipole moment associated with the material. With the introduction of the field, a partial alignment of the dipoles takes place, as depicted in part (b). The component of the net magnetic dipole moment that is perpendicular to the field vanishes. We may then represent the sample by part (c), which shows a collection of magnetic dipoles completely aligned with the field. By treating these dipoles as current loops, we can picture the dipole alignment as equivalent to a current around the surface of the material, as in part (d). This fictitious surface current produces its own magnetic field, which enhances the field of the solenoid.

    Figure a shows a rod with randomly oriented magnetic dipoles. Figure b shows domains that got partially oriented after the magnetic field was applied along the axis of the rod. Figure c shows fully oriented domains. Figure d shows that the dipoles are aligned within the individual domains and are equivalent to a current around the surface of the material. This surface current produces its own magnetic field which enhances the field of the solenoid.
    Figure \(\PageIndex{1}\): The alignment process in a paramagnetic material filling a solenoid (not shown). (a) Without an applied field, the magnetic dipoles are randomly oriented. (b) With a field, partial alignment occurs. (c) An equivalent representation of part (b). (d) The internal currents cancel, leaving an effective surface current that produces a magnetic field similar to that of a finite solenoid.

    We can express the total magnetic field \(\vec{B}\) in the material as

    \[\vec{B} = \vec{B}_0 + \vec{B}_m, \label{eq3}\]

    where \(\vec{B}_0\) is the field due to the current \(I_0\) in the solenoid and \(\vec{B}_m\) is the field due to the surface current \(I_m\) around the sample. Now \(\vec{B}_m\) is usually proportional to \(\vec{B}_0\) a fact we express by

    \[\vec{B}_m = \chi \vec{B}_0, \label{eq4}\]

    where \(\chi\) is a dimensionless quantity called the magnetic susceptibility. Values of \(\chi\) for some paramagnetic materials are given in Table \(\PageIndex{2}\). Since the alignment of magnetic dipoles is so weak, \(\chi\) is very small for paramagnetic materials. By combining Equation \ref{eq3} and Equation \ref{eq4}, we obtain:

    \[\vec{B} = \vec{B}_0 + \chi \vec{B}_0 = (1 + \chi)\vec{B}_0. \label{eq4b}\]

    For a sample within an infinite solenoid, this becomes

    \[B = (1 + \chi)\mu_0 nI. \label{eq5}\]

    This expression tells us that the insertion of a paramagnetic material into a solenoid increases the field by a factor of \((1 + \chi)\). However, since \(\chi\) is so small, the field isn’t enhanced very much.

    The quantity

    \[\mu = (1 + \chi)\mu_0. \label{eq6}\]

    is called the magnetic permeability of a material. In terms of \(\mu\), Equation \ref{eq5} can be written as

    \[B = \mu nI \label{eq7}\]

    for the filled solenoid.

    Table \(\PageIndex{2}\): Magnetic Susceptibilities*Note: Unless otherwise specified, values given are for room temperature.
    Paramagnetic Materials \(\chi\) Diamagnetic Materials \(\chi\)
    Aluminum \(2.2 \times 10^{-5}\) Bismuth \(-1.7 \times 10^{-5}\)
    Calcium \(1.4 \times 10^{-5}\) Carbon (diamond) \(-2.2 \times 10^{-5}\)
    Chromium \(3.1 \times 10^{-4}\) Copper \(-9.7 \times 10^{-6}\)
    Magnesium \(1.2 \times 10^{-5}\) Lead \(-1.8 \times 10^{-5}\)
    Oxygen gas (1 atm) \(1.8 \times 10^{-6}\) Mercury \(-2.8 \times 10^{-5}\)
    Oxygen liquid (90 K) \(3.5 \times 10^{-3}\) Hydrogen gas (1 atm) \(-2.2 \times 10^{-9}\)
    Tungsten \(6.8 \times 10^{-5}\) Nitrogen gas (1 atm) \(-6.7 \times 10^{-9}\)
    Air (1 atm) \(3.6 \times 10^{-7}\) Water \(-9.1 \times 10^{-6}\)

    Diamagnetic Materials

    A magnetic field always induces a magnetic dipole in an atom. This induced dipole points opposite to the applied field, so its magnetic field is also directed opposite to the applied field. In paramagnetic and ferromagnetic materials, the induced magnetic dipole is masked by much stronger permanent magnetic dipoles of the atoms. However, in diamagnetic materials, whose atoms have no permanent magnetic dipole moments, the effect of the induced dipole is observable.

    We can now describe the magnetic effects of diamagnetic materials with the same model developed for paramagnetic materials. In this case, however, the fictitious surface current flows opposite to the solenoid current, and the magnetic susceptibility \(\chi\) is negative. Values of \(\chi\) for some diamagnetic materials are also given in Table \(\PageIndex{2}\).

    Water is a common diamagnetic material. Animals are mostly composed of water. Experiments have been performed on frogs and mice in diverging magnetic fields. The water molecules are repelled from the applied magnetic field against gravity until the animal reaches an equilibrium. The result is that the animal is levitated by the magnetic field.

    Ferromagnetic Materials

    Common magnets are made of a ferromagnetic material such as iron or one of its alloys. Experiments reveal that a ferromagnetic material consists of tiny regions known as magnetic domains. Their volumes typically range from \(10^{-12}\) to \(10^{-8} m^3\), and they contain about \(10^{17}\) to \(10^{21}\) atoms. Within a domain, the magnetic dipoles are rigidly aligned in the same direction by coupling among the atoms. This coupling, which is due to quantum mechanical effects, is so strong that even thermal agitation at room temperature cannot break it. The result is that each domain has a net dipole moment. Some materials have weaker coupling and are ferromagnetic only at lower temperatures.

    If the domains in a ferromagnetic sample are randomly oriented, as shown in Figure \(\PageIndex{1a}\), the sample has no net magnetic dipole moment and is said to be unmagnetized. Suppose that we fill the volume of a solenoid with an unmagnetized ferromagnetic sample. When the magnetic field \(\vec{B}_0\) of the solenoid is turned on, the dipole moments of the domains rotate so that they align somewhat with the field, as depicted in Figure \(\PageIndex{1}b\). In addition, the aligned domains tend to increase in size at the expense of unaligned ones. The net effect of these two processes is the creation of a net magnetic dipole moment for the ferromagnet that is directed along the applied magnetic field. This net magnetic dipole moment is much larger than that of a paramagnetic sample, and the domains, with their large numbers of atoms, do not become misaligned by thermal agitation. Consequently, the field due to the alignment of the domains is quite large.

    Picture a shows small randomly oriented domains in the unmagnetized piece of the ferromagnetic sample. Picture b shows small partially aligned domains upon the application of a magnetic field. Figure c shows domains of a single crystal of nickel. Clear domain boundaries are visible.
    Figure \(\PageIndex{2}\): (a) Domains are randomly oriented in an unmagnetized ferromagnetic sample such as iron. The arrows represent the orientations of the magnetic dipoles within the domains. (b) In an applied magnetic field, the domains align somewhat with the field. (c) The domains of a single crystal of nickel. The white lines show the boundaries of the domains. These lines are produced by iron oxide powder sprinkled on the crystal.

    Besides iron, only four elements contain the magnetic domains needed to exhibit ferromagnetic behavior: cobalt, nickel, gadolinium, and dysprosium. Many alloys of these elements are also ferromagnetic. Ferromagnetic materials can be described using Equation \ref{eq4b} through Equation \ref{eq7}, the paramagnetic equations. However, the value of \(\chi\) for ferromagnetic material is usually on the order of \(10^3\) to \(10^4\), and it also depends on the history of the magnetic field to which the material has been subject. A typical plot of B (the total field in the material) versus \(B_0\) (the applied field) for an initially unmagnetized piece of iron is shown in Figure \(\PageIndex{2c}\). Some sample numbers are (1) for \(B_0 = 1.0 \times 10^{-4}T\), \(B = 0.60 \, T\), and \(\chi = (^{0.60}/_{1.0 \times 10^{-4}}) - 1 \approx 6.0 \times 10^3\); for (2) for \(B_0 = 6.0 \times 10^{-4}T\), \(B = 1.5 \, T\), and \(\chi = (^{1.5}/_{6.0 \times 10^{-4}}) - 1 \approx 2.5 \times 10^3\).

    This picture shows a plot of the total field in the material versus the applied field for an initially unmagnetized piece of iron. The initial increase in the total field is followed by the saturation.
    Figure \(\PageIndex{3}\): (a) The magnetic field B in annealed iron as a function of the applied field \(B_0\).

    When \(B_0\) is varied over a range of positive and negative values, B is found to behave as shown in Figure \(\PageIndex{3}\). Note that the same \(B_0\) (corresponding to the same current in the solenoid) can produce different values of B in the material. The magnetic field B produced in a ferromagnetic material by an applied field \(B_0\) depends on the magnetic history of the material. This effect is called hysteresis, and the curve of Figure \(\PageIndex{4}\) is called a hysteresis loop. Notice that B does not disappear when \(B_0 = 0\) (i.e., when the current in the solenoid is turned off). The iron stays magnetized, which means that it has become a permanent magnet.

    This picture shows a typical hysteresis loop for a ferromagnet. It starts at the origin with the upward curve that is the initial magnetization curve to the saturation point a, followed by the downward curve to point b after the saturation, along with the lower return curve back to the point a.
    Figure \(\PageIndex{4}\): A typical hysteresis loop for a ferromagnet. When the material is first magnetized, it follows a curve from 0 to a. When \(B_0\) is reversed, it takes the path shown from a to b. If \(B_0\) is reversed again, the material follows the curve from b to a.

    Like the paramagnetic sample of Figure \(\PageIndex{2}\), the partial alignment of the domains in a ferromagnet is equivalent to a current flowing around the surface. A bar magnet can therefore be pictured as a tightly wound solenoid with a large current circulating through its coils (the surface current). You can see in Figure \(\PageIndex{5}\) that this model fits quite well. The fields of the bar magnet and the finite solenoid are strikingly similar. The figure also shows how the poles of the bar magnet are identified. To form closed loops, the field lines outside the magnet leave the north (N) pole and enter the south (S) pole, whereas inside the magnet, they leave S and enter N.

    The left picture shows magnetic fields of a finite solenoid; the right picture shows magnetic fields of a bar magnet. The fields are strikingly similar and form closed loops in both situations.
    Figure \(\PageIndex{5}\): Comparison of the magnetic fields of a finite solenoid and a bar magnet.

    Ferromagnetic materials are found in computer hard disk drives and permanent data storage devices (Figure \(\PageIndex{6}\)). A material used in your hard disk drives is called a spin valve, which has alternating layers of ferromagnetic (aligning with the external magnetic field) and antiferromagnetic (each atom is aligned opposite to the next) metals. It was observed that a significant change in resistance was discovered based on whether an applied magnetic field was on the spin valve or not. This large change in resistance creates a quick and consistent way for recording or reading information by an applied current.

    Photo shows the inside of a hard disk drive. The silver disk contains the information, whereas the thin stylus on top of the disk reads and writes information to the disk.
    Figure \(\PageIndex{6}\): The inside of a hard disk drive. The silver disk contains the information, whereas the thin stylus on top of the disk reads and writes information to the disk.
    Example \(\PageIndex{1}\): Iron Core in a Coil

    A long coil is tightly wound around an iron cylinder whose magnetization curve is shown in Figure \(\PageIndex{3}\) . (a) If \(n = 20\) turns per centimeter, what is the applied field \(B_0\) when \(I_0 = 0.20 \, A\)? (b) What is the net magnetic field for this same current? (c) What is the magnetic susceptibility in this case?


    (a) The magnetic field of a solenoid is calculated using \(\vec{B} = \mu_0 n I \hat{j}\). (b) The graph is read to determine the net magnetic field for this same current. (c) The magnetic susceptibility is calculated using Equation \ref{eq5} .


    1. The applied field \(B_0\) of the coil is \[B_0 = \mu_0 nI_0 = (4\pi \times 10^{-7} T \cdot m/A)(2000 / m)(0.20 \, A)\]\[B_0 = 5.0 \times 10^{-4}T.\]
    2. From inspection of the magnetization curve of Figure \(\PageIndex{3}\), we see that, for this value of \(B_0, \, B = 1.4 \, T\). Notice that the internal field of the aligned atoms is much larger than the externally applied field.
    3. The magnetic susceptibility is calculated to be \[\chi = \frac{B}{B_0} - 1 = \frac{1.4 \, T}{5.0 \times 10^{-4}T} - 1 = 2.8 \times 10^3.\]


    Ferromagnetic materials have susceptibilities in the range of \(10^3\) which compares well to our results here. Paramagnetic materials have fractional susceptibilities, so their applied field of the coil is much greater than the magnetic field generated by the material.

    Exercise \(\PageIndex{1}\)

    Repeat the calculations from the previous example for \(I_0 = 0.040 \, A.\)


    a. \(1.0 \times 10^{-4} T\); b. 0.60 T; c. \(6.0 \times 10^3\)

    Contributors and Attributions

    Samuel J. Ling (Truman State University), Jeff Sanny (Loyola Marymount University), and Bill Moebs with many contributing authors. This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).

    This page titled 8.8: Magnetism in Matter is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.