Section 33.2 Force and Torque on an Electric Dipole
Subsection 33.2.1 An Electric Dipole in a Constant Electric Field
Consider an electric dipole placed in a region of constant electric field as shown in Figure 33.2.1. Forces on the two charges will be equal in magnitude but opposite in direction. That will make the net force on the dipole zero.

However, if the dipole is oriented at an angle to the electric field, then there will be a non-zero torque on the dipole since the forces on the two charges form a couple. Since the net force on the dipole is zero, the torque will be independent of the pivot point for the calculation of the torque with following result,
Replacing \(q\vec d\) as the dipole moment vector \(\vec p\text{,}\) we see that the torque on the dipole is equal to the vector product of the dipole moment vector and the electric field vector \(\vec E\text{.}\)
Thus, when a polar molecule such as the water molecule is placed in an external electric field, the molecule experiences a torque that will cause the molecule to acquire angular acceleration. Since the torque direction flips when dipole rotates past the direction of the electric field, rotation speed will slow down, come to a stop, and reverse direction as shown in Figure 33.2.2. This will result in the oscillation of the direction of the dipole moment vector about the direction of the electric field. The damping of this motion leads to the dipole momet vector \(\vec p\) settling in the same direction as the electric field \(\vec E\text{.}\)

Subsection 33.2.2 (Calculus) Dipole in a Non-Uniform Electric Field
Electric force on a dipole is zero if the electric field is uniform since the oppositely directed forces on \(+q\) and \(-q\) of equal magnitude cancel each other exactly. However, if electric field is non-uniform, such as the electric field of a point charge, the two charges of the dipole will be in different electric fields, and hence the net force on the dipole will not be zero.
As in the figure, we will calculate net force in a simpler situation - assume direction of electric field is fixed in the positive \(y\) axis direction, but its magnitude varies with \(x\) coordinate of space.
Denoting \(E_y(x=x_+)\) by \(E_{+,y}\) and \(E_y(x=x_-)\) by \(E_{-,y}\text{,}\) we write the \(y\) component of the net force to be

If the dipole is microscopic, we can take the small \(d\) limit, which would also be \(\Delta x \rightarrow 0\) limit. As \(\Delta x \rightarrow 0\text{,}\) \(\Delta E_y/\Delta x\) will be replaced by partial \(x\)-derivative of the electric field. Furthermore, \(q d\,\sin\theta\) is just \(p_x\) of the dipole moment vector \(\vec p\text{.}\) Therefore,
For \(\vec p\) in an arbitrary direction, the partial derivative is replaced by nabla vector operator \(\vec \nabla\text{.}\) Thus, we replace \(p_x\,\partial/\partial_x\) by \(\vec p\cdot \vec\nabla\text{.}\)
where
so that
Checkpoint 33.2.3. (Calculus) Force and Torque on a Dipole in a Non-uniform Field.
A dipole has dipole moment of magnitude \(5 \times 10^{-12}\) Cm. The dipole is placed \(2.0\text{ mm}\) from a fixed \(3\, \mu\)C charge. Find the force and torque on the dipole (a) when the dipole is pointed away from the fixed charge, (b) when the dipole is pointed \(90^{\circ}\) from the fixed charge.
Hint: (a) Place the charge at the origin and the dipole along \(z\) axis. (b) Point the dipole towards \(x\) axis.
(a) Be careful taking derivative of \(E_z\text{.}\) (b) Zero force.
(a) \(-34 \text{ N}\ \hat u_z \text{,}\) \(\tau=0\) (b) \(16.8\text{ N}\ \hat u_x\text{,}\) \(-3.38\times 10^{-2}\ \textrm{N.m}\ \hat u_y \text{.}\)
(a) For concreteness, we place the fixed point charge at the origin, and the dipole be located along \(z\) axis with its direction towards positive \(z\) axis . The net force will have only \(z\)-component. We can get tha from taking derivative of the electric field.
Therefore, the magnitude of the force is \(34 \ \text{N}\) and the direction is pointed towards negative \(z\) axis.
The torque will be zero since direction of the field is parallel to the direction of the electric field moment.
(b) Let \(x\) axis be the direction of the dipole moment while located on \(z\) axis. Now, we expect force from \(p_x\) and \(x\) derivative of electric field. Let us work with all components here since, we have mixed directions.
Therefore, there is no net force on the dipole. It makes sense since for dipole to be pointed towards \(x\) axis, both charges are about the same distance from the charge at origin.
The torque will be
Checkpoint 33.2.4. (Calculus) Computing Force on a Dipole by a Point Charge.
Find the force on a dipole of dipole moment \(\vec p\) from a fixed charge \(q\) in each of the cases shown in the figure.

Use definition.
(a) \(F_x = - \dfrac{pq}{2\pi\epsilon_0}\: \dfrac{1}{d^3}\text{,}\) (b) \(- \dfrac{pq}{4\pi\epsilon_0}\: \dfrac{1}{d^3} \text{.}\)
(a) Let the point charge be at the origin and the line shown in the figure be \(x\) axis. Then the electric field from the point charge is pointed in the same direction as the dipole.
The dipole is attracted towards increasing electric field.
(b) Let the direction of the dipole be in the \(y \) axis direction. We need the rate at which the electric field by q is changing with y-coordinate and evaluate it at \(y = 0\text{.}\)
Therefore, the force is in the y-direction with y-component given by