Increasing capacitance can decrease stored electrical energy when charge is fixed and increase it when voltage is fixed. That sign change does not mean a dielectric is mechanically pushed outward in one case and pulled inward in the other. A voltage source can exchange energy while the material moves, so capacitor energy alone is not the complete ledger.
This article uses an ideal variable-capacitance model for robot electrical and electromechanical reasoning. The dielectric is linear and lossless, movement is quasistatic, and electrical equilibrium is maintained throughout. The calculation is not an instruction to manipulate charged hardware, a measured actuator result, or a specification for a capacitor material.
Define the initial state and the held quantity
Start with capacitance C₀ = 2 nF at voltage V₀ = 12 V. The positive plate carries Q₀ = C₀V₀ = 24 nC, and stored energy is U₀ = C₀V₀²/2 = 144 nJ. A dielectric with relative permittivity κ = 3 will completely fill the original gap, increasing capacitance to 6 nF without changing the plate geometry.
There are two different external boundaries to compare. In the isolated case, disconnect the source before insertion and retain the free plate charge. In the source-connected case, an ideal source holds voltage at 12 V and can supply additional free charge. Keeping both Q and V fixed while changing C would violate Q = CV.
OpenStax treats dielectric insertion into an isolated capacitor. Princeton's authored problem and solution compare source-connected and disconnected cases, including the mechanical energy exchange. The numerical values and partial-insertion calculation here are independently selected; they are not a source example or an experimental report.
Isolated charge: stored energy decreases
With Q fixed at 24 nC and final C = 6 nF, final voltage is Q/C = 4 V. The appropriate energy form is U = Q²/(2C). Final stored energy becomes 48 nJ, so ΔU = −96 nJ. No battery remains connected to supply or absorb electrical work during this change.
In the ideal quasistatic lossless model, that 96 nJ is available as mechanical work done by the electrical forces during insertion. An external agent that restrains the material receives this work while moving it slowly. Define W_mech as positive work delivered by the electrical system to that mechanical agent; then W_mech = −ΔU = 96 nJ.
Without the quasistatic restraint, energy could instead appear as motion and subsequently enter other channels. The endpoint capacitor-energy difference alone would not determine their partition. Here the stated ideal restraint is what allows a clean mechanical-work interpretation.
Fixed voltage: account for the source first
Keep the ideal 12 V source connected throughout insertion. Final charge is now 6 nF times 12 V = 72 nC, so the source transfers an additional 48 nC. Because its voltage stays constant, its electrical work is W_source = V₀ΔQ = 576 nJ.
Final capacitor energy is CV₀²/2 = 432 nJ, an increase of 288 nJ. Only half the source's 576 nJ appears as additional stored energy. The remainder is 288 nJ of mechanical work in the declared lossless quasistatic model. The ledger is W_source = ΔU + W_mech = 288 + 288 nJ.
Thus the dielectric is drawn inward while stored capacitor energy rises. Interpreting that rise as proof of an outward force would omit the source. In this comparison, both the material and the capacitor can receive energy because the source loses more energy than the capacitor stores.
Derive force from a position-dependent capacitance
Let x increase with insertion depth, from zero to L = 0.040 m. Use the idealized capacitance law C(x) = C₀[1 + 2x/L]. It models the vacuum and dielectric-filled portions as parallel contributions and ignores edge corrections to the capacitance. Its derivative is C' = 10⁻⁷ F/m, positive and constant.
For fixed charge, U(x) = Q₀²/[2C(x)]. Mechanical force in the positive insertion direction is F_Q = −dU/dx = Q₀²C'/[2C(x)²]. It is positive throughout insertion. At the start its value is 7.2 micronewtons; at full insertion it falls to 0.8 micronewton because capacitance has tripled.
Integrating that changing force over the 0.040 m travel gives 96 nJ, matching the isolated endpoint energy ledger. Multiplying only the initial force by the full travel would overestimate work because the fixed-charge force decreases substantially along the path.
For fixed voltage, an increment dC transfers dQ = V₀dC from the source. The source supplies V₀²dC, while stored energy increases by V₀²dC/2. The difference gives F_V dx = V₀²dC/2, so F_V = V₀²C'/2. It is positive and equals 7.2 micronewtons throughout this linear-capacitance example.
That constant force times 0.040 m gives 288 nJ. It is not obtained by applying minus the derivative of capacitor energy at fixed voltage while ignoring the source. The energy boundary determines which derivative represents mechanical work.
Keep the mechanical model and the energy model consistent
The variable-capacitance method obtains total force from how geometry changes capacitance. It does not assert that a perfectly uniform field throughout an infinite slab supplies a local force everywhere. Real edge fields participate in pulling material into the gap, while an approximate capacitance can still provide an ideal total-work model.
Losses, material hysteresis, leakage, finite source impedance, and nonquasistatic motion would need additional terms. Within the selected idealization, the two complete ledgers explain the different stored-energy signs and the same inward force direction. A robot model should therefore retain source connection, charge constraint, capacitance path, and mechanical-work convention with any quoted energy change.
Sources checked October 24, 2026:
https://openstax.org/books/university-physics-volume-2/pages/8-4-capacitor-with-a-dielectric
https://kirkmcd.princeton.edu/examples/ph501set2.pdf
Concept illustration: A wired fixture on industrial machinery provides electrical measurement context. The image does not identify a capacitor, dielectric, source connection, insertion motion, or measured electrical and mechanical work.