Physics Formulae Electricity Magnetic Energy

Subset – Definition and Properties

Learn to calculate the energy stored in a magnetic field with the magnetic energy formula. Understand how inductance and...
🧲

Definition of Magnetic Energy

Magnetic energy represents the energy stored in magnetic fields, typically in inductors and electromagnetic systems. When current flows through an inductor, work is done against the back-EMF to build up the magnetic field. This energy is stored in the magnetic field itself and can be released when the current decreases. Unlike resistors that dissipate energy as heat, ideal inductors store energy reversibly in their magnetic fields. The energy depends on both the inductance (the component's ability to create magnetic flux) and the square of the current (which determines the magnetic field strength).

Physically, magnetic energy represents the work done against the back-EMF to establish a current in an inductor. As the current builds, the changing magnetic flux induces an EMF that opposes the increase (Lenz's law). Energy must be supplied to overcome this opposition, and this energy becomes stored in the magnetic field. The quadratic dependence on current (\(I^2\)) means that doubling the current quadruples the stored energy. The energy is distributed throughout the volume where the magnetic field exists, demonstrating that fields themselves are repositories of energy.

Physical Properties

Magnetic energy is a form of potential energy stored within a magnetic field. This energy is required to establish the magnetic field and is released when the field collapses.

PropertyDetails
NatureMagnetic energy is a scalar quantity, meaning it has magnitude but no associated direction.
SI UnitsThe standard unit for magnetic energy is the Joule (J).
Dimensional FormulaThe dimensions are M L<sup>2</sup> T<sup>-2</sup>, which is consistent with all forms of energy.
MagnitudeThe magnitude is always non-negative and is proportional to the inductance and the square of the current (U = ½LI²), or to the square of the magnetic field strength integrated over a volume.
Storage MechanismThe energy is not stored in the current-carrying wires themselves, but is distributed throughout the volume of space where the magnetic field exists.
ConservationAs a form of potential energy, it is part of the total energy of a system. In an isolated electromagnetic system without resistance, the sum of electric and magnetic energy is conserved.
📐

Diagram & Visualization

UB = ½ LI2 UB L I
An inductor (L) stores magnetic energy (U_B) in its magnetic field when a current (I) flows through it.
📝

Key Formulas

\[ W_m = \frac{1}{2}LI^2 \]
Energy in an Inductor (Current Form)
\[ W_m = \frac{\Phi^2}{2L} \]
Energy in an Inductor (Flux Form)
\[ W_m = \frac{1}{2}\Phi I \]
Energy in an Inductor (Mixed Form)
\[ u_m = \frac{B^2}{2\mu_0} \]
Magnetic Energy Density
\[ W_m = \int u_m \, dV = \int \frac{B^2}{2\mu_0} \, dV \]
Total Energy from Density Integration
🔍

Variables and Symbols

SymbolQuantitySI UnitDescription
\( W_m \)Magnetic EnergyJoule (J)Energy stored in the magnetic field.
\( L \)InductanceHenry (H)A measure of an inductor's ability to store magnetic energy.
\( I \)Electric CurrentAmpere (A)The flow of electric charge through the inductor.
\( \Phi \)Magnetic FluxWeber (Wb)The total magnetic field which passes through a given area.
\( u_m \)Magnetic Energy DensityJ/m³The amount of stored magnetic energy per unit volume.
\( B \)Magnetic Field StrengthTesla (T)The strength and direction of the magnetic field.
\( H \)Magnetic Field IntensityA/mAn auxiliary magnetic field related to free currents.
\( \mu_0 \)Permeability of Free SpaceH/mA physical constant, \(4\pi \times 10^{-7}\) H/m.
\( \mu_r \)Relative PermeabilityDimensionlessThe factor by which a material enhances the magnetic field.
\( \mathcal{E} \)Back-EMF (Electromotive Force)Volt (V)Voltage induced in an inductor opposing a change in current.
\( P \)PowerWatt (W)The rate at which energy is transferred into or out of the magnetic field.
🔄

Derivation

The energy stored in an inductor is equal to the work required to establish the current against the back-EMF. The instantaneous power \(P\) delivered to the inductor is the product of the back-EMF \(\mathcal{E} = L(dI/dt)\) and the current \(I\).

\[ P = \mathcal{E} \times I = L\frac{dI}{dt} \times I = LI\frac{dI}{dt} \]
Instantaneous Power Delivered to an Inductor

To find the total energy \(W_m\) stored when the current increases from 0 to a final value \(I\), we integrate the power with respect to time. Using the chain rule, \(dt = dI / (dI/dt)\), we can change the variable of integration from time \(t\) to current \(I\).

\[ W_m = \int_0^T P \, dt = \int_0^I LI \, dI = L \int_0^I I \, dI = \frac{1}{2}LI^2 \]
Integrating Power to Find Total Energy

This result can be verified by considering the energy stored in the magnetic field of a long solenoid. The total energy is the energy density \(u_m = B^2 / (2\mu_0)\) multiplied by the volume of the solenoid's core \(V = Al\).

\[ W_m = \frac{B^2}{2\mu_0} \times \text{Volume} = \frac{B^2}{2\mu_0} \times Al \]
Energy in Terms of Magnetic Field

By substituting the expressions for the magnetic field \(B = \mu_0 N I / l\) and inductance \(L = \mu_0 N^2 A / l\) of a solenoid, we can show the equivalence.

\[ W_m = \frac{(\mu_0 NI/l)^2 Al}{2\mu_0} = \frac{\mu_0^2 N^2 I^2 A l}{2\mu_0 l^2} = \frac{\mu_0 N^2 I^2 A}{2l} = \frac{1}{2} \left( \frac{\mu_0 N^2 A}{l} \right) I^2 = \frac{1}{2}LI^2 \]
Verification for a Solenoid
📚

Types & Special Cases

The calculation and concept of magnetic energy can be applied in different contexts, primarily distinguished by the configuration of the magnetic field and the system being analyzed.

Type / CaseDescriptionWhen to Use
Energy in an InductorThe total energy stored in the magnetic field of an ideal inductor. It is calculated as U = ½LI², where L is the inductance and I is the current.Used for analyzing discrete components in electrical circuits, such as RL, LC, and RLC circuits.
Magnetic Energy Density (u)Represents the magnetic energy stored per unit volume at a specific point in a magnetic field. For a linear material, it is given by u = B² / (2μ).Useful for calculating total energy in distributed fields by integrating over a volume, especially in electromagnetism and wave theory.
Energy from Mutual InductanceEnergy stored in a system of two or more coupled coils due to their interacting magnetic fields. The interaction term depends on the mutual inductance (M) and the currents in each coil.Essential for analyzing transformers, coupled inductors, and wireless power transfer systems.
🔢

Worked Example (Numerical)

Given an inductor with L = 50 mH and a steady current I = 2 A flowing through it, calculate the stored magnetic energy \(W_m\).
  1. State the formula for magnetic energy: \(W_m = \frac{1}{2}LI^2\).
  2. Convert the inductance from millihenries (mH) to Henries (H): \(L = 50 \text{ mH} = 50 \times 10^{-3} \text{ H} = 0.05 \text{ H}\).
  3. Substitute the given values into the formula: \(W_m = \frac{1}{2}(0.05 \text{ H})(2 \text{ A})^2\).
  4. Calculate the result: \(W_m = 0.5 \times 0.05 \times 4 = 0.1 \text{ J}\).
The stored magnetic energy is 0.1 Joules.
🧮

Try It

🚀

Applications

Power Electronics: Inductors are fundamental components in switching power supplies like buck and boost converters. They store energy from the source during one part of the switching cycle and release it to the load in another, enabling efficient voltage conversion.

Transportation Systems: Electric vehicles use the inductance of their motors for regenerative braking. Kinetic energy is converted into electrical energy and stored temporarily in the magnetic field before being returned to the battery. Magnetic levitation (Maglev) trains also use powerful electromagnets that store significant magnetic energy to levitate and propel the train.

Grid Energy Storage: Superconducting Magnetic Energy Storage (SMES) systems store vast amounts of energy in the magnetic field of a superconducting coil. They can release this energy almost instantaneously, making them ideal for stabilizing the power grid and maintaining power quality.

Scientific Research: Particle accelerators (like the LHC), MRI machines, and nuclear fusion reactors (tokamaks) all rely on powerful superconducting magnets. These magnets store enormous quantities of magnetic energy (from mega- to gigajoules) to generate the intense fields needed to steer particle beams or confine plasma.

🌍

Real-World Examples

A 10 mH inductor in a switching power supply carries a peak current of 5 A. The inductor is a solenoid with an air core, length of 5 cm, and diameter of 1 cm. Calculate the stored energy and the magnetic energy density in its core.
  1. <strong>Step 1: Calculate stored magnetic energy</strong><br>Use the primary formula \(W_m = \frac{1}{2}LI^2\).<br>\[ W_m = \frac{1}{2}(10 \times 10^{-3} \text{ H})(5 \text{ A})^2 = \frac{1}{2}(0.01)(25) = 0.125 \text{ J} \]
  2. <strong>Step 2: Calculate the magnetic field B</strong><br>First, find the number of turns N using the solenoid inductance formula \(L = \mu_0 N^2 A / l\).<br>\[ N = \sqrt{\frac{Ll}{\mu_0 A}} = \sqrt{\frac{0.01 \times 0.05}{4\pi \times 10^{-7} \times \pi \times (0.005)^2}} \approx 400 \text{ turns} \]<br>Now calculate B using \(B = \mu_0 N I / l\).<br>\[ B = (4\pi \times 10^{-7}) \frac{400}{0.05} \times 5 \approx 0.0503 \text{ T} \]
  3. <strong>Step 3: Calculate energy density</strong><br>Use the energy density formula \(u_m = B^2 / (2\mu_0)\).<br>\[ u_m = \frac{(0.0503)^2}{2 \times 4\pi \times 10^{-7}} \approx 1007 \text{ J/m}^3 \]
The inductor stores 0.125 J of energy, and the magnetic energy density within its core is approximately 1007 J/m³.
A Superconducting Magnetic Energy Storage (SMES) system for grid stabilization uses a large 100 H inductor designed to carry a current of 1000 A. Calculate the total energy it can store and the power it can deliver if it discharges fully in 1 second.
  1. <strong>Step 1: Calculate stored energy</strong><br>Use the formula \(W_m = \frac{1}{2}LI^2\).<br>\[ W_m = \frac{1}{2}(100 \text{ H})(1000 \text{ A})^2 = 50 \times 1,000,000 = 50 \times 10^6 \text{ J} = 50 \text{ MJ} \]
  2. <strong>Step 2: Convert energy to kilowatt-hours (kWh)</strong><br>Since 1 kWh = 3.6 MJ:<br>\[ W_m = \frac{50 \text{ MJ}}{3.6 \text{ MJ/kWh}} \approx 13.9 \text{ kWh} \]
  3. <strong>Step 3: Calculate power delivery capability</strong><br>Power is energy divided by time.<br>\[ P = \frac{\Delta W_m}{\Delta t} = \frac{50 \times 10^6 \text{ J}}{1 \text{ s}} = 50 \times 10^6 \text{ W} = 50 \text{ MW} \]
The SMES system can store 50 MJ (13.9 kWh) of energy and is capable of delivering power at a rate of 50 MW. This high power output is its key advantage over battery storage.
🏙️

Real-World Scenarios

MRI Scanner
An MRI's superconducting magnet stores immense magnetic energy in its powerful, stable field to create detailed internal body images.
Wireless Charger
Inductive chargers transfer power through a changing magnetic field, using stored magnetic energy as the medium to charge a device wirelessly.
- +
Ignition Coil
A car's ignition coil rapidly stores magnetic energy, then collapses its field to induce a high-voltage current, creating a spark.

MRI Scanners
The heart of an MRI machine is a large superconducting magnet that creates a very strong, stable magnetic field. This requires storing an immense amount of magnetic energy (gigajoules) continuously for the machine to operate. The energy is stored in the persistent current flowing through the superconducting coils.

Wireless Phone Chargers
Inductive charging pads work by creating a changing magnetic field in a transmitter coil. This field stores and transfers energy to a receiver coil in the phone. The magnetic energy stored in the field acts as the medium for transferring power wirelessly across a short distance.

Ignition Coils in Cars
A car's ignition coil is a specialized transformer that acts as an inductor. It stores a small amount of magnetic energy when current from the car's battery flows through its primary winding. When the current is abruptly cut off, the collapsing magnetic field induces a very high voltage in the secondary winding, creating the spark that ignites the fuel.

⚠️

Limitations and Assumptions

⚠️ The formula \(W_m = \frac{1}{2}LI^2\) assumes an ideal inductor with zero electrical resistance. Real inductors have winding resistance, which dissipates some energy as heat (\(P_{loss} = I^2R\)), reducing storage efficiency.
⚠️ For inductors with ferromagnetic cores, the material can become saturated at high magnetic fields. This means the inductance \(L\) is no longer constant but decreases as current increases, capping the maximum energy that can be stored and making the linear formula inaccurate.
⚠️ Core losses, such as hysteresis and eddy currents, can dissipate energy in magnetic materials, especially in AC applications or high-frequency switching. These losses are not accounted for in the ideal formula.
💡 The formula assumes that all the magnetic field is contained within the inductor. In reality, there is always some 'fringing' or leakage flux, meaning the stored energy is slightly different from the calculated value.

Common Mistakes

⚠️ Forgetting to Square the Current: A frequent error is calculating energy as \(\frac{1}{2}LI\). The energy is proportional to the square of the current (\(I^2\)), a crucial detail for understanding how stored energy changes.
⚠️ Unit Conversion Errors: Calculations must use base SI units. Always convert inductance to Henries (H) from millihenries (mH) or microhenries (µH), and ensure current is in Amperes (A) before applying the formula.
⚠️ Confusing Energy and Power: Magnetic energy (\(W_m\)) is the total potential energy stored, measured in Joules (J). Power (\(P\)) is the rate at which this energy is being stored or released, measured in Watts (W). They are not interchangeable.
📏

Units and Dimensions

QuantitySymbolSI UnitDimensional Formula
Magnetic Energy\(W_m\)Joule (J)\([M L^2 T^{-2}]\)
Inductance\(L\)Henry (H)\([M L^2 T^{-2} I^{-2}]\)
Electric Current\(I\)Ampere (A)\([I]\)
Magnetic Field\(B\)Tesla (T)\([M T^{-2} I^{-1}]\)
Permeability\(\mu_0\)H/m\([M L T^{-2} I^{-2}]\)

Dimensional Analysis Check: To ensure the formula \(W_m = \frac{1}{2}LI^2\) is dimensionally correct, we check if the dimensions on both sides match. The dimension for energy is \([M L^2 T^{-2}]\).

\[ [L][I]^2 = ([M L^2 T^{-2} I^{-2}]) \cdot [I]^2 = [M L^2 T^{-2}] \]

The dimensions on both sides are identical, confirming the formula's physical consistency.

🎯

Study Strategy

1 🧠 Grasp the Fundamentals
  • Read the Definition section to understand that magnetic energy is stored in a magnetic field created by current.
  • Focus on how work done against the back-EMF in an inductor is converted into this stored energy.
  • Contrast how an ideal inductor stores energy in its magnetic field with how a resistor dissipates energy as heat.
  • Visualize the magnetic field lines around a current-carrying inductor; this physical space is where the energy U resides.
2 📝 Commit the Formula to Memory
  • Write the formula U = (1/2)LI² repeatedly. Clearly label each variable: U (Joules), L (Henries), and I (Amperes).
  • Verbally explain the formula's meaning: 'Magnetic energy equals one-half the inductance times the current squared.'
  • Analyze the quadratic relationship. Recognize that doubling the current quadruples the stored energy, a key insight.
  • Review the formula's Derivation to understand its origin from the concepts of power and work in an inductor.
3 ✍️ Practice with Problems
  • Carefully follow the calculation in the Worked Example section, ensuring you can reproduce the result and logic.
  • Heed the warning in the Common Mistakes section: always square the current (I²), not just multiply by I.
  • As highlighted in Common Mistakes, consistently convert all units to base SI (e.g., millihenries to Henries) before calculating.
  • Solve varied problems, first calculating energy from L and I, then solving for I or L when given the energy.
4 🌍 Connect to Real-World Physics
  • Study the Applications section to see how switching power supplies in electronics rely on this energy storage and release cycle.
  • Explore the Real-World Examples to understand how electric vehicles use regenerative braking to convert kinetic into magnetic energy.
  • Think about MRI machines, which use powerful superconducting magnets to store vast amounts of magnetic energy for imaging.
  • Discuss how this principle is used in wireless charging, where energy is transferred via changing magnetic fields.
Master magnetic energy by understanding the concept, practicing the formula, and seeing its power in real-world applications.

Frequently Asked Questions

×

×