Section 33.3 Potential Energy of an Electric Dipole
When an electric dipole is placed in an external electric field, the dipole experiences a torque if dipole moment, \(\vec p\text{,}\) is not along the field, \(\vec E\text{.}\) If you want to rotate the dipole's orientation, you will need to do rotational work against this electric torque.
Suppose we try to rotate the dipole from an angle \(\theta_1\) to another angle \(\theta_2\) as shown in Figure 33.3.1. In the Calculus subsection below, we will see that the formula for work will be

This work will change the potential energy of the dipole by this amount. If work is positive, it will increase the potential energy of the dipole and if negative, it will decrease the potential energy. This potential energy is sometimes called dipole potential energy.
Suppose zero of the potential energy is when the dipole is perpendicular to the electric field. Then, we can write a simple expression for the potential energy of the dipole in an arbitrary orientation \(\theta\) with respect to the external field by setting \(\theta_2=\theta\) and \(\theta_1=\pi/2\text{.}\)
This relation shows that the energy of a dipole is least when the dipole moment and the external electric field are in the same direction and largest when the two are in the opposite direction.
Checkpoint 33.3.2. Energy for Flipping a Dipole Upside Down.
A dipole of moment \(50 \times 10^{-12}\text{ C.m}\) is aligned with an electric field between two parallel plates separated by \(5\text{ mm}\) that have a potential difference of \(1\text{ kV}\text{.}\) How much energy will it take to flip the orientation of the dipole?
First find the electric field between the plates and then use the formula for potential energy.
\(20\ \mu\text{J}\)
From the potential different across two parallel polates and their separation, we find that the maginutde of constant electric field between the plates is
From the formula for the dipole potential energy we get the following expression for change in energy for flipping from \(\theta=0\) to \(\theta=\pi\text{ rad}\text{.}\)
Putting numbers in now, we get
Subsection 33.3.1 (Calculus) Derivation of Potential Energy Formula
In this subsection we will work out derivation of dipole potential energy given in Eq. (33.3.1) by finding work required to rotate a dipole.
Consider rotating work for an infinitesimal rotation from an arbitrary angle \(\theta\) to \(\theta+d\theta\) against electric torque on the dipole, i.e., we provide a torque that will balance the torque by the electric field.
In the diagram in Figure 33.3.1, this corresponds to torque pointed in the page and magnitude
Therefore, rotational work by \(\tau_\text{applied}\) for infinitesimal rotation \(d\theta\) will be
Integrating this from \(\theta_1\) to \(\theta_2\) gives the work for a finite rotation.
This gives the change in potential energy for the rotation. Taking \(\theta_1=\pi/2\) as reference, i.e., zero potential energy when dipole moment vector and field are perpendicular to each other, we get the expression for the dipole potential energy
Checkpoint 33.3.3. Electrostatic Energy of a Dipole in the Presence of a Point Charge.
Find the electrostatic energy of the configurations in Figure 33.3.4.

Use \(U = -\vec p \cdot \vec E\text{.}\)
(a) \(-\frac{pq}{4\pi\epsilon_0 d^2}\text{,}\) (b) 0.
Using energy of a dipole in an external electric field, \(U = -\vec p\cdot\vec E\) we find the following for (a) and (b).