---
title: Magnetism in solids
heading: Ferromagnets, hysteresis, and the materials in every inductor and motor
eyebrow: B12 · Lesson 37 · Magnetism in solids
xp: 50
---

::: hook
B11 explained paramagnetism: independent spins weakly lining up with a field. In iron, cobalt, nickel and the ferrites, the **exchange interaction**, a quantum effect of the Pauli principle on neighboring electrons, aligns spins spontaneously, without any field, below a Curie temperature. That spontaneous order is what makes transformer cores, inductors, motors and permanent magnets possible. Real magnets break into domains, and the way domain walls move and stick produces **hysteresis**: the loop whose shape separates soft materials, which should switch easily and waste little energy per cycle, from hard ones, which should hold their magnetization against anything.
:::

::: play
- A model hysteresis loop: magnetization against applied field, with saturation $M_s$, coercive field $H_c$ (where the magnetization crosses zero) and a softness w.
- The area enclosed is the energy lost as heat per cycle per unit volume: exactly $4\mu_0M_sH_c$ for this shape. A transformer core cycles it fifty or a hundred thousand times a second.
- Shrink $H_c$ toward zero: a soft magnet, ideal for cores. Raise it: a hard magnet, ideal for motors and speakers.
:::
:::

```sim plot
view: graph
x: H = -200..200 A/m
y: B = -2..2 T
slider: c = 1..100 step 1 = 30 A/m
slider: s = 0.2..2.2 step 0.05 = 1.6 T
slider: w = 5..60 step 1 = 20 A/m
plot: s*tanh((H + c)/w) | label: decreasing field
plot: s*tanh((H - c)/w) | label: increasing field
readout: loss per cycle, J/m³ = 4*s*c
readout: remanence, T = s*tanh(c/w)
```

::: predict
## Iron has about 8.5 × 10²⁸ atoms per m³, each contributing about 2.2 Bohr magnetons. What's its saturation flux density, $\mu_0M_s$?

- [ ] About 0.02 T
- [ ] About 0.2 T
- [x] About 2.2 T
- [ ] About 22 T

::: reveal
$M_s = n \times 2.22\mu_B = 8.5 \times 10^{28} \times 2.22 \times 9.27 \times 10^{-24}$ = 1.75 × 10⁶ A/m, and $\mu_0M_s$ = 2.2 T. That's why iron-based cores saturate near 2 T, and why a power transformer can't be shrunk by simply running it at higher flux: past saturation the core stops helping and the magnetizing current soars.
:::
:::

::: nameit
## Kinds of magnetism

- **Diamagnetism:** every material weakly opposes an applied field (induced orbital currents).
- **Paramagnetism:** independent moments align weakly with a field, χ ∝ 1/T (B11.7).
- **Ferromagnetism:** exchange aligns neighboring spins spontaneously below the Curie temperature: Fe 1043 K, Co 1388 K, Ni 627 K, NdFeB about 590 K, ferrites 400 to 700 K.
- **Antiferromagnetism and ferrimagnetism:** neighbors align oppositely; in ferrites the two sublattices are unequal, leaving a net moment. Ferrites are insulators, so eddy currents vanish, which is why they're used at high frequency.

## Saturation

With n magnetic atoms per volume each carrying p Bohr magnetons ($\mu_B$ = 9.274 × 10⁻²⁴ J/T), $M_s = np\mu_B$. Saturation flux densities: iron 2.15 T, silicon steel about 2.0, nickel–iron alloys 0.8 to 1.6, ferrites 0.3 to 0.5.

## Domains and hysteresis

A large crystal splits into domains to reduce its stray-field energy. Magnetizing it moves domain walls and rotates domains; defects pin the walls, so the magnetization lags the field, tracing a loop. Key numbers: remanence $B_r$ (flux at zero field), coercivity $H_c$ (field to bring it to zero), and the loop area, the energy dissipated per cycle per volume: about $4\mu_0M_sH_c$ for a square loop.

## Soft and hard

- **Soft** ($H_c$ from 0.5 to 100 A/m): silicon steel, nickel–iron, amorphous metals, ferrites, for transformers, inductors and shields.
- **Hard** ($H_c$ around 10⁶ A/m): NdFeB ($B_r$ ≈ 1.3 T), SmCo, hard ferrite, for motors and speakers. The figure of merit is the maximum energy product $(BH)_{max}$, at most $\frac{B_r^2}{4\mu_0}$: 336 kJ/m³ for $B_r$ = 1.3 T.

## Spintronics

Electrons' spin also affects resistance: giant and tunneling magnetoresistance, where a stack's resistance depends on whether two magnetic layers are parallel, read every hard-disk bit and store data in MRAM.
:::

::: example
## A ferrite core with $\mu_0M_s$ = 0.5 T and $H_c$ = 10 A/m is driven through its full loop at 100 kHz. How much power does each cm³ lose to hysteresis?

::: solution
1. **Loss per cycle.**
   $$4 \times 0.5 \times 10 = 20\ \text{J/m}^3$$
2. **Loss per second.** At 10⁵ cycles per second,
   $$\begin{aligned} P &= 20 \times 10^5\ \text{W/m}^3 \\ &= 2\ \text{MW/m}^3 \\ &= 2\ \text{W/cm}^3 \end{aligned}$$
3. **In a real converter.** A real converter drives the core through a small loop, perhaps ±0.1 T, and loses roughly ten times less, but loss still grows with frequency, which is why switching frequencies and core materials are chosen together.

**Answer:** each cm³ loses 2 W to hysteresis.
:::
:::

::: example
## A 230 V, 50 Hz transformer winding has 500 turns on a 20 cm² core. What peak flux density does it reach?

::: solution
1. **Transformer equation.** For a sinusoid, $V_{rms} = 4.44fNAB_{peak}$, so
   $$\begin{aligned} B_{peak} &= \frac{230}{4.44 \times 50 \times 500 \times 0.002} \\ &= 1.04\ \text{T} \end{aligned}$$
2. **Compare with saturation.** That's comfortably below silicon steel's 2 T saturation, leaving margin for overvoltage.

**Answer:** the peak flux density is 1.04 T.
:::
:::

::: example
## A hard-disk bit's magnetic grains must stay put for ten years, which needs $KV > 60kT$. With anisotropy K = 0.5 MJ/m³ at 300 K, how small can a grain be?

::: solution
1. **The stability condition.** Thermal fluctuations flip a grain over its anisotropy barrier KV at a rate of about $10^9e^{-KV/kT}$ per second, so ten years of stability needs KV of roughly 60kT.
2. **Smallest volume.**
   $$\begin{aligned} V_{min} &= \frac{60kT}{K} \\ &= \frac{60 \times 4.14 \times 10^{-21}}{5 \times 10^5}\ \text{m}^3 \\ &= 5.0 \times 10^{-25}\ \text{m}^3 \\ &= 497\ \text{nm}^3 \end{aligned}$$
   a cube 7.9 nm on a side.
3. **Smaller grains.** Smaller grains are **superparamagnetic**: their moments wander thermally.
4. **Higher anisotropy.** Higher K holds smaller grains but needs stronger write fields, which is why heat-assisted recording warms each bit briefly while writing it.

**Answer:** a grain can be no smaller than about 497 nm³, a cube 7.9 nm on a side.
:::
:::

::: check
given: n = 8.5 | 9.1 | 9.1; p = 2.22 | 1.72 | 0.6
answer: 4e-7*pi*n*1e28*p*9.2740100783e-24
unit: T
tolerance: 0.5%

## A ferromagnet has {n} × 10²⁸ magnetic atoms per m³, each contributing {p} Bohr magnetons. What's its saturation flux density $\mu_0M_s$?

::: right
Right. $\mu_0np\mu_B$ = {answer} T.
:::

::: misses
- [n*1e28*p*9.2740100783e-24] That's $M_s$ in A/m; multiply by $\mu_0$.
- [any] Not yet. $\mu_B$ = 9.274 × 10⁻²⁴ J/T.
:::
:::

::: check
given: B = 0.3 | 1.6; c = 5 | 50; f = 50 | 100000; V = 1 | 20
answer: 4*B*c*f*V*1e-6
unit: W
tolerance: 0.5%

## A core (saturation {B} T, coercivity {c} A/m, volume {V} cm³) is driven around its full square-ish loop at {f} Hz. How much power does hysteresis waste?

::: right
Right. $4\mu_0M_sH_c \times f \times V$ = {answer} W.
:::

::: misses
- [B*c*f*V*1e-6] The loop spans $2\mu_0M_s$ by $2H_c$: area $4\mu_0M_sH_c$.
- [any] Not yet. Energy per cycle per volume times frequency times volume.
:::
:::

::: check
given: V = 120 | 230; f = 50 | 60; N = 200 | 500; A = 10 | 20
answer: V/(4.44*f*N*A*1e-4)
unit: T
tolerance: 0.5%

## A {V} V, {f} Hz winding has {N} turns on a {A} cm² core. What's the peak flux density?

::: right
Right. $B = \frac{V}{4.44fNA}$ = {answer} T.
:::

::: misses
- [V/(2*pi*f*N*A*1e-4)] For RMS voltage the factor is $\sqrt2\pi$ = 4.44.
- [any] Not yet. $V_{rms} = 4.44fNAB_{peak}$.
:::
:::

::: check
given: B = 0.4 | 1.2 | 1.4
answer: B^2/(4*4e-7*pi)/1000
unit: kJ/m^3
tolerance: 0.5%

## A permanent magnet has remanence {B} T. What's the largest energy product it could have?

::: right
Right. $\frac{B_r^2}{4\mu_0}$ = {answer} kJ/m³.
:::

::: misses
- [B^2/(2*4e-7*pi)/1000] The maximum of BH along the demagnetizing line is at $B_r/2$, giving $B_r^2/4\mu_0$.
- [any] Not yet. Maximize BH along $B = B_r + \mu_0H$.
:::
:::

::: check
given: s = 0.5 | 1.6 | 2; c = 10 | 20; w = 15 | 25
answer: s*tanh(c/w)
unit: T
tolerance: 0.5%

## In the model loop with saturation {s} T, coercivity {c} A/m and softness {w} A/m, what's the remanence?

::: right
Right. $s\tanh(H_c/w)$ = {answer} T.
:::

::: misses
- [s] Only a perfectly square loop keeps all its saturation at zero field.
- [any] Not yet. Evaluate the decreasing branch at H = 0.
:::
:::

::: check
kind: choice

## Why are ferrites, rather than iron, used for cores at hundreds of kilohertz?

- [ ] They have higher saturation
- [x] They're electrical insulators, so eddy currents, which grow as f², are negligible
- [ ] They have no hysteresis
- [ ] They're cheaper to wind

::: misses
- [1] Their saturation is lower, about 0.4 T against iron's 2 T.
- [3] They have hysteresis; it's the eddy currents that they avoid.
- [4] Winding doesn't depend on the core material.
:::
:::

::: check
kind: parts
given: K = 0.05 | 0.5 | 5; T = 300 | 350; D = 40 | 60

## A recording grain has anisotropy {K} MJ/m³ at {T} K and must keep KV ≥ {D}kT.

::: part
answer: D*1.380649e-23*T/(K*1e6)*1e27
unit: nm³
tolerance: 0.5%

### What's the smallest stable volume?

::: misses
- [any] $V = \frac{\Delta kT}{K}$.
:::
:::

::: part
answer: (D*1.380649e-23*T/(K*1e6))^(1/3)*1e9
unit: nm
tolerance: 0.5%

### How big a cube is that?

::: misses
- [any] The cube root.
:::
:::
:::

::: check
kind: derivation
vars: n = 10000000000000000000000000000..100000000000000000000000000000, p = 0.5..3

## A ferromagnet has n magnetic atoms per m³, each with p Bohr magnetons.

::: step
answer: n*p*9.2740101e-24

### What's its saturation magnetization, in A/m?
:::

::: step
answer: 1.25663706e-6*n*p*9.2740101e-24

### What's its saturation flux density $\mu_0M_s$, in tesla?
:::

::: right
Right. Iron, with about 2.2 per atom, saturates near 2.1 T, which limits every transformer and motor core.
:::
:::

::: explain
## What makes a ferromagnet's spins line up spontaneously when a paramagnet's don't?

::: model
In a paramagnet the moments are independent, and only an external field aligns them, against thermal disorder. In a ferromagnet, neighboring electrons interact through exchange: because of the Pauli principle, the electrostatic repulsion between two electrons depends on whether their spins are parallel or antiparallel, and in iron, cobalt and nickel parallel spins have the lower energy. This coupling is far stronger than the magnetic interaction between the moments themselves, equivalent to an internal field of hundreds of tesla. Below the Curie temperature it wins over thermal agitation and all the spins in a domain align, even with no field applied; above it, thermal energy breaks the order and the material becomes paramagnetic.
:::
:::

::: practice

::: check
given: n = 5 | 10; p = 0.5 | 2.5
answer: 4e-7*pi*n*1e28*p*9.2740100783e-24
unit: T
tolerance: 0.5%

## $\mu_0M_s$ for {n} × 10²⁸ m⁻³ atoms at {p} $\mu_B$?

::: misses
- [any] $\mu_0np\mu_B$.
:::
:::

::: check
given: V = 24 | 400; f = 50 | 400; N = 50 | 800; A = 2 | 40
answer: V/(4.44*f*N*A*1e-4)
unit: T
tolerance: 0.5%

## Peak flux: {V} V, {f} Hz, {N} turns, {A} cm²?

::: misses
- [any] $V/(4.44fNA)$.
:::
:::

::: check
given: B = 0.2 | 0.4 | 0.8 | 1.1 | 1.25 | 1.45
answer: B^2/(4*4e-7*pi)/1000
unit: kJ/m^3
tolerance: 0.5%

## Ideal $(BH)_{max}$ for $B_r$ = {B} T?

::: misses
- [any] $B_r^2/4\mu_0$.
:::
:::
:::
