Equilibria, branches and stability
Turn a physical stationarity condition into a nonlinear equation. Trace the solutions through loss of stability and decide which roots survive a perturbation.
- Bifurcation of a rotating hoop
- Why two coexisting phases share a tangent
- Mean-field ordering, response and the critical point
- When does a polar crystal change its preferred state?
- When a suspended capacitor loses its stable equilibrium
- Finite-size criticality and the evidence for a phase transition
- Phase nucleation, metastability and waiting-time statistics
Bifurcation of a rotating hoop
Use an effective potential to locate competing equilibria and predict the frequency of small oscillations on either side of a stability change.
From first principles
Find the instability threshold of the rotating hoop
Assume a frictionless bead constrained to a vertical circular hoop of radius \(R\). The hoop rotates at prescribed constant angular speed \(\Omega\) about its vertical diameter. With angle \(\theta\) measured upward from the bottom, the bead moves along the hoop at speed \(R\dot\theta\) and around the axis at speed \(\Omega R\sin\theta\). These directions are perpendicular, and its gravitational height above the bottom is \(R(1-\cos\theta)\). Thus its Lagrangian is
Apply the one-coordinate Lagrange equation. The rotation term tends to move the bead outward while gravity acts toward the bottom:
Linearizing about the bottom gives
For \(\Omega^2<g/R\) the coefficient restores a small displacement; above threshold the bottom has growing small disturbances. Setting the exact right side to zero gives the additional equilibrium and its range:
The two nonzero angles are related by reflection. Their existence follows from the prescribed rotation, so a freely slowing hoop would require an additional dynamical coordinate.
Derivation and applications
How high is the barrier between the two tilted equilibria?
In the rotating hoop, a new pair of stable angles appears where the bottom loses stability. Its curvature predicts a small-oscillation frequency; its depth determines whether a larger disturbance can carry the bead across the bottom. Consider a bead of mass \(m\) on a circular hoop of radius \(R\) spinning at prescribed constant angular speed \(\Omega\) about its vertical diameter. Ignore friction. Measure \(\theta\) upward along the hoop from the bottom. The vertical height change is \(R(1-\cos\theta)\) and the distance to the rotation axis is \(R\sin\theta\).
The constrained bead has kinetic energy \(mR^2(\dot\theta^2+\Omega^2\sin^2\theta)/2\). Collect the terms independent of \(\dot\theta\) as the potential governing motion in the rotating coordinate:
Write \(s=\Omega^2R/g\) and differentiate. A tilted equilibrium exists only for \(s>1\). At either stable angle \(\theta_*\) substitute \(\cos\theta_*=1/s\) into the potential and factor the result:
The bottom has \(U_{\rm eff}(0)=0\). Subtracting the energies gives the barrier and the threshold angular speed for a bead launched from a tilted minimum toward the bottom:
The velocity here is angular speed relative to the hoop. At threshold the trajectory approaches the unstable bottom asymptotically; crossing takes slightly more initial energy. Near \(s=1\) the barrier collapses quadratically even though two distinct equilibria already exist. The externally maintained rotation can exchange ordinary laboratory energy with the bead, while the effective one-coordinate energy is conserved.
Worked example
Estimate the speed needed to change branches
Change the inputs and investigate this derivation.
Take \(m=0.0500\) kg, \(R=0.200\) m and choose \(\Omega\) so that \(s=2.00\). The two minima then occur at \(\pm60.0^\circ\) and the barrier is
The tangential threshold speed is \(\sqrt{2\Delta U/m}=0.990\) m/s, or \(4.95\) rad/s along the hoop. A launch at \(0.800\) m/s has only \(0.0160\) J and returns to its original branch.
Second application
Use two measured angles to compare barrier depths
Change the inputs and investigate this derivation.
On the same hoop reduce the rotation until the two minima are at \(\pm36.9^\circ\). Their cosine is about \(0.800\), giving \(s=1.25\). The new barrier is \(mgR(0.25)^2/2.50=0.00245\) J, a tenth of the previous value. The new threshold tangential speed is \(0.313\) m/s. A smaller change in angle than this tenfold energy reduction might suggest is a measurable feature of a shallow double well.
Locate the bifurcation by measuring curvature
A vertical hoop rotates about its vertical diameter at a prescribed angular speed \(\Omega\). A frictionless bead can move along the hoop. Measure \(\theta\) from the bottom. The laboratory kinetic energy is \(mR^2(\dot\theta^2+\Omega^2\sin^2\theta)/2\). In the equation for the bead the effective potential per unit \(mgR\) is \(-\cos\theta-(\Omega^2R/2g)\sin^2\theta\). Its derivative factors as \(\sin\theta[1-(\Omega^2R/g)\cos\theta]\).
Plot the potential before and after crossing \(\Omega_c=\sqrt{g/R}\). At a stable equilibrium the slope vanishes and the curvature is positive. Above the critical speed the bottom loses positive curvature and two stable angles appear. The motor holding \(\Omega\) fixed exchanges angular momentum with the system. A freely rotating hoop with fixed total angular momentum describes a different experiment.
Reduce the constraint to one coordinate
A bead slides on a vertical circular hoop of radius \(R\). An external motor rotates the hoop at prescribed constant angular velocity \(\Omega\) about its vertical diameter. Let \(\theta\) be the angle from the lowest point. The bead’s height relative to that point is \(R(1-\cos\theta)\) and its distance from the rotation axis is \(R\sin\theta\). Assume negligible friction and a rigid constraint. The bead moves both along the hoop and azimuthally with it, even if \(\theta\) is momentarily stationary.
In laboratory coordinates its speed squared is \(R^2\dot\theta^2+\Omega^2R^2\sin^2\theta\). Subtract gravitational potential energy from this kinetic energy to construct a one-coordinate Lagrangian. Lagrange’s equation gives
Although motion in the laboratory is constrained by a driven apparatus, the reduced equation is autonomous for constant \(\Omega\).
Track equilibria as the rotation rate changes
The torque vanishes at the bottom and the top because \(\sin\theta=0\). Off-axis equilibria also appear when \(\cos\theta=g/(\Omega^2R)\). They are possible only if the rotation exceeds \(\Omega_c=\sqrt{g/R}\). Each positive-angle equilibrium then has a negative-angle partner. The two have equal energies because the apparatus is symmetric.
For small displacement from the bottom,
Below threshold the bottom is stable with angular frequency \(\sqrt{g/R-\Omega^2}\). As the threshold is approached this frequency tends to zero; the potential flattens. Above threshold the sign reverses and a small perturbation grows. Linearising about either displaced equilibrium instead gives a positive frequency squared \(\Omega^2\sin^2\theta_{\rm eq}\). Measuring this small-amplitude response distinguishes two predictions: where the bead rests and how steeply it is restored when disturbed.
Interpret the effective energy
The reduced motion admits the effective potential \(U_{\rm eff}=mgR(1-\cos\theta)-m\Omega^2R^2\sin^2\theta/2\). Its derivative predicts the reduced equation. Its negative centrifugal term differs in sign from the positive laboratory azimuthal kinetic energy. The motor supplies or absorbs work as the bead’s distance from the rotation axis changes. Treating the bead’s laboratory mechanical energy alone as conserved would therefore lead to the wrong equilibrium.
At exactly the critical rate, the quadratic terms in a small-angle expansion cancel and the first restoring term in \(U_{\rm eff}\) is positive and quartic. A finite disturbance can still oscillate there, but its period depends on its amplitude. An arbitrarily small oscillation cannot be assigned a finite harmonic frequency at that point.
Estimate the transition in a real apparatus
With \(R=0.250\) m and \(g=9.81\) m/s² the critical rate is 6.26 rad/s, or about 59.8 rpm. At 5.0 rad/s the bead returns to the bottom with small-oscillation frequency \(\sqrt{39.24-25}=3.77\) rad/s. At 8.0 rad/s the two new equilibria satisfy \(\cos\theta=39.24/64=0.613\), or \(\theta=\pm52.2°\). Small oscillations about either have angular frequency \(8\sqrt{1-0.613^2}=6.32\) rad/s.
When observing the transition, tilt of the axis or a small asymmetry of the hoop can favour one side. Hysteresis-like delays during a fast sweep can also arise from finite settling time in weak damping. Recording both equilibrium angles on slow sweeps and the independently measured oscillation frequency supplies a more discriminating test of the symmetric bifurcation than simply noting which side the bead occupies.
Break the symmetry with a weak bias
The two off-centre positions of the ideal rotating bead have equal energy. A small constant generalized torque \(\tau_b\) favouring positive \(\theta\) breaks that symmetry. Over a small working angular range it adds a term \(-\tau_b\theta\) to the effective potential. Write the original potential relative to its value at the bottom as \(mgR(1-\cos\theta)-m\Omega^2R^2\sin^2\theta/2\). Expanding near the critical rate \(\Omega_c^2=g/R\) gives quadratic coefficient \(mR^2(\Omega_c^2-\Omega^2)/2\). The quartic coefficient evaluated at threshold is \(mR^2\Omega_c^2/8\).
On the high-speed side define \(a=\Omega^2-\Omega_c^2>0\), \(b=\Omega_c^2/2\), and \(h=\tau_b/(mR^2)\). To leading order stationarity and local stability become
With zero bias there are two symmetric minima and an unstable central position. Increasing positive bias deepens the positive minimum and eventually destroys the negative one. At the point where the negative minimum meets the adjacent maximum, both the stationarity equation and its derivative in \(\theta\) vanish. Thus
The critical bias scales as \(a^{3/2}\). Near the threshold a surprisingly small imperfection can remove one of the two resting positions entirely.
Estimate the bias needed to select a branch
Use a bead of mass \(0.0500\) kg on a hoop of radius \(0.250\) m. Then \(\Omega_c^2=39.24\) s⁻². Set \(\Omega^2=\Omega_c^2+0.600\) s⁻², making \(b=19.62\) s⁻². The unbiased displaced equilibrium angles are approximately \(\pm\sqrt{0.600/19.62}=\pm0.175\) rad. As positive bias is increased, the negative branch disappears near \(\theta_*=-0.101\) rad. The corresponding generalized acceleration is \(h_*=0.0404\) s⁻², giving \(\tau_b=mR^2h_*=1.26\times10^{-4}\) N m. A tangential force with moment arm \(R\) would supply about \(0.505\) mN.
This estimate uses both small angles and operation close enough to the critical speed that quartic truncation is accurate. An exact calculation differentiates the full trigonometric potential twice and solves the two equations simultaneously. In a slow sweep with weak damping, a bead initially on the unfavoured branch can remain there until its minimum disappears. Vibration or thermal agitation may make it switch earlier by crossing the remaining barrier. Repeating the sweep in both directions and at several bias amplitudes helps distinguish an imperfect constraint from random switching in a nearly symmetric system.
The same model predicts increasing sensitivity before an actual switch. Differentiate the cubic stationarity condition with respect to bias while following a particular equilibrium branch:
Its denominator is the local dimensionless restoring curvature. Thus a branch nearing disappearance both moves a large angular distance under a small bias increment and shows a very low small-oscillation frequency. Measuring those two effects on the same branch tests the local shape of the potential without requiring a precise measurement of the noisy switching moment. Away from a minimum the static slope can instead be negative, describing an unstable mathematical solution.
The sharp loss of a branch is best resolved with bias steps small compared with the measured interval between its creation and disappearance.
Where will a bead settle on a rotating hoop?
Choose zero potential at the bottom. Gravity contributes \(mgR(1-\cos\theta)\); the rotating-frame centrifugal term contributes \(-m\Omega^2R^2\sin^2\theta/2\). Inspect both the slope and the curvature at the bottom while increasing speed.

Read values from the plot
| Angle from lowest point (degrees) | Ω²R/g = 0.6 | Ω²R/g = 1 | Ω²R/g = 1.6 |
|---|---|---|---|
| −180 | 2 | 2 | 2 |
| −90 | 0.7 | 0.5 | 0.2 |
| 0 | 0 | 0 | 0 |
| 90 | 0.7 | 0.5 | 0.2 |
| 180 | 2 | 2 | 2 |
Why two coexisting phases share a tangent
Thermodynamics and statistical physics
A material prepared with an intermediate composition can separate into two regions of different compositions. Its total composition is conserved. How can a free-energy graph predict both final compositions and the amount of each phase?
Minimise the free energy of a mixture
Work at fixed temperature and volume with a constant density of equivalent sites. Let \(f(c)\) be the Helmholtz free energy per site of a spatially uniform state with fraction \(c\) of species B. If the two regions have compositions \(c_1,c_2\) and the second contains fraction \(x\) of all sites, conservation requires
Neglect interface energy per site in the macroscopic limit. The mixture free energy per site is then the weighted sum of the two \(f\)'s, a point on the chord joining them.
Introduce a multiplier \(\mu\) and minimise \((1-x)f(c_1)+xf(c_2)-\mu[(1-x)c_1+xc_2-\bar c]\). Varying \(c_1,c_2\) when both regions are present gives
This derivative measures the chemical work to replace an A particle by B. Varying \(x\) supplies the missing condition,
The common slope therefore equals the slope of the connecting chord. A straight line must touch the free energy at both endpoints and lie below competing homogeneous states. Equivalently \(\int_{c_1}^{c_2}[f'(c)-\mu]\,dc=0\). This equal-area condition is the composition version of Maxwell's construction. For liquids plotted as pressure versus specific volume, the conjugate slope acquires the sign from \(p=-\partial F/\partial V\).
Find the coexistence and stability boundaries separately
Take \(f(c)=A[(c-m)^2-d^2]^2+\mu_0c\), with \(A>0\), \(m=0.5\) and \(0<d<0.5\). Subtracting the linear term tilts all trial chords by the same amount. At \(c=m\pm d\) the remaining term vanishes with zero derivative. Hence the common tangent is \(\mu_0 c\), and the coexistence compositions are \(m-d,m+d\). At \(d=0.30\) a sample of average composition 0.45 separates into 0.20 and 0.80 regions. Conservation gives \(x=(0.45-0.20)/(0.80-0.20)=5/12\) for the B-rich region.
Now perturb a uniform state into two equal parts at \(c\pm\eta\). Their average energy differs from the uniform energy by \(f''(c)\eta^2/2+O(\eta^4)\). Here \(f''=4A[3(c-m)^2-d^2]\). Between \(m-d/\sqrt3\) and \(m+d/\sqrt3\) infinitesimal fluctuations reduce the energy. Between either of these limits and the nearest coexistence endpoint a uniform state resists small fluctuations but a sufficiently large rearrangement can still lower the energy. This accounts for metastability and for the distinction between spinodal and coexistence boundaries. The uniform model does not predict a nucleation time because interfaces carry no energy in this construction.
Get a phase fraction from a graph
The display subtracts \(\mu_0c\) and measures energies in \(A\). Move the mean composition across the whole interval. Outside the coexistence window the stable composition is homogeneous. Inside, the endpoints stay put while the rich-region fraction changes linearly. Compare \(c=0.45\) to \(c=0.55\) for the same gap. Reflection symmetry exchanges the two phase fractions and leaves the free-energy saving unchanged.
Tutorial on a composition quench
A homogeneous sample is prepared at \(c=0.26\) with \(d=0.30\). Does an infinitesimal composition fluctuation lower its energy? What fraction of the final mixture occupies the B-rich phase in equilibrium?
Work through the solution
The lower spinodal lies at \(0.5-0.3/\sqrt3=0.327\), so the prepared state lies below it and has positive curvature. Nevertheless 0.26 lies between 0.20 and 0.80. Its equilibrium rich fraction is
Local stability and the global free-energy minimum answer different experimental questions.
For \(m=0.50\), \(d=0.30\), compare free-energy gains of demixing at mean compositions 0.20 and 0.50 after subtracting the tilt. Report the gain in units of \(A\).
Work through the solution
At a coexistence endpoint the pure homogeneous material already lies on the common tangent and has zero gain. At the midpoint the homogeneous energy exceeds the tangent by \(d^4 A=0.0081A\) per site. The equilibrium mixture uses equal amounts of the two compositions. The gain tends continuously to zero at either endpoint.
Would adding \(b+mc\) to the free energy change the two selected compositions or spinodals? What would change in the tangent construction?
Work through the solution
Conservation fixes the mean composition, so the new term contributes \(b+m\bar c\) to every candidate mixture at that mean. The minimiser is unchanged. Second derivatives are unchanged, preserving spinodals. Both endpoint tangent slopes, and thus the chemical-potential difference assigned to coexistence, shift by \(m\).
Further reading · Cambridge statistical physics, phase equilibrium and Maxwell construction.
Mean-field ordering, response and the critical point
Thermodynamics and statistical physics
Interactions can make a magnet favour a nonzero moment even when the applied field vanishes. Averaging the local exchange field gives a solvable model whose critical predictions can be compared with the exact one-dimensional chain.
Build the free energy from the count of spin states
Take \(N\) spins \(s_i=\pm1\), nearest-neighbour energy \(-J\sum_{\langle ij\rangle}s_is_j\) and Zeeman energy \(-h\sum_i s_i\), where \(h\) has energy units. Denote mean spin by \(m\). The fractions of positive and negative spins are \(p_\pm=(1\pm m)/2\). The binomial count and Stirling's approximation give entropy per spin \(-k_B(p_+\ln p_++p_-\ln p_-)\). Independent-neighbour mean field replaces each pair average by \(m^2\). With \(z\) neighbours and each bond counted once, interaction energy per spin becomes \(-zJm^2/2\).
Differentiate at fixed \(T,h\). The entropy contribution has derivative \(k_BT\operatorname{atanh}m\), giving \(m=\tanh[(zJm+h)/(k_BT)]\). This equation can have three real roots, so an iterative solver returning a root alone is insufficient. The equilibrium phase minimises \(f\); the second derivative \(k_BT/(1-m^2)-zJ\) distinguishes local minima and maxima.
Expand about the loss of stability
Near zero magnetisation,
Set \(T_c=zJ/k_B\) and integrate the expanded derivative to obtain
At zero field and \(T>T_c\), \(m=0\) is stable. Below \(T_c\), symmetry gives two minima whose leading magnitudes satisfy \(m^2\simeq3(T_c-T)/T\). Thus the order parameter vanishes like \((T_c-T)^{1/2}\) close to \(T_c\). At \(T=T_c\) a small nonzero field instead gives
These powers describe this model's limiting behaviour. For a finite sample symmetry makes the unbiased ensemble average zero if it samples both minima. Spontaneous magnetisation refers to the thermodynamic limit with an infinitesimal field selecting a sign.
Compute a response, then compare with an exact counterexample
Above \(T_c\) the small-field stationary equation gives
Below \(T_c\), differentiate the exact stationarity equation on the positive branch, obtaining \(\chi=[k_BT/(1-m^2)-zJ]^{-1}\). Expanding near \(T_c\) there gives \(\chi\simeq[2k_B(T_c-T)]^{-1}\), half the above-transition amplitude at equal distance. At \(T=0.8T_c\), the full zero-field solution is about \(m=0.7104\); the small-\(m\) estimate \(\sqrt{3(1-0.8)/0.8}=0.866\) is already visibly inaccurate.
Mean field predicts an ordering temperature even for a one-dimensional chain with \(z=2\). The exact finite-temperature correlation length in the earlier transfer-matrix solution is finite at all \(T>0\). Spatial fluctuations and domain walls invalidate the independent-neighbour closure in one dimension. The experiment plots the full mean-field free energy and its quartic approximation for the same normalised \(T,h\). Find the minima before inspecting the calculated order parameter. Compare how a weak bias changes their relative depths.
Tutorial on critical response
At \(T=1.10T_c\), what is the linear-response mean spin expected at \(h/(k_BT_c)=0.002\)? At the critical point use the cubic equation to estimate \(m\) for the same field.
Work through the solution
Above the transition \(m\simeq0.002/0.10=0.020\). At criticality \(m\simeq(0.006)^{1/3}=0.182\). The larger response signals the loss of the quadratic restoring term; linear extrapolation through \(T_c\) would give a divergent susceptibility.
At \(h=0\) and \(T=0.95T_c\), is \(m=0\) a possible output from a fixed-point solver? How should an equilibrium calculation prevent a wrong interpretation?
Work through the solution
Starting the symmetric iteration at exactly zero returns zero repeatedly, even below \(T_c\). Its free-energy curvature is \(k_B(T-T_c)<0\); it is a local maximum. Compare the free energies or bracket the two symmetry-related nonzero stationary points before reporting an equilibrium moment.
Further reading · Cambridge statistical physics, mean-field Ising and Landau theory.
When does a polar crystal change its preferred state?
Fields and the response of matter
Derive stable and unstable dielectric responses from a free-energy landscape. Separate a reversible small-signal capacitance from a switching experiment.
Why one voltage can support several measured polarisations
Some insulating crystals develop a spontaneous electric polarisation as temperature is lowered. The high-temperature phase may be symmetric under inversion so that states with polarisation \(+P\) and \(-P\) are equivalent in zero field. Near a continuous transition, treat one component of polarisation as an order parameter. A local free-energy density compatible with the symmetry is \(f(P)=a(T-T_c)P^2/2+bP^4/4\) with \(a,b>0\). The omitted terms limit how far in temperature or field this truncated expansion is reliable. The positive quartic term keeps the energy bounded when the quadratic coefficient is negative.
For a device whose applied electric field \(E\) is controlled, the appropriate potential in this simple model is \(g(P;E)=f(P)-EP\). The linear term records external work; changing what is held fixed changes the energy to minimise. Differentiation gives the constitutive equation \(E=a(T-T_c)P+bP^3\). An algebraic root is an equilibrium candidate. A stable local response also requires positive second derivative \(a(T-T_c)+3bP^2\). A very accurate rootfinder can return an unstable stationary point if this second test is omitted.
Find the equilibrium branches and their response
Introduce scaled polarisation \(p\), field \(e\) and temperature parameter \(s\) such that \(g=p^4/4+sp^2/2-ep\). Then \(e=p^3+sp\). For \(s>0\), the slope \(3p^2+s\) stays positive. Each field has one stable solution. At \(e=0\), \(p=0\) and the small-signal susceptibility \(dp/de=1/s\) increases when approaching the ideal critical point from above.
For \(s=-1,\ e=0\), stationary values are \(-1,0,+1\). The middle root has curvature −1 and is a local maximum. Each outer root has curvature 2 and is a minimum. The susceptibility about a selected outer state is \(1/2\) in the scaled units. The fact that the two domains can carry opposite zero-field polarisation does not make the harmonic response negative. The mere existence of a negative-slope segment in the cubic constitutive curve is insufficient to infer a stable isolated small-signal device with that differential response.
Derive the limit of a metastable homogeneous state
Imagine preparing the negative-polarisation state at \(s=-1\), then increasing the applied field slowly. A positive field lowers the energy of the positive state. The negative state can persist locally behind a barrier even after it ceases to be the global minimum. A model of perfectly homogeneous evolution without early nucleation follows this metastable branch until the curvature vanishes. Solve \(3p^2-1=0\), choose \(p=-1/\sqrt3\), and insert it into \(e=p^3-p\). The positive limiting field is
At the opposite spinodal the signs reverse.
This is a limit of the particular energy model. Real switching can occur earlier through domain walls, nucleation, defects or thermally activated barrier crossing. Observing a smaller coercive field in a specimen is not evidence that the cubic equation was solved inaccurately. To compare an actual hysteresis loop with a calculation, state the sweep rate, boundary circuit, sample preparation and a dynamical or nucleation model in addition to equilibrium free energy.
Read a landscape rather than tracing an unlabelled loop
Set \(s=-1\). At zero applied field, locate the two equal wells. Increase positive \(e\) gradually and watch the negative well become shallower. The browser locates real stationary points of the cubic, classifies them by curvature and reports their positions. Its plotted potential shows the energy barrier separating basins. Choose \(s>0\) and repeat to see why fitting the same S-shaped hysteresis loop above a continuous transition would be inappropriate.
A below-transition sample can also form spatially varying domains. Adding a positive gradient term \(K(\nabla P)^2/2\) penalises interfaces, while depolarising fields can favour a mixture with reduced net surface charge. This competition sets new length scales absent from the homogeneous model. An electrode measuring total charge can return near-zero mean polarisation from oppositely oriented domains even though each domain is strongly polarised. A local probe and a bulk capacitance measurement therefore constrain different parts of the model.
Turn a capacitance measurement into a consistency test
For a small harmonic voltage imposed about a prepared local minimum, the differential response is \(\delta P/\delta E=1/[a(T-T_c)+3bP^2]\), provided the driving frequency is slow enough for this local variable to respond and the amplitude is small enough to stay in the same well. Add the vacuum and fast polarisation terms when converting to total displacement \(D\). In a parallel-plate geometry capacitance per area then follows from \(\delta D/\delta E\) divided by thickness.
A large-signal charge–voltage measurement crosses different branches and may dissipate work around a loop. The energy per volume over a closed polarisation cycle is \(\oint E\,dP\) with the sign convention for electrical work. A single equilibrium graph of \(f(P)\) returns to its initial state with no prescribed loop area. Measured hysteresis thus carries dynamical information that a polynomial fit to one reversible branch cannot uniquely reconstruct.
Tutorial
For \(s=-4\) in the scaled model, find zero-field minima and the positive homogeneous spinodal field.
Work through the solution
Zero-field minima lie at \(p=\pm2\). The negative spinodal is
Substitution gives positive field \(16/(3\sqrt3)\simeq3.08\). The \( |s|^{3/2}\) dependence follows from the cubic.
A Newton solver initialised at \(p=0\) reports exact convergence for \(s=-1,e=0\). What additional observation rejects that result as the prepared stable state?
Work through the solution
Its residual is exactly zero but the curvature \(3p^2+s=-1\) is negative. A small perturbation lowers the potential. Check a measured weak-field slope or the relaxation after a perturbation, and compare the energy of the two minima.
Why can the homogeneous coercive field be much larger than the measured coercive field?
Work through the solution
The calculation removes a local barrier only when a spatially uniform state ceases to exist. A real material can switch by creating a small favourable domain and moving a wall; electrodes and defects can lower the needed activation energy. The relevant material and time scales differ.
Compare material descriptions
Use MIT's ferroelectrics and polarisation material to distinguish a microscopic source of displacement from the macroscopic free-energy model used here.
When a suspended capacitor loses its stable equilibrium
Electromechanics, optics and measurement
An electrode suspended on a spring can remain motionless at a bias that makes the calculated electrostatic force grow as it moves. Static force balance alone misses the voltage at which that equilibrium disappears. Deriving the small-signal frequency gives an independent measurement of the same instability.
Start with the electrical and mechanical control variables
A movable conducting plate of area \(A\) faces a fixed electrode. Its unstressed gap is \(g\). Define positive displacement \(x\) toward the fixed plate, with spring force \(-kx\), mass \(m\) and viscous damping coefficient \(b\). For \(0\le x<g\) assume ideal parallel plates, negligible tilt and fringing, constant \(\epsilon\), and a linear elastic spring. The capacitance is \(C(x)=\epsilon A/(g-x)\). The model ends when the plates approach contact or when the suspending structure departs from its specified elastic law. It cannot by itself calculate adhesion, contact resistance or post-contact motion.
Before differentiating electrical energy specify whether the source holds voltage or charge. At fixed charge \(Q\), electrical energy is \(Q^2/[2C(x)]\), and its negative displacement derivative gives the force toward increasing \(x\). At fixed voltage \(V\), a source supplies \(VdQ\) as the plates move. The appropriate potential for mechanical equilibrium is the spring energy plus the field energy minus \(QV\), which here is \(\mathcal U_V=kx^2/2-C(x)V^2/2\). Differentiating gives the outward spring reaction and the attractive electrical force \(F_e=V^2C'(x)/2=\epsilon A V^2/[2(g-x)^2]\). An independent derivation multiplies the conductor pressure \(\epsilon E^2/2\) by area with \(E=V/(g-x)\). Both give a positive force. Replacing the source potential with the stored energy at fixed voltage would reverse its sign.
Locate all equilibria before choosing a branch
Define \(s=x/g\) and \(\Lambda=\epsilon A V^2/(2kg^3)\). The static force equation reduces to
At a specified voltage one can find \(s\) by scanning the curve \(s\mapsto s(1-s)^2\) over the physically admissible interval \(0\le s<1\). Its derivative is \((1-s)(1-3s)\), giving an interior maximum \(4/27\) at \(s=1/3\). For \(0<\Lambda<4/27\) there are two physical roots. The smaller is a local minimum of \(\mathcal U_V\) while the larger is a local maximum. Their merger is a fold of the static equilibrium branch:
The often-quoted one-third displacement is the result for a linear spring, ideal voltage drive and this capacitance geometry. It is not a universal travel limit determined by the gap alone. Additional mechanical restoring forces or a different electrical boundary condition change the fold. Neither positive net electrical force nor the mere existence of a real solution is evidence of stable operation. A root finder started near the almost closed gap can converge to the unstable large-displacement root with an extremely small static residual.
The two branches can be distinguished experimentally without deliberately reaching contact. At static equilibrium \(kx=F_e\). Linearise the total force about \(x_0\) while maintaining voltage at its prescribed value. The incremental restoring stiffness and corresponding weak-damping natural frequency are
A small push toward the fixed electrode is restored only when \(k_{\rm eff}>0\). The familiar electrostatic softening is the reason the smaller equilibrium is stable. The small-signal frequency tends to zero as the fold is approached. With appreciable damping the observed amplitude resonance and ringdown oscillation have slightly different frequencies; fit the full mechanical response rather than identifying an arbitrary peak with the undamped \(f_{\rm small}\).
Background · Can a sudden step pull in a statically stable actuator?
An ideal voltage step applied to a plate initially at rest can push it past the unstable equilibrium. During the motion at fixed voltage the effective potential per \(kg^2\) is \(u(s)=s^2/2-b/[2(1-s)]\), where \(s=x/g\) and \(b=\epsilon A V^2/(kg^3)\). Neglect damping and begin at \(s=0\). At the dynamical threshold the initial energy equals the saddle energy and the slope vanishes at that saddle.
The two equations meet at \(s=1/2\), \(b=1/4\). The quasistatic fold gives \(b=8/27\). Consequently the undamped step threshold is only \(\sqrt{27/32}\simeq0.919\) times the slow-ramp pull-in voltage. A device operated between the two voltages can survive a ramp but collapse after an abrupt step. Dissipation and the actual rise time change this prediction.
Reconstruct the prepared state from a frequency measurement
Take a 100 μm square electrode in vacuum, \(g=2.00\) μm, \(k=2.00\) N/m and \(m=5.00\times10^{-10}\) kg. The predicted pull-in voltage is 7.32 V, the zero-bias capacitance 44.3 fF and the zero-bias natural frequency 10.07 kHz. On the low branch \(s_0=0.20\) gives \(x_0=0.400\) μm and voltage 6.80 V. Then \(k_{\rm eff}=1.00\) N/m and the small-signal frequency is 7.12 kHz. A measured frequency ratio \(f/f_0\) can be inverted via \(s=(1-r)/(3-r)\), where \(r=(f/f_0)^2\). The result is independent of absolute optical displacement calibration if the mass and underlying spring stiffness have not changed during the bias sweep.
At the same voltage the other physical root is \(s=0.48769\). A numerical force balance at this root would give the same supply reading but a negative tangent stiffness. The ideal voltage-controlled potential in units \(kg^2\) is \(u(s)=s^2/2-\Lambda/(1-s)\). The barrier height \(kg^2[u(0.48769)-u(0.20)]\) for this example is \(7.26\times10^{-14}\) J. A sufficiently energetic disturbance can carry the plate out of the stable basin even below static pull-in. This is different from loss of the static equilibrium itself. A quasistatic model predicts the existence and local stiffness of the equilibrium; a transient simulation must additionally specify initial displacement, velocity, drive ramp and damping.
Change the preparation to fixed charge
Disconnect a perfect isolated capacitor after placing a known charge \(Q\) on it, neglecting leakage and parasitic capacitance. Then \(F_Q=Q^2/(2\epsilon A)\) is independent of the remaining gap, because \(D=Q/A\) is fixed. Static equilibrium is \(x_0=Q^2/(2\epsilon A k)\), with incremental stiffness exactly \(k\). At the same initial voltage and gap the instantaneous force agrees with the voltage-controlled value, since \(Q=C(x_0)V\). The derivatives governing subsequent motion differ. At \(x_0=0.400\) μm the required charge in the numerical example is \(0.376\) pC. After ideal electrical isolation the small-signal frequency returns to the underlying elastic value even though the loaded static position stays the same.
Ideal charge isolation is delicate in a small device. A fixed parasitic capacitance \(C_p\) from the isolated node to a reference means the conserved charge belongs to \(C(x)+C_p\). Motion changes the fraction of total charge residing on the actuator. The electrical energy becomes \(Q_{\rm total}^2/[2(C+C_p)]\), so the force is \(Q_{\rm total}^2 C'/[2(C+C_p)^2]\), generally displacement dependent. If \(C_p\gg C\), the node voltage changes little with a small displacement and behavior is closer to voltage control. Interpreting an observed softening after disconnecting the supply as evidence against electromagnetic force balance would overlook this boundary change.
A different practical preparation puts an intentional series capacitor \(C_s\) between a fixed voltage supply and the actuator. Its series combination is \(C_{\rm ser}=\epsilon A/[g-x+\epsilon A/C_s]\). For static mechanical work at fixed supply voltage use \(F=V_s^2 C_{\rm ser}'/2\). Defining an effective electrical spacing \(g_e=g+\epsilon A/C_s\), the static fold occurs at \(x=g_e/3\) if this lies within the open physical gap. If \(\epsilon A/C_s\ge2g\), contact would occur before any such static fold in the ideal model. This calculation shows a direct connection between passive circuit design and allowed mechanical travel, while making clear that the maximum actuator voltage can differ from the voltage printed on the supply.
Why a sudden voltage change can reach contact below static pull-in
For a rapid electrical step the plate has a position and velocity inherited from the previous preparation. Suppose it starts at rest at its zero-bias position, the supply steps to a constant \(V\) much faster than a mechanical period, and mechanical damping is initially negligible. Immediately after the step, energy in the mechanical potential \(u(s)=s^2/2-\Lambda/(1-s)\) is \(u(0)=-\Lambda\) in units of \(kg^2\). Motion under this constant voltage can reach the force barrier if the initial value exceeds the potential at the unstable stationary point. This question can be solved by comparing two energies without integrating an entire time history.
Let \(s_b\) be the unstable root of \(\Lambda=s_b(1-s_b)^2\). At threshold the initial state is on the separatrix, the trajectory separating oscillations in the well from excursions to the closing gap. Set \(u(0)=u(s_b)\), subtract the two expressions and cancel \(s_b\) from the nontrivial solution. The two conditions become
Thus \(s_b=1/2\), \(\Lambda=1/8\), and the ideal undamped step threshold is
In our example this is 6.72 V. A slow increase to 6.80 V leads to the observed stable 0.40 μm deflection, whereas a sudden ideal voltage step to the same value from rest at the origin contains enough energy to escape the well. Starting on the biased equilibrium before applying a small perturbation is a different experiment. The direction of the threshold shift makes physical sense: damping removes mechanical energy during the first excursion, and a slow ramp allows the equilibrium to move with the plate. The undamped value specifies a particular ideal initial-value experiment, rather than a voltage rating for an unspecified drive waveform.
One can check a simulated step by monitoring \(m\dot{x}^2/2+\mathcal U_V\) after the supply settles. With viscous damping its derivative is \(-b\dot{x}^2\), so any sustained increase during a constant-voltage segment points to a numerical or modelling error. Before the step ends there is an explicit drive term \(-CV\dot V\) in this energy balance. The mechanical potential already includes the source work. Adding \(V\dot Q\) to the same balance a second time gives an artificial energy imbalance. A transient solver should stop at a physically specified minimum gap instead of marching across the singularity; a statement about contact time depends on what counts as contact.
A finite source resistance changes what a ringdown measures
A dc supply with series resistance \(R\) can maintain the static voltage accurately while failing to hold the actuator voltage fixed over a mechanical cycle. Let its steady node voltage be \(V\), with equilibrium capacitance \(C=C(x_0)\). A small sinusoidal displacement \(\delta x\) causes current \(i\omega(C\,\delta v+VC'\delta x)\) into the actuator. The small-signal supply voltage is zero, so \(\delta v=-R i\). Eliminating current gives
Linearise \(F_e=V^2 C'/2\) allowing both voltage and position to vary. The direct derivative is \(K_{e0}=V^2C''/2\), while the change from node voltage is \(VC'\,\delta v\). For an ideal parallel plate \(C''/2=(C')^2/C\), so the two terms combine to the simple complex relation \(\delta F_e=K_{e0}\delta x/(1+i\omega\tau)\). At low frequency the electrical force follows displacement with its fixed-voltage slope. At high frequency the slope vanishes, as it must for an isolated ideal plate carrying fixed charge over one oscillation. At intermediate frequency a motion-induced current dissipates heat in the resistor.
Bring \(\delta F_e\) to the left side of the mechanical equation. Its real part subtracts \(K_{e0}/[1+(\omega\tau)^2]\) from the mechanical stiffness; its imaginary part adds \(K_{e0}\tau/[1+(\omega\tau)^2]\) to the viscous damping coefficient. This damping is positive for a passive resistor. At \(s=0.20\) the static electrical stiffness is \(1.00\) N/m, the operating capacitance is 55.3 fF and \(R=400\) MΩ gives
A 7.2 kHz interrogation has \(\omega\tau\simeq1\). Only about half the static electrical slope survives and the added damping is roughly \(11\,\mu\mathrm{N\,s/m}\). Treat these as frequency-dependent coefficients in the driven susceptibility. Substituting the low-frequency stiffness into a ringdown fit at this frequency would give the wrong displacement when the fitted frequency is inverted. Fitting the complex response at several frequencies avoids that ambiguity.
An experiment can separate the circuit effect from mechanical nonlinearity. Keep the same static bias and displacement, insert two known series resistances, then measure both in-phase and quadrature response to a small sinusoidal force. The displaced equilibrium should remain essentially unchanged at dc if leakage stays small. A stiffness dispersion and dissipative peak that shift in proportion to \(1/R\) support an electrical cause. Then repeat at a smaller oscillation amplitude. Amplitude-dependent frequency shift that survives the change in resistance can arise from nonlinear spring or force curvature, which the first-order susceptibility leaves out. A simple change to the external circuit has turned the slope of an energy curve into a prediction for a measured phase lag.
Compare force intersections for voltage and charge control
The initial gap is 2.00 μm, the area is a 100 μm square and the mass is 0.50 μg. Use the voltage ratio to move the force curve through the fold. At 93% of pull-in the low-displacement fixed-voltage intersection has a positive restoring slope. The high-displacement intersection has a negative slope. The charge-controlled line is prepared at the selected voltage at the original open gap. It gives the same initial force but a different subsequent curve. The readout reports both open-gap roots even if the upper root lies beyond the plotted interval. At the baseline stiffness, static pull-in is 7.32 V.
Change the spring stiffness while holding the voltage ratio fixed. The dimensionless locations of the roots stay in place, but their dimensional force and small-signal frequency change. This checks the scaling that eliminated the physical dimensions in the fold equation. Then set the ratio between the dynamic step threshold and unity. Use the force intersections to locate the potential maximum and sketch the area between attraction and spring reaction from the initial position. Its signed integral supplies the work which distinguishes a bounded excursion from crossing the maximum. The displayed curves predict initial-value behaviour only when combined with a choice of initial kinetic energy and damping.
Tutorial · distinguish stability from force balance
Infer a gap fraction and a bias from a resonance
An otherwise identical actuator shows \(f/f_0=0.80\) at a stable fixed voltage. Find the deflection as a fraction of gap, the voltage relative to pull-in, and the independent capacitance change. What could spoil this comparison?
Work through the solution
Here \(r=0.64\) and \(s=(1-0.64)/(3-0.64)=0.1525\). The bias ratio is \(\sqrt{(27/4)s(1-s)^2}=0.860\) approximately. The parallel-plate capacitance should rise by \(1/(1-s)-1=18.0\%\). Measure the change relative to the active capacitance after removing any constant wiring capacitance. Disagreement can come from changing mode shape, a nonlinear spring, a tilted plate, a measurement frequency above the electrical equilibration bandwidth, or an incorrect extraction of mechanical stiffness from a strongly damped resonance. With a measured gap and mode shape these explanations yield different quantitative corrections.
Choose a series capacitor to move the static fold
The original 44.3 fF zero-bias actuator should remain on its stable slope as far as \(x=0.60g\), ignoring contact and other limits. Find the series capacitance whose fold falls exactly at this displacement. How much supply voltage appears across the actuator at that point?
Work through the solution
Set \(g_e/3=0.60g\), giving \(\epsilon A/C_s=0.80g\) and \(C_s=C(0)/0.80=55.4\) fF. At \(0.60g\) the actuator capacitance is \(C(0)/0.40=110.7\) fF. Series charge is identical in both capacitors, so
Choosing exactly this value places operation at vanishing ideal stiffness, so a strictly positive measured restoring slope at that displacement requires a smaller series capacitance or a different margin. The result is sensitive to additional capacitance connected between the series node and ground.
Further reading
Finite-size criticality and the evidence for a phase transition
Statistical mechanics from microscopic counting to material response
A finite magnet in zero field can reverse between two equally magnetised directions. Its exact mean magnetisation is then zero even below the temperature where a bulk material orders. Learn how to extract order, correlation length and critical exponents from finite measurements, and which apparent crossings or peaks would survive the thermodynamic limit.
What a finite magnet can and cannot spontaneously break
Consider a ferromagnetic Ising model with spins \(s_i=\pm1\), \(N=L^d\) sites, short-range coupling \(J>0\), and uniform field \(h\) in energy units. Its Hamiltonian is \(-J\sum_{\langle ij\rangle}s_is_j-h\sum_i s_i\). A finite partition sum contains finitely many positive analytic terms at positive temperature. For finite \(N\) it cannot develop a true nonanalyticity on the real positive-temperature axis. Yet derivatives can become large and measured distributions strongly bimodal as size grows.
Define total magnetisation \(M=\sum_i s_i\) and intensive order \(m=M/N\). At zero field, spin inversion pairs configurations of \(M\) and \(-M\), making the exact finite equilibrium mean zero. To define spontaneous order in the positive direction, take the thermodynamic limit at positive \(h\), then let \(h\to0^+\). Reversing that order gives zero. A finite record that stays on one side because reversals are rare has not performed the full finite-system equilibrium average. It can approximate a symmetry-selected state only with that interpretation stated.
The absolute magnetisation or its root-mean-square value remains positive in finite zero-field calculations. Even independent disordered spins produce \(\langle|m|\rangle\) of order \(N^{-1/2}\). Therefore a nonzero magnitude in one simulation cannot establish bulk order. Repeat over sizes and inspect its scaling. A weak applied field, surfaces or slow field drift can also select one sign in a laboratory, modifying the finite-size comparison.
Derive a response from connected fluctuations
Differentiate the finite partition function at fixed temperature. The susceptibility per site to energy field \(h\) is
where the last equality assumes a translationally invariant system and \(G_c(\mathbf r)=\langle s_0s_{\mathbf r}\rangle-\langle s_0\rangle\langle s_{\mathbf r}\rangle\). Long correlations amplify the response because many sites contribute together when one responds to a field. For an experiment using magnetic induction instead of the energy field, include magnetic moments and unit-system factors.
In a symmetric finite zero-field sample below the ordering temperature, transitions between the two bulk-like peaks can give a large contribution proportional to \(N\) to the full fluctuation susceptibility. To estimate within-phase fluctuations one sometimes forms \(\beta N(\langle m^2\rangle-\langle|m|\rangle^2)\). This is a different observable and not exactly the derivative of the finite symmetric mean with respect to \(h\). Report which definition is plotted. Mixing those definitions in a size collapse can change both amplitudes and the apparent location of extrema.
A correlation length may be estimated from the large-distance connected correlation decay away from criticality, or from the ratio of small-wavevector structure factors. In lattice units, an often used periodic second-moment length is
This relation uses the small-\(k\) expansion of the correlation structure factor and a lattice wavevector convention. Subtract means consistently, especially if estimating connected rather than symmetric correlations. If a small noisy \(S(0)/S(k_{\min})-1\) is negative, replacing it by zero without describing the noise can bias a length. Larger samples or more suitable observables may be preferable.
Derive the finite-size variable from competing lengths
Write reduced temperature \(t=(T-T_c)/T_c\). Suppose the bulk correlation length diverges as \(\xi_\infty=\xi_0|t|^{-\nu}\). A finite periodic sample cannot support correlations extending arbitrarily beyond \(L\). The competition is governed by \(L/\xi_\infty\), equivalently \(tL^{1/\nu}\) with its sign and a metric factor. If the bulk magnetisation, susceptibility and heat capacity have exponents \(\beta_m,\gamma,\alpha\), a standard finite-size ansatz below the appropriate upper critical dimension and without extra dangerous variables is
Here \(\beta_m\) is an order-parameter exponent, distinct from reciprocal thermal energy \(\beta\). The functional forms match the bulk powers when the scaled argument becomes large at fixed nonzero \(t\). A rounded finite-size peak of \(\chi\) occurs at an approximately fixed scaled argument, so its temperature shift and width scale roughly as \(L^{-1/\nu}\), allowing boundary and subleading corrections. Its height has an additional smooth background that can be significant for modest sizes.
For a two-dimensional short-range Ising universality class the known values \(\nu=1\), \(\gamma=7/4\), \(\beta_m=1/8\) give useful benchmarks. Doubling \(L\) at criticality should raise leading susceptibility by \(2^{7/4}=3.364\) and reduce order magnitude by only \(2^{-1/8}=0.917\). The very slow decrease of order is easy to mistake for nonzero bulk order at the critical temperature. The heat-capacity singularity in this example is logarithmic rather than a simple positive power; fitting a few peak heights to a power law can give a misleading small apparent exponent.
Compare a mean-field onset and susceptibility with the finite-size scaling argument
A dimensionless crossing and its systematic drift
A convenient shape diagnostic is \(U_L=1-\langle m^4\rangle/[3\langle m^2\rangle^2]\). A zero-mean Gaussian distribution has fourth moment three times variance squared and gives zero. Two infinitely narrow equal-weight peaks at \(\pm m_0\) give \(2/3\). At criticality, rescaling \(m\) by \(L^{-\beta_m/\nu}\) cancels between numerator and denominator, so curves for different sizes can approach an approximately common crossing. The limiting value depends on geometry, boundary conditions and convention, despite the exponent universality.
Include a leading correction \(U_L=U_*+a\,tL^{1/\nu}+bL^{-\omega}+\cdots\). Equating the expansions for \(L\) and \(sL\) shows that the pair crossing drifts as \(t_\times\propto L^{-(1/\nu+\omega)}\) when the coefficients are nonzero. An exactly common crossing is therefore not guaranteed in finite data. Sample temperature resolution, uncertainty of higher moments and correlations between neighbouring reweighted temperatures can also shift the visual crossing.
For a data set with sizes 16, 32 and 64, suppose adjacent pair crossings occur at reduced-temperature-like coordinates 2.31 and 2.28 when plotted as \(k_BT/J\). Without a calibrated correction exponent, taking their simple mean gives no justified bulk critical temperature. If a model independently predicts a crossing displacement decreasing by four per doubling, solve \(T_{16,32}=T_c+A\), \(T_{32,64}=T_c+A/4\), giving \(T_c=2.27 J/k_B\). Vary the correction assumption and use an additional larger size to test it. Extrapolated digits considerably beyond the scatter of these alternatives are not warranted.
Separate thermodynamic rounding from sampling error
Near criticality long spatial correlations often coincide with long relaxation times. A sequential Monte Carlo update can require many sweeps to produce independent configurations. If an observable has normalised autocorrelation \(\rho(k)\), its effective independent sample count for a long record is approximately \(N_{\rm samp}/[1+2\sum_{k>0}\rho(k)]\). Blocking time records and recomputing Binder ratios from blocks is more reliable than treating individual sweeps as independent.
If a susceptibility peak is represented by ten nearby temperatures generated from the same energy histogram, their errors are correlated. Temperature reweighting uses factors \(e^{-(\beta'-\beta)E}\) and is dependable only where sampled energy distributions overlap. A smooth reweighted curve extending outside sampled energies can look precise while depending on a few rare configurations. Use independent anchor simulations or directly measured temperatures to verify both tails.
Inspect distributions as well as means. A first-order transition can also show a large susceptibility peak and bimodality, with leading peak scaling proportional to volume in many finite systems. A continuous transition's order distribution may itself be broad or even possess two lobes. Distinguish using latent heat or its size dependence, interface free-energy barriers, scaling of peak width and appropriate thermal observables. One finite-size double peak in magnetisation is not a universal transition-order test.
An exact finite chain tests what a rapidly growing length means
A one-dimensional nearest-neighbour Ising chain in zero field has no positive-temperature bulk ordering transition, but at low temperature its correlation length grows extremely rapidly. This makes it a valuable counterexample when interpreting a finite magnet. The transfer matrix has entries \(e^{Kss'}\) with \(K=J/(k_BT)\). Its two eigenvalues are
For a periodic chain of \(L\) spins,
Keeping only the larger eigenvalue is permissible in the thermodynamic free-energy density at fixed positive temperature but need not accurately represent a short cold chain.
In the infinite chain the zero-field correlation is \(\langle s_0s_r\rangle=(\tanh K)^r\), yielding \(\xi=-1/\log(\tanh K)\) in lattice spacings. At low temperature \(\xi\simeq e^{2K}/2\). A chain of length 100 can therefore be strongly correlated across its entire length around \(K\simeq2.65\), while the infinite chain still has zero spontaneous order at every finite \(K\). Setting \(\xi\sim L\) gives an apparent ordering scale \(k_BT_L/J\simeq2/\log(2L)\), which moves slowly toward zero as the sample is enlarged.
For a periodic finite chain there are two paths connecting site zero and site \(r\). The exact correlation is \([q^r+q^{L-r}]/[1+q^L]\), \(q=\tanh K\). Fitting it to a single exponential out to separations near half the box would overestimate the length because the second periodic image contributes. Use the periodic expression explicitly or restrict fits to a window that is both larger than microscopic distances and smaller than half the sample. A high-quality apparent fit over a narrow middle interval can still mask the wrong boundary geometry.
Numerically simulate chains of lengths 32, 64 and 128 at a sequence of \(K\). Compare the measured absolute magnetisation, full connected correlation and transfer-matrix predictions. If a simulation remains stuck in one sign sector its short-distance correlation can agree with theory while the time average of signed magnetisation does not. Increasing the number of Monte Carlo sweeps and increasing the physical chain length are separate limits. Following only one of them cannot establish a nonzero thermodynamic order parameter.
A response derivative offers an exponent without partition-function normalisation
Let \(U_L\) be a dimensionless shape ratio such as the Binder cumulant. If \(U_L=\mathcal U(tL^{1/\nu})+\cdots\), its slope with respect to reduced temperature at the critical point scales as \(L^{1/\nu}\). A logarithmic slope ratio between two sizes can estimate the correlation-length exponent independently of the magnetisation or susceptibility exponents. Corrections to scaling still matter, especially if the sampled point is not near a fixed critical argument for both sizes.
An equilibrium derivative can also be computed without a finite temperature difference. For any state observable \(A\) with no explicit temperature dependence, differentiating its canonical mean gives
Apply this to the second and fourth moments entering a Binder ratio, then use the chain rule. The resulting slope uses energy–magnetisation correlations from one run. Taking two numerically close independent temperatures instead can amplify noise by division by their small separation. A covariance estimator avoids that particular subtraction but requires accurate sampling of joint tails.
Suppose measured absolute crossing slopes on sizes 24, 48 and 96 are 5.7, 10.9 and 21.5 per unit reduced temperature. Adjacent estimates are \(1/\nu=\log(10.9/5.7)/\log2=0.935\) and \(0.980\). They approach the expected value one in this benchmark. A single fit through all sizes would give a smaller formal statistical uncertainty but might obscure a systematic drift. Report adjacent effective exponents and test sensitivity to omitting the smallest size.
The numerical derivative must use the same temperature variable for each size. A slope against inverse temperature differs by \(d\beta/dT\), a known factor near a common critical temperature; plotting against independently fitted centre temperatures can introduce an additional calibration dependence. A nonlinear temperature sensor or a slowly drifting coupling also changes the physical conversion from laboratory temperature to the simulated dimensionless control. Use an independently determined parameter scale if the goal is to compare experiment with an absolute transition temperature rather than just a scaling exponent.
Estimate an interface cost from a probability trough
At a first-order transition, a finite periodic sample may switch between two phases separated by an interfacial configuration. A histogram of an appropriate extensive observable can show peaks corresponding to nearly pure phases and a trough representing intermediate states. At equal bulk phase weight, a probability ratio gives a free-energy difference \(\Delta F_L=-k_BT\log(P_{\rm trough}/P_{\rm peak})\), provided the same bin measure or a properly defined density is used. An exponentially small trough amplifies sampling errors, so the measured minimum is often only an upper bound on its probability.
In a slab geometry under periodic boundaries, an intermediate configuration may contain two approximately flat interfaces. If each interface costs \(\gamma L^{d-1}\), the leading barrier is \(2\gamma L^{d-1}\), with subleading capillary fluctuations, geometry corrections and possible droplet-to-slab crossovers. A cube with open boundaries can instead permit interfaces of different number or shape. Counting two interfaces automatically for every order-parameter histogram would misestimate the inferred tension.
For an illustrative two-dimensional periodic square, suppose the measured barrier grows from \(8k_BT\) at \(L=40a\) to \(15k_BT\) at \(L=80a\), where \(a\) is lattice spacing. From the difference of the two barriers and the increase in total interface length \(2(40a)\), an effective line tension is \(0.0875\,k_BT/a\). Using the absolute smaller-size barrier divided by \(2L\) gives \(0.100\,k_BT/a\), revealing a finite-size offset. More sizes, an observed slab geometry and adequate trough sampling are needed before assigning a bulk interface tension.
This analysis should not be transplanted unchanged to a continuous critical distribution with two shoulders in finite volume. A critical finite-size order distribution can be non-Gaussian without an interfacial barrier growing as \(L^{d-1}\) at its critical point. Plot the barrier's size dependence and inspect actual spatial configurations. A peak-height ratio alone contains no direct information about how many interfaces or what type of correlations generated the intermediate states.
Estimate a ratio of moments without losing its covariance
The second and fourth magnetisation moments in a Binder cumulant usually come from the same record. Treating their errors as independent can grossly misestimate the uncertainty because the fourth moment tends to be large precisely in configurations contributing a large squared moment. Divide the record into blocks longer than its integrated autocorrelation time, recompute the ratio after deleting each block and estimate uncertainty using a block jackknife or use independent replicate simulations. Recomputing the nonlinear statistic inside each resample retains numerator–denominator covariance.
Histogram reweighting across nearby temperatures should likewise be recomputed within each block when extracting a crossing. Fitting smooth curves to the full sample and then adding independent random errors to individual temperature points ignores strong correlations induced by the shared configuration weights. Repeat the root-finding step for each independent or block-resampled pair of systems to obtain an uncertainty on the crossing temperature itself.
Check block-size convergence. If estimated errors continue growing as block duration is increased, slow modes may not be resolved or the record may have drifted. A huge number of recorded spin configurations cannot compensate for fewer than a handful of independent reversals when the statistic depends on those reversals. This issue is measurable: compare direct covariance estimates, block estimates and independent starts, and extend the run where those diagnostics disagree.
A block-average variance exposes a correlation length without fitting a tail
Divide a large zero-field spin image into square blocks of side \(b\) and record the average spin in each block. Its variance is the sum of all connected correlations within the block divided by the squared number of sites. For independent spins of variance one, it is exactly \(1/b^2\) in two dimensions. If neighbouring spins are correlated over a length \(\xi\) much smaller than the block, the variance still falls approximately with inverse block area, but with a larger prefactor proportional to the integrated correlation. Below block sizes comparable to \(\xi\), this averaging becomes much less effective.
At a critical point the connected correlation decays algebraically rather than exponentially over the accessible range. If in dimension \(d\) it behaves as \(G(r)\propto r^{-(d-2+\eta)}\), integrating pair separations to the block scale gives \({\rm var}(m_b)\propto b^{-(d-2+\eta)}\) in the scaling regime. For the two-dimensional short-range Ising benchmark with \(\eta=1/4\), doubling the block side reduces the variance by only \(2^{-1/4}=0.841\), compared with 0.25 for independent spins. This is an observable distinction even when a full bulk thermodynamic limit is unavailable.
Block analysis of one image does not generate independent thermodynamic systems. Neighbouring blocks share correlated surroundings, overlapping blocks are statistically dependent, and every block inherits global constraints or drift in the original preparation. Increasing block size also reduces the available count sharply. Repeat across independent configurations, compare several whole-image sizes and study block-size windows well above a lattice spacing and well below the full image. An apparently accurate critical exponent from the final two largest blocks of one image is particularly unreliable.
A real magnetic image may measure a blurred field projection rather than the local spin itself. Spatial point spread creates detector-induced correlations at small separations. Determine it with a reference pattern and omit or model blocks comparable to the blur. Conversely spatially varying illumination adds long-range covariance unrelated to the sample. Flat-field calibration and sample rotations can separate these artefacts from material correlations. A second-moment structure-factor estimate and a block-variance estimate respond differently to these measurement effects, providing a useful cross-check.
This method also links microscopic and macroscopic noise. The scaled block variance in the large-block regime approaches the same integrated connected correlation controlling uniform susceptibility, with boundary terms that shrink as block dimensions exceed \(\xi\). Comparing a weak-field response with block statistics therefore tests equilibrium fluctuation–response and spatial calibration simultaneously. If the discrepancy grows only as blocks approach the full system size, a fixed total magnetisation constraint or incomplete sampling of global sign reversals deserves examination.
For a concrete noise budget, consider a camera averaging adjacent pairs of independent sites before reporting them as displayed pixels. Those displayed pixels can have a positive nearest-neighbour correlation if their averaging footprints overlap, even when the original spins are completely uncorrelated. A measurement of the apparent short-range correlation length would then reflect the instrument kernel. Blocking on sizes much larger than the overlap can recover the correct large-scale inverse-area trend, while direct comparison of single-pixel variance with independent-spin theory fails. Calibrating only the detector's global gain cannot fix this spatial response. A measured point-spread map, an uncorrelated reference preparation and tests of blocks at several image resolutions can separate the resolution scale from the material's growing correlation length as temperature is varied.
Compare a correlation length with a finite specimen
Determine how the subleading transfer-matrix eigenvalue controls the length seen in a colour measurement. A finite chain much shorter than this length can look ordered.
Tutorial · Extract two exponent ratios from a size doubling
At a candidate critical temperature susceptibilities for sizes 32 and 64 are 110 and 360 in common units. Absolute magnetisations are 0.310 and 0.282. Estimate the corresponding exponent ratios and compare with the two-dimensional Ising benchmarks.
Use logarithmic ratios and inspect the small differences
The susceptibility ratio gives
For magnetisation \(\beta_m/\nu=-\log(0.282/0.310)/\log2=0.137\). These are near 1.75 and 0.125, but no error bars or corrections have been supplied. An additive susceptibility background or a slight critical-temperature offset can bias both effective exponents. Use several sizes and a dimensionless crossing diagnostic before assigning a universality class.
Tutorial · Determine whether a finite sample really switched phases
A zero-field record contains 20,000 sweeps of positive magnetisation near \(+0.6\), followed by one reversal and 20,000 sweeps near \(-0.6\). It yields a near-zero mean and large variance. Why does the nominal record length not establish a precise symmetric susceptibility? What extra records or controls would help?
Identify the slow event determining the uncertainty
Within each sign sector there may be many locally decorrelated fluctuations, yet the relative weight of the two peaks is estimated from essentially one reversal. Treating 40,000 sweeps as independent underestimates the error of the peak weights and of statistics sensitive to global sign. Starting multiple independent runs with both signs can improve coverage, but deliberately balancing starting signs is not a measurement of true equilibrium weights if a weak residual field exists.
Record switching-time distributions over much longer runs or use an equilibrium-preserving algorithm that efficiently samples both sectors, while distinguishing computational updates from physical kinetics. Apply small positive and negative fields to test susceptibility and residual bias. For a within-phase susceptibility condition on a clearly defined phase and report the changed observable.
Tutorial · Explain a crossing that drifts with the boundary
Two groups study the same lattice Hamiltonian. One uses square periodic samples; the other uses twice-as-long rectangular samples with open ends. Their Binder curves cross near similar temperatures but at different cumulant values. Is this evidence against universal critical behaviour?
Separate universal exponents from finite-geometry functions
Changing aspect ratio and boundary conditions changes the finite-size scaling function and hence the crossing value of a dimensionless ratio. Universal bulk exponent comparisons do not require identical Binder values across different finite geometries. Match boundary conditions, shape, operator and cumulant convention before comparing purported universal amplitude ratios.
Each group can still extrapolate its own crossing temperatures, examine moment slopes proportional to \(L^{1/\nu}\) and test bulk exponent ratios with geometry fixed across its own size series. If one dimension is held fixed while the other grows, however, the family approaches a strip rather than a bulk two-dimensional limit. The thermodynamic sequence itself is an experimental variable, not just a plotting preference.
Cambridge Statistical Physics · phase transitions, criticality and scaling
Phase nucleation, metastability and waiting-time statistics
Statistical mechanics from microscopic counting to material response
A cooled liquid can remain liquid below its equilibrium freezing temperature and then transform abruptly. How can a bulk phase be thermodynamically favoured while a small embryo of it tends to shrink? Balance interfacial cost against bulk gain, convert a barrier into a probabilistic waiting-time prediction and test which measurements can distinguish surface nucleation from a bulk mechanism.
Choose a driving free-energy density at fixed controls
At specified temperature and pressure, phases in equilibrium have equal molar Gibbs free energies. Below a melting temperature \(T_m\) the stable solid has lower chemical potential than the liquid. For modest undercooling, use \(d\mu=-s\,dT+v\,dp\). At fixed pressure the chemical-potential difference per molecule is approximately \(\mu_l-\mu_s\simeq\Delta h_f(T_m-T)/T_m\) if latent enthalpy of fusion per molecule varies little. Multiplying by the number density of the new phase gives a positive driving free-energy density \(\Delta g\). State whether each quoted latent heat is per particle, per mole or per unit volume; converting it twice gives enormous radius errors.
The underlying free-energy landscape has stable and metastable minima separated by a barrier. In a phase-field picture a local bulk density penalises intermediate order within the metastable region, and a gradient penalty charges a finite energy for an interface. A finite amount of stable phase can therefore cost free energy before its bulk advantage wins. A coexistence construction determines which bulk phases minimise free energy; it does not provide the rate at which an existing metastable preparation can reach them.
Compare a bulk coexistence construction with the cost of an interface
Derive the critical radius and barrier
In the simplest capillarity model an embryo is a sphere of radius \(r\), with isotropic positive interface energy \(\gamma\) per area and a bulk gain \(\Delta g\) per volume. Treat its interface as thin and its bulk properties as those of the macroscopic phases. Neglect elastic strain, long-range fields and depletion of the surrounding reservoir, then the reversible work to create it is
The derivative vanishes at \(r_*\) and the second derivative there is \(-8\pi\gamma\), so this is a maximum along the size coordinate. A slightly smaller embryo tends to shrink and a slightly larger one tends to grow, subject to noise and kinetic constraints. The radius where the total formation free energy first drops below its initial zero is
A supercritical nucleus can grow downhill even while its cumulative creation free energy is still positive. Confusing these two radii yields a fifty percent size error.
Take illustrative values \(\gamma=0.010\) J per square metre and \(\Delta g=1.0\times10^7\) J per cubic metre. Then \(r_*=2.0\) nm and \(\Delta G_*=1.68\times10^{-19}\) J, about 40.5 thermal energies at 300 K. Doubling driving density halves critical radius and quarters the barrier if \(\gamma\) is unchanged. At a two-nanometre radius the embryo may be just a few molecular spacings across. This calculated barrier is a sensitivity estimate; the assumed bulk interface tension, sharp interface and spherical shape become increasingly questionable there.
An alternative derivation uses the pressure jump \(2\gamma/r\) across a curved interface together with a bulk chemical-potential difference. Near coexistence the condition of zero growth recovers the same critical curvature. In a vapour close to ideal behaviour the driving chemical-potential difference involves \(k_BT\log S\) with supersaturation \(S=p/p_{\rm sat}\), not simply \(S-1\) at arbitrary supersaturation. Near \(S=1\) the two are close. A quantitative cloud-chamber inference must also account for the evolving supersaturation and evaporation or growth after nucleation.
Background · Why does a faster temperature ramp move the apparent freezing point?
Assume independent homogeneous nucleation with rate density \(J(T)\) in volume \(V\), and prompt detection of the first nucleus. The chance that the untransformed sample survives the next interval \(dt\) is \(1-VJ(T)\,dt\). Multiply these conditional probabilities along a cooling ramp with constant positive speed \(v=-dT/dt\). Starting at \(T_0\) gives
At fixed undercooling the faster ramp has accumulated less nucleation probability. The median observed freezing temperature satisfies an integrated hazard of \(\ln 2\). Doubling the sample volume and the ramp speed together leaves the predicted distribution unchanged. Failure of that scaling can signal surface-dominated nucleation, thermal lag or a growth time long enough to affect detection.
Derive the barrier reduction for a spherical cap
A nucleus forming on a flat inert wall can replace one existing interface with another. Let it be a spherical cap of curvature radius \(r\) and contact angle \(\theta\) through the new phase. The liquid-facing area is \(2\pi r^2(1-\cos\theta)\), contact area \(\pi r^2\sin^2\theta\) and cap volume \(\pi r^3(2-3\cos\theta+\cos^3\theta)/3\). Young's contact-angle condition relates the wall energy difference to minus \(\gamma\cos\theta\) per replaced contact area. Combining all terms gives the homogeneous spherical result multiplied by
Both surface and bulk coefficients receive the same factor. Critical curvature radius therefore remains \(2\gamma/\Delta g\) in this simple model, while the barrier becomes \(f(\theta)\Delta G_*\). At \(180^\circ\), \(f=1\) as the full sphere barely touches the wall. At \(90^\circ\), \(f=1/2\) for a hemisphere. At \(60^\circ\), \(f=0.15625\), lowering the illustrative 40.5-thermal-energy barrier to 6.33 thermal energies. Even a relatively small number of active wall sites can dominate observed events.
Complete wetting, a chemically patterned surface, a very small defect or appreciable energy per contact-line length can invalidate the simple contact geometry. Contact angle measured on a macroscopic equilibrium droplet need not equal the local microscopic value for a tiny forming embryo. A fitted effective angle that varies systematically with undercooling can signal a missing mechanism rather than a temperature-dependent property of a clean ideal wall.
Distinguish an attempt rate from an equilibrium barrier
A classical rate expression is \(J=J_0e^{-\Delta G_*/(k_BT)}\) per unit volume per unit time for homogeneous events. The prefactor contains the supply of available configurations and the kinetics for traversing the critical region. A barrier alone is insufficient to predict a waiting time. Lowering temperature can raise thermodynamic driving yet also reduce mobility and attachment, giving a nonmonotone total rate as the two effects compete.
If a well-mixed sample of volume \(V\) has constant independent hazard \(JV\), the survival probability of the metastable state follows from \(P_0(t+dt)=P_0(t)(1-JVdt)\): \(P_0=e^{-JVt}\). Mean wait is \(1/(JV)\), median \(\log2/(JV)\). A 1.0 microlitre sample with \(J=2.0\times10^8\) per cubic metre per second has hazard 0.20 per second and median 3.47 seconds. After five seconds 63.2 percent have transformed at least once, if the detector registers nucleation immediately.
If surfaces contribute independent rate per area \(J_s\), the combined first-event hazard is \(J_vV+J_sA\). Geometrically similar droplets have \(A\propto V^{2/3}\), so changing sample size can distinguish these contributions. Vary active surface chemistry at fixed geometry as a second probe. If most samples contain a single rare defect not scaling smoothly with area, survival can be a mixture of exponentials rather than one exponential. A straight-line fit to mean waits alone obscures such heterogeneity.
A cooling ramp integrates many different hazards
Under a deterministic temperature history \(T(t)\), survival is \(P_0(t)=\exp[-\int_0^t J(T(s))Vds]\) for homogeneous, conditionally independent events. In a constant cooling ramp \(q=-dT/dt>0\), the exponent becomes \(-(V/q)\int_T^{T_0}J(T')dT'\). The observed freezing-temperature histogram is weighted by survival as well as the instantaneous rate. The most probable freezing temperature need not minimise any free energy, and different ramp speeds can shift it even when all material properties are unchanged.
For a ramp calculation on gridded temperatures, update the remaining fraction by \(e^{-\Delta H}\) where \(\Delta H\) is the integrated hazard in that interval. Using a transition probability \(J V\Delta t\) even when it exceeds one violates probability bounds. Subdivide the interval and check convergence of median and distribution width. At steep temperature dependence, a midpoint estimate over a coarse interval can move a reconstructed barrier enough to dominate the apparent contact-angle uncertainty.
The detected event may be a threshold in light scattering, latent heat or visual crystal size. A nucleus must grow before producing that signal. At fixed growth speed \(u_g\), reaching detection radius \(r_d\) adds an approximate lag \((r_d-r_*)/u_g\); under cooling, both growth and hazard vary. Compare multiple detection thresholds or resolve the early growth trajectory and extrapolate a starting time. A shift in waiting time due entirely to the imaging threshold could otherwise be misinterpreted as altered microscopic nucleation.
Test how changing undercooling alters a barrier in the course's phase-equilibrium example
A finite reservoir can stabilise a droplet that would otherwise grow
The standard critical-radius derivation supposes that the driving free-energy density remains fixed while the nucleus grows. In a small sealed droplet or isolated simulation box, formation of the new phase can consume a significant fraction of the supersaturation. The surrounding phase then approaches coexistence and the bulk driving force falls. A single critical radius computed from initial supersaturation may describe early stability but cannot describe the entire late-time growth or the final phase fraction.
As a transparent model let conversion of new-phase volume \(v\) reduce the driving density linearly to \(\Delta g(v)=\Delta g_0-av\), with \(a>0\) incorporating finite-reservoir compressibility or depletion. The bulk free-energy gain is the integral of the driving density, not its final value times volume. For a spherical interface \(A(v)=(36\pi)^{1/3}v^{2/3}\), the total model is
The initial derivative is positive because a very small sphere has large area per volume. At large \(v\) the positive depletion derivative can make further growth unfavourable. If the derivative turns negative at intermediate volume there can be both a barrier top and a larger stable or metastable finite-droplet minimum. If it never turns negative the finite reservoir is too small or too weakly driven for a stable droplet in this model. This explains why a finite system can show a rare nucleus followed by arrested growth without contradicting the initial local barrier idea.
For a dimensionless illustration choose \(\Delta G/(k_BT)=4v^{2/3}-4v+0.25v^2\), with a specified arbitrary reference volume absorbed into \(v\). Its derivative is \((8/3)v^{-1/3}-4+0.5v\). At \(v=0.10\) it is about 1.80, at \(v=1\) about minus 0.83 and at \(v=10\) about 2.24. At least two stationary sizes therefore lie along the growth path. A sign test on neighbouring sizes distinguishes the early maximum from the later minimum without assuming every stationary root is a critical nucleus. Numerical root finding should bracket these branches separately instead of passing a single initial guess to a solver.
An experiment can test depletion by varying reservoir size at the same initial supersaturation and surface treatment. If early appearance times are comparable after correcting for trial volume but final crystal sizes grow with available material, finite feeding is plausible. Limited thermal transport, impurities blocking the interface or elastic stress can also arrest growth, so monitor the remaining parent-phase composition and temperature. A small system is precisely where the thermodynamic ensemble and the available amount of material need explicit definition.
A detection time can be dominated by diffusion after nucleation
After crossing the barrier a supercritical spherical domain may grow by diffusion of a dilute species. In a quasi-steady infinite exterior with surface concentration \(c_s\) and far concentration \(c_\infty>c_s\), the concentration solves the radial Laplace equation. Its solution is
The total inward solute flux is \(4\pi D R(c_\infty-c_s)\). Equate this to solute incorporated into an advancing sphere, \(4\pi R^2(c_{\rm new}-c_s)\dot R\), to obtain
This square-root growth law assumes quasi-steady diffusion, a spherical shape, nearly constant far conditions and a surface near local equilibrium. If interface attachment instead limits growth, a roughly constant \(\dot R\) may be a better first model over a short range. Measuring time to several optical thresholds distinguishes \(R_d^2\) scaling from \(R_d\) scaling. Threshold variation therefore separates growth and nucleation more effectively than one image definition held fixed.
Take \(D=1.0\times10^{-9}\) square metres per second and concentration ratio \(0.020\). From a negligibly small initial radius, reaching 5.0 micrometres takes \(25\times10^{-12}/(4.0\times10^{-11})=0.625\) s; reaching ten micrometres takes 2.50 s. If true median nucleation time is 1.0 s, the detected median at the larger threshold can be 3.5 s even when the microscopic barrier and initial supersaturation are unchanged. Calling its inverse a nucleation rate would seriously underestimate the true first-event hazard.
At very small radius a Gibbs–Thomson curvature shift increases the equilibrium surface concentration. The same curvature effect that opposes a small embryo can therefore slow its initial excess growth even after it has crossed the most probable barrier. At late times the bath may not be infinite and growing domains compete for material. These effects change the simple square-root law in different regions. Image a radius trajectory for each event instead of assigning the same unverified growth lag to all samples.
A thermal ramp with a tractable hazard shape
Over a restricted undercooling interval an experimentally measured hazard can rise approximately exponentially with undercooling \(\Delta T=T_0-T\): take \(h(\Delta T)=h_0 e^{a\Delta T}\). This is a local fit to the full barrier and prefactor, not a universal replacement for their pronounced temperature dependence. At constant cooling rate \(q>0\), direct integration gives cumulative hazard \(H=h_0(e^{a\Delta T}-1)/(aq)\) and survival \(e^{-H}\). The median solves
For \(h_0=0.010\) per second, \(a=1.0\) per kelvin and \(q=0.10\) K/s the median undercooling is 2.07 K. Doubling cooling rate raises it to 2.70 K. The shift is smaller than one kelvin but large relative to many thermometer precisions. It arises even with exactly the same thermodynamic coexistence temperature and material interfaces. Counting a median freezing temperature at only one ramp rate can therefore mix kinetics with the equilibrium phase boundary.
The probability density per unit undercooling is \([h(\Delta T)/q]e^{-H}\), where the first factor measures the rate conditional on surviving to that temperature. Taking a log derivative shows that an interior density maximum occurs when \(h=aq\), provided this exceeds the initial hazard. The median and the most probable temperature are distinct. At slower ramps the maximum can even lie at the beginning of the observation range, depending on preparation and chosen \(T_0\). A histogram peak should be interpreted together with the surviving population, not treated as a direct plot of microscopic rate.
To reconstruct hazard from a measured ramp, estimate the fraction still untransformed at each temperature and inspect minus the log of that fraction. Differentiate smooth cumulative hazards cautiously; differentiation amplifies noise and small late survivor counts. A joint fit of raw first-event and censored records over several ramp rates generally preserves more information than differentiating a single binned histogram. Varying sample volume as well helps separate a distribution of bulk rates from one associated with surfaces.
A committor test examines whether radius is a good reaction coordinate
The capillarity free-energy maximum uses one coordinate, radius. A practical microscopic test begins from candidate configurations near the proposed critical size, randomises thermal momenta or bath noise consistently with the preparation and launches many short independent trajectories. For each starting configuration estimate the fraction reaching a specified stable new-phase basin before returning to the parent phase. This fraction is the forward committor. A good transition-surface coordinate should identify configurations with committor near one half under the specified dynamics.
If configurations at the same radius show committors ranging from almost zero to almost one, that radius alone poorly locates the dynamical transition state. Shape, local order, strain or neighbour concentration may supply missing coordinates. Binomial uncertainty from finite trials also matters: 25 independent launches near one half give a standard error around 0.10 for an individual configuration. Increasing launches distinguishes true variation between configurations from sampling noise.
The committor depends on physically chosen basins and dynamics. An artificially accelerated Monte Carlo kinetic rule may preserve equilibrium free energies while changing which paths reach the new phase first. Use the same dynamics when comparing committor tests with measured waiting times. Equilibrium barrier heights, kinetic attempt rates and the adequacy of a proposed reaction coordinate are connected questions but require different data.
Distinguish first appearance from transformed volume fraction
A first-event detector stops caring about a sample once the earliest nucleus is registered. A calorimeter or diffraction measurement instead often follows the total fraction of material transformed. Even if nucleation is homogeneous at a constant rate and crystals grow at constant speed, these two signals have different time dependences. Treat an infinite initially untransformed sample, with nuclei placed randomly at rate \(J\) per volume and spherical domains growing radially at speed \(u\). To ask whether a particular point remains untransformed at time \(t\), count possible earlier nucleation events whose growth sphere would have reached it.
A nucleus born at time \(s\) reaches points within radius \(u(t-s)\), corresponding to volume \(4\pi u^3(t-s)^3/3\). Integrate the attempt rate over that backwards influence volume from zero to \(t\). For an ideal Poisson space-time nucleation model with this growth rule the probability of no such event is \(\exp[-\pi J u^3t^4/3]\), giving transformed fraction \(X=1-\exp[-\pi J u^3t^4/3]\). The result uses the standard extended-volume construction with random nucleation and isotropic constant-rate growth. It is not the simple first-event law \(1-e^{-JVt}\) for a finite observation sample.
For sites all pre-existing at time zero with random density \(n_0\), the same backwards-volume reasoning gives
A log plot of minus the log remaining fraction against log time therefore has ideal slope four for continual three-dimensional nucleation and three for instantaneous site saturation. In two dimensions the powers would both be reduced by one. A measured slope between these values is not automatically evidence for a fractional geometric dimension. Changing growth law, active-site exhaustion, temperature ramps or overlapping different mechanisms can alter the apparent slope.
If measured isothermal transformed fraction is one half at 100 s in the continuous model, the product \(Ju^3\) equals \(3\log2/(\pi\,100^4)=6.62\times10^{-9}\) per second to the fourth. This identifies the product, not the nucleation rate and growth speed separately. Independent imaging of isolated domain radii versus time, or a set of first-event measurements in small known volumes, can fix the remaining scale. A fit to the entire same ideal fraction curve cannot identify two quantities that enter it only through their product.
Actual calorimetric power is approximately latent enthalpy times \(dX/dt\), convolved with thermal response. Its maximum occurs when transformation rate peaks rather than when the first nucleus forms or exactly when half the volume has transformed. Compare integrated calorimetric energy with the final transformed fraction and deconvolve the calibrated instrument response before interpreting any schedule of peaks as a nucleation-time distribution.
The influence-volume argument also predicts a useful geometry check in a thin film. If domains reach both film surfaces early and then grow as expanding disks in the plane, a three-dimensional spherical growth model will eventually overestimate newly transformed volume. The apparent exponent can cross from an initially three-dimensional value to a lower late-time value without any change of microscopic nucleation pathway. Compare films of several thicknesses, identify the time at which individual radius reaches the film thickness and then test the predicted crossover in transformed fraction. Altering film thickness usually changes wall-to-volume ratio as well, so site density and growth geometry can vary together. Independent first-event measurements and direct images of individual domains remain necessary if the objective is to separate those two effects.
Locate a critical cluster and its barrier
Vary surface energy and bulk driving force independently. Find the stationary radius before reading the height of the barrier.
Tutorial · Extract a rate from records with censored observations
Twelve equal 2.0 microlitre samples are held at constant temperature for at most 20 s. Eight show first events at times whose sum is 64 s; four remain untransformed at the end. Estimate the homogeneous rate and explain the bias from averaging only the observed event times.
Count events and sum the full time at risk
Likelihood for independent exponential waits with right censoring is proportional to \(h^{N_e}e^{-hT_{\rm exposure}}\). The exposure is \(64+4(20)=144\) s, so \(\hat h=8/144=0.0556\) per second. Dividing by \(2.0\times10^{-9}\) cubic metres gives \(J=2.78\times10^7\) per cubic metre per second. The observed-only mean of 8 s would instead imply 0.125 per second and bias the rate upward by discarding samples known to survive a long time. With eight events, statistical uncertainty is substantial despite the precise arithmetic.
Tutorial · Distinguish area from volume nucleation
Two cubic samples have side lengths \(L\) and \(2L\). Their measured first-event hazards are 0.060 and 0.360 per second. Assume homogeneous bulk and wall contributions \(b=J_vL^3\), \(s=J_s6L^2\) in the smaller cube. Infer their relative importance and predict the hazard for a cube of side \(3L\).
Use different geometric powers to separate the contributions
The measurements give \(b+s=0.060\) and \(8b+4s=0.360\). Subtracting four times the first equation gives \(4b=0.120\), hence \(b=s=0.030\) per second. For side \(3L\), hazard is \(27b+9s=1.08\) per second. This prediction requires the same temperature, wall state and sample history, and negligible detection lag. An unmodelled population of corner-active sites adds a term independent of \(L\), so measurements at a third size test the two-term assumption rather than merely improving its fit.
Tutorial · Propagate interfacial uncertainty into a rate
Suppose the barrier is estimated at \(35k_BT\), with five-percent relative uncertainty in interfacial tension while driving force, temperature and prefactor are treated as known. Estimate its effect on log rate and explain why the rate uncertainty is strongly asymmetric when expressed in ordinary units.
Differentiate the barrier first and exponentiate last
The barrier scales as \(\gamma^3\), so its first-order relative uncertainty is 15 percent. The uncertainty in \(\log J\) is therefore about \(35(0.15)=5.25\), corresponding to multiplicative factors of roughly \(e^{5.25}=191\). A symmetric error in interfacial tension need not produce a symmetric additive error in rate. Computing the exact cubed upper and lower tensions produces further asymmetry.
Repeat the inference with a driving-force uncertainty, whose logarithmic coefficient is minus two in the barrier. Tension and driving parameters estimated from common coexistence data may be correlated. A direct comparison of predicted log rates across several undercoolings is often more stable than comparing raw rates spanning many orders of magnitude.
Cambridge Statistical Physics · metastability, phases and transitions
Nonlinear inference and implicit equations
Investigate what a residual and a local derivative measure in inverse fitting, discretised boundary equations and an implicitly advanced stiff mode.
- Nonlinear fitting and local models
- Predictions, parameter profiles and nonlinear uncertainty
- When a single uncertainty interval hides two explanations
- Absolute stability and stiffness
- Shooting for two-point boundary values
- Differential–algebraic equations and consistency
- Why a boundary value problem can be easier than its shooting equation
- Anisotropic and nonlinear dielectrics from local measurements to global fields
- From mobile ions to screening lengths and differential double-layer capacitance
- Measure inertia and gravity with two suspension axes
Nonlinear fitting and local models
Inverse problems and least squares
Derive a Gauss–Newton step, recognise misleading local curvature and use step acceptance to protect a nonlinear fit.
From first principles
Build a local inverse from sensitivities
Let a differentiable forward model \(f(p)\) predict several measurements from parameters \(p\). Whiten its prediction errors by the measured noise covariance, and denote the resulting residual by \(r(p)\). To infer a parameter change \(s\) from the current mismatch, expand about the current state,
Here column \(j\) of \(J\) records the response to changing parameter \(j\), with the other parameters fixed at the current values. Minimizing the squared norm of the linearized prediction supplies the Gauss–Newton step,
Independent columns make the local step unique. Nearly parallel columns indicate parameter combinations that can compensate for each other in the data. Because \(J\) describes only the present neighbourhood, compare the actual residual at the proposed new state with the linear prediction. A new trial point must also respect any physical parameter bounds assumed by the forward model.
Derivation and applications
Compare finite updates in a parameter and its logarithm
A positive coefficient such as a diffusivity or decay rate can be fitted directly or via a logarithm that enforces positivity automatically. Consider \(p>0\) and use a reference \(p_0\) of the same units so that \(q=\ln(p/p_0)\) is dimensionless. Let \(r(p)\) be a whitened residual vector and \(J_p\) its derivative column at the current parameter. The chain rule and a linearized solve give
Thus direct and logarithmic coordinates describe the same first-order change when the column is nonzero. Their undamped finite proposals differ. The direct step adds the change; the logarithmic step exponentiates it. Expanding the exponential gives the difference explicitly,
The local variance from the same linear model transforms consistently, assuming unit whitened noise and no added prior:
The positivity of a proposal does not ensure it reduces the nonlinear residual. A line search or other acceptance test can still be needed. Likewise, a prior density specified in one coordinate must be transformed with its Jacobian when a Bayesian analysis changes coordinates.
Worked example
Compare two proposals against an exact one-channel fit
A direct sensor predicts \(y=p\), with reading 1 and initial \(p=4\). The direct correction is \(-3\), reaching the exact fit immediately. The log-coordinate correction is \(-3/4\), giving \(4e^{-0.75}=1.889\). Both reduce the original error of 3, but the two linearizations have different finite remainders. The logarithmic model is nonlinear even for this linear physical sensor.
Second application
Translate a local interval into physical units
A second inversion gives \(p=2.00\,\mathrm{mm^2/s}\) and local standard deviation \(s_q=0.10\) in log coordinates. First-order propagation gives \(s_p=0.20\,\mathrm{mm^2/s}\). Mapping the symmetric log interval \(q\pm0.20\) exactly gives \(p\in[2e^{-0.2},2e^{0.2}]=[1.637,2.443]\,\mathrm{mm^2/s}\). The asymmetric physical interval retains the bounds specified in logarithmic units.
Expand the residual around a trial parameter
Let \(r_i(p)\) be predicted minus observed data after whitening. Near \(p_k\),
where \(J_{ij}=\partial r_i/\partial p_j\). Minimise the squared norm of this linear expression to obtain the Gauss–Newton step. The exact Hessian of \(\tfrac12\|r\|^2\) is \(J^\mathsf{T}J+\sum_i r_i\nabla^2 r_i\). Gauss–Newton omits the second term. It is especially accurate near a good fit with small residuals. With substantial residuals or severe model curvature it can predict the wrong improvement even if the Jacobian is computed perfectly.
Compute the step from a QR or SVD solve \(Jd\simeq-r\). Verify a derivative independently using a directional difference \([r(p+hv)-r(p-hv)]/(2h)\) and compare with \(Jv\) across a few \(h\). Errors that shrink and then grow as \(h\) decreases are consistent with truncation followed by roundoff. A disagreement stable across several step sizes often signals inconsistent units, residual signs or parameter ordering.
Work one update by hand
For \(g(t;p)=e^{-pt}\), observe \(y(1)=0.50,\ y(2)=0.25\) with equal standard deviations. Start at \(p=0\). The residuals are 0.50 and 0.75 and the Jacobian column is \((-1,-2)^\mathsf{T}\). The least-squares step is
At \(p=0.4\) the two predictions are about 0.670 and 0.449. The residual shrinks, but a single linear step falls short of the exact parameter \(\ln2\). Recompute the derivative at the new point before the next update. Fitting the logarithms instead would change the implied measurement-noise model unless the weights are transformed appropriately.
Limit poor steps and enforce physical scales
A damped step minimises \(\|r+Jd\|^2+\mu\|Dd\|^2\). The diagonal scale \(D\) makes a step of one natural parameter unit comparable across components. Large \(\mu\) restricts the step strongly; small \(\mu\) approaches the ordinary Gauss–Newton solve. Evaluate the true objective at the trial point and compare its actual decrease with the decrease predicted by the linear residual model. A step with negative actual decrease should be rejected or shortened. Repeatedly tiny steps with a large gradient are evidence of a stalled solve, not convergence.
For a strictly positive rate, one can write \(k=e^\theta\); then \(\partial g/\partial\theta=k\,\partial g/\partial k\). This transformation enforces positivity and represents relative changes naturally. It also changes what a penalty on parameter distance means. Distinguish damping of an individual iteration from regularisation in the final objective: damping may decrease toward zero as a local method converges even when no penalty on the final parameters is intended.
The limits of a local uncertainty ellipse
At a well-determined full-rank fit with correctly scaled independent errors, \((J^\mathsf{T}J)^{-1}\) approximates parameter covariance in a local linear model. For \(g(p)=p^2\) and observed positive \(y\), either root has nonzero slope and a narrow local interval can arise around each. That interval misses the other root entirely. Bounds, multiple starts, profile fits and independent predictions give different checks on global uniqueness and nonlinearity. Distinct parameter values with similar residuals are a result to report; selecting the one reached by the first start can hide a scientifically important ambiguity.
Eliminate linear coefficients from a nonlinear fit
A decay amplitude may be unknown alongside its time constant. For fixed positive rate \(k\) the vector of predictions is \(a v(k)\), with \(v_i(k)=e^{-kt_i}\) and an unknown scalar amplitude \(a\). Assume the data have already been whitened, applying the same transformation also to \(v\). Minimising the squared residual at fixed \(k\) is an ordinary one-dimensional projection. Differentiating with respect to \(a\) gives \(v^T(av-y)=0\), so \(a(k)=v^Ty/(v^Tv)\) whenever the column is nonzero. Substitution leaves a scalar objective \(F(k)=\|a(k)v(k)-y\|^2/2\).
To compute its derivative, differentiate the complete residual \(r=a v-y\). The chain rule gives
But the optimal amplitude has already made \(r^Tv=0\), so the first term vanishes exactly. Thus the profile derivative is \(a r^Tv'\), even though \(a(k)\) changes as the rate changes. This cancellation requires an accurately solved inner projection. If an approximate amplitude leaves a visible residual along the column, ignoring its derivative can yield the wrong outer step. Several linear columns can be handled by the same projection argument while their rank remains fixed.
Diagnose the effect on three observations
Take times 0, 1 and 2 seconds, observed amplitudes \(y=(4,2,1.5)^T\), and trial rate \(k=\log2\) per second. Then \(v=(1,1/2,1/4)^T\), \(v^Tv=21/16\), and \(v^Ty=43/8\). Hence \(a=86/21\). Subtract the observations from the predictions to obtain
Its product with the design column is proportional to \(2+1/2-10/4=0\), checking that no amplitude adjustment alone improves the fit. The value of the objective is
Now \(v'=(0,-1/2,-1/2)^T\) in seconds, so
Multiplying by the fitted amplitude gives \(F'=43/49\) per unit rate in the chosen amplitude scaling. The positive derivative says that slightly reducing \(k\) lowers the local discrepancy. This sign has a physical explanation: the late observation lies above the fitted curve and a smaller decay rate raises the relative late amplitude. The amplitude will readjust simultaneously to keep the projection optimal.
What if all three acquisition times are the same? Every \(v(k)\) is a nonzero multiple of the same constant column. Changing \(k\) rescales that column and the best amplitude compensates perfectly. The profiled objective is then flat although the inner projection is perfectly well defined. Eliminating a linear nuisance coefficient improves the structure of a search but cannot cure missing information about decay rates when the timing protocol transmits only one measurement direction.
One can diagnose that limiting design before taking data by projecting the derivative column \(v'\) perpendicular to \(v\). Only this perpendicular component can change the fitted curve after amplitude compensation. At identical times it is identically zero because \(v'=-tv\). With distinct times it usually survives. Under approximately constant additive noise, inspecting its magnitude across candidate sampling schedules gives a quantitative way to choose the times that distinguish a changed shape from a changed amplitude.
The projected derivative has units of amplitude times time, so compare candidate schedules using the same time and amplitude scales.
Change parameters · Nonlinear fitting and local models
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.
Predictions, parameter profiles and nonlinear uncertainty
Inverse problems and least squares
Calculate intervals for a quantity of interest, then find where a linear covariance approximation loses the geometry of a nonlinear fit.
From first principles
Propagate fitted uncertainty to a reported quantity
Suppose a fit gives a parameter estimate \(m\) with covariance \(C\), and the quantity to be reported is \(z=h(p)\). Near \(m\), expand a differentiable \(h\) to first order. Writing \(g=\nabla h(m)\), each small parameter change contributes through its directional sensitivity,
Correlations can either reduce or enlarge the propagated variance. For a genuinely nonlinear quantity or a large parameter region, a local line may miss the full shape. One alternative holds the target value fixed and finds the best fit compatible with it. With an objective \(\Phi\), define
Comparing this constrained objective with its unconstrained minimum tracks compensating changes in the nuisance parameters. A confidence level for its increase requires an explicit statistical model; tracing an objective curve alone supplies no probability calibration.
Derivation and applications
Derive a profile interval using the covariance of a linear fit
Suppose a Gaussian linear experiment gives unconstrained estimate \(m\) and strictly positive covariance \(C\), with correctly known noise scale. Its negative log likelihood relative to the optimum is the quadratic distance \(\tfrac12(p-m)^TC^{-1}(p-m)\). To profile a reported scalar \(z=c^Tp\), require the candidate parameters to satisfy that equality. Introduce a multiplier and differentiate with respect to the vector,
The constraint determines \(\lambda=(c^Tm-z)/(c^TCc)\). Substitution gives both the parameter combination selected at each target value and the profile height,
This reproduces the usual propagated Gaussian variance while showing exactly how the other fitted coordinates move along the profile. For a monotone function \(q=g(z)\), imposing \(q\) fixes the corresponding \(z=g^{-1}(q)\). The profile then transforms without approximation,
An interval selected by a likelihood-ratio threshold maps by applying \(g\) to its two endpoints. It can be asymmetric even when the underlying likelihood in \(p\) is exactly quadratic. If \(g\) is not one-to-one, every feasible branch must be considered and the smallest objective chosen.
Worked example
Track the nuisance displacement along a profile
Take \(m=(2,4)^T\), \(C=\left(\begin{smallmatrix}1&0.5\\0.5&1\end{smallmatrix}\right)\), and target \(z=p_1+p_2\). The target mean is 6 and variance 3. At \(z=9\), \(Cc=(1.5,1.5)^T\), giving constrained state \((3.5,5.5)^T\). The twice-log-likelihood increase is \(3^2/3=3\). Holding the second parameter fixed would impose a different and more restrictive path.
Second application
Transform an interval for a positive output
A second model estimates \(z=\ln(q/q_0)\) with mean \(0.4\) and deviation \(0.3\); let \(q_0=10\). At threshold \(2\Delta\Phi=4\), the interval in \(z\) is \([-0.2,1.0]\). Mapping its endpoints gives \(q\in[8.19,27.18]\), around the maximum-likelihood value \(10e^{0.4}=14.92\). A symmetric interval about that value would lose the exact profile geometry.
Push uncertainty through the prediction
Often a user needs tomorrow's temperature or a time to threshold, rather than all fitted coefficients. For a linear target \(h(x)=c^\mathsf{T}x\) and Gaussian posterior, \(h\) is Gaussian with mean \(c^\mathsf{T}m\) and variance \(c^\mathsf{T}C c\). Include covariance terms: positively correlated errors raise uncertainty in a sum and reduce it in a difference. For a new noisy measurement add its own independent measurement variance. Reporting this predictive interval as the uncertainty of the noise-free underlying response would mix two questions.
For a smooth nonlinear \(h\), expand about the mean \(m\). The first-order variance is \(\nabla h^\mathsf{T}C\nabla h\); the leading correction to the mean is \(\tfrac12\operatorname{tr}[H_h(m)C]\). If the gradient vanishes, first-order variance propagation can return zero despite substantial uncertainty. For example, if \(x\) is centred normal with variance \(s^2\) and \(h=x^2\), then \(\mathbb Eh=s^2\) and \(\operatorname{Var}h=2s^4\), using the Gaussian fourth moment. The linear approximation at zero would miss both.
A positive rate and a nonlinear lifetime
Suppose \(\theta=\ln(k/k_{\rm unit})\) is normal with mean \(m\) and standard deviation \(s\). A decay lifetime is
Its median is \(e^{-m}/k_{\rm unit}\); its mean is larger by \(e^{s^2/2}\). A central 95% interval is \([e^{-m-1.96s},e^{-m+1.96s}]/k_{\rm unit}\). These endpoints need not be equally far from the median. For median 10 s and \(s=0.5\), the interval is approximately [3.75, 26.6] s and mean 11.33 s. Transform samples or quantiles if strong nonlinearity makes symmetric error bars misleading.
A profile follows compensating changes
Let the fit have parameters \((p,q)\). To profile \(p\), fix it temporarily at each trial value and minimise the objective over \(q\). The resulting curve reflects how much the other parameter can compensate. Holding \(q\) fixed instead gives a slice that is generally steeper and gives deceptively narrow intervals. For the sum-of-squares surface \(F=(p+q-2)^2+0.04(q-1)^2\), minimising gives
The resulting profile is \(0.04(p-1)^2/1.04\). A slice at the joint optimum's \(q=1\) is just \((p-1)^2\). Both have minimum at one but radically different curvature.
Read the level as well as the curve
A profile likelihood is a maximisation over nuisance parameters. A Bayesian marginal instead integrates their probability. Even when their modes agree the two objects can differ in shape in nonlinear models. A likelihood-ratio threshold yields approximate confidence sets under regularity assumptions and enough informative data. Boundaries, multiple modes and poorly identified nuisance parameters may invalidate a familiar chi-square cutoff. Report the objective convention and how the threshold was calibrated, e.g. by simulated repetitions of the full experiment. A plot of the raw profile and representative predicted curves along it remains interpretable even when an asymptotic confidence level is questionable.
Invert a test to put an interval on a ratio
A scientifically relevant quantity may be \(q=\mu_y/\mu_x\), for example the response per unit excitation. Estimates \(\hat x,\hat y\) can each have nearly Gaussian uncertainty even when their ratio is highly asymmetric. Suppose for now that they are independent normals with known variances \(s_x^2,s_y^2\), and that the true denominator is nonzero. To test a proposed ratio \(q\), consider the contrast \(\hat y-q\hat x\). If the proposed ratio is correct, that contrast has mean zero and variance \(s_y^2+q^2s_x^2\). The source of difficulty, the uncertain denominator, now enters the reference variance explicitly.
Collect all values whose absolute standardised contrast is at most a normal quantile \(z\). Squaring and expanding gives the quadratic inequality
This inversion gives a confidence set because it contains the true ratio exactly when the correctly standardised contrast falls in the specified acceptance region. Its shape need not resemble a symmetric error bar. If the leading coefficient changes sign, the accepted set may be unbounded. A covariance between \(\hat x\) and \(\hat y\) changes the variance to \(s_y^2+q^2s_x^2-2q\,\mathrm{Cov}(\hat x,\hat y)\), so the preceding coefficients require modification.
A precise reading divided by an uncertain excitation
Use \(z=2\), corresponding to about 95.45 percent coverage for the stated normal model. Set \(\hat x=2,\hat y=4,\ s_x=0.5,\ s_y=1\). The quadratic coefficients are 3, −16 and 12. Its roots are \((16\pm\sqrt{112})/6\), about 0.903 and 4.431. The accepted set is the closed interval between them because the polynomial opens upward. The point estimate is two. The interval extends considerably farther upward than downward because a smaller plausible excitation can produce a much larger ratio. A symmetric linearised interval loses this asymmetry.
Now keep the observations and numerator uncertainty fixed but raise \(s_x\) to 1.5. The resulting inequality is \(-5q^2-16q+12\le0\), whose roots are \((-16\pm\sqrt{496})/10\), about −3.827 and 0.627. The accepted set consists of the two exterior rays. It includes very large positive and negative values. For such values the standardised contrast approaches \(|\hat x|/s_x=4/3\), inside the threshold two, precisely because the data cannot rule out an excitation arbitrarily close to zero.
An investigator with independent physical information that the excitation is strictly positive may intersect the set with the resulting permitted parameter space. A numerical routine that simply discards negative draws or clips ratios at a convenient maximum is instead changing the uncertainty analysis. The unbounded set is a measurable statement about what an experiment failed to localise, and identifies the denominator measurement as an appropriate target for redesign.
When \(\hat x^2=z^2s_x^2\) exactly, the quadratic term disappears. The confidence set is then ordinarily a half-line determined by a linear inequality. This is the transition between bounded and exterior solutions. A robust implementation must handle it directly instead of dividing by a leading coefficient that may be zero or extremely small.
Change parameters · Explore the worked calculation
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.
When a single uncertainty interval hides two explanations
Inverse problems and least squares
Start from a squared-amplitude measurement, derive the full posterior and design a second observation capable of identifying the sign.
Symmetry is an identifiability statement
A sensor measures \(d=x^2+\eta\) with Gaussian noise of standard deviation \(s\). A symmetric Gaussian prior of variance \(\tau^2\) puts equal weight on opposite signs. Bayes' rule gives the density
The exponent is even, so the posterior mean is exactly zero whenever the integral exists. That mean may make an extremely poor prediction of the observed quantity. To locate modes, differentiate the negative log density to get \(x[2(x^2-d)/s^2+1/\tau^2]\). Two off-centre modes appear precisely when \(d>s^2/(2\tau^2)\). At smaller \(d\), the prior and noise merge the explanations into one central mode.
Numbers and competing summaries
Set \(d=1\), \(s=0.2\), and \(\tau=2\). The modes are at \(\pm\sqrt{0.995}\), close to \(\pm0.9975\). The density ratio of \(x=0\) to \(x=1\) is \(\exp[-1/(2s^2)+1/(2\tau^2)]\), about \(4.2\times10^{-6}\). The reported mean of zero sits in a very low-density region.
For \(d=-0.05\), there is no real parameter that exactly fits the measured amplitude squared. A noisy sensor can still produce this value. The distribution has a single mode at zero, and there is no justification for taking the square root of the negative datum or discarding the observation.
Buy a measurement that identifies the sign
Assume an independent second sensor reports \(b=x+\epsilon\) with known standard deviation 0.5. Add \(-(b-x)^2/(2\cdot0.5^2)\) to the log density. The original two signs now receive different weights. Both curves in the plot are independently normalised by quadrature on the displayed interval; the sign probability is conditional on that interval. Compare the observation \(b=0\) with \(b=1\).
Tutorial on designing another experiment
Repeat the squared-amplitude measurement a hundred times with independent noise. What can become precise?
Worked solution
The magnitude \(x^2\) can become very precise. Every likelihood factor remains even in \(x\), so the sign probabilities stay equal with this prior. More data of the same kind cannot break that symmetry.
If the two candidate states were exactly \(x=\pm1\), what likelihood ratio does \(b=0.5\) give in favour of the positive state?
Worked solution
The exponent difference is
The likelihood ratio is \(e^4\), about 54.6. A continuous posterior also averages over the spread around each candidate.
Absolute stability and stiffness
Numerical ordinary differential equations
Determine the step sizes that damp a decaying mode and explain why fast, physically uninteresting modes can dominate the cost of explicit integration.
From first principles
Find a stability limit directly from repeated multiplication
A small perturbation around an equilibrium often satisfies a linear equation \(y'=\lambda y\). Begin with real \(\lambda<0\), for which the continuous value is multiplied by \(e^{h\lambda}\), strictly between zero and one. Apply Euler’s left- and right-endpoint approximations to the integral of this same rate. Let \(z=h\lambda\):
Solve each update for its new value and iterate \(n\) steps. Persistence of roundoff or initial error is governed by the same powers:
For strict decay, \(|R|<1\) is necessary. Forward Euler on this real mode requires \(-2<z<0\), and avoiding sign alternation further requires \(z\ge-1\). Backward Euler damps every negative real \(z\), even when the step is too large to approximate a transient accurately. With modes at \(-1\) and \(-1000\) s⁻¹, the fastest mode restricts a forward step to less than 0.002 s even after that transient has become tiny. This mismatch between stability and the resolution needed for the slow observable is the source of stiffness in this example.
Background · Stability function
On the scalar linear test equation, absolute stability depends on the point h times lambda. It gives only part of the story for a nonnormal matrix or nonlinear problem.
Open full-size diagram
Derivation and applications
Separate unconditional stability from damping of an unresolved mode
A stiff dissipative mode may have decayed almost completely during a single time step. Merely keeping its computed amplitude bounded is then a weak requirement. Examine the family of one-step formulas that weights the old and new slopes with \(1-\theta\) and \(\theta\). On the scalar test equation \(y'=-\lambda y\), \(\lambda>0\), define the dimensionless decay over a step as \(r=h\lambda\). Collecting the new value on the left gives
The denominator is positive for \(\theta\ge0\). The amplification never exceeds one from above; enforcing \(G\ge-1\) supplies the other half of the real-axis stability condition:
Thus all positive step sizes are stable along the negative real eigenvalue axis for \(\theta\ge1/2\). Now investigate what actually appears in the stored solution when the mode is unresolved:
The trapezoidal choice \(\theta=1/2\) approaches a sign-reversing factor of unit magnitude. Backward Euler \(\theta=1\) suppresses the fast mode. These properties govern the handling of transients; the order of approximation for a smooth, resolved mode is a separate question.
Worked example
Check a relaxation after one coarse step
Take \(\lambda=1000\) s⁻¹, \(h=0.100\) s and an initial perturbation of \(1.00\) K. The exact remnant is \(e^{-100}\) K, negligible. Trapezoidal stepping leaves \((1-50)/(1+50)=-0.961\) K, while backward Euler leaves \(1/101=0.00990\) K. After two trapezoidal steps the perturbation becomes positive again at \(0.923\) K. That oscillatory persistence is numerical, even though the amplification satisfies the stability condition.
Second application
Choose a step for monotonically decreasing transients
Suppose a solver uses \(\theta=0.750\) and should preserve positivity for a spectrum of decay rates up to \(400\) s⁻¹. The numerator of \(G\) requires \(1-0.250h\lambda\ge0\), hence \(h\le0.0100\) s. A \(0.0200\) s step would remain stable on every mode but gives \(G=(1-2)/(1+6)=-1/7\) for the fastest one. A positivity requirement can impose a finite time step even when boundedness does not.
Examine a single amplification factor
For the real decay problem \(y'=-\lambda y\), \(\lambda>0\), the physical solution multiplies by \(e^{-h\lambda}\) over a step. A linear one-step method replaces this by \(R(z)\), with \(z=-h\lambda\). Absolute stability at \(z\) means repeated multiplication does not amplify magnitude, conventionally \(|R(z)|\leq1\). A truly decaying mode requires a strict inequality for numerical damping. Positivity and phase fidelity impose additional requirements beyond this magnitude test.
Forward Euler has \(R=1+z\). In the complex plane the stability region is the disk of radius one centred at \(-1\). On the real negative axis, decay requires \(0<h\lambda<2\); nonnegative decay requires \(h\lambda\leq1\). Backward Euler has \(R=1/(1-z)\), and the trapezoidal method has \(R=(1+z/2)/(1-z/2)\). Both contain the entire left half-plane in their stability regions. As \(z\) becomes large and negative, backward Euler tends to zero while trapezoidal tends to minus one. The former strongly damps unresolved fast components; the latter can keep them as alternating numerical transients.
Follow a slow and a fast component together
Let \(u'=-u,\ v'=-1000v\), with \(u(0)=v(0)=1\). At \(t=0.1\) the exact slow state is 0.90484, while the fast state is \(e^{-100}\), effectively zero on a plot at unit scale. Suppose the slow state is the desired observable. One forward Euler step of 0.1 s gives \(u=0.9\) but \(v=-99\). The method becomes unstable even though the desired slow response is well resolved. To damp the fast mode explicitly, \(h\) must stay below 0.002 s whenever that mode can be excited.
Backward Euler with \(h=0.1\) gives
Trapezoidal gives
The second-order rule is especially accurate on the slow mode but retains a conspicuous oscillatory fast component. Neither the maximum order nor a broad stability region alone identifies the right integrator. The observable, acceptable transient error and stiffness all enter the decision.
Trace the cost back to the model
A diffusion equation discretised on a spatial mesh produces modes with rates up to order \(D/h_x^2\). Halving spatial spacing roughly quadruples the magnitude of the fastest eigenvalue. An explicit time step chosen for a coarse grid can therefore fail after spatial refinement, even if the initial physical signal looks smooth. Small high-frequency components from boundary changes, rounding or nonlinear interactions may excite modes absent from an idealised initial state.
Implicit stability shifts work into linear or nonlinear systems inside each time step. An oversized implicit step can miss a forcing pulse altogether, or produce a poor slow-phase estimate despite decaying every homogeneous mode. Compare the output on two time grids, distinguish the time required to resolve a source from the time required merely for stability, and inspect at least one fast component when interpreting unexpected oscillations. The distinction is visible in a reaction where exact species totals coexist with substantial errors in the individual states. Compare reaction histories under Euler and RK4.
Explain why a tiny initial fast component can still matter
Take the same two-rate model but start with \(v_0=10^{-12}\) and apply forward Euler with \(h=0.01\). The physical fast mode should disappear almost immediately. The numerical factor is \(1-10=-9\), so after twelve steps its magnitude is \(9^{12}10^{-12}\simeq0.282\). An initial disturbance that was invisible in the output has become comparable with the desired slow signal in little physical time.
If the fast variable started exactly at zero in a perfectly decoupled model, exact arithmetic would keep it zero. That special trajectory would give a misleading sense of stability. Roundoff, forcing or a weak coupling can generate a nonzero fast component at later stages. A robust experiment deliberately perturbs fast directions and examines whether numerical damping agrees with the model under those perturbations. This is especially relevant when a mesh refinement adds high-frequency modes that were absent from the coarser spectrum.
Separate damping of a perturbation from tracking a moving state
A useful stiff test has an exact slow path \(g(t)\) embedded in \(y'=\lambda(y-g(t))+g'(t)\), with \(\lambda<0\). Subtracting \(g\) gives
An initial condition on the path stays on it, whereas an off-path disturbance decays exponentially. A numerical method must therefore address two different tasks: damp erroneous components perpendicular to the slow path and follow the path as it moves. A homogeneous stability test measures only the first.
Apply backward Euler and define \(e_n=y_n-g(t_n)\). Subtract \(g(t_{n+1})\) after the implicit update. The error satisfies
The last two terms are the error in approximating the change of \(g\) using its new endpoint derivative. Even with \(e_n=0\), this forcing can create error at the next time. The factor \(1/(1-h\lambda)\) damps both old error and newly created defect. Increasing stiffness changes their balance, while changing the time step alters both the source and its propagation.
Track a quadratic path with a fast relaxation
Take \(g=t^2,\ \lambda=-100\) per second, \(h=0.1\) s, \(e_0=0\). Since \(h(2t_{n+1})-(t_{n+1}^2-t_n^2)=h^2\), the recurrence is
The first error is \(0.00090909\), so the first computed state is 0.01090909 when the exact value is 0.01. The second error is approximately 0.00099174. Solving the scalar recurrence shows that the error tends to 0.001, the fixed point of \(11e=e+0.01\). Stability does not force it to vanish because each step creates a new tracking defect.
For comparison, trapezoidal integration of the slow-path derivative integrates the linear function \(g'=2t\) exactly over each interval. Substituting the exact nodal values \(g(t_n)\) therefore satisfies its full discrete equations, so an exactly initialized trajectory stays on this particular path. However, a small off-path perturbation is multiplied per step by \((1-5)/(1+5)=-2/3\), whereas backward Euler multiplies it by \(1/11\). Thus one method is exact on the specified moving path and the other damps unrelated fast perturbations more rapidly.
A numerical test that initialises precisely on \(g\) and uses only this quadratic path could make the trapezoidal method appear flawless. Add a known small perturbation and measure its sign and amplitude separately. Conversely a test with \(g=0\) detects damping but cannot expose a tracking defect. Both controlled initialisations are needed to tell whether an observed error arises from resolving the moving forcing or dissipating the artificially fast component.
A final scaling experiment holds the stiffness fixed and halves the step. The long-time tracking error in this quadratic case is \(h/|\lambda|\), obtained by cancelling the fixed-point terms in the recurrence. With \(h=0.05\) and the same relaxation rate it becomes 0.0005. A one-step error alone, evaluated from the exact state on each grid, would not reveal the same accumulation mechanism. Report whether an observed order concerns a local defect, a settled tracking error or an initial fast transient.
Separate boundedness from physical decay in a stiff mode
For \(y'=-k y\) with positive initial state, an unresolved fast mode should disappear on the reporting timescale. Compare the actual signed factors. A magnitude-only graph would conceal a spurious sign change.

Read values from the plot
| Step × positive decay rate | Exact | Backward Euler | Trapezoidal rule |
|---|---|---|---|
| 0.01 | 0.99005 | 0.9901 | 0.99005 |
| 0.088011 | 0.91575 | 0.91911 | 0.9157 |
| 0.7746 | 0.46089 | 0.56351 | 0.44165 |
| 6.8173 | 0.0010947 | 0.12792 | −0.54635 |
| 60 | 8.7565e−27 | 0.016393 | −0.93548 |
Change parameters · Separate boundedness from physical decay in a stiff mode
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.
Shooting for two-point boundary values
Numerical ordinary differential equations
Turn a missing initial slope into a scalar root, measure the sensitivity of endpoint matching and recognise an unstable propagation direction.
From first principles
Convert a missing boundary slope into a measurable residual
Consider a twice differentiable scalar field on \(0\le x\le L\) satisfying \(y''=f(x,y,y')\), \(y(0)=a\), \(y(L)=b\). A forward initial-value solver needs both the starting value and its slope. Guess a slope \(s\), integrate the two first-order equations \(y'=v,\ v'=f(x,y,v)\) from \((a,s)\), then record the signed endpoint discrepancy:
Changing the guess by a small amount changes the residual by its derivative times the change. To compute that derivative along the same trajectory define \(z=\partial_s y\), \(w=\partial_s v\). Differentiate both the equations and their initial conditions:
Now \(R'(s)=z(L)\). Setting the linearised next residual to zero gives the Newton correction:
For \(f=0\) the propagated sensitivity is exactly \(z(x)=x\). The correction recovers the slope of the line connecting the boundary values in one step. A nearly zero \(z(L)\) signals poor slope identifiability from that endpoint. A large growing sensitivity instead makes forward propagation vulnerable to numerical contamination between the boundaries.
Background · Shooting residual
Here s encodes missing initial data and B the final boundary condition. An unstable trajectory map can make the residual badly conditioned even with an accurate initial-value solver.
Derivation and applications
Recognize two shooting solutions and the fold between them
A successful endpoint residual can describe more than one solution. Consider the dimensionless steady boundary-value model \(u''+\lambda e^u=0\) on \(0<x<1\), with \(u(0)=u(1)=0\) and positive \(\lambda\). It represents a simplified nonlinear source balanced by diffusion. A shooting code would vary the unknown initial slope until the final value vanishes. To understand the possible roots, consider a symmetric trial family centred at \(x=1/2\):
This family automatically enforces both boundary conditions. Differentiating twice gives
The exponential source has the same spatial factor. Cancel it to determine exactly which problem parameter each profile solves:
As \(\mu\) increases, \(\lambda\) initially grows quadratically, then decays toward zero. Differentiate its logarithm to locate the turning point that separates the two branches of initial slopes:
Numerical solution of \(\mu\tanh(\mu/2)=2\) gives \(\mu\simeq2.3994\) and \(\lambda_{\rm fold}\simeq3.5138\). Below this value and above zero the family gives two distinct symmetric positive solutions. Close to the fold a small change in \(\lambda\) can produce a large change in the solution branch. Numerical residual alone cannot tell which branch a shooting iteration found.
Worked example
Generate a known solution for checking a solver
Choose \(\mu=2\). Then \(\lambda=8/\cosh^2(1)=3.3598\), the initial slope is \(4\tanh(1)=3.0464\) and the centre value is \(2\ln\cosh(1)=0.8676\). Integrating from \((u,u')=(0,3.0464)\) should return near zero at \(x=1\) and near \(0.868\) at the midpoint. The second observation checks the shape, not only the enforced endpoint.
Second application
Identify the branch from an additional reading
At the fold the maximum centre value on the lower-\(\mu\) branch is
A computed solution at \(\lambda=3.00\) with centre value \(1.98\) therefore lies on the higher-\(\mu\) branch. Solving \(\lambda(\mu)=3\) on that side gives \(\mu\approx3.29\) and centre value about \(1.98\). A different initial slope producing the same endpoint can represent another valid solution.
Replace a missing slope by a parameter
Consider \(y''=f(t,y,y')\), \(y(0)=a,\ y(T)=b\). Integrate as an initial-value problem with trial slope \(s=y'(0)\) and define \(R(s)=y(T;s)-b\). A root enforces the second boundary. If the initial-value solution is smooth in \(s\), its derivative satisfies \(v''=f_yv+f_{y'}v'\) with \(v(0)=0,\ v'(0)=1\). The derivative of the shooting residual is \(v(T)\). Newton therefore updates the missing slope by \(-R/v(T)\); a vanishing endpoint sensitivity calls for a different parameterisation or further analysis of existence and uniqueness.
Consider \(y''=-y,\ y(0)=0,\ y(T)=1\), for which \(y(t;s)=s\sin t\). At \(T=\pi/2\) the solution has \(s=1\). At \(T=\pi\) no slope reaches the required endpoint. Changing the terminal boundary to zero at the same time admits every slope. An integrator returning a tiny nonzero value for \(\sin\pi\) might suggest an enormous numerical slope, so inspect endpoint sensitivity and the mathematical boundary conditions before trusting a root.
A well-defined solution with a fragile shooting trajectory
For \(y''=k^2y,\ y(0)=1,\ y(1)=0\), direct propagation gives
with exact slope \(-k\coth k\). The required boundary-value solution is equivalently \(\sinh(k(1-t))/\sinh k\), a bounded positive curve. A slope perturbation \(\delta s\) produces endpoint error \(\sinh(k)\delta s/k\). For \(k=10\), this multiplier is approximately 1101.32. A slope error of \(10^{-5}\) thus creates endpoint error 0.0110 even though the exact profile stays between zero and one.
This large number describes forward amplification of slope error. The inverse sensitivity of the fitted slope to the terminal boundary value is its reciprocal. At large \(k\), direct propagation must subtract two growing numbers to recover the small endpoint. Tight initial-value tolerances can postpone the resulting loss of accuracy, while leaving the underlying direction of exponential growth intact.
Match shorter intervals
In multiple shooting introduce independent state guesses at intermediate nodes. Integrate each segment and impose matching equations equating its terminal state to the next guess. Together with the boundary conditions these equations form a sparse coupled nonlinear system. On a half interval the growing factor for \(k=10\) is \(e^5\) instead of \(e^{10}\). Requiring continuity couples the segments while reducing the range of each forward propagation. Cancelling all the intermediate states algebraically can reintroduce the original long product.
Check the final curve against both endpoint conditions, the maximum matching defect and the differential equation. Small endpoint mismatch alone says little about the interiors of independently matched segments. For highly unstable propagation a simultaneous boundary-value discretisation or collocation method can be a more suitable formulation.
Separate root iteration error from integration error
Suppose the propagated terminal state carries absolute numerical error at most \(\epsilon\). Near a simple shooting root the induced slope uncertainty is approximately \(\epsilon/|R'(s)|\). For the oscillator with \(T=\pi/6\), the sensitivity is one half, so endpoint uncertainty \(10^{-5}\) leaves slope uncertainty roughly \(2\times10^{-5}\). Solving the numerical shooting equation to a terminal residual of \(10^{-12}\) would not establish twelve accurate digits of slope. Change the propagation tolerance independently and compare the recovered slopes before interpreting the outer root solver's convergence.
Use shooting to locate an eigenvalue
For a string fixed at both ends, the eigenvalue problem \(-u''=\lambda u,\ u(0)=u(L)=0\) has the trivial solution for every parameter. A shooting formulation that merely adjusts the initial slope while allowing it to vanish can therefore converge to an uninformative zero mode. Fix the amplitude scale instead by prescribing \(u'(0)=1\). For each trial positive \(\lambda\) define the residual \(R(\lambda)=u(L;\lambda)\). A root then enforces the far boundary for a nonzero solution because the prescribed starting slope excludes the trivial state.
On the unit interval the solution is \(u(t;\lambda)=\sin(\sqrt\lambda\,t)/\sqrt\lambda\), so the residual vanishes at \(\lambda_j=j^2\pi^2,\ j=1,2,\ldots\). The limiting solution at zero is \(u=t\), which fails the far boundary. At \(\lambda<0\) the sine becomes a hyperbolic sine and again cannot vanish away from the origin. These facts locate the whole physical spectrum before considering numerical root searches. For a variable material coefficient the simple formula disappears, but amplitude normalisation and endpoint residual remain well-defined.
Bracket a mode and check its identity inside the interval
It is convenient to solve for wave number \(k=\sqrt\lambda>0\). At \(k=3\) the residual is \(\sin3/3\approx0.04704\), and at \(k=3.2\) it is \(\sin3.2/3.2\approx-0.01824\), bracketing the first eigenvalue. Its derivative is \((k\cos k-\sin k)/k^2\). Starting with \(k=\pi\) in the exact formula gives \(R'= -1/\pi\). An absolute integration error of \(10^{-5}\) in the endpoint displacement can therefore shift the fitted wave number by roughly \(3.14\times10^{-5}\). Propagating through \(\lambda=k^2\) gives eigenvalue uncertainty about \(1.97\times10^{-4}\).
A residual search on \(k\in[2,7]\) could instead overlook both \(k=\pi\) and \(2\pi\), since the residuals at the endpoints have the same positive sign. Counting interior nodes provides an independent mode label. With normalisation \(u'(0)=1\), the first eigenfunction has no internal zero and the second has exactly one at \(t=1/2\). Check these zero locations on the computed trajectory at a resolution sufficient to distinguish oscillations. A small endpoint residual alone confirms neither the desired mode index nor the absence of missed modes.
For high modes the physical wavelength decreases and the initial-value integrator must resolve phase over many cycles. A frequency estimate can drift substantially even while the trajectory's amplitude remains bounded. Refining the propagation tolerance, refining the scalar root tolerance and counting the interior nodes are three different checks. Changing all three simultaneously can hide which part of an apparent convergence failure needs attention.
A second normalisation issue appears when comparing eigenfunctions with sensor data. Multiplying any computed eigenfunction by a nonzero constant or by minus one leaves both homogeneous boundary conditions and the eigenvalue unchanged. Matching raw amplitudes or signs between two independently found modes can therefore suggest an error where only conventions differ. Normalise both functions in the same mass-weighted norm and align their signs before checking their shapes; keep the nodal count as a separate check on the mode index.
Measure the conditioning of a shooting residual
For \(y''=\kappa^2 y\) with fixed initial position, perturb the initial slope by one. The resulting change at distance \(L\) is \(\sinh(\kappa L)/\kappa\). Compare one shooting integration with a single segment of a multiple-shooting formulation.

Read values from the plot
| Growth parameter κ | Integrate across full unit interval | One half interval |
|---|---|---|
| 0.1 | 1.0017 | 0.50021 |
| 3.575 | 4.9883 | 0.81218 |
| 7.05 | 81.763 | 2.406 |
| 10.525 | 1768.9 | 9.1667 |
| 14 | 42950 | 39.165 |
Change parameters · Measure the conditioning of a shooting residual
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.
Differential–algebraic equations and consistency
Numerical ordinary differential equations
Derive a reduced evolution when an algebraic variable can be eliminated and find the hidden velocity constraint in a mechanical example.
From first principles
Determine which initial states can satisfy an algebraic constraint
A differential–algebraic model may evolve \(y\) while determining \(z\) instantaneously through a constraint. In a semi-explicit model, \(y'=f(t,y,z)\) specifies a rate and \(g(t,y,z)=0\) specifies admissible states. Initial data must satisfy the latter before the first time step. A differentiable solution must remain on it, hence the time derivative along the trajectory vanishes:
If the square matrix \(g_z\) is invertible near the initial state, the constraint locally determines \(z\) from \(t,y\), and the hidden rate is
For example impose the unit circle \(y^2+z^2=1\) with \(y'=u(t)\). On its upper half \(z=\sqrt{1-y^2}\), giving \(\dot z=-yu/z\). Algebraic consistency fixes \(z(0)\) once the branch and \(y(0)\) are known. At \(z=0\) this coordinate elimination becomes singular even though the circle itself is smooth. A constrained implicit time step imposes the original algebraic equation at the new time, which prevents the numerical drift that can accumulate from integrating only its differentiated version.
Derivation and applications
Derive the constraint force of a pendulum without eliminating coordinates
A solver using Cartesian coordinates for a pendulum must satisfy geometric, velocity and acceleration constraints. Let \(\mathbf r=(x,y)\) be the displacement from a fixed pivot, \(\mathbf v=\dot{\mathbf r}\), \(m\) the bob mass, and \(L\) the fixed link length. The applied force \(\mathbf F\) excludes the constraint reaction. Write the reaction as \(-\lambda\mathbf r\), so positive \(\lambda\) corresponds to an inward force and has units of N/m. The holonomic constraint and its first derivative are
Differentiating once more shows that the acceleration is generally not tangent: maintaining curvature of the trajectory requires an inward normal component. Insert Newton's law and keep the known tangential speed:
Solving for the scalar multiplier gives both the required magnitude and the tangentially projected forcing:
The multiplier can be found only after compatible position and velocity are supplied. Satisfying the position constraint alone at the initial time does not remove radial velocity. For a rigid rod either sign of \(\lambda\) is admissible. A string goes slack when the bilateral model would require compression.
Worked example
Calculate a reaction at the bottom of a swing
Choose \(y\) upward, \(m=0.200\) kg, \(L=0.500\) m, \(\mathbf r=(0,-0.500)\) m and \(\mathbf v=(1.00,0)\) m/s. Gravity is \((0,-1.962)\) N. Thus \(\lambda=[0.200+0.981]/0.250=4.724\) N/m, giving tension \(\lambda L=2.36\) N. The net upward acceleration is \((2.362-1.962)/0.200=2.00\) m/s², independently equal to \(v^2/L\).
Second application
Detect an inconsistent input and a physically slack string
At the same bottom position, a supplied velocity \((1.00,0.100)\) m/s has \(\mathbf r\cdot\mathbf v=-0.0500\) m²/s. Removing its radial projection gives \((1.00,0)\) m/s before evaluating the multiplier. At the top, instead take \(\mathbf r=(0,0.500)\) m and tangential speed \(1.00\) m/s. The bilateral equation predicts
A string cannot provide that outward push, so a taut-string simulation must release the constraint there.
A state has fewer independent coordinates than entries
A semi-explicit system has \(y'=f(t,y,z)\) and \(0=g(t,y,z)\). The algebraic equation supplies a condition at every instant; choosing every initial coordinate independently can violate it before time integration starts. If \(g_z\) is square and nonsingular locally, the implicit function theorem determines \(z=\psi(t,y)\) and substitution gives an ordinary differential equation for \(y\). Differentiating the constraint gives \(g_z z'=-g_t-g_y f\), so one differentiation determines the missing derivative. This is the usual semi-explicit index-one situation.
For \(y'=-y+z,\quad0=y+2z-t\), one has \(z=(t-y)/2\) and \(y'=(t-3y)/2\). If \(y(0)=2\), consistency forces \(z(0)=-1\) and \(y'(0)=-3\). Differentiating the constraint gives
Entering both initial coordinates as zero and two in the wrong order would describe a different trajectory even if a numerical solver silently repaired their algebraic inconsistency.
Discretise both conditions at the same time
A backward Euler step at \(h=0.2\) enforces \(y_1-2=0.2(-y_1+z_1)\) and \(y_1+2z_1=0.2\). Eliminating \(z_1\) gives \(1.3y_1=2.02\), so \(y_1\approx1.553846\) and \(z_1\approx-0.676923\). Computing the second variable from the new time matters. Using \(z_0\) throughout the update and reporting it as the new algebraic variable would violate the current constraint. Report its residual together with the local or global accuracy estimate for \(y\).
Hidden constraints and the force multiplier
For a unit-mass pendulum with Cartesian position \(q\), velocity \(v\), rod length \(L\) and downward gravity vector \(g\), take \(q'=v,\ v'=g-\lambda q\) and \(q^Tq=L^2\). Differentiating the rod constraint once imposes \(q^Tv=0\); velocity must be tangent to the circle. Differentiating again gives \(v^Tv+q^Tg-\lambda L^2=0\), determining the multiplier \(\lambda=(v^Tv+q^Tg)/L^2\). The original position constraint contains no direct multiplier, so the index-one elimination used above does not apply.
At the bottom of a 1 m pendulum take \(q=(0,-1)\) m, \(v=(2,0)\) m/s and \(g=(0,-9.81)\) m/s². The multiplier is \(13.81\) s⁻² and acceleration is \((0,4)\) m/s², the required inward centripetal acceleration. A velocity with a nonzero vertical component would already violate tangency at this position. Advancing differentiated equations alone can let position and tangent constraints drift because rounding and discretisation accumulate. Check both \(q^Tq-L^2\) and \(q^Tv\) over time; projecting position alone may leave a velocity pointing slightly through the rod constraint.
An algebraic residual can hide an inaccurate state
For the linear example, change a consistent state at fixed time by \(\delta y=0.02,\ \delta z=-0.01\). Its constraint residual stays exactly zero, since those changes cancel in \(y+2z\). Its differential right-hand side changes by \(-0.03\). The perturbation lies along the constraint manifold and is invisible to any diagnostic that checks only the algebraic equation. Conversely a perturbation normal to the manifold can be easy to see in the residual even if \(y\) is accurate. Estimate time-discretisation error by a separate comparison, such as refining the time step at a common physical output time.
Project an inconsistent state in a physically weighted metric
Suppose linear constraints require \(Bq=g\), while an unconstrained time step produces \(q^\ast\) with a small violation. A correction can be selected by minimising \((q-q^\ast)^TM(q-q^\ast)/2\) subject to the constraint, with \(M\) symmetric positive definite and \(B\) of full row rank. Stationarity gives
Inserting the resulting \(q=q^\ast-M^{-1}B^T\lambda\) into the constraint yields the smaller system \(BM^{-1}B^T\lambda=Bq^\ast-g\). This formula corrects exactly the component normal to the feasible plane in the chosen metric.
If \(M\) is a mass matrix for velocity variables, minimising this norm has a kinetic-energy interpretation. For position variables it is still a chosen distance measure and should be justified by the desired correction. Dependent constraint rows can make the multiplier system singular even when the geometrically projected state is unique. Nonlinear constraints require updating their Jacobian during a projection, and a large correction may find a different feasible branch. Satisfying the algebraic constraint alone does not guarantee a time-accurate differential state.
Position and velocity require two distinct projections
Let \(M=\operatorname{diag}(1,4)\), \(B=(1,1)\) and require \(q_1+q_2=2\). An unconstrained update gives
with gap 0.2. The scalar multiplier matrix is \(1+1/4=1.25\), so \(\lambda=0.16\). Since \(M^{-1}B^T=(1,1/4)^T\), the correction is \((-0.16,-0.04)^T\), leaving \(q=(1.04,0.96)^T\). A Euclidean projection would subtract 0.1 from each coordinate. Both restore the same constraint, but the mass-weighted correction moves the heavier coordinate less.
For a constant constraint value, consistent velocities must also satisfy \(Bv=0\). Suppose \(v^\ast=(2,-1)^T\), with violation one. The velocity multiplier is \(1/1.25=0.8\), giving \(v=(1.2,-1.2)^T\). Its kinetic energy is \((1.2^2+4\cdot1.2^2)/2=3.6\), compared with \((2^2+4)/2=4\) before correction. The lost 0.4 is exactly half the squared mass norm of the removed normal component \((0.8,0.2)^T\). Orthogonality eliminates the cross term in this energy decomposition.
This reduction illustrates why projecting velocities can suppress energy even if the underlying unconstrained update had no dissipative force. In a simulation of sustained motion, report correction norms or constraint impulses along with the residual after projection. With a moving constraint \(Bq=g(t)\), the velocity condition becomes \(Bv=g'(t)\), so forced boundary motion can do physical work. Applying a zero-velocity projection to that case would remove a legitimate component of the solution.
For the linear position example the chosen correction is also the smallest in the prescribed metric by direct comparison. Every other feasible correction has the form \((-0.16,-0.04)+t(1,-1)\). Its squared mass norm equals \(0.032+5t^2\) because the mass-weighted cross term vanishes. The Euclidean correction corresponds to \(t=0.06\), giving squared mass norm 0.05 rather than 0.032. This calculation makes the meaning of the multiplier solution visible without invoking a general optimisation theorem. If \(B\) varies with time, differentiating \(B(t)q=g(t)\) also introduces the term \(B'(t)q\) in the velocity condition, even for a constant prescribed value.
The derivative of the constraint must therefore be evaluated at the same time as the corrected velocities.
Change parameters · Explore the worked calculation
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.
Why a boundary value problem can be easier than its shooting equation
Numerical ordinary differential equations
A concentration decays across a slab, with concentrations known at both faces. Computing a solution from the first face alone can bring in an exponentially growing mode. Enforcing both faces together gives a different numerical problem with the same differential equation.
Distinguish the boundary map from the physical solution
Use a nondimensional interval \(0\le x\le1\) and write \(y''=\lambda^2y\), with \(y(0)=1\), \(y(1)=e^{-\lambda}\), \(\lambda>0\). The exact solution is \(e^{-\lambda x}\), a smooth layer of thickness approximately \(1/\lambda\). A shooting method prescribes a tentative slope \(s=y'(0)\), integrates the initial value problem, and adjusts \(s\) to meet the second boundary. The exact initial-value solution is \(\cosh(\lambda x)+(s/\lambda)\sinh(\lambda x)\). The correct slope is \(-\lambda\). The small right boundary is recovered by subtracting two large nearly equal terms.
Perturb the exact slope by \(\delta s\). Superposition gives the resulting error everywhere without a second initial-value solve:
At \(\lambda=20\) the right-end amplification is \(1.21\times10^7\). A slope error as small as \(10^{-12}\) gives about \(1.21\times10^{-5}\) endpoint error, while the target value is just \(2.06\times10^{-9}\). The actual boundary problem is much less sensitive to changes in prescribed concentrations. Its basis functions for arbitrary face values are \(\sinh[\lambda(1-x)]/\sinh\lambda\) and \(\sinh(\lambda x)/\sinh\lambda\), each bounded by one. A stable physical boundary problem can be paired with an ill-conditioned forward initial-value calculation. The particular derivative above measures sensitivity of the forward shooting evaluation.
Enforce the equation at the interior nodes
Take \(N\) equal intervals with \(h=1/N\). The centred second difference of any smooth exact solution equals \(y''(x_j)+h^2y^{(4)}(x_j)/12+O(h^4)\), by Taylor expansion about \(x_j\). Set that second difference equal to \(\lambda^2Y_j\). Incorporate the known boundary data \(Y_0,Y_N\) into the first and last right-hand sides. The interior equations are
Each row now couples neighbouring nodes and no row asks for a missing starting slope. The diagonal exceeds the sum of the off-diagonal magnitudes for \(\lambda>0\). Eliminate the lower diagonal from left to right and substitute back from the right. Both work and storage grow linearly with \(N\). This finite-difference collocation approximates the differential equation at grid points. It still needs enough points inside the layer. The grid parameter \(\lambda h\) measures its resolution.
At \(\lambda=5\) and just two intervals there is one unknown midpoint. Its equation gives \(Y_1=(1+e^{-5})/(2+2.5^2)=0.1220\), while the exact midpoint is
Both boundary values are satisfied exactly. Their residual alone cannot reveal the interior error. As \(h\) is halved at fixed \(\lambda\), a well-resolved smooth solution exhibits second-order convergence.
Compare errors with a common physical target
The graph plots logarithmic absolute errors against position. The shooting curve isolates propagation of a controlled absolute initial slope perturbation of \(10^{-12}\), using the analytical propagation factor to avoid cancellation in the demonstration. The collocation curve solves the tridiagonal system numerically and compares each node to \(e^{-\lambda x_j}\). Values below \(10^{-16}\) are plotted at a floor. These are different sources of error. Increasing \(N\) improves collocation truncation error but cannot repair an error in the supplied shooting slope. At low \(\lambda\) the perturbed shooting solution may be much more accurate. Increase \(\lambda\) while keeping \(N\) fixed and identify where each method struggles.
Tutorial on a boundary tolerance
At \(\lambda=15\), require the error caused by the shooting slope alone to be less than \(10^{-8}\) at the right face. What absolute accuracy is needed in \(s\)? Give an independent accuracy check for the collocation solution.
Work through the solution
Rearrangement gives
For collocation solve on a nested mesh with half the spacing and compare shared nodes. In the second-order regime the refined error is roughly one third of the coarse-to-fine difference there. Check that the estimate stabilises under another refinement and that the fine mesh resolves \(1/\lambda\).
Further reading · Driscoll and Braun, finite-difference collocation for linear boundary problems · Driscoll and Braun, shooting and instability.
Anisotropic and nonlinear dielectrics from local measurements to global fields
Electrostatic field theory and measurement
A single dielectric constant cannot describe a crystal whose displacement tilts away from its electric field, or a reversible material whose incremental response changes with bias. Starting with the constitutive measurement clarifies which parts of ordinary electrostatics survive.
Measure a tensor rather than assuming collinearity
In a homogeneous linear anisotropic material,
The entry \(\epsilon_{ij}\) measures displacement component \(i\) in response to electric-field component \(j\). A reversible reciprocal dielectric has a symmetric positive-definite tensor. Its principal axes are orthogonal and its positive eigenvalues are the principal permittivities. Field-energy density \(u=\mathbf E\cdot\boldsymbol\epsilon\mathbf E/2\) is then positive for a nonzero field. Positive definiteness concerns all directions; having three positive diagonal entries in one basis alone is insufficient.
Choose principal relative permittivities \(2,4,6\) along \(x,y,z\). With a field \((1000,0,1000)\) V/m the displacement is \(\epsilon_0(2000,0,6000)\). The field makes \(45^\circ\) to \(z\), the displacement only \(18.4^\circ\); their directions differ. Energy density is \(3.54\times10^{-5}\) J/m³. A flat free-charge sensor normal to \(z\) responds to \(D_z\); an electrostatic force probe constrained along \(x\) measures \(E_x\). Their readings cannot be interpreted as two component measurements of one vector differing by a single scalar.
Derive the field of a point charge in an anisotropic bulk
For a constant symmetric tensor write \(\boldsymbol\epsilon=\epsilon_0 K\), with positive dimensionless matrix \(K\). Poisson's equation is
Change coordinates to \(\mathbf y=K^{-1/2}\mathbf x\). The gradient transforms by the same symmetric matrix and the operator becomes the ordinary isotropic Laplacian in \(\mathbf y\). The source transforms too: physical volume is \(d^3x=\sqrt{\det K}\,d^3y\), so
The decaying solution is
A check is the scalar case \(K=kI\). The determinant contributes \(k^{3/2}\) and the distance contributes \(1/\sqrt{k}\), returning \(q/(4\pi\epsilon_0kr)\). The equipotentials in laboratory coordinates are ellipsoids, while \(\mathbf D=\epsilon_0K\mathbf E\) happens to point along \(\mathbf x\) for this infinite homogeneous point-source problem. Its magnitude varies with direction on a physical sphere. Gauss's law still gives total free flux \(q\); equating that flux to \(4\pi r^2\) times a constant magnitude would be invalid. Conducting or material boundaries also transform under this coordinate map and generally cease to be simple physical spheres.
Along any principal axis \(i\), at distance \(r\), the potential is proportional to \(\sqrt{K_i}/\sqrt{\det K}\). With principal values \(2,4,6\), two probes equally far away on the \(z,x\) axes measure a voltage ratio \(\sqrt{6/2}=\sqrt3\). One might have expected the largest permittivity to reduce the voltage most strongly along that axis. The observed result reflects how the full anisotropic medium distributes the displacement of a point source; it cannot be derived by inserting a direction-specific permittivity into the isotropic radial formula.
Which permittivity does a slab capacitance measure?
Place broad metal plates normal to a unit vector \(\mathbf n\) and neglect edge effects. Constant electrode potentials force a purely normal electric field \(V\mathbf n/d\), independent of the off-diagonal dielectric entries. The displacement generally has a tangential component, but the metal's free-charge reading is \(D_n\). Thus the measured normal capacitance per area is
For axes with relative values 2 and 6, cut the normal at \(45^\circ\) between them. The relative plate permittivity is 4.
A different preparation constrains displacement to be purely normal, for instance in an effectively uniform bulk state with known flux vector. Then \(\mathbf E=\boldsymbol\epsilon^{-1}D_n\mathbf n\), so
For the same cut the result is \(1/[(1/2+1/6)/2]=3\) in relative units. Both are correct for their own field constraints. Flat equipotential plates do not generally enforce tangential displacement equal to zero. A boundary-value calculation using that extra condition could report the wrong dielectric constant from an otherwise perfect experiment.
With an interface between two tensors, integrate Faraday's law around a small static rectangular loop to enforce continuous tangential \(E\) and Gauss's law over a pillbox to enforce the specified normal \(D\) jump. Write the first material's measured tangential field into the second's constitutive law and solve for its normal electric field from \(D_n\). No scalar Snell-like rule involving only a ratio of two relative permittivities can represent arbitrary crystal orientations. Some field components may vanish by symmetry in one experiment and reappear after rotating the sample.
Reversible response distinguishes stored energy and coenergy
For a slowly and reversibly assembled homogeneous dielectric, increment of stored electrical energy per volume is \(du=\mathbf E\cdot d\mathbf D\). A complementary density \(w(\mathbf E)=\mathbf E\cdot\mathbf D-u\) has \(dw=\mathbf D\cdot d\mathbf E\). In a scalar nonlinear law \(D(E)=\epsilon E+\alpha E^3\) with \(\epsilon,\alpha>0\), integration gives
The familiar \(ED/2\) holds only in the linear case. For a small perturbation superposed on bias \(E_b\), \(dD/dE=\epsilon+3\alpha E_b^2\) is the differential permittivity. A dc charge-to-voltage ratio measures the secant value \(\epsilon+\alpha E_b^2\). At \(\alpha E_b^2=0.20\epsilon\) these are \(1.60\epsilon\) and \(1.20\epsilon\), a substantial difference even though the constitutive curve remains smooth.
The field equation becomes \(\nabla\cdot\mathbf D(-\nabla V)=\rho_f\) and superposition generally fails. For a differentiable energy-based vector law, \(\partial D_i/\partial E_j=\partial^2w/\partial E_i\partial E_j\) is symmetric. A positive-definite differential tensor gives local stability and helps preserve ellipticity of the electrostatic boundary problem. A hysteretic material can depend on its prior history and need extra state variables; an area in a closed constitutive cycle then measures dissipated work, not reversible recoverable energy.
A nonlinear field calculation that needs only a scalar root
Place a sphere with charge \(q\) in an infinite isotropic nonlinear medium of the preceding type. Spherical symmetry and Gauss's law still determine \(D_r=q/(4\pi r^2)\) outside. Invert \(\epsilon E_r+\alpha E_r^3=D_r\) point by point. For \(\alpha>0\) the derivative is positive everywhere, ensuring one physical real root for each \(D_r\). A bisection bracket for \(q>0\) is \(0\le E_r\le D_r/\epsilon\); evaluating the residual at the upper endpoint gives positive cubic surplus. Compute voltage relative to infinity by integrating this field, rather than replacing \(D/E\) by an arbitrary constant taken at the surface.
For weak nonlinearity set \(E=D/\epsilon+\delta\) and keep the leading cubic correction. One obtains
At large radii a \(1/r^2\) displacement therefore acquires a negative \(1/r^6\) correction in the electric field, giving a \(1/r^5\) potential correction. A probe can misinterpret that extra radial scale as a change of source shape if material nonlinearity is not independently controlled. Double the source charge and compare the field after division by \(q\). In a linear medium those curves coincide; the perturbative deviation here scales as \(q^2\).
Resolve an oblique crystal interface component by component
A lateral detail or an oblique electrode can produce a field with both normal and tangential components at an interface. Consider a locally planar interface with tangent \(\hat{\mathbf x}\) and normal \(\hat{\mathbf z}\) from isotropic medium 1 into a crystal. In the \(xz\) plane let the crystal's relative tensor be \(\begin{pmatrix}4&1\\1&3\end{pmatrix}\), with entries in the order \(x,z\). Medium 1 has relative permittivity 2 and measured field \(E_{1x}=120\) V/m, \(E_{1z}=240\) V/m. There is no free sheet at the interface. Neither input field is assumed normal to the boundary.
From a very short rectangular loop crossing the interface, the tangential electrostatic field is continuous, so \(E_{2x}=120\) V/m. The normal displacement on side 1 is \(D_{1z}/\epsilon_0=2(240)=480\) V/m. Equating it to \(E_{2x}+3E_{2z}\) yields \(E_{2z}=120\) V/m. The tangential displacement can jump. In the crystal it is \(D_{2x}/\epsilon_0=4(120)+120=600\) V/m, compared with \(D_{1x}/\epsilon_0=240\) V/m. Neither tangent \(D\) nor normal \(E\) is required to be continuous. A field solver that enforces continuity of all components can silently erase the very anisotropy the experiment was intended to measure.
Find the bound surface charge using two routes. The true charge jump is \(\epsilon_0(E_{2z}-E_{1z})=-120\epsilon_0=-1.06\) nC/m². With no free sheet this must be bound. Directly, \(P_{1z}/\epsilon_0=D_{1z}/\epsilon_0-E_{1z}=240\) V/m and \(P_{2z}/\epsilon_0=480-120=360\) V/m. The net bound charge from the two facing polarisation surfaces is \(P_{1z}-P_{2z}=-120\epsilon_0\), giving the same result. At a rotated interface it can be safer to perform these component checks than to infer charge from one visual change in field-line angle.
A controlled reversal can expose the off-diagonal tensor entry. Keep \(E_{1z}\) fixed and reverse \(E_{1x}\) using independent side electrodes. Then \(E_{2x}=-120\) V/m and \(E_{2z}=(480+120)/3=200\) V/m. The normal response therefore changes by 80 V/m even though the imposed normal displacement is unchanged. A scalar model, or a crystal whose tensor had zero \(xz\) entry in this coordinate system, would predict no such change. In practice the side electrodes must be far enough from the chosen interface patch for their intended approximately uniform fields to be realised locally.
Derive pressure for a reversible nonlinear capacitor under both electrical controls
Take a parallel-plate gap \(d\), area \(A\), completely filled by a reversible material with specified constitutive law \(D(E)\). For this idealised calculation assume that changing \(d\) changes only the volume occupied by otherwise identical material at fixed thermodynamic properties. Exclude any additional mechanical elastic stress, electrostriction or chemical work needed to preserve that preparation. Keep the field homogeneous and neglect fringing. Under charge control the displacement \(D=Q/A\) is fixed, so the stored electric energy is \(U=Ad\,u(D)\) with \(u=\int_0^D E(D')\,dD'\). The force tending to increase the gap is
Thus the attractive field contribution has magnitude \(A u\).
Now hold voltage fixed. The electric field is \(E=V/d\); decreasing the gap also changes the charge the source must supply. Legendre transforming the energy by subtracting \(VQ\) gives the appropriate potential \(\mathcal G=U-VQ=-Ad\,w(E)\). Its derivative at fixed \(V\) is \(-A w(E)+AE\,dw/dE=-A w+AED=A u\). Hence \(F=-\partial_d\mathcal G|_V=-A u\), agreeing for the same instantaneous state. Differentiating \(U\) at fixed voltage without the source term would produce a different answer. The calculation identifies the source work excluded by that incorrect derivative.
For \(D=\epsilon E+\alpha E^3\) with \(\alpha E_b^2=0.20\epsilon\),
The often-used linear formula \(E_bD_b/2\) would give \(0.60\epsilon E_b^2\), underestimating the stated ideal field contribution. With \(\epsilon=4\epsilon_0,\ E_b=1.0\times10^5\) V/m, the predicted magnitude per area is \(0.230\) Pa. This number follows from a particular reversible constitutive model and mechanical variation. A real force between electrodes compressing a solid sample also contains material mechanical stresses, and the permittivity itself can change with density. The correct experiment must specify which matter moves when the gap changes.
An independent numerical test computes \(U(d\pm\delta d,Q)\) at fixed charge or \(\mathcal G(d\pm\delta d,V)\) at fixed voltage, forms centred derivatives and chooses the charges or voltages that describe the same midpoint state. If the two forces converge to opposite signs, check the mechanical displacement convention and the source-work term. Agreement of the pressures at a single bias does not prove the constitutive approximation is valid at other fields. A separate differential capacitance scan can verify the slope required by the energy model across the displacement range.
Solve a layered nonlinear capacitor by displacement continuation
A useful intermediate problem between a uniform nonlinear slab and a full finite-element solve is a pair of different nonlinear layers stacked normal to large plates. With no free interface charge, the same normal displacement \(D\) passes through both. Each has a reversible monotone law \(D_i(E_i)=\epsilon_iE_i+\alpha_iE_i^3\), \(\epsilon_i>0,\alpha_i\ge0\). At fixed terminal charge \(D=Q/A\) is known. Invert each material separately and add the voltages,
At fixed voltage solve this last scalar equation for \(D\). Its derivative is positive:
Thus it is the differential permittivities, evaluated at the two actual and generally different local fields, that combine as a series small-signal capacitance. Using a differential response measured at the overall average field can give an inconsistent result even when the series formula itself is correct. The secant ratio \(D/V\) has another interpretation and should be compared only with a dc charge reading.
Choose a field scale \(E_*=1000\) V/m and \(D_*=\epsilon_0E_*\). In the first material let \(D/D_*=2e_1+e_1^3\), \(e_1=E_1/E_*\), while the second is linear \(D/D_*=6e_2\). Give both layers thickness 1 mm. At \(D=3D_*\), the first equation is solved by \(e_1=1\); the second gives \(e_2=0.50\). The total voltage is 1.50 V, and \(D=26.56\) nC/m². The dc capacitance per area is 17.71 nF/m². At this same operating point the differential relative permittivities are 5 and 6, giving \(C_{\rm diff}/A=\epsilon_0/[0.001/5+0.001/6]=24.15\) nF/m². A small voltage ripple measures a capacitance about 36% larger than the secant value.
Check the bias state from energy without using terminal current. The stored energy per volume in layer 1 is \(\epsilon_0E_*^2[e_1^2+3e_1^4/4]\) and in layer 2 is \(3\epsilon_0E_*^2e_2^2\). Multiplying by the respective thicknesses at the chosen state gives total energy per area \(0.00250\epsilon_0E_*^2=22.14\) nJ/m². Integrating the voltage as a function of displacement from zero to \(3D_*\) must give the same result, since \(d(U/A)=V\,dD\). The shortcut \(VD/2\) would instead give 19.92 nJ/m². It lies between neither two guaranteed bounds nor two voltage controls; it is simply unjustified for this nonlinear path.
For voltage-controlled computation use a continuation in applied voltage. Start at low bias with the known linear two-layer solution and reuse its displacement as a first guess for the next monotone scalar solve. A bracketing method with increasing positive endpoints always finds the root for positive applied voltage in these specific laws. Once converged, evaluate both layers' displacement residuals, their voltage sum and the independent energy integral. A lower iteration error alone cannot correct a model that accidentally multiplied the cubic coefficient by field rather than field cubed, or used a common \(E\) across both materials. Direct field checks at a selected bias make the numerical experiment physically interpretable.
Rotate the field relative to a microstructure
Study a layered material with calculable normal and tangential responses. Change its composition before deciding whether one scalar permittivity can describe both measurements.
Recover dielectric alignment torque from electrode work
Will positive or negative rotation increase capacitance?
A slab completely filling an ideal parallel-plate cell can rotate its uniaxial permittivity tensor reversibly without changing plate geometry. The angle \(\theta\) between plate normal and the larger principal-permittivity axis is adjustable. Derive the torque on this ideal material coordinate, compare voltage and charge control, and calculate the maximum for a stated geometry.
Derive and check the result
With area \(A\), separation \(d\), principal absolute permittivities \(\epsilon_\parallel>\epsilon_\perp\), the normal capacitance is \(C(\theta)=(A/d)(\epsilon_\parallel\cos^2\theta+\epsilon_\perp\sin^2\theta)\). For fixed voltage electrical coenergy is \(C V^2/2\). The torque doing work in the direction of increasing \(\theta\) is its derivative,
For \(0<\theta<\pi/2\) it drives the larger-permittivity principal axis towards the plate normal, increasing capacitance. The configurations at 0° and 90° both have zero torque but only the former minimises the fixed-voltage mechanical potential \(-CV^2/2\).
Under fixed charge the stored energy is \(Q^2/(2C)\), so the torque is \(-\partial_\theta U=Q^2C'/(2C^2)\). At the same instantaneous voltage \(Q/C\) it agrees with the voltage-controlled result. Following two entire rotation curves with different preparations generally yields different magnitudes because the isolated cell voltage varies with angle. This equality at the same state is an independent sign check and distinguishes the field torque from the external holding torque of opposite sign.
Take \(A=1.0\) cm², \(d=1.0\) mm, principal relative permittivities 6 and 2, and \(V=20\) V. At \(45^\circ\), the magnitude is \(0.5(A/d)4\epsilon_0 V^2=7.08\times10^{-10}\) N m. A small-angle torque measurement close to the aligned state would also reveal a positive angular restoring stiffness. In a real sample the crystal lattice, liquid-crystal elasticity or mount supplies additional energy and boundary conditions for rotation. The electrostatic contribution just calculated can be isolated by varying \(V^2\) and checking the \(\sin2\theta\) angular dependence at sufficiently slow drive.
Tutorial · diagnose a tensor and a bias dependence
Recover a rotated tensor from three plate measurements
In a material plane, cuts with normals \(x,y,(x+y)/\sqrt2\) yield relative plate permittivities \(3,5,5\), respectively. Reconstruct the \(2\times2\) tensor, check positivity and predict the result for the other bisector.
Work through the solution
The first two values are
The third is \((3+5)/2+K_{xy}=5\), so \(K_{xy}=1\). The symmetric matrix has determinant 14 and positive first diagonal entry, hence is positive definite. Its principal values are \(4\pm\sqrt2\). The other bisector gives \(4-1=3\). This extra reading can test the assumed orientation and symmetry independently. All four inferences assume the plate experiment imposes electric field normal to each cut and fringing is negligible.
Distinguish charge measurements before integrating electrical work
At a bias \(E_b\), a sample following the cubic constitutive law gives secant permittivity \(1.30\epsilon_*\) and differential permittivity \(1.70\epsilon_*\), where \(\epsilon_*\) is a calibration permittivity. Infer its linear coefficient, cubic contribution at bias and true stored energy density.
Work through the solution
Subtract the two measurements. The difference is \(2\alpha E_b^2=0.40\epsilon_*\), so \(\alpha E_b^2=0.20\epsilon_*\),
The energy at bias is
Using \(ED/2\) would give \(0.65\epsilon_*E_b^2\). To test the law rather than just fit two parameters, obtain a second set of secant and differential readings at a different bias and check the predicted quadratic change with bias field.
Further reading
From mobile ions to screening lengths and differential double-layer capacitance
Electrostatic field theory and measurement
A charged planar wall in an electrolyte can be studied without assuming a capacitance in advance. Diffusion and electrostatic drift first establish an ion cloud. The charge–voltage slope of that cloud is an experimental output of the model.
An electric field competes with entropy of mixing
Take a bulk reservoir containing mobile ions with charges \(+e,-e\), each at number density \(n_b\). The solvent is a uniform continuum of permittivity \(\epsilon\), the bath holds absolute temperature \(T\), and no reactions or Faradaic currents occur at the wall. At thermal equilibrium the electrochemical potential of each species is spatially constant. For an ideal dilute gas of particles it contains \(k_BT\ln(n_\pm/n_b)\) from mixing plus electrostatic energy \(\pm eV\). Set the bulk potential to zero. Equating the local and bulk electrochemical potentials yields
At positive \(V\) the negative counterions concentrate and the positive coions are depleted. Total mobile charge is
Substituting into Poisson's equation and defining dimensionless \(\psi=eV/(k_BT)\) gives
The parameter \(n_b\) is a density of one species, not both together. For a 1:1 salt specified in mol/litre convert to formula units per cubic metre using \(1000N_A\) before substitution. For a mixture the linear screening coefficient generalises to \(e^2\sum_i z_i^2n_i/(\epsilon k_BT)\), whereas the full nonlinear right-hand side remains a sum of exponentials. An externally maintained reservoir fixes chemical potentials; a sealed very small cell can instead require separate number conservation for every species.
What the small-potential limit predicts and what it neglects
For \(|\psi|\ll1\), replace \(\sinh\psi\) by \(\psi\). Above a planar wall at \(z=0\) with prescribed potential \(V_s\) and \(V\to0\) far away, the bounded solution is
With the normal into liquid \(+\hat{\mathbf z}\), the wall displacement is
For a conducting wall with no interior field this equals its free surface charge. Therefore \(C_{\rm diff}/A=d\sigma/dV_s=\epsilon\kappa\), dimensionally a dielectric layer of thickness \(\kappa^{-1}\). The ionic concentration actually varies continuously; it is not a plate of opposite charge located at that distance.
Integrating charge density \(-\epsilon\kappa^2V(z)\) over \(z>0\) gives
The screening cloud and wall together are neutral per area. The fraction of compensating charge within distance \(h\) is \(1-e^{-\kappa h}\). At one screening length the potential has fallen to \(1/e\) and \(63.2\%\) of the countercharge has accumulated. For a spherical bead curvature changes this simple relationship between potential ratio and enclosed charge. The ionic constitutive relation is the same, but the spatial Laplacian and collecting area differ.
With \(\epsilon_r=78.5,\ T=298\) K and \(1.00\) mM of a fully dissociated symmetric monovalent salt, \(n_b\simeq6.02\times10^{23}\) m⁻³ and \(\kappa^{-1}\simeq9.62\) nm. The linear diffuse capacitance is about \(0.072\) F/m². Increasing concentration fourfold halves the screening length and doubles this capacitance at fixed solvent response. Close to molecular length scales the continuum assumptions and concentration-independent permittivity become progressively questionable, so the square-root law should be tested in the intended concentration range.
Background · How small is a small electrostatic potential?
In a symmetric electrolyte the mean charge term is proportional to \(\sinh u\), with \(u=ze\psi/(k_BT)\) measured relative to the neutral reservoir. A potential being small in volts gives no absolute criterion: the valence and temperature set the relevant scale. Taylor expansion yields the fractional error in replacing the ionic source by its linearised value,
For roughly 1% local source accuracy this estimate asks for \(|u|\lesssim0.245\). At 298 K it gives about 6.3 mV for monovalent ions and 3.1 mV for divalent ions. This is a criterion on the local differential equation. An integrated charge or differential capacitance can have a different relative error and merits its own check.
Solve the nonlinear planar boundary problem
With planar symmetry \(\psi''=\kappa^2\sinh\psi\). Multiply both sides by \(\psi'\) and integrate from the remote bulk where \(\psi,\psi'\to0\). This gives
Choose the branch \(\psi'=-2\kappa\sinh(\psi/2)\), which decays to zero for either sign of surface potential. The identity \(d\ln|\tanh(\psi/4)|/d\psi=[2\sinh(\psi/2)]^{-1}\) turns the separated equation into
The physical potential itself is not a simple exponential at finite bias. Its distant tail has the same decay length but extrapolates back to a different amplitude \(4\tanh(\psi_s/4)\) in dimensionless units. A far-field slope can therefore recover \(\kappa\), while a linear extrapolation of its intercept underestimates large surface potentials. The nonlinear solution reduces continuously to the linear one because \(\tanh x\sim x\).
At \(z=0\), using \(D_z=-\epsilon k_BT\psi'/e\) gives
The first relation is odd in surface voltage and the differential capacitance is even for this symmetric salt model. Increasing voltage concentrates counterions and allows more charge per further voltage increment. For \(V_s=50\) mV at 298 K, \(V_s/(2k_BT/e)\simeq0.973\). The differential capacitance is about \(1.51\) times its zero-bias value, while the secant ratio \(\sigma/V_s\) is only about \(1.17\) times that value. A small AC perturbation superposed slowly about a DC bias measures the differential slope if ionic transport remains equilibrated.
An independent mechanical check of the nonlinear field
The ideal mobile ions have an osmotic pressure excess relative to the reservoir \(\Delta p=k_BT(n_++n_--2n_b)=2n_bk_BT(\cosh\psi-1)\). From the first integral the electrical normal stress magnitude \(\epsilon E^2/2\) equals this excess. Thus \(\Delta p-\epsilon E^2/2\) is spatially constant and vanishes in the bulk of the isolated-wall problem. One can derive the same result by differentiating the pressure: \(d\Delta p/dz=\rho E\) at equilibrium. The cancellation provides a sensitive joint test of the ion distribution and the potential gradient.
Confine electrolyte between two equal positively biased parallel walls instead. By symmetry \(E=0\) at the midplane but \(\psi_m\) generally remains positive. The constant excess normal pressure is then \(2n_bk_BT(\cosh\psi_m-1)>0\). Overlap of the diffuse layers produces a repulsive osmotic force per area in this mean-field model. With large separation the midplane potential tends to zero and so does that force. A solution built by naively superposing two high-voltage nonlinear wall profiles will generally violate the constant-pressure test.
Separate a near-wall compact layer from the diffuse response
A finite exclusion distance for ion centres near a real electrode can be modelled at first by a compact dielectric layer of capacitance per area \(c_s\). Its voltage drop is \(\sigma/c_s\); the diffuse layer starts at potential \(V_d\). For applied bias measured relative to the bulk and a chosen neutral reference,
Differentiate with respect to surface charge:
The diffuse constitutive relation must use \(V_d\), not the entire applied voltage. For \(c_s=0.20\) F/m² and low-bias \(c_d=0.072\) F/m², the measured capacitance is about 0.053 F/m². Even as \(c_d\) grows, this simple series model cannot exceed \(c_s\). It offers a physically distinct explanation for a measured saturation, alongside finite ion size, adsorption, dielectric variation and other model extensions. A static capacitance measurement alone cannot uniquely distinguish all of them.
Use layer overlap to infer a mechanical force independently of capacitance
Consider identical parallel electrodes at \(z=\pm H\), held at the same small positive potential \(V_s\) relative to a salt reservoir in chemical equilibrium with the gap. Neither electrode is an ordinary reference for the other: a voltage meter connected only between them reads zero while each diffuse layer experiences a nonzero potential relative to the reservoir. Under the linear screening approximation the potential obeys \(V''=\kappa^2V\). Reflection symmetry enforces \(V'(0)=0\). Matching both wall potentials gives \(V(z)=V_s\cosh(\kappa z)/\cosh(\kappa H)\), so the midplane voltage is
The magnitude of free charge per area on each inner electrode face is \(\epsilon\kappa V_s\tanh(\kappa H)\). At large \(H\) each plate recovers its isolated-wall charge. At small \(H\) the whole gap is nearly at \(V_s\), so very little normal field is required to maintain it and each facing surface carries less charge. This behaviour differs from two oppositely biased plates, whose nearly uniform internal field grows as their separation decreases. The reservoir reference and voltage symmetry decide which experiment is being performed.
To leading nonzero order in \(V_s\), the osmotic excess force per area between these identical walls can be found at the field-free midplane. There it is \(2n_bk_BT(\cosh\psi_m-1)\simeq n_b k_BT\psi_m^2=\epsilon\kappa^2V_s^2/[2\cosh^2(\kappa H)]\). Why use a term quadratic in \(V_s\) when the potential was found linearly? The pressure's zeroth-order excess vanishes and the first-order ionic density changes cancel between opposite species. Its first measurable correction is quadratic. The cubic error in the linear potential changes the computed pressure only at fourth order in \(V_s\), making the mixed expansion consistent.
For \(\kappa^{-1}=10\) nm, \(\epsilon=78.5\epsilon_0\) and \(V_s=5.0\) mV, at half-gap \(H=10\) nm the predicted repulsive pressure is about 36.5 Pa. At \(H=20\) nm it drops to roughly 6.14 Pa. The potential rose by only a few millivolts yet its ionic osmotic consequence extends across the entire overlap region. As \(H\) becomes large, \(\cosh^{-2}(\kappa H)\simeq4e^{-2\kappa H}\), giving exponential decay with the full separation \(2H\). This is a force measurement of the same screening scale measured independently by a voltage probe. Surface roughness, salt exclusion and adsorption can influence a real nanometre-scale force curve and should be distinguished from deviations in the bulk screening length.
If the electrode charges rather than their potentials are fixed, the wall derivative is prescribed. The even solution then has \(V_m=\sigma/[\epsilon\kappa\sinh(\kappa H)]\) in the linear regime, and pressure \(\sigma^2/[2\epsilon\sinh^2(\kappa H)]\). As \(H\) shrinks the linear approximation will eventually fail for fixed nonzero \(\sigma\), because \(V_m\) grows. Comparing the constant-potential and constant-charge formulas without adjusting their boundary conditions could suggest contradictory predictions where each applies to a different experiment.
Estimate how quickly the ion cloud can follow a capacitance measurement
Static Poisson–Boltzmann theory assumes ions are in equilibrium at each measured voltage. A time-dependent measurement can test that assumption. For dilute symmetric monovalent ions with equal diffusivity \(D_i\), small density perturbations obey the linearised number fluxes \(\mathbf j_\pm=-D_i[\nabla\delta n_\pm\pm e n_b\nabla V/(k_BT)]\), combining diffusion with electric drift. Assume no bulk reactions. Subtract the two continuity equations and multiply by \(e\), yielding a charge-current density \(\mathbf J=-D_i[\nabla\rho+2 e^2 n_b\nabla V/(k_BT)]\). Use \(\nabla^2V=-\rho/\epsilon\) in the bulk to obtain
A spatial harmonic of wavenumber \(k\) decays at rate \(D_i(k^2+\kappa^2)\) in the unbounded linear bulk model. The long-wavelength Debye charge-relaxation time is \(\tau_D=1/(D_i\kappa^2)\), also recovered by dividing permittivity by the dilute ionic conductivity \(\sigma_{\rm ion}=2 e^2n_bD_i/(k_BT)\). The total salt-density perturbation instead obeys ordinary diffusion because the leading positive and negative drift terms cancel. Fast local charge relaxation and slower redistribution of neutral salt are different observables.
For \(D_i=1.0\times10^{-9}\) m²/s and \(\kappa^{-1}=10\) nm, this local time is 100 ns, corresponding to an angular rollover scale \(1/\tau_D=10^7\) s⁻¹ or ordinary frequency about 1.6 MHz. Blocking electrodes in a cell of thickness \(L\gg\kappa^{-1}\) can display a slower charging time. Estimate its series resistance \(R=L/(\sigma_{\rm ion}A)\) and diffuse capacitance \(C\sim\epsilon\kappa A\) for one interface. Their product is of order \(L/(D_i\kappa)\). For \(L=100\) μm with the preceding parameters this is about 1 ms, orders of magnitude above the local bulk time. Two identical interfaces in series supply an extra numerical factor; finite reservoirs and unequal mobilities can introduce further scales.
A low-frequency impedance experiment interpreted as the equilibrium \(d\sigma/dV\) must therefore allow the actual circuit and cell to charge, not merely wait several local Debye times. Varying cell spacing helps distinguish a geometry-dependent charging time from an intrinsic screening-length change. This diffusion calculation and the static pressure calculation share the same \(\kappa\), giving independent checks on a physical fit to voltage, force and time-resolved measurements.
Check reservoir and continuum assumptions using actual particle numbers
The grand-canonical ion profiles implicitly allow the diffuse layers to draw particles from a large reservoir without changing the reservoir's chemical potentials. Whether this is reasonable can be checked with a dimensioned inventory. For a 1 mM monovalent salt, each species has about \(6.02\times10^{23}\) particles per cubic metre. A cell of area \(1\) mm² and depth \(100\) μm therefore starts with \(6.02\times10^{13}\) ions of each species. A surface charge density of \(1.0\) mC/m² on one plate amounts to \(6.24\times10^9\) elementary charges on that area. Even a conservative estimate in which each net countercharge requires one ion from the bulk uses only about \(10^{-4}\) of the available counterions.
Keep the same area and salt concentration but reduce the gap to 20 nm. Now only \(1.20\times10^{10}\) ions of each species occupy the cell initially. The same surface charge is comparable with half the inventory of one species. The remote-neutral-reservoir approximation is no longer automatically credible, especially if both walls attract counterions of the same sign. One must specify how ions and compensating charge can enter or leave, what the electrodes' chemical or electrical preparations enforce, and how much fluid actually belongs to the reservoir. An applied electrostatic boundary voltage fixes no ionic chemical potential by itself.
For a sealed cell write the equilibrium densities instead as \(n_\pm(z)=A_\pm \exp[\mp eV(z)/(k_BT)]\). The constants \(A_\pm\) must be chosen so that integrals of \(n_\pm\) over the physical volume equal the known numbers of each species. Substitution into Poisson's equation gives a coupled boundary problem with two additional global constraints. Adding a constant to \(V\) and appropriately rescaling \(A_\pm\) leaves the densities unchanged; electrical reference and chemical normalisation must be chosen consistently. A calculation holding both fixed bulk densities and exact sealed inventories can be overconstrained if diffuse layers hold appreciable salt.
The continuum approximation also makes a statement about scale. A cube of side one screening length near 10 nm at 1 mM holds roughly \(0.60\) ions of either species on average. This does not by itself invalidate a mean density for a large planar electrode, which averages over many lateral regions and thermal configurations. It does warn against interpreting the smooth one-dimensional density as a snapshot of a single nanometre-sized volume with a deterministic fractional particle. Force or voltage measurements with different lateral averaging areas can show quite different fluctuations even when their mean profiles follow the same equation.
As another self-check compare the predicted contact concentration with available molecular packing. The ideal theory gives
Starting from 1 mM, a surface potential near \(0.25\) V at 298 K would multiply concentration by roughly \(1.7\times10^4\), corresponding to tens of molar even before allowing room for solvent. A molecular model or a measured finite-size constitutive relation is then more appropriate for quantitative contact density. The failure is in extrapolating the dilute ideal entropy, not in Gauss's law or the electrostatic boundary condition. Source, solvent, reservoir and detector scales determine where the otherwise elegant analytic solution becomes an approximation to test.
Resolve a screening length
Compare the linear screened profile with a grid solution as the ratio of thickness to screening length grows. Separate failure to resolve the layer from failure of the linear material law.
How many excess ions, not just how much net charge?
Count the salt adsorbed in a planar diffuse layer
The total countercharge per area equals the negative surface charge. Separately calculate the excess number of ions of both signs over the neutral bulk value for a symmetric electrolyte at prescribed surface potential. Which quantity changes sign if the wall voltage reverses?
Derive and check the result
Define \(\Gamma=\int_0^\infty[n_+(z)+n_-(z)-2n_b]\,dz=2n_b\int_0^\infty(\cosh\psi-1)dz\). The integrand is nonnegative for either sign of wall voltage. For \(\psi_s>0\), substitute \(dz=-d\psi/[2\kappa\sinh(\psi/2)]\) from the first integral. Then \(\cosh\psi-1=2\sinh^2(\psi/2)\) makes the resulting integral elementary. The result, also valid at negative bias by symmetry, is \(\Gamma=(4n_b/\kappa)[\cosh(\psi_s/2)-1]\). It has units particles per area. The signed excess charge divided by elementary charge, in contrast, is
For positive surface charge the negative counterion excess and positive coion depletion follow by taking half the sum and difference of these two measurements. At small \(\psi_s\), the net charge excess is linear in voltage while \(\Gamma\) is quadratic: the two ion species redistribute in opposite directions before appreciable neutral salt adsorption appears. Reversing the bias swaps which species is enriched but leaves the total ion-number excess unchanged. Thus a mass-sensitive and a charge-sensitive measurement give complementary responses even in the same equilibrium model.
At \(\psi_s=2\),
The total excess count can be smaller than the magnitude of countercharge measured in elementary charges because some compensation occurs through removing coions rather than adding counterions. An optical concentration measurement that tracks only total dissolved ion count cannot be converted into net countercharge by multiplying by \(e\). Sampling both quantities, or calibrating the signal against the appropriate species, is needed to test the adsorption prediction. The derivation assumes the same dilute reservoir as the planar Poisson–Boltzmann solution and should not be applied unmodified to a cell with fixed small ion inventories.
Tutorial · infer a screening length and check the model
Use two potential measurements at finite bias
In a 298 K symmetric electrolyte, \(\tanh[eV(z)/(4k_BT)]\) decreases from 0.30 to 0.15 over 8.0 nm. Infer the screening length, and reconstruct the two physical voltages. Why is taking a raw voltage ratio slightly different?
Work through the solution
The transformed profile decays exponentially, so
Since \(4k_BT/e\simeq102.7\) mV, the voltages are \(102.7\operatorname{artanh}(0.30)=31.8\) mV and \(102.7\operatorname{artanh}(0.15)=15.5\) mV. Their physical ratio is about 0.488 rather than 0.500. Inferring a linear-log decay using only these points gives a biased length. Repeating at smaller voltages would test convergence towards the same result without assuming the nonlinear transformation.
Which capacitance was measured?
At low bias a diffuse model independently predicts 0.080 F/m² but a low-frequency measurement gives 0.050 F/m². Infer the compact capacitance of the ideal series model. What would make this inversion impossible with positive capacitances?
Work through the solution
From the reciprocal difference \(1/c_s=20-12.5=7.5\) m²/F we obtain \(c_s=0.133\) F/m². A measured capacitance larger than the predicted diffuse one would imply a negative reciprocal compact capacitance in this two-positive-series model. Check the normalisation area, frequency response, adsorption or additional parallel charging processes before assigning a negative parameter. To distinguish the two capacitances experimentally, vary reservoir concentration at fixed temperature and compare the predicted \(\sqrt{n_b}\) trend of the diffuse contribution with the remaining offset in reciprocal capacitance.
Further reading
Measure inertia and gravity with two suspension axes
A rigid pendulum can oscillate from either of two knife edges. If the periods agree at distinct distances from the centre of mass, the spacing of the edges determines gravity. Derive the cancellation, identify a second way equal periods can arise and find why a poorly chosen geometry magnifies timing errors.
Torque about an offset pivot
Take a rigid body of mass \(m\) with parallel suspension axes perpendicular to its plane of oscillation. Its moment of inertia about the centre of mass is \(I_C=m\rho^2\); \(\rho\) is the radius of gyration. For a pivot a distance \(a>0\) from the centre, the parallel-axis theorem gives
Gravity exerts torque \(-mga\sin\theta\). In the small-angle limit,
Here \(L_a\) is the length of a point pendulum with the same period. It can lie beyond the physical centre of mass. A tap applied at this distance from a pivot gives the centre of percussion when the ideal instantaneous pivot reaction is to vanish. The same combination of mass distribution and geometry appears in an impulsive and in an oscillatory measurement because both depend on angular momentum about that pivot.
Match the periods and keep both algebraic branches
Put the second knife edge on the opposite side of the centre at distance \(b\). Equal periods require
Rearrange before dividing by \(a-b\):
Two equal distances always give equal periods. That branch provides no information about \(\rho\). If the distances are distinct, equality implies
Both equivalent lengths then equal \(a+b\), the directly measurable edge separation. For \(a=0.200\,\mathrm m,\ b=0.450\,\mathrm m,\ \rho=0.300\,\mathrm m\), the equivalent length is 0.650 m and both periods at standard laboratory gravity are about 1.62 s. A small value of \(a-b\) is an experimental warning sign, even if the observed equality is exceptionally clean.
Background · Can unequal release amplitudes imitate a mismatch between pivots?
A rigid pendulum about either knife edge obeys the same sine nonlinearity as a simple pendulum. To leading order in its release angle \(\theta\) in radians, the measured period exceeds the small-amplitude period by the fraction \(\theta^2/16\). At matched small-amplitude periods, measurements with amplitudes \(\theta_a,\theta_b\) therefore give
Releasing at 6° about the first edge and 2° about the other creates a fractional mismatch of about \(6.1\times10^{-4}\). For a two-second period this is 1.2 ms. Record the two amplitudes along with the timing data and reduce both periods to the same limit before moving the trim mass. Otherwise the trim can compensate a preparation error.
Extract gravity when the two measured periods differ
Multiply the first period equation by \(a\) and the second by \(b\). Subtract to eliminate \(\rho^2\). The exact small-angle result for unequal distances is
At matched periods this reduces to the simple expression in terms of the edge spacing. The general formula involves a difference in its denominator. If \(a\) and \(b\) nearly coincide, the denominator is small and two independent timing errors subtract with poor relative precision. This is a property of the inverse measurement, even if computing each individual period is perfectly well conditioned.
Once \(g\) is known, use \(\rho^2=gaT_a^2/(4\pi^2)-a^2\) to recover the body inertia per unit mass. A negative value may indicate a wrong distance measured to the centre or a timing observable that is actually a half period. Verify the result using the second pivot and recover a separately predicted period after shifting a suspension point. A single successful cancellation is weaker than reproducing an additional measurement.
Move one knife edge in the experiment
Hold \(a=0.200\,\mathrm m\) fixed and vary both the radius of gyration and the second distance. The graph plots the period against the possible second distance. Before inspecting intersections, predict where the second match should lie as \(\rho\) grows. The dependence on distance has a minimum at \(b=\rho\) because effective length comprises a growing and a decreasing term.
With a finite oscillation amplitude, the physical pendulum has the same elliptic correction as a point pendulum of length \(L_a\), provided the body is rigid and the frictionless pivot stays fixed. Matching different amplitudes can bias the cancellation. Measuring both at the same small angle removes the leading difference, and extrapolating both to zero amplitude provides a check. Rotational compliance of the knife edge and a shifting centre of mass require a different model.
Tutorial
For \(a=0.240\) m and \(\rho=0.300\) m, where should the second distinct match occur and what length should be used in \(g=4\pi^2L/T^2\)?
Work through the solution
The second branch gives
Because the pivots straddle the centre of mass the equivalent length is 0.615 m.
Both pivots lie on the same side of the centre, at the same distances \(a,b\) as in the previous question. What changes in the cancellation?
Work through the solution
The periods depend on the magnitudes of the offsets, so equal periods still imply \(\rho^2=ab\) on the distinct branch. The sum \(a+b\) still gives the equivalent length, but the physical ruler distance between pivots is \(|a-b|\). The direct measurement shortcut relies on the chosen geometry.
Why does setting both axes exactly at the same distance make even noise-free measurements insufficient to determine both \(g\) and \(\rho\)?
Work through the solution
The two equations are then identical. For every positive choice of inertia radius the first period determines a corresponding value of gravity. Improving timing precision cannot provide the missing independent equation.
Connect the offset-pivot calculation to the rigid-body inertia chapter.