Forces from energy: the method of virtual work

Database › Physics › Classical physics › Electromagnetism

EM-0038MethodUndergraduateEntrance exam

Electrostatic forces follow from the energy by virtual displacement: F = −∂W/∂x at constant charge, or +∂W/∂x at constant potential, the sign difference coming from work done by the battery.

$$F_x=-\Big(\frac{\partial W}{\partial x}\Big)_Q=+\Big(\frac{\partial W}{\partial x}\Big)_V,\qquad W=\frac{Q^2}{2C}=\frac12CV^2\ \Rightarrow\ F_x=\frac12V^2\frac{dC}{dx}$$

Explanation

At fixed charge the system is isolated, so mechanical work comes from the field energy. At fixed potential the battery supplies $V\,dQ=V^2dC$, twice the change in field energy $\frac12V^2dC$; half goes into the field and half into mechanical work. Both prescriptions give the same force, which depends only on the instantaneous configuration.

The method avoids computing fringing fields: a dielectric slab is pulled into a capacitor by the fringe field at its edge, but the force is obtained simply from $dC/dx$. The magnetic analogue is $F=+\frac12I^2\frac{dL}{dx}$ at constant current.

Example 1

A dielectric slab ($\varepsilon_r=3.0$) fills the gap ($d=2.0$ mm) of a parallel-plate capacitor of width $w=10$ cm and is partly inserted. Find the force pulling it in at $V=1.0$ kV.

Solution

With insertion length $x$, $C=\frac{\varepsilon_0w}{d}[\varepsilon_rx+(L-x)]$, $dC/dx=\frac{\varepsilon_0w(\varepsilon_r-1)}{d}$. $F=\frac12V^2\frac{dC}{dx}=\frac{(8.85\times10^{-12})(0.10)(2.0)(10^6)}{2(2.0\times10^{-3})}\approx4.4\times10^{-4}$ N, independent of $x$.

Example 2

Find the force between the plates of a parallel-plate capacitor held at voltage $V$, using both the constant-$V$ and constant-$Q$ prescriptions.

Solution

$C=\varepsilon_0A/x$. Constant $V$: $F=\frac12V^2\frac{dC}{dx}=-\frac{\varepsilon_0AV^2}{2x^2}$. Constant $Q$: $W=\frac{Q^2x}{2\varepsilon_0A}$, $F=-\frac{Q^2}{2\varepsilon_0A}=-\frac{\varepsilon_0AV^2}{2x^2}$. Same attractive force.

In graduate entrance exams

  • Hiroshima University, Graduate School of Advanced Sciences of Matter, Quantum Matter (MSc entrance exam), FY2016 (H28), Problem 2

Related entries