Two expressions for the energy (general) *** The task of Problem 2.24 was to demonstrate that two different expressions for the electrostatic energy, ∫(ϵ0E2/2)dv and ∫(ρϕ/2)dv, are equivalent (as they must be, if they are both valid). The latter expression can quickly be converted to Cϕ2/2 in the case of oppositely charged conductors in a capacitor (see Exercise 3.65). The task of this problem is to demonstrate the analogous relation for the magnetic energy, that is, to show that if a circuit (of finite extent) with self-inductance L contains current I, then ∫(B2/2μ0)dv equals LI2/2. This is a bit trickier than the electrostatic case, so here are some hints: (1) a useful vector identity is ∇⋅(A×B)=B⋅(∇×A)−A⋅(∇×B), (2) the vector potential and magnetic field satisfy ∇×A=B, (3) ∇×B=μ0J, (4) Φ=∫A⋅dl from Eq. (7.52), and (5) L is defined by Φ=LI.