Show that .
(Hint: An infinitesimal amount of work is done to align the magnetic moment with the external field. This work rotates the magnetic moment vector through an angle (toward the positive z-direction), where is a positive angle change.)
Credit: University Physics Volume 3 by OpenStax, openstax.org, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Exercises adapted: converted to Kosoma's format, maths re-typeset, some exercises split into parts. Source commit db44eb99e9aa1d918fd8cf182f82ccdece9c7b11.