Approximating a measured field
Reconstruct a potential from weighted modes. Compare orthogonality in a rectangle, cylinder and sphere, and determine which coefficients can be recovered from noisy measurements.
- Rectangular geometries, orthogonality and sources that drive individual modes
- Cylindrical geometry, coaxial boundaries and Bessel spectra
- Normalised spherical harmonics and the field of an arbitrary three-dimensional source
- Reconstructing a source from noisy voltage measurements
- Weighted least squares and residual diagnostics
- How model error masquerades as a fitted physical parameter
Rectangular geometries, orthogonality and sources that drive individual modes
Electrostatic field theory and measurement
Fourier modes are solutions selected by their electrode walls. On a rectangle they turn a boundary-voltage problem into independent vertical equations. When a charge fills the rectangle the same eigenfunctions give a different denominator and a different physical response.
Determine which sign of a separation constant can fit the walls
Take a vacuum rectangle \(0<x<a,\ 0<y<b\), invariant along \(z\). Ground the left, right and bottom edges and impose \(V(x,b)=f(x)\) at the top. If the boundary data disagree at a corner, the continuum problem can have large edge fields; we first choose smooth \(f\) vanishing at both endpoints. In the charge-free interior, a product solution \(X(x)Y(y)\) gives \(X''/X=-Y''/Y\), equal to a constant wherever the product is nonzero. If \(X''=k^2X\), the only combination of hyperbolic functions zero at both \(x=0,a\) is zero. The same is true for the linear case \(k=0\). Thus \(X''=-k^2X\). The left boundary picks a sine and the right boundary enforces \(k=n\pi/a,\ n=1,2,\dots\).
Then \(Y''=k^2Y\), with the bottom condition choosing \(\sinh ky\). Choosing its top value as unity gives the transfer function \(Y_n=\sinh(k_n y)/\sinh(k_n b)\). Summing products,
These coefficients follow by multiplying the top boundary by \(\sin(k_mx)\) and integrating. For \(n\ne m\) the product reduces to cosines with integer half-wave multiples and integral zero; for equal indices its integral is \(a/2\). This orthogonality incorporates the edge boundary values. Periodically repeating a voltage function without regard to its endpoint conditions can give cosine or constant terms that violate the grounded side walls.
Track how geometry filters electrode detail
A mode's vertical derivative is \(k_n\cosh(k_n y)/\sinh(k_nb)\), so the field normal to the electrode weights high modes differently from potential. At the top the magnitude multiplier is \(k_n\coth(k_nb)\). For a half-space, high-frequency field content can be large very near a patterned electrode even if it disappears rapidly a short distance inside. For large \(k_nb\), direct numerical evaluation of hyperbolic sines may overflow. The algebraically equivalent ratio \(e^{-k_n(b-y)}[1-e^{-2k_n y}]/[1-e^{-2k_n b}]\) stays bounded; for very small arguments evaluate \(1-e^{-t}\) with a numerically stable exponential-difference routine.
Suppose the rectangle is square and the electrode has \(f=4\sin(\pi x/a)-2\sin(3\pi x/a)\) V. At mid-height \(y=a/2\), the fundamental transfer factor is \(1/[2\cosh(\pi/2)]=0.1993\), while the third is
At \(x=a/2\) the first sine is 1 and the third is \(-1\), so the potential is \(0.815\) V approximately, compared with the 6 V drive at the same \(x\) on the electrode. Taking the simple arithmetic average of the top and bottom voltages at that \(x\) would predict 3 V and miss leakage to the grounded side walls.
If a second boundary carries a pattern, superpose the source-free solution produced by it with the other boundaries grounded. For example a nonzero bottom voltage pattern uses \(\sinh[k_n(b-y)]/\sinh(k_nb)\). This works because the field equation and boundary conditions in fixed-voltage form are linear. A floating conductor imposes a different constraint coupling many modal coefficients, not the prescription of one extra arbitrary voltage profile.
Integrate a discontinuous electrode and distinguish two kinds of convergence
Let a short strip centred on the top boundary span \(a/2-w/2<x<a/2+w/2\) with voltage \(V_d\), the remaining top grounded. Integrating the sine over that interval gives
Even modes vanish by mirror symmetry. Individual allowed coefficients decrease as \(1/n\) at most because the boundary has jumps. On the boundary partial sums overshoot close to a jump. Adding terms narrows that region rather than removing its limiting fractional overshoot. At fixed interior distance the exponential transfer renders the series much better behaved.
For \(w=a/3\), the first and third coefficients are \(2V_d/\pi\) and \(-4V_d/(3\pi)\). Along the centreline both contribute positively because their sine factors have opposite signs. A finite-width electrode cannot be captured exactly with a single spatial mode even when its interior signal far away is mainly fundamental. Recovering the electrode width from a distant scan by dividing attenuated high modes by their transfer factors will amplify measurement errors. Forward propagation and inverse reconstruction need different treatments of frequency content.
Let the volume rather than the electrode excite the modes
Ground all four edges and embed a known charge density \(\rho(x,y)\). Choose double sines \(\sin(m\pi x/a)\sin(n\pi y/b)\). They already vanish on all edges and are eigenfunctions of the negative Laplacian with eigenvalues \(\lambda_{mn}=(m\pi/a)^2+(n\pi/b)^2\). Project the charge using \(\rho_{mn}=4(ab)^{-1}\int_0^a\int_0^b\rho\sin(m\pi x/a)\sin(n\pi y/b)\,dy\,dx\). Applying Poisson's equation coefficient by coefficient yields
High spatial frequencies of a volume charge produce weaker potentials by an inverse-square spectral factor. The corresponding normal field on a boundary involves an additional derivative. This polynomial filtering differs from the exponential decay of a boundary pattern measured away from its source. Both follow from the same PDE but answer different experiments.
For a manufactured test choose a square of side 10 mm with \(\rho=\rho_0\sin(\pi x/a)\sin(2\pi y/a)\). The voltage magnitude peaks at \(\rho_0a^2/(5\pi^2\epsilon_0)\). With \(\rho_0=1.0\ \mu{\rm C/m^3}\) it is \(0.229\) V. The total charge integrates to zero, since the second sine is odd about the mid-height. The field and stored energy are nonzero. At \(x=a/2,y=a/4\) the voltage is a positive maximum, consistent with a positive local source. At \(x=a/2,y=3a/4\) the same amplitude is negative.
Use an exact discrete eigenvalue for a rigorous code check
On a uniform square grid of spacing \(h=a/N\), replace \(-\partial_x^2\) by its centred three-point formula. Acting on the sampled sine gives eigenvalue \(4h^{-2}\sin^2(m\pi h/(2a))\). The two-dimensional sum of the corresponding factors is therefore the exact discrete eigenvalue for this interior mode with zero edges. A computed solution can be compared first to \(\rho_{mn}/(\epsilon_0\lambda_{mn,h})\), which tests the solver algebra, and then to the continuous \(\rho_{mn}/(\epsilon_0\lambda_{mn})\), which tests spatial discretisation. Reducing the iterative residual alone cannot remove the difference between these two physical amplitudes.
At \(N=10\), modes \((1,2)\) have \(a^2\lambda_h=4N^2[\sin^2(\pi/20)+\sin^2(\pi/10)]=47.99\), versus \(5\pi^2=49.35\). The discrete amplitude is about 2.8% high despite solving its linear equations exactly. For fixed mode under grid halving, expansion of the sine gives an eigenvalue error proportional to \(h^2\). At wavelengths only a few cells wide this expansion is unreliable. Try a sequence of grids with the same physical mode and compare actual amplitude ratios. Holding instead a fixed number of cells per wavelength while changing the physical wavelength tests a different convergence question.
Two transverse dimensions select a different attenuation length
Extend the rectangle into a rectangular conducting shaft \(0<x<a,\ 0<z<c\), running to \(y>0\). Ground all four side walls, require bounded potential far down the shaft and prescribe a voltage on its mouth at \(y=0\). Separation in the cross section now gives products \(\sin(m\pi x/a)\sin(n\pi z/c)\) with both \(m,n\ge1\). The axial equation is
Each boundary coefficient therefore propagates as \(e^{-\gamma_{mn}y}\),
A narrow second dimension suppresses penetration even when the first dimension is very broad. Approximating the shaft by a two-dimensional strip removes an entire contribution to the decay constant.
If the aperture is driven uniformly at \(V_0\), projecting gives \(f_{mn}=16V_0/(\pi^2 mn)\) for odd \(m,n\), zero otherwise. The ideal mouth voltage jumps at the grounded rim. Deep inside, only the lowest odd pair survives and its amplitude exceeds \(V_0\) before the exponential is applied; the higher terms restore the actual boundary value at \(y=0\). With \(a=20\) mm and \(c=10\) mm the slowest decay length is
A two-dimensional strip ignoring the 10 mm side would instead give
After 10 mm penetration the first-mode attenuation factors are 0.0298 and 0.208, almost a factor of seven apart.
A simple numerical test samples the centreline voltage at several heights and calculates adjacent log slopes. Close to the mouth many odd modes matter, while deep inside the ratio between two positions \(\Delta y\) apart approaches \(e^{-\gamma_{11}\Delta y}\). Compare with a second geometry that swaps \(a,c\). The two lowest-order decay lengths must agree because the eigenvalue is symmetric in the two dimensions; an implementation that uses only the nominal 'width' may fail this check. A second observation path away from the centre can sense different mode weights, even though every mode's exponential is unchanged.
Suppose the mouth instead has opposite voltages on the left and right halves, antisymmetric about \(x=a/2\). Its coefficients vanish for odd \(m\), so the \((1,1)\) mode is absent by symmetry. The leading allowed mode can be \((2,1)\), shortening the decay length. A centreline probe would then read zero everywhere by antisymmetry and could not fit any length at all. Move the probe to \(x=a/4\) while keeping it at mid-height of the cross section. This illustrates how an excited spectrum, a geometry's complete set of eigenvalues, and an instrument's observed spectrum may differ.
Why the energy of an ideal electrode voltage step depends on edge resolution
Return to a two-dimensional strip or half-plane. To focus on a single boundary Fourier mode take \(V=A\sin(kx)e^{-ky}\) in \(0<x<a,\ y>0\), with \(ka=n\pi\). Its gradients in \(x\) and \(y\) have equal prefactor \(kA e^{-ky}\). The sum of their squared sine and cosine factors is one, so the energy per perpendicular length is
For many orthogonal sine modes cross terms vanish after integration. Thus the stored field energy involves the weighted sum \(\sum_n n|f_n|^2\), while the mean-square boundary voltage itself involves simply \(\sum_n|f_n|^2\). The extra factor of \(n\) comes from the steep near-electrode field of short-wavelength structure.
For a finite electrode patch abruptly stepping from 0 to \(V_d\), the allowed Fourier amplitudes typically decay as \(1/n\) along nonzero subsequences. The voltage series converges in mean square, but its energy sum can contain a logarithmically diverging \(\sum 1/n\). This is the local singularity of the zero-width voltage discontinuity. It does not prevent a well-defined voltage at any interior distance, but it prevents assigning a finite total energy or a cut-off-independent peak electric field to that exact sharp-edge idealisation. Mesh refinement can produce progressively higher energy estimates even as interior voltage curves appear perfectly stable.
There is a local way to see the same conclusion without a Fourier series. Consider a small half-disk of vacuum around a junction where an otherwise flat boundary jumps between voltages zero and \(V_d\). In polar coordinates about the junction, the leading harmonic solution depends only on angle: \(V=V_d\phi/\pi\) with angle origin chosen on the grounded side. Its field magnitude is \(V_d/(\pi r)\). Integrating \(\epsilon E^2/2\) over a half-annulus of inner radius \(\delta\) and outer radius \(R\) gives
Halving the microscopic length changes this single-edge contribution by \(\epsilon V_d^2\ln 2/(2\pi)\). The independence of \(R\) in that change is a practical test of the logarithmic asymptotic regime.
A finite insulation seam between real electrodes supplies a different boundary problem. For a deliberately smoothed transition of width \(\delta\), the spectrum falls faster above \(k\sim1/\delta\); the local singularity is cut off. One can compare a family of specified physical seam widths while separately refining each numerical grid until it resolves its own seam. Shrinking seam width along with mesh spacing instead changes the physical geometry at each refinement. Report the interior voltage, near-edge energy within a named observation region and the physical seam model separately. Each can converge at a different rate even in a technically correct Laplace solver.
A discrete residual can fall quickly while the wrong spatial scale remains
The separated sine basis makes it possible to analyse the convergence of a concrete numerical Laplace solver as well as the continuum solution. On a square grid with equal spacing, the five-point discretisation in a charge-free cell says its voltage equals the mean of its four neighbours. A Jacobi sweep sets all new values to this mean of the old grid, preserving fixed boundary values meanwhile. Subtract the exact discrete solution from the current approximation: the error evolves by the same averaging step with zero boundary values, independently of the inhomogeneous source that generated the original solution.
Insert an error pattern \(e_{ij}=\sin(m\pi i/N)\sin(n\pi j/N)\). Elementary sine addition on the two \(x\)-neighbours produces \(2\cos(m\pi/N)e_{ij}\); the \(y\)-neighbours produce the analogous factor. Hence one sweep multiplies this error mode by \(\mu_{mn}=[\cos(m\pi/N)+\cos(n\pi/N)]/2\). For the longest \((1,1)\) mode, \(\mu\simeq1-\pi^2/(2N^2)\). Its amplitude takes roughly \(2N^2/\pi^2\) sweeps to drop by \(1/e\). Doubling resolution therefore makes this relaxation about four times slower per physical longest mode even before counting the four times as many cells per sweep.
Choose \(N=64\). Then \(\mu_{11}=0.99880\). After 100 sweeps about 88.6% of that initial smooth error still remains, although the update per cell has become small. At the opposite corner of the spectrum \((N-1,N-1)\) gives nearly \(-1\), so a checkerboard mode also decays slowly while changing sign on successive sweeps. Weighted Jacobi replaces an old value by \((1-\omega)\) times itself plus \(\omega\) times the neighbour mean. At \(\omega=2/3\) that checkerboard amplification becomes approximately \(-1/3\), removing short-wavelength oscillations quickly. The long smooth mode still has amplification near one. An attractive smooth colour map after a few sweeps can thus be misleading.
A multigrid correction exploits these distinct errors. First relax high-frequency errors on the fine grid. Compute the residual of the original discrete equation and restrict it to a coarser grid. A long fine-grid mode becomes easier to change there. Solve the coarse error equation, prolong its correction back to the fine grid, and smooth again. The correction must solve for error with the appropriate homogeneous boundary constraints, not repeat the original boundary excitation a second time. The residual and prolongation should respect the same physical units and grid volumes as the original source. Otherwise a visually plausible coarse correction can inject net charge at each level.
For a manufactured check initialise the fine-grid error to a known sine mode on top of an exact discrete solution. After one weighted sweep measure the inner product of the new error with the original mode and divide by its squared norm. The observed ratio must equal \(1-\omega+\omega\mu_{mn}\) before roundoff or boundary effects. Repeat with \((1,1)\), a mixed \((1,N-1)\) mode, and the checkerboard-like \((N-1,N-1)\) mode. This directly tests the implementation's indexing, old-versus-new updates and boundary handling; it does not require the continuum equation to be discretisation exact.
Finally compare iterative and truncation errors in measurable volts. For a discrete mode, if the algebraic residual coefficient is \(r_{mn}\) in the form \(-\nabla_h^2 e=r\), its error coefficient is \(r_{mn}/\lambda_{mn,h}\). The same residual amplitude in a long-wavelength mode produces a larger voltage error than in a high-frequency mode. An absolute solver tolerance with no physical scaling is therefore insufficient to certify a voltage reading. Stop iterating when the solver error in the actual observable is small compared with discretisation and experimental uncertainty, then refine the spatial representation separately.
Resolve a short-wavelength electrode pattern
Increase the transverse mode number. Predict how far the pattern reaches into the strip before inspecting the voltage profile.
Build a resistor-network analogue of the rectangular boundary problem
Use Kirchhoff measurements to check a field solver
A square lattice of nodes is connected by identical resistors \(R\) between nearest neighbours. Outer nodes are held at prescribed voltages. Derive the interior equation from charge conservation at a node. Which measured electrical quantity can test a normal field at the boundary? What changes on an anisotropic grid?
Derive and check the result
For a steady interior node with no supplied current, the sum of currents \((V_{ij}-V_{\rm neighbour})/R\) is zero. Rearrangement gives the same mean-of-four equation as the square-grid discrete Laplacian. Thus the resistor array reproduces the discrete Dirichlet solution for the same pinned boundary voltages. Its Joule dissipation \(\sum_{\rm edges}(V_i-V_j)^2/R\) is stationary against variations of the unfixed voltages, giving the same equations a second way. The numerical voltage maps can be compared node by node; the physical power and the electrostatic field energy are different dimensional quantities even though their quadratic forms are analogous.
To estimate the normal field near a flat boundary, measure the signed current from a boundary node along the edge connecting it to its nearest interior neighbour. This equals the observed voltage difference divided by \(R\); multiplying by \(R/h\) converts it to the corresponding one-sided field magnitude in volts per metre. At sharp corners the one-sided difference has large discretisation error and the continuum physical field may be singular. Summing all currents supplied to a terminal edge gives a more robust integrated flux analogue. Account for any links between nodes at different prescribed boundary voltages if those links contribute separate current to the laboratory power supplies.
For horizontal spacing \(h_x\) and vertical spacing \(h_y\), replacing every resistor by the same value no longer matches the isotropic Cartesian Laplacian. A finite-volume cell requires conductance proportional to face length divided by edge length: horizontal links have conductance proportional to \(h_y/h_x\), vertical links to \(h_x/h_y\). Their ratio is \(h_y^2/h_x^2\). This restores a discrete conservation law with the correct physical area factors. A measured profile agreeing exactly with an equal-resistor lattice on a stretched geometry could therefore validate the wrong continuum material or geometry unless those weights were checked first.
Tutorial · design a boundary measurement and a solver benchmark
Identify a forbidden mode
A symmetric positive top electrode has its centre at \(x=a/2\). A numerical sine transform reports a large \(n=2\) coefficient. Is it evidence of physical high-frequency content? Which controlled change could verify the sign of the defect?
Work through the solution
Mirror substitution \(x\mapsto a-x\) preserves the boundary voltage but changes \(\sin(2\pi x/a)\) to its negative. Its exact projection is zero. Sharp electrode edges may require many odd modes; they cannot explain an even coefficient under exact symmetry. Check coordinate origin, edge alignment on the grid and measurement offsets. Shift the actual patterned patch by a small amount to one side, then the same amount to the opposite side. A genuine even coefficient changes sign under these mirrored displacements, while odd-mode amplitudes agree. The response at interior height has the same parity because the transfer factor depends on mode number alone.
Measure where electrode charge resides
For a single sinusoidal top voltage \(V_d\sin(\pi x/a)\), derive the total free charge per perpendicular length on the upper electrode face. Why does it depend on the bottom distance even though the top voltage profile is the same?
Work through the solution
At the upper metal the normal from metal into the dielectric is \(-\hat{\mathbf y}\). With \(E_y=-\partial_y V\), the metal charge density is
Integrating along \(0<x<a\) yields \(2\epsilon_0V_d\coth(\pi b/a)\) per length. Bringing the bottom closer increases \(\coth(kb)\). For \(kb\ll1\) the expression tends to \(\epsilon_0 b^{-1}\int_0^a f(x)dx\), the local parallel-plate limit. A segmented electrode supplies a nonuniform fixed profile; the result counts its integrated face charge and assumes the ideal voltage boundary remains prescribed in each segment.
Further reading
Cylindrical geometry, coaxial boundaries and Bessel spectra
Electrostatic field theory and measurement
The radial coordinate of a cylinder leads to logarithms in one experiment and to Bessel functions in another. The difference is set by the variation along the axis and around the circumference. Recovering the radial weight from flux clarifies both.
A conducting annulus selects a logarithmic radial potential
Put a long cylindrical metal electrode of radius \(a\) inside a coaxial grounded tube of radius \(b\), with homogeneous dielectric of permittivity \(\epsilon\) in the gap. Long means that probes are far enough from both ends for axial variation to be negligible. With no free gap charge and no angular variation, Laplace's equation reduces to \(\partial_r(r\partial_r V)=0\). One integration gives \(rV'=C\), a statement of conserved radial flux through cylinders; the second gives a logarithm. With inner electrode at \(V_0\),
Here \(C'\) is capacitance per length. To obtain it, integrate \(D_r\) over the inner metal face per unit axial length and divide by \(V_0\). Another route integrates the energy density \(\epsilon E_r^2/2\) times \(2\pi r\,dr\), giving \(C'V_0^2/2\). For \(a=2\) mm, \(b=8\) mm and \(\epsilon=2\epsilon_0\), \(C'=80.3\) pF/m. At \(r=\sqrt{ab}=4\) mm the voltage is \(V_0/2\); the half-voltage radius is the geometric mean. An equally spaced radial ruler does not sample equal voltage steps.
The logarithm is not allowed at the axis of a solid charge-free cylinder because it diverges and carries line-source flux. In the annular domain the singular axis is outside the field region. The same radial function can therefore be admissible or inadmissible in two problems with very similar geometry. Before discarding a mathematical solution, check which radii actually lie in the domain and whether singular sources were explicitly prescribed.
Nonuniform wall voltages in a two-dimensional disk
Next take a full disk of radius \(a\) with prescribed side voltage \(f(\phi)\), invariant in \(z\). Seek \(R(r)e^{im\phi}\). Single-valuedness after \(\phi\to\phi+2\pi\) forces integer \(m\). The radial equation \(r^2R''+rR'-m^2R=0\) is solved by \(r^{|m|}\) and \(r^{-|m|}\) for \(m\ne0\); regularity at the centre chooses the growing power. The zero mode is constant, discarding its logarithmic partner. Thus an angular Fourier component on the wall penetrates as \((r/a)^{|m|}\). At \(r=a/2\), a third harmonic retains one eighth while a sixth harmonic retains only one sixty-fourth. Both can coexist on the wall without being equally visible in the interior.
For \(f(\phi)=2+3\cos(2\phi)\) V, the interior is
The potential has a saddle at the centre, with zero field there and opposite Cartesian curvatures. A scan along a single diameter could show a conspicuous maximum without detecting any charge. The two-dimensional Laplacian is zero because the curvatures cancel. This is also a useful finite-difference benchmark: a centred Cartesian Laplacian differentiates this quadratic exactly in the interior when the circular boundary has been represented correctly.
End effects produce a Sturm–Liouville problem
Now ground the side of a circular tube, excite its end at \(z=0\) and look for fields decaying into \(z>0\). For an axisymmetric source-free potential \(V=R(r)Z(z)\), choose \(Z=e^{-kz}\) for decay. Laplace's equation becomes
The solutions are \(J_0(kr)\) and \(Y_0(kr)\). The former is regular with value one at zero; the latter diverges logarithmically. Grounding at \(r=a\) requires \(J_0(ka)=0\), so \(k_n=j_n/a\) with positive roots \(j_1=2.40483,\ j_2=5.52008,\ldots\). Unlike sine wavenumbers they are not evenly spaced at low index.
Multiplying two such eigen-equations by the opposite radial function, subtracting and integrating gives \((k_m^2-k_n^2)\int rR_mR_n\,dr\) equal to the endpoint term \(r(R_n'R_m-R_m'R_n)\). It vanishes at a grounded wall and at a smooth axis. Hence modes at distinct eigenvalues are orthogonal with weight \(r\). This weight arises physically from the circumference of a radial ring. Normalize dimensionless radius \(x=r/a\). For a zero \(j_n\), the squared modal norm is \(J_1(j_n)^2/2\). An end profile \(f(x)\) therefore gives
For \(f=V_0\) across the cap, \(\int_0^1xJ_0(jx)dx=J_1(j)/j\) by differentiating \(xJ_1(jx)\). Then \(c_n=2V_0/[j_nJ_1(j_n)]\), with alternating signs. The cap voltage jumps at the wall corner, making its near-rim reconstruction slow. A smooth end pattern that already vanishes at \(a\) yields faster coefficient decay. In either case a narrow radial strip at the axis should not be given as much integration weight as an equal width near the circumference.
Two ways to see which axial scale survives
Far enough from the cap the first excited nonzero coefficient dominates. Its length is
Ratios of distant on-axis voltages can then identify tube radius without absolute calibration of the cap voltage. For \(a=15.0\) mm, an added 5.0 mm of distance should give factor \(e^{-2.40483/3}=0.449\). Repeat this estimate at several starting positions. The ratio only approaches that value once competing modes have decayed. A datum deep enough to suppress all higher modes may also be close to the instrument noise level, which biases a fitted decay length.
Instead impose an axial sinusoid \(e^{ikz}\) on a very long cylinder's side wall. The radial equation now has the opposite sign, \((rR')'-k^2rR=0\), whose regular solution is the modified Bessel function \(I_0(kr)\). The potential is \(V_0 I_0(kr)\cos(kz)/I_0(ka)\). The experiment selects a real oscillation along \(z\), not an exponential attenuation away from an end. Near the axis \(I_0(\xi)=1+\xi^2/4+\cdots\); the field generated by a long-wavelength side modulation is nearly uniform across a narrow cross section. At large \(ka\), \(I_0(ka)\) grows exponentially and the axis scarcely senses a short-wavelength wall pattern. Calling every radial solution simply a Bessel mode without tracking the separation sign can exchange these two physical predictions.
Construct a grid that treats the axis as a regular point
A conservative radial discretisation starts from \(\int_{r_-}^{r_+}r\,\nabla_r^2V\,dr=[rV']_{r_-}^{r_+}\). Use annular cells and fluxes at shared ring faces. Near \(r=0\) the left face has zero circumference, requiring no unknown point beyond the axis. For a nodal grid with Taylor expansion \(V(r)=V(0)+Ar^2+O(r^4)\), the radial operator at zero is \(4A\), so \(\nabla_r^2V(0)\simeq4[V(h)-V(0)]/h^2\). Simply setting \(1/r=0\) and using the Cartesian one-dimensional second derivative misses a factor of two.
Compare a numerical response to the analytic \(J_0\) mode at a fixed \(z/a\). Test the wall value, axis derivative, radial energy norm and distant decay rate. These are independent observables. A discretisation can reproduce the slowest length while misrepresenting an edge profile composed of many faster modes. Conversely, matching a discontinuous cap perfectly at mesh nodes does not demonstrate that high-order interior amplitudes are accurate.
Can a coaxial dielectric be graded to produce a uniform field?
The homogeneous coaxial field grows as \(1/r\) and reaches its highest magnitude at the inner wire. A designer proposes grading the dielectric radially so the full annular gap experiences one common radial field. Assume both metal faces are equipotentials, the scalar permittivity \(\epsilon(r)\) may vary continuously, and there is no free volume charge. Cylindrical symmetry still gives \(D_r=\lambda/(2\pi r)\), independent of how the material is graded. A constant electric-field magnitude \(E_g\) requires \(\epsilon(r)=\lambda/(2\pi E_g r)\), that is, permittivity proportional to \(1/r\). This construction replaces a uniform material by a known spatial distribution; applying \(\epsilon(r)\nabla^2V=0\) would miss the material gradient and give the wrong field.
Write \(\epsilon(r)=\epsilon_a a/r\). At applied voltage \(V_0\), the constant field is \(E_g=V_0/(b-a)\), and charge per length is
Thus \(C'=2\pi\epsilon_a a/(b-a)\). For \(a=2.0\) mm, \(b=6.0\) mm, \(\epsilon_a=6\epsilon_0\), the outer relative permittivity is 2, and \(C'=167\) pF/m. At 12 V every radius experiences \(3000\) V/m. For a homogeneous dielectric at the same voltage the inner surface field would be \(12/[0.002\ln3]=5461\) V/m regardless of its constant permittivity. The gradient reduces peak field at fixed voltage. Whether a real material benefits also depends on its local field limit, losses and interfaces.
Where is the polarisation charge that makes this possible? In the dielectric the true total charge satisfies
All of it is bound since \(\rho_f=0\). Direct evaluation from \(\mathbf P=(\epsilon(r)-\epsilon_0)E_g\hat{\mathbf r}\) gives \(-r^{-1}\partial_r(rP_r)=+\epsilon_0E_g/r\), the same result. Material surfaces add bound charges \(P_r(b)\) on the outer radial face and \(-P_r(a)\) on the inner face. Integrating their surface contributions and the volume charge over a full annulus returns zero net bound charge, as required for a polarised neutral body. A constant radial electric magnitude can therefore coexist with zero free charge and nonzero total charge.
A manufactured graded material is often approximated by concentric homogeneous shells. For shell \(j\) from \(r_j\) to \(r_{j+1}\), its voltage drop at fixed \(\lambda\) is \(\lambda\ln(r_{j+1}/r_j)/(2\pi\epsilon_j)\). To reproduce the exact voltage drop of the continuously graded design over each shell, choose \(\epsilon_j=\epsilon_a a\ln(r_{j+1}/r_j)/(r_{j+1}-r_j)\). This matches electrode capacitance even with relatively few shells. Yet the field inside each discrete shell still falls as \(1/r\) and jumps at its interfaces. Matching terminal capacitance alone does not verify the target uniform-field profile. Compute the field just inside each shell edge and refine the radial layering against a local peak-field tolerance.
What a small displacement of the end electrode excites
An axisymmetric tube calculation retains only angular order \(m=0\). Now impose at the tube entrance a voltage profile proportional to \(r\cos\phi\) near the axis and taper it to zero at the wall. This is a dipolar lateral pattern with positive voltage on one side and negative on the other. Separating \(R(r)\cos(m\phi)e^{-kz}\) into Laplace's equation yields
The regular solutions are \(J_m(kr)\). Near the axis their leading powers are \(r^{|m|}\), so an \(m=1\) potential vanishes on the centreline while its transverse gradient generally does not. The grounded wall selects zeros of \(J_m\). The first zero of \(J_1\) is \(3.83171\), larger than the first axisymmetric zero, so the slowest lateral disturbance decays faster than the slowest axisymmetric voltage. Probe design therefore changes which decay laws are experimentally accessible.
For a cap shaped exactly as \(f=V_1J_1(jr/a)\cos\phi\), \(j=3.83171\), the whole solution is a single mode. Near the axis \(J_1(jr/a)\simeq jr/(2a)\); using \(r\cos\phi=x\),
Hence \(E_x(0,z)=-V_1 j e^{-jz/a}/(2a)\). With \(V_1=2.0\) V and \(a=10\) mm, the lateral field starts at \(383\) V/m and falls to \(8.30\) V/m after an axial distance equal to one radius. A centreline voltmeter sees zero at both positions and gives no hint of the finite transverse force. A pair of voltmeters at small opposite \(x\) or a field probe oriented along \(x\) measures the relevant derivative.
For a realistic shifted electrode the input can contain both \(m=0\) and \(m=1\). Place detectors at \((r,0,z)\) and \((r,\pi,z)\). Their average selects even azimuthal orders; their difference selects odd ones. The ratio of the difference at two heights tests \(m=1\) decay after higher odd modes subside. The average also includes \(m=2,4,\ldots\), so attributing it to \(m=0\) requires symmetry information or more angular sensors. Reversing the applied electrode displacement changes the sign of an odd response but leaves even corrections unchanged to leading order. This experiment links angular Fourier selection and radial eigenvalues to a measurable alignment tolerance without requiring an entire three-dimensional voltage map.
Project a ring source without calling an axis cell a point detector
Deposit a thin circular ring of total free charge \(q\) at radius \(s\) in the plane \(z=z_0\) inside a long grounded cylindrical tube. Its volume density in an axisymmetric model is \(q\,\delta(r-s)\delta(z-z_0)/(2\pi s)\), for \(s>0\). The \(2\pi s\) removes the circumference introduced by the volume element. A radial code that deposits \(q\) directly as a density in one mesh bin, without dividing by annular volume, changes the total charge each time the radius or mesh spacing changes. In this calculation one can track that normalisation all the way to a voltage coefficient.
Take the tube infinite in both axial directions for simplicity. Expand \(V=\sum_n v_n(z)J_0(j_n r/a)\) in the grounded radial eigenfunctions. Project Poisson's equation using weight \(r\,dr\) and the norm \(a^2J_1(j_n)^2/2\). The ring produces
The infinite-line Green response for \(-d_z^2+k^2\) is \(e^{-k|z-z_0|}/(2k)\), as can be checked by integrating its derivative across \(z_0\). Thus each modal voltage has a finite amplitude and two decaying tails, and the complete field is obtained by summing radial modes. At a detector separated axially from the ring the exponential factors ensure rapid convergence. Exactly on the mathematical ring the local potential diverges logarithmically like that of a thin filament; comparing finite-element peak voltages there requires a finite wire cross section or a specified detector average.
An unexpected and testable consequence concerns the source radius. The coupling to mode \(n\) is proportional to \(J_0(j_n s/a)\). It becomes exactly zero when the source sits on a radial node of that mode. The second mode has an interior node at \(s/a=j_1/j_2\simeq0.4357\). A ring there still carries charge and excites many other modes but contributes no second modal coefficient. As an experimental analogy, a weighting potential that changes sign across part of a sensor can receive cancelling contributions from an extended excitation. Here the cancellation is encoded exactly in orthogonality and the pointwise coupling value.
A check independent of the ring-charge normalisation uses reciprocity. Imagine two narrow coaxial source/detector rings of radii \(s,r\), each with the same definition of total charge and voltage measured around its circumference. The modal response contains the symmetric product \(J_0(j_n s/a)J_0(j_n r/a)\) multiplied by a factor that depends only on axial separation. Swapping radius and axial position therefore leaves voltage per total charge unchanged. If a numerical table instead looks symmetric per charge density but not per total ring charge, check whether the radius-dependent integration weights were applied on both deposition and sampling.
Another useful test fixes total deposited charge but reduces a resolved annular thickness around \(s\). First compare with an integral of the analytic ring solution across the same finite distribution. Then take the thin-ring limit at a detector away from the deposition region. Taking grid thickness and source thickness to zero together while comparing a self-voltage at the source conflates numerical refinement with a mathematically singular observable. Stating detector location, normalisation and order of limits turns a superficially straightforward ring source into a robust benchmark for cylindrical Poisson solvers.
Measure a radial cylindrical mode
Change the electrode mode and compare radial nodes with axial decay. A cylindrical boundary chooses a different eigenbasis from a rectangular one.
A cylindrical interface can carry induced bound charge with an entirely radial field
Separate the two charges detected at a coaxial material boundary
A long coaxial gap contains two homogeneous radial layers with interface at \(s\), no free sheet there and fixed inner line charge \(+\lambda\). Find the bound interface charge per length, verify it from the field jump, and determine the interface radius at which the layers take equal voltages. Evaluate the result for \(a=2\) mm, \(b=18\) mm and relative permittivities 2 and 4.
Derive and check the result
For both regions \(D_r=\lambda/(2\pi r)\). In material \(i\) the polarisation is \(P_i=D_r(1-\epsilon_0/\epsilon_i)\) along the radial direction. At the interface the outer face of material 1 has bound density \(+P_1\), the inner face of material 2 has \(-P_2\). Their sum times the circumference gives bound line charge \(\lambda_b=\lambda(\epsilon_0/\epsilon_2-\epsilon_0/\epsilon_1)\). It equals \(-\lambda/4\) for the given ordering; the value per length is independent of \(s\) because the \(1/s\) field cancels the interface circumference. A local density meter would see a different value at a different radius even though the integrated result stays the same.
Direct use of Gauss's law for the true electric field gives \(\epsilon_0\,2\pi s(E_{2r}-E_{1r})=\lambda[\epsilon_0/\epsilon_2-\epsilon_0/\epsilon_1]\), confirming the sign and magnitude. A check with displacement alone gives zero jump and thus correctly reports no free charge at that same surface. The two field laws answer different questions. Extending the shell calculation to include both exterior material faces returns zero total bound charge per material, so the internal negative interface charge never represents a net creation of charge.
The voltage drops are proportional to \(\ln(s/a)/\epsilon_1\) and \(\ln(b/s)/\epsilon_2\). Equality gives \(s^{\epsilon_1+\epsilon_2}=a^{\epsilon_2}b^{\epsilon_1}\), or \(s=a(b/a)^{\epsilon_1/(\epsilon_1+\epsilon_2)}\), a dimensionally transparent form. Numerically \(s=2(9)^{1/3}=4.16\) mm. A half-voltage location at 4.16 mm is far from the arithmetic centre of this gap. It is also distinct from the 6.0 mm geometric mean for a homogeneous annulus, because the inner lower-permittivity layer needs less geometric thickness to take the same voltage.
Tutorial · radial modes with different physical boundaries
Replace the grounded wall by a reflecting boundary
A long tube has \(\partial_r V=0\) on its side instead of \(V=0\), and its end voltage profile is nonuniform. What happens to the radial eigenvalues and to the assertion that every end disturbance dies away?
Work through the solution
The wall now requires
In addition a constant radial mode with \(k=0\) satisfies both side and axis conditions. Its axial equation is \(Z''=0\), so boundedness allows a constant component. The end profile's weighted cross-sectional mean supplies that persistent offset. Only the components orthogonal to the constant decay. Requiring the potential to tend to zero at infinity while prescribing a nonzero mean cap voltage would be incompatible for this insulated side model unless other boundaries or sources are introduced.
Infer a radial charge density from a coaxial reading
Suppose the measured potential in a coaxial gap is \(V=A\ln(b/r)+B(b^2-r^2)\) with constant permittivity. Determine the volume charge and the signs of its contribution to the two face fluxes. Which part can be changed by externally altering the applied voltage at fixed charge density?
Work through the solution
The logarithmic term is harmonic away from the excluded axis. For the quadratic term \(\nabla_r^2[-Br^2]=-4B\), giving uniform \(\rho=4\epsilon B\). The radial field is \(A/r+2Br\). The net outward displacement flux through the gap per length is \(2\pi\epsilon[bE(b)-aE(a)]=4\pi\epsilon B(b^2-a^2)\), exactly \(\rho\pi(b^2-a^2)\). At positive \(B\) the quadratic term contributes positive outer flux and negative inward-face flux, with the larger outer contribution from both area and field. Changing only the source-free boundary excitation adds a logarithmic term and, if the reference permits it, a constant. It alters both field readings without altering the inferred uniform volume density.
Further reading
Normalised spherical harmonics and the field of an arbitrary three-dimensional source
Electrostatic field theory and measurement
An axial voltage scan can determine Legendre coefficients only if the source is rotationally symmetric. A general spherical electrode or molecule needs angular modes with two indices. Their normalisation fixes the conversion from a measured multipole coefficient to a physical voltage.
Separate three coordinates without imposing axial symmetry
In spherical coordinates the source-free Laplace equation is \(r^{-2}\partial_r(r^2\partial_r V)+r^{-2}\Delta_\Omega V=0\), where \(\Delta_\Omega=(\sin\theta)^{-1}\partial_\theta(\sin\theta\,\partial_\theta)+(\sin^2\theta)^{-1}\partial_\phi^2\). Assume \(V=R(r)Y(\theta,\phi)\). Separation requires
Multiply by \(Y^*\) and integrate over the unit sphere. Integration by parts has no actual surface boundary for globally smooth fields and gives
The constant mode has eigenvalue zero.
Separate azimuth as \(e^{im\phi}\). Continuity after a full rotation forces integer \(m\). With \(u=\cos\theta\), the remaining equation becomes
Requiring regular behaviour at both poles yields \(\lambda=\ell(\ell+1)\) with integers \(\ell\ge|m|\). The corresponding angular functions are the associated Legendre functions. For each \(\ell\) there are \(2\ell+1\) independent \(m\)'s, all with identical radial behaviour. A rotation mixes coefficients within this subspace but cannot convert a dipole into a quadrupole.
Fix one convention and verify its first modes
Choose \(P_\ell(1)=1\) and for \(m\ge0\) include the Condon–Shortley phase in \(P_\ell^m(u)=(-1)^m(1-u^2)^{m/2}d^mP_\ell/du^m\). Define
With this convention \(\int Y_{\ell m}^*Y_{\ell'm'}\,d\Omega=\delta_{\ell\ell'}\delta_{mm'}\), using \(d\Omega=\sin\theta\,d\theta\,d\phi\). In particular \(Y_{00}=1/\sqrt{4\pi}\),
To check the dipole normalisation independently,
For \(Y_{11}\),
The complex basis is an accounting device. A real potential obeys \(v_{\ell,-m}=(-1)^m v_{\ell m}^*\), leaving \(2\ell+1\) real angular degrees of freedom at each order.
On a sphere of radius \(a\) suppose segmented electrodes prescribe \(f(\theta,\phi)\). Its coefficients are \(v_{\ell m}=\int Y_{\ell m}^* f\,d\Omega\). These have units of volts because the angular functions and solid angle are dimensionless. The radial equation \((r^2 R')'-\ell(\ell+1)R=0\) has solutions \(r^\ell,r^{-\ell-1}\). For an empty interior, regularity selects \(V_{\rm in}=\sum v_{\ell m}(r/a)^\ell Y_{\ell m}\). For empty exterior decaying at infinity,
Nonuniform prescribed surface voltage requires electrically distinct electrode patches or a specified ideal boundary; one continuous metal conductor could not sustain that static variation.
Represent a tilted dipole in the laboratory frame
Impose \(f=V_0\hat{\mathbf p}\cdot\hat{\mathbf r}\) with \(\hat{\mathbf p}=(\sin\alpha,0,\cos\alpha)\). In the rotated frame with polar axis along \(\hat{\mathbf p}\) this is a pure \(m=0,\ell=1\) pattern. In the laboratory it is \(V_0[\cos\alpha\cos\theta+\sin\alpha\sin\theta\cos\phi]\). Using the explicit harmonics,
The sum of their squared magnitudes is \(4\pi V_0^2/3\), independent of tilt. The interior solution simplifies to \(V_0\hat{\mathbf p}\cdot\mathbf r/a\), giving uniform \(\mathbf E=-V_0\hat{\mathbf p}/a\). At \(a=40\) mm, \(V_0=2.0\) V and \(\alpha=30^\circ\), \(E_x=-25.0\) V/m, \(E_z=-43.3\) V/m. An axis-only fit would infer the correct axial component while losing the transverse one. A full vector field measurement at one interior point distinguishes the rotated dipole from a weaker aligned one.
Tie angular modes to an actual charge distribution
The addition theorem expresses \(P_\ell(\hat{\mathbf r}\cdot\hat{\mathbf s})=[4\pi/(2\ell+1)]\sum_mY_{\ell m}(\hat{\mathbf r})Y_{\ell m}^*(\hat{\mathbf s})\). Rotational invariance explains its structure: the sum is unchanged by simultaneous rotation of both directions, so it depends only on their angle. Put \(\hat{\mathbf s}\) at the north pole, where only \(m=0\) survives, and the proportionality constant follows from \(Y_{\ell0}\) and \(P_\ell(1)=1\). Checking \(\ell=1\) recovers the dot product of the two unit vectors.
Use the generating series \(1/|\mathbf r-\mathbf s|=\sum_{\ell\ge0}(r_<^\ell/r_>^{\ell+1})P_\ell(\hat{\mathbf r}\cdot\hat{\mathbf s})\). For an observation radius outside every source point, define \(q_{\ell m}=\int\rho(\mathbf s)s^\ell Y_{\ell m}^*(\hat{\mathbf s})\,d^3s\). Inserting the addition theorem into the Coulomb integral gives
Unlike boundary voltage coefficients, \(q_{\ell m}\) carries units C m\(^{\ell}\). At \(\ell=0\), \(q_{00}=Q/\sqrt{4\pi}\) and multiplication by \(Y_{00}\) returns \(Q/(4\pi\epsilon_0r)\), fixing the prefactor. At \(\ell=1,m=0\),
The two transverse coefficients reconstruct \(p_x,p_y\). Measuring the voltage coefficient at two radii can distinguish a decaying exterior multipole from a regular potential imposed by distant equipment, whose local expansion instead grows as \(r^\ell\).
Design an angular quadrature that measures the claimed coefficient
Uniformly spaced latitude rings do not have equal area. In angular integrals substitute \(u=\cos\theta\), giving \(d\Omega=du\,d\phi\). Equal spacing in \(u\) and \(\phi\) already avoids overweighting the polar caps. More accurate quadrature uses Gauss–Legendre nodes in \(u\) with their weights, combined with equispaced azimuthal samples for the Fourier factors. If a known angular pattern contains \(|m|\le M\), at least \(2M+1\) azimuthal samples are needed to distinguish these signed orders on a fixed ring. A higher order present in an unknown pattern can alias into the fitted low orders, so adding more sample angles and reserving independent test directions is informative.
A robust reconstruction checks the constant mode on \(f=1\), the total power \(\sum|v_{\ell m}|^2=\int|f|^2d\Omega\) for an exactly represented pattern, and the predicted angular field at withheld directions. With noisy overdetermined data use a weighted linear least-squares fit to the modes, including weights for sampling geometry or measurement uncertainty as appropriate. The two choices are physically different: one approximates an angular integral, the other quantifies independent noisy observations. State which objective your fit minimises. An angular reconstruction can predict a voltage while still having very poor sensitivity to high-order exterior source moments, whose signals decay rapidly with radius.
A displaced charge supplies an exact all-orders convergence experiment
Place a point charge \(q\) at \(s\hat{\mathbf z}\) within an otherwise empty sphere used as a measurement surface. At radius \(R>s\) the potential is \(q/[4\pi\epsilon_0\sqrt{R^2+s^2-2Rs\cos\theta}]\). The axial symmetry makes only \(m=0\) coefficients nonzero, giving the exact Legendre series \([q/(4\pi\epsilon_0R)]\sum_{\ell\ge0}(s/R)^\ell P_\ell(\cos\theta)\). This example exhibits the convergence parameter directly. It is the radius of the enclosing source relative to the measurement radius, not the magnitude of the charge or the number of sampled angles.
On the ray nearest the point charge, \(\theta=0\), every Legendre polynomial is unity. Truncation at order \(L\) there gives a geometric partial sum and a relative error exactly \((s/R)^{L+1}\) when compared with the exact voltage at that point. At \(s/R=0.40\), six retained orders \(\ell=0,\ldots,5\) leave 0.410% relative error. At \(s/R=0.85\) the same approximation leaves 37.7%. Achieving 1% in the latter case requires \(L+1>\ln(0.01)/\ln(0.85)=28.3\), so at least 29 orders. A claim that retaining through quadrupole always suffices has no physical meaning without an observation radius and a desired error.
On the opposite ray \(P_\ell(-1)=(-1)^\ell\), making the terms alternate. The absolute voltage error there has a smaller prefactor \(1/(1+s/R)\), in contrast to \(1/(1-s/R)\) on the near side. For this particular geometric series its relative error magnitude is still \((s/R)^{L+1}\), despite the alternating signs. At other angles the angular polynomial oscillations can produce much smaller error but not a uniformly improved bound. The simple inequality \(|P_\ell(u)|\le1\) gives an absolute bound \( |q|(s/R)^{L+1}/[4\pi\epsilon_0R(1-s/R)]\) for the entire angular surface. For an arbitrary signed source replace \(|q|\) by integrated absolute charge and \(s\) by a radius enclosing all source points. A nearly neutral distribution can have a small exact voltage at some angles, making any comparable relative bound much less informative.
Now rotate the point charge through polar and azimuthal angles \(\theta_s,\phi_s\) without changing its radius. The coefficient is exactly \(q_{\ell m}=q s^\ell Y_{\ell m}^*(\theta_s,\phi_s)\). Summing \(|q_{\ell m}|^2\) over \(m\) gives \(q^2 s^{2\ell}(2\ell+1)/(4\pi)\), by setting the two angular arguments equal in the addition theorem. This rotational invariant is a strong test of a numerical angular projection: a rotation changes individual complex phases, but the total power at each angular order remains fixed. Rotating a sensor array rather than the source should produce the equivalent opposite rotation of the fitted description.
A spherical split electrode drives an interior field without net charge
Construct a spherical boundary of radius \(a\) whose northern half is held at \(+V_0\) and southern half at \(-V_0\), separated by a thin insulating equatorial seam. In the mathematical limit take \(f(u)=V_0\operatorname{sgn}u\), \(u=\cos\theta\). The problem is axisymmetric and changes sign under reflection through the equator, so only odd \(\ell\) occur. Using the Legendre (rather than unit-normalised harmonic) coefficients, the series inside is \(V=\sum b_\ell(r/a)^\ell P_\ell(u)\), where \(b_\ell=(2\ell+1)V_0\int_0^1P_\ell(u)\,du\) for odd \(\ell\). There is no monopole, hence no change to the net charge when the two voltages are applied symmetrically in a symmetric environment.
The first two nonzero coefficients can be found without a general table. \(P_1=u\) gives
\(P_3=(5u^3-3u)/2\) integrates from zero to one to \(-1/8\), so \(b_3=-7V_0/8\). At the centre all terms with \(\ell\ge2\) have vanishing gradient, leaving an exact central field \(E_z(0)=-3V_0/(2a)\). Even though the electrode voltages jump abruptly at the equator, a single low-order coefficient determines this point measurement exactly. A finely resolved electrode charge density near the seam requires a very different number of modes and a model of the seam width.
Set \(a=30\) mm and \(V_0=2.0\) V. The central field is \(-100\) V/m. At \(z=0.20a\) on the northern axis, the \(\ell=1\) voltage contributes \(0.600\) V and \(\ell=3\) adds \(-0.0140\) V. The first omitted odd term scales as \((0.2)^5\) times its angular coefficient. At \(z=0.9a\) the same rapidly convergent two-term approximation is no longer trustworthy. A student can compare the actual surface voltages estimated from a truncated expansion to predictions at selected interior radii. A converged central field and a conspicuously rounded numerical step can coexist in the same exact analytic model.
For a finite insulating angular seam suppose instead the boundary interpolates continuously and antisymmetrically near \(u=0\). Only a thin band changes relative to the sign function. The dipole coefficient depends on \(\int f(u)u\,du\); the extra weight \(u\) suppresses the influence of perturbations concentrated around the equator. If the band spans \(|u|<\delta\) and the change in potential is bounded by \(V_0\), the dipole coefficient error is at most \(3V_0\delta^2/2\). High-order edge charge can nevertheless change markedly. This estimate shows how a real imperfection can have a small impact on one observable and a large impact on another. It also provides a quantitative tolerance when using the ideal split boundary to predict a centre-field calibration.
Separate material inside a measurement sphere from fields imposed outside it
A laboratory sometimes measures voltages on two concentric source-free spherical surfaces, without knowing whether the disturbance comes from an object inside both surfaces or from distant electrodes outside both. A single angular map determines the coefficient of each measured harmonic at that radius but cannot in general distinguish these two origins. In an annulus lacking sources, each angular component takes the radial form \(v_{\ell m}(r)=A_{\ell m}r^\ell+B_{\ell m}r^{-\ell-1}\). The regular term is compatible with external forcing, and the decaying term with sources inside the inner radius. Both are harmonic in the measurement shell.
For a single \(\ell=1\) component, denote its coefficient of an ordinary \(\cos\theta\) pattern by \(v(r)=a_1(r/R_1)+b_1(R_1/r)^2\), so \(a_1,b_1\) are voltages at the first radius. If two scans give \(v(R_1)=2.00\) V and \(v(2R_1)=1.30\) V, the equations are
Multiply the first by one quarter and subtract, giving \(a_1=0.4571\) V and \(b_1=1.5429\) V. At a third radius \(1.5R_1\) the predicted value is \(1.371\) V. A pure internal dipole would have returned 0.50 V on the second sphere, while a pure uniform external field would have returned 4.00 V. Fitting a single dipole to the first reading alone would grossly misdescribe the second.
For general order the determinant of the two normalised equations is \(t^{-\ell-1}-t^\ell\) with \(t=R_2/R_1\). As the two radii approach each other, this determinant tends to zero and the coefficients cannot be separated reliably. Increasing separation improves discrimination of the two radial powers up to the point where one component falls below the measurement noise or additional sources enter the annulus. The monopole case deserves separate attention: its growing branch is just a constant voltage offset, while its decaying branch reveals total charge. A voltage reference common to both scans is therefore indispensable when using their difference to infer monopole charge.
Suppose the field was measured rather than voltage. Radial field coefficients are \(-\ell A_{\ell m}r^{\ell-1}+(\ell+1)B_{\ell m}r^{-\ell-2}\). Measuring both radial field and voltage on one sphere can, in principle, supply the two independent equations needed to separate regular and decaying parts. For \(\ell=0\) the constant reference disappears from the radial field. An independently calibrated force probe then constrains total internal charge even when the voltmeter has a common offset. Numerically estimated radial derivatives from two very close voltage scans, however, share measurement errors with those voltages; treating them as two independent precise observations overstates the information gained.
A final issue is the coordinate origin. Moving it can create higher moments from lower ones for a nonneutral distribution. If the actual source is a displaced point charge and the coordinate origin shifts toward it, the series converges faster at a given observation sphere. If the charge distribution is unknown, choosing the origin solely to minimise apparent high-order coefficients can hide genuine structure or amplify noise. Record the physical origin of the measuring geometry, report withheld predictions, and compare the integrated monopole flux, which is independent of the choice of origin as long as the source remains enclosed. This separates a useful coordinate convention from an inferred physical symmetry.
Propagate measured boundary harmonics
Choose angular boundary data and examine its attenuation away from the spherical surface. Relate the relative loss of detail to harmonic degree.
Predict an angular sampling requirement before buying more probes
How many angular measurements are needed for a declared band limit?
A real boundary pattern is known, independently of the current measurement, to contain only harmonics with \(\ell\le3\). Count its real degrees of freedom. Design a separable quadrature that exactly projects such a pattern onto the same harmonics in exact arithmetic. Explain what can still go wrong when the true band limit was assumed incorrectly.
Derive and check the result
There are \(\sum_{\ell=0}^3(2\ell+1)=16\) independent real degrees of freedom. Sixteen arbitrary readings need not determine them: their locations must give a full-rank observation matrix. Equatorial-only data, for example, miss every axisymmetric odd pattern there. A straightforward overdetermined grid uses uniform azimuths and Gauss–Legendre nodes in \(u=\cos\theta\). For \(L=3\) use at least \(2L+1=7\) equally spaced azimuths so that differences \(m-m'\) up to 6 cannot alias a nonzero azimuthal difference into the constant component of a projection.
After that exact azimuthal sum, only equal \(m\) terms survive. Their products in \(u\) are proportional to \(P_\ell^m(u)P_{\ell'}^m(u)\). Each contains \((1-u^2)^{|m|}\) times a polynomial and is itself a polynomial of degree at most \(\ell+\ell'\le6\). A four-point Gauss–Legendre rule integrates polynomials through degree 7 exactly. Thus four latitudes times seven azimuths, 28 weighted samples, suffice to reconstruct all 16 coefficients for the declared band limit. Both polar caps are represented by quadrature weights; no point must lie precisely on either pole.
If the true field contains order \(m=7\), then \(e^{i7\phi}=1\) at the seven uniformly spaced azimuths starting at zero. Its azimuthal variation can masquerade as a constant on each sampled circle. A second scan shifted by half an azimuthal spacing flips the sign of this harmonic but preserves a true constant, exposing the alias. Unmodelled high latitudinal orders can similarly corrupt low coefficients through the finite radial quadrature. With noisy measurements evaluate withheld off-grid directions and report both the sensitivity to additional modes and the precision assumed in the protected low orders. An exactly integrating grid under a band-limit hypothesis is not a proof that the physical source obeyed that hypothesis.
Tutorial · derive a surface charge and test identifiability
Two spheres agree on their voltage patterns
The same prescribed \(v_{\ell m}\) is realised on an infinitesimally thin spherical electrode array between identical dielectric media of permittivity \(\epsilon\). Find the coefficient of its free charge density. Which integrated measurement isolates the monopole?
Work through the solution
The interior and exterior radial derivatives on \(r=a\) are \(\ell v_{\ell m}Y_{\ell m}/a\) and \(-(\ell+1)v_{\ell m}Y_{\ell m}/a\). With outward normal pointing from interior to exterior, \(\sigma_f=\epsilon(E_{{\rm out},r}-E_{{\rm in},r})\), giving coefficient \(\epsilon(2\ell+1)v_{\ell m}/a\). A whole-surface integral of \(\sigma_fa^2d\Omega\) retains only the monopole since all nonconstant harmonics are orthogonal to \(Y_{00}\). For uniform boundary voltage \(V_0\), \(v_{00}=\sqrt{4\pi}V_0\) and total charge \(4\pi\epsilon aV_0\), the capacitance of an isolated sphere times voltage. High-order voltage components can instead demand strong local charge densities despite zero net added charge.
A ring of detectors misses an entire pattern
Twelve probes placed uniformly on the equator read zero voltage. Can this exclude a substantial \(\ell=1\) component? Give an explicit counterexample and a second configuration still invisible after adding a north-pole probe.
Work through the solution
A pure \(Y_{10}\) vanishes all along the equator, whatever its amplitude. A north-pole reading would detect it. But the real quadrupole proportional to \(\sin\theta\cos\theta\cos\phi\), corresponding to \(xz/r^2\), vanishes on both the equator and at either pole. An intermediate ring or a set of oblique directions is needed. Increasing the number of equatorial samples alone cannot resolve a lack of checks at other latitudes. Under a declared band limit compute the rank and singular values of the probe-by-harmonic matrix before interpreting a null reading as an absent multipole.
Further reading
Reconstructing a source from noisy voltage measurements
Electrostatic field theory and measurement
A forward electrostatic calculation can be unique and stable while the inverse problem constructed from it is unstable or nonunique. A scanned electrode, a finite collecting area and an explicitly chosen noise level make these statements experimentally testable.
Write down what the instrument actually measures
Pattern a long electrode at \(z=0\) with an unknown voltage \(f(x)\), periodic over length \(L\) for this model. The region above is homogeneous, charge free, and contains a sufficiently weak probe at height \(h\). For a Fourier component \(f_m e^{ik_mx}\), \(k_m=2\pi m/L\), the bounded harmonic solution at height \(h\) is \(f_m e^{-|k_m|h}e^{ik_mx}\). Treat the constant component according to the actual reference. Suppose the probe reports an average over a rectangular window of width \(w\) centred at \(x_j\), plus noise \(e_j\). For uniform probe sensitivity the forward relation is
The exponential is physical propagation from boundary to probe; the sinc factor is averaging by the detector. The latter has exact zeros in this idealised model. For modes at those zeros no noise-free reading at the same width and height can recover the lost amplitude. More closely spaced scan positions increase the sampling bandwidth but cannot undo either such instrumental nulls or the exponential decrease of the true high-frequency signal.
A nonuniform probe shape replaces the sinc by its Fourier transform. Unknown height adds an additional calibration problem: increasing \(h\) and increasing high-frequency boundary amplitudes can yield the same readings if the amplitudes are unrestricted. Before inferring boundary detail, calibrate the probe width and decide whether height is known, measured with uncertainty or jointly estimated using an independent constraint.
A direct inverse amplifies uncertainty in predictable bands
In an ideal complete periodic scan the discrete Fourier transform separates resolvable modes. Let \(\widehat y_m=H_m f_m+\eta_m\). Inverting one coefficient gives \(f_m^{\rm dir}=\widehat y_m/H_m\) whenever \(H_m\ne0\). A perturbation \(\delta\widehat y_m\) becomes
With \(H_m=e^{-|k|h}\), the amplification grows exponentially with spatial frequency. The mode values can be uniquely determined in ideal noiseless data of infinite precision, yet the inverse is unbounded as increasingly fine modes are admitted. Finite data can additionally produce exact nonuniqueness.
For \(h=2.0\) mm and negligible aperture, boundary wavelengths 20, 10 and 4 mm have transfers \(0.533,0.285,0.0432\), respectively. With 1 mV noise in the measured amplitude of each Fourier component, inverse noise levels are \(1.87,3.51,23.1\) mV. A genuine 10 mV boundary ripple at wavelength 4 mm contributes only 0.432 mV at the probe, smaller than that noise. Plotting its raw inverted coefficient with a smooth line does not improve its information content. Reducing height to 1 mm raises that ripple's signal to 2.08 mV and changes the experiment's resolving power before any reconstruction choice is made.
Derive a regularised inverse and expose its bias
Assume coefficients are inferred separately and use a quadratic penalty. For each \(m\), minimise \(J_m=|H_m f-\widehat y_m|^2+\alpha^2 w_m^2|f|^2\) with positive weights \(w_m\) and positive regularisation parameter \(\alpha\). Splitting real and imaginary parts, or differentiating with respect to \(f^*\), gives
for zero-mean measurement noise. The reconstruction suppresses noise near a small transfer by introducing deterministic bias \( (W_m-1)f_m\). Its variance for known mode-noise variance \(s_m^2\) is \(|H_m|^2s_m^2/(|H_m|^2+\alpha^2w_m^2)^2\). Neither low variance alone nor a small data residual is evidence that a spatial ripple was recovered. Setting \(\alpha\) very large produces a smooth, nearly zero estimate regardless of the data. Setting it very small can reproduce noise almost exactly.
For \(w_m=1,\alpha=0.10\) and wavelength 4 mm in the example above, \(W_m\simeq0.157\). A true 10 mV ripple is estimated at only 1.57 mV on average. The inversion gain is about 3.64 rather than 23.1. At 20 mm, the same penalty retains 96.6% of the true amplitude. If the purpose is to quantify a short ripple, improving the experiment can be preferable to changing the penalty. A derivative penalty \(w_m\propto |k_m|\) encodes a stronger preference against fine structure; a constant mode must be handled separately if the voltage reference or the derivative penalty leaves it unconstrained.
What survives away from a uniform grid or simple geometry?
For arbitrary electrode shapes and detector positions, represent source or boundary data in a chosen basis \(f=\sum_j a_j b_j\). Solve the forward field problem for each unit coefficient and sample it exactly as the real probe would, giving matrix entries \(A_{ij}\). A noise covariance \(\Sigma\) weights the misfit through \(\|\Sigma^{-1/2}(A\mathbf a-\mathbf y)\|^2\). For an identity penalty apply the singular-value decomposition to the whitened matrix,
Each right singular vector is a source pattern; its singular value tells how strongly it appears in the whitened measurement space. Multiplication by \(U^*\) diagonalises the data misfit and reduces the problem to the scalar filters above.
A zero singular value means the chosen sensors are insensitive to an entire source combination. No choice of numerical precision or regularisation changes that observational fact. A small nonzero value means one needs sufficiently small noise and modelling errors to identify the corresponding component. A practical resolution matrix \(R=(A^*\Sigma^{-1}A+\alpha^2I)^{-1}A^*\Sigma^{-1}A\) maps a noiseless true coefficient vector to the regularised estimate. A column of \(R\) shows which neighbouring coefficients respond when one ideal source coefficient is present. Testing such impulse responses describes the reconstruction's spatial smoothing more honestly than quoting the spacing of its output grid.
Use withheld measurements and identifiable physical quantities
Reserve some independently measured positions, heights or probe widths. Fit the rest and use the recovered candidates to predict the withheld measurements by applying the forward operator. The test is more informative when the withheld observations have different sensitivity patterns. A second distant scan can verify low modes while remaining insensitive to every high-frequency ambiguity. A second close scan or a different probe width can fill modes attenuated or nulled by the first. Correlated calibration errors, such as one common voltage offset, should be modelled as such, rather than being counted as many independent observations.
A distinct nonuniqueness occurs when trying to infer an arbitrary three-dimensional charge density solely from exterior voltages. Take any smooth compactly supported potential \(g(\mathbf x)\) inside the source region whose value and derivatives vanish outside. Add \(\delta\rho=-\epsilon_0\nabla^2g\) to a candidate charge distribution. Its induced potential is \(g\) and therefore vanishes at every external detector. Unless additional sign, support or constitutive assumptions constrain the source, infinitely many internal distributions remain consistent with exact exterior data. This is stronger than amplification of measurement noise. Total charge from a closed-surface flux or low multipole moments can still be identifiable when the internal density is not.
See an ill-conditioned inverse in a two-source instrument
Two possible source patches sit symmetrically beneath two voltage probes. A calibrated forward response, in volts of probe signal per chosen source unit, is \(A=\begin{pmatrix}1&0.98\\0.98&1\end{pmatrix}\). Each patch affects both probes almost equally. The sum pattern \((1,1)/\sqrt2\) and difference pattern \((1,-1)/\sqrt2\) are orthonormal eigenvectors as well as singular vectors, with gains 1.98 and 0.02. The condition number is 99. The instrument localises total source strength much more reliably than it locates its division between the two patches.
Suppose the actual source vector is \((1,0)\). The predictions are \((1.00,0.98)\) V. A measurement perturbation \((+0.01,-0.01)\) V, though small compared with the signal, lies in the weak difference mode. The exact inverse interprets it as source error \((+0.50,-0.50)\), giving a reconstructed distribution \((1.50,-0.50)\). A common perturbation \((+0.01,+0.01)\) instead produces almost negligible source changes \(+0.00505\) each. A single rms error statistic for the voltage readings misses how their spatial correlation changes uncertainty in the reconstruction.
Use an identity Tikhonov penalty \(\alpha=0.10\). The response factors for the two true source directions become
In the absence of noise the estimated source from \((1,0)\) is approximately \((0.518,0.480)\). Both patches light up almost equally. This is the resolution matrix in action: the model predicts the observed voltages well yet cannot confidently identify which of the two patches generated them. Under the same opposite noise perturbation the additional reconstructed difference is only \(0.0192\) on each patch in opposite directions. A visually smooth result is reproducible but biased towards nearly equal strengths.
Add a third probe designed to respond as \((0.6,-0.6)\). This linear combination may be implemented physically by a differential electrode, so negative coefficients are meaningful. The squared singular gain of the old difference direction increases from \(0.0004\) to \(0.0004+2(0.6)^2=0.7204\), while the common gain is unchanged. The new difference singular value is 0.849, reducing the ratio of the largest to smallest singular values to about 2.33 if the three channels have comparable independent noise in the specified units. Adding another copy of the first common-sensitive probe would have been much less effective. Designing measurements against the weak singular vector can improve source resolution far more than collecting many redundant readings.
Separate numerical error from height uncertainty and unknown backgrounds
Return to a sinusoidal source with negligible aperture. If its true height is \(h\) but one divides by an assumed transfer computed at \(h+\delta h\), then even exact noiseless data return \(\widehat f/f=e^{|k|\delta h}\). For a 4 mm wavelength and positive height error 0.10 mm, the fractional amplitude bias is
Unlike random noise this bias does not shrink by averaging repeated scans at the same miscalibrated height. A 20 mm calibration pattern at that same error suffers only about 3.2% bias, so testing one long-wavelength standard need not guarantee short-wavelength accuracy.
For an unknown but stable boundary pattern recorded at two known relative probe heights, \(\widehat y_m(h_2)/\widehat y_m(h_1)=e^{-|k_m|(h_2-h_1)}\) for modes above noise when the aperture is unchanged. The source amplitude and common aperture factor cancel. This measures a relative vertical displacement but not the absolute height if the true boundary amplitudes are unknown. Add a calibration electrode of known voltage and wavelength, or an independently measured mechanical height, to determine the absolute scale. Near a sensor's aperture zero the ratio is exceptionally noise sensitive and should not be used for the height fit.
Consider also a slowly varying stray background produced by distant conductors. In a source-free layer of finite thickness a Fourier mode can contain both \(Ae^{-|k|z}\) and \(Be^{+|k|z}\). The growing term is excluded in a bounded half-space continued to infinity, but can represent a field launched from the upper boundary of a finite domain. For a single spatial mode measured at two heights one can solve a \(2\times2\) system for \(A,B\). Its determinant is \(2\sinh[|k|(h_2-h_1)]\), up to a sign fixed by the column order. As the two heights coalesce their rows become nearly dependent. A measurement showing unexpected height scaling may thus indicate the wrong outer boundary in the forward model rather than a faulty inverse algorithm.
A reproducible inverse analysis can be audited along three independent axes. First manufacture noise-free readings from a source whose exact forward voltage is known, then refine only the forward discretisation. Second add noise with a specified amplitude and covariance and repeat enough draws to estimate recovered variation in identified modes. Third perturb physical nuisance parameters such as probe width, height and background independently of the noise draws. For each stage state what quantity is being recovered: total charge, a few spatial coefficients, or a real-space image biased by a chosen penalty. These stages expose different error mechanisms even when they yield similar changes in a plotted voltage trace.
Build an exactly invisible internal charge perturbation
The general construction of a silent source can be made explicit for a spherical support of radius \(a\). Pick a smooth interior potential perturbation \(g(r)=V_g[1-(r/a)^2]^3\) for \(0\le r<a\), and set \(g=0\) outside. At \(r=a\) both the potential and its first radial derivative vanish; its second radial derivative also approaches zero, avoiding unmodelled surface sheets. It is regular at the origin. Therefore \(g\) itself is the potential relative to infinity of the compact charge distribution \(\delta\rho=-\epsilon_0r^{-2}d(r^2g')/dr\). With \(x=r/a\), expansion gives
The perturbation is positive near the centre and negative in an outer band if \(V_g>0\). Its enclosed charge is
It vanishes at both ends of the radius interval and is positive at intermediate radii. Gauss's law outside then gives exactly zero electric field and the chosen reference gives zero exterior voltage. A numerical inverse recovering only zero perturbation from exterior data is observationally consistent with both the absence of charge and this particular structured distribution. Integrating the polynomial with its correct \(4\pi r^2dr\) weight confirms the exact zero total charge independently.
For \(a=20\) mm, \(V_g=0.10\) V, the internal centre voltage differs by 100 mV while every ideal exterior detector, no matter how accurately calibrated, records no difference whatsoever. At \(r=a/2\), \(g=0.0422\) V and the enclosed perturbation charge is \(9.39\times10^{-14}\) C. An internal measurement can therefore break this particular ambiguity. Moving external probes closer while keeping them outside the sphere cannot. Positivity restrictions on the total density can reduce ambiguity, but adding a sufficiently small signed perturbation to a sufficiently positive background can preserve nonnegativity of both candidate densities and still leave their exterior data identical.
This example suggests a practical way to report results when full source reconstruction is impossible. Ask whether the quantity of interest changes along a silent perturbation. Total charge and all external moments stay unchanged here, whereas the central voltage and internal charge profile change. A claim about total charge can be appropriate even when detailed shell-by-shell densities are not identifiable. Conversely a fitted compact central peak may depend on the chosen smoothness penalty or positivity constraints even when every reported exterior measurement is reproduced.
A multiscale numerical exercise can demonstrate the effect reproducibly. Discretise both \(g\) and its associated \(\delta\rho\), solve the independent forward Poisson problem, and evaluate internal and external probes. Coarse grids may show a small exterior signal if source deposition fails to preserve its neutral moments. Refine the source representation, plot the exterior residual separately from the interior voltage difference and compare with the analytic polynomial. A residual that tends to zero while the interior difference remains finite is the expected physical outcome. Using exactly the same discrete operator to manufacture data and to recover them can mask representation errors, so a second mesh, an analytic source integral or a differently implemented forward solver is especially valuable.
See which part of a specimen electrodes can resolve
Compare two contact configurations and their sensitivity to a local material change. An accurate potential at the electrodes does not necessarily resolve the interior.
Can two independent estimates agree for the wrong reason?
Separate common uncertainty from independent noise in two height scans
A probe measures a 10 mm wavelength mode at heights 1.0 and 2.0 mm with negligible aperture. The two Fourier amplitudes are 5.34 and 2.85 mV, each with independent 0.10 mV random uncertainty, but they share an unknown common voltage gain. Estimate the boundary amplitude and its random error under unit gain. Decide what the agreement can establish about calibration.
Derive and check the result
The two transfers are
Each individually predicts about 10.0 mV at the boundary. For independent equal-variance amplitude noise, minimise \(\sum(y_i-H_i f)^2\). Its solution is \(f=(H_1y_1+H_2y_2)/(H_1^2+H_2^2)\), and random standard deviation \(0.10/\sqrt{H_1^2+H_2^2}=0.165\) mV. Simply averaging the two directly inverted amplitudes gives the noisier second inversion equal weight and hence a larger variance.
The measured amplitude ratio is about 0.534, as predicted by the additional 1 mm of propagation. A common multiplicative calibration factor cancels from this ratio. If the true voltage gain were 1.10, both unit-gain inversions would agree at about 10 mV even though the physical amplitude would be 9.1 mV. Repeated scans reduce the random uncertainty but cannot remove this systematic scale. A known reference electrode or independent calibrated voltage source is needed.
If instead both probes share a small additive voltage offset in every spatial sample, a full ideal Fourier analysis would place that constant entirely in the zero mode. Incomplete sampling, finite windows or background leakage can mix the offset into the fitted sinusoid. Including a constant nuisance term in a weighted least-squares fit is one way to test that effect directly. Identifying the form of a shared error is as important as quoting its magnitude: common gain, common offset and relative height uncertainty enter the inverse problem in different directions and respond to different calibration experiments.
Tutorial · compare an experimental redesign with a stronger prior
Resolve a window null without changing sample spacing
A voltage camera averages over \(w=4\) mm. A suspected boundary pattern has wavelength 4 mm. Find its measured transfer and propose a second window width that recovers sensitivity. Include the effect of a 1 mm measurement height.
Work through the solution
At equal aperture and wavelength the sinc argument is \(\pi\), giving zero. With a 2 mm window the aperture transfer becomes
Height attenuation is \(e^{-2\pi(1/4)}=0.2079\), so the combined transfer is 0.132. A 20 mV boundary amplitude therefore gives 2.65 mV in the second scan and exactly zero in the first idealised scan. Collecting more centres with the original width would still give zero. Calibrating the second aperture and its orientation is part of the forward model, especially near a sinc null where small geometry errors strongly change inference.
Choose a regularisation level by its permitted bias
For a mode with transfer 0.20 and unit penalty weight, require the mean reconstructed amplitude to retain at least 80% of the true value. Find the allowed maximum \(\alpha\). For 2 mV noise in the measured coefficient, compare inverse standard deviations with and without this penalty.
Work through the solution
Set \(W=0.04/(0.04+\alpha^2)\ge0.80\). This gives \(\alpha\le0.10\). At the limiting value the noise gain is \(0.20/(0.04+0.01)=4\), so the reconstructed noise standard deviation is 8 mV. Without regularisation the inverse noise is 10 mV. This modest improvement costs a 20% amplitude bias. The calculated tradeoff may or may not be acceptable for the physical question. Stating both numbers allows a reader to decide whether this experiment can support a claimed amplitude difference.
Further reading
Weighted least squares and residual diagnostics
Inverse problems and least squares
Derive the fitting criterion from measurement error and separate the uncertainty of an estimated mean from the scatter of a new observation.
From first principles
Derive the least-squares distance from the instrument noise
Suppose \(y=Ax+\epsilon\), with Gaussian measurement noise of zero mean and known positive definite covariance \(\Sigma\). Independent errors of unequal sizes should not count equally in raw units, and correlated errors should not be counted twice. Factor \(\Sigma=LL^T\) and multiply the model by \(L^{-1}\). The transformed noise has unit covariance,
For a candidate state, the negative log likelihood differs by a constant from half the squared norm of the transformed residual. This follows from the Gaussian density,
The likeliest state therefore minimizes ordinary squared residuals in these whitened coordinates. Solves with the triangular factor \(L\) preserve this interpretation without forming its inverse. If the covariance is estimated or state dependent, the stated probability model and resulting uncertainty estimates need to include that extra information.
Background · Whitened residual
For a known positive covariance this expresses mismatch in noise units and removes the modelled correlations between measurements.
Derivation and applications
Construct a model check that requires no fitted parameters
A residual can be compared with noise most cleanly when the particular combination of readings was forced to vanish by the model itself. Consider \(y=Ax+\epsilon\) with zero-mean noise of known positive definite covariance \(\Sigma\). Choose a nonzero contrast \(c\) satisfying \(A^Tc=0\). No value of the unknown \(x\) can change the predicted contrast because its mean is
Under a Gaussian noise model its standardized value is a unit normal random variable. Squaring it gives a one-degree-of-freedom discrepancy,
The corresponding fit interpretation follows by whitening \(b=L^{-1}y,\ B=L^{-1}A\). The vector \(u=L^Tc/\sqrt{c^T\Sigma c}\) has unit norm and is perpendicular to every column of \(B\). Thus every fitted residual has projection \(Z\) along the same direction,
When there is exactly one independent residual direction, equality holds for the least-squares fit. The contrast is a model check only to the extent that the covariance and zero-mean error assumption are justified. It identifies a combination of inconsistent readings, without uniquely locating a faulty sensor.
Worked example
Check an affine trend from three measurements
At times \(0,1,2\) a linear trend predicts zero second difference. Observations \(2,3,6\), each with independent standard deviation \(0.20\), give contrast \(2-2(3)+6=2\). Its standard deviation is \(0.20\sqrt6=0.490\), hence \(Z=4.08\) and \(Z^2=16.7\). Fitting the intercept and slope cannot remove that discrepancy.
Second application
Include a shared calibration mode in a conservation test
Three independent channels should satisfy a balance with contrast \(c=(1,1,-1)^T\). Suppose their independent errors each have deviation \(0.10\) and a common additive offset has independent deviation \(0.20\). Since \(c^T(1,1,1)^T=1\), the offset contributes \(0.20^2\) to contrast variance. For readings \(1.0,2.0,2.6\) the discrepancy is \(0.4/\sqrt{0.03+0.04}=1.51\) standard deviations. Dropping the shared offset would inflate it to \(2.31\).
A distance in data space depends on the instrument
Let \(y=Ax+\epsilon\) with zero-mean error of known positive-definite covariance \(\Sigma\). If the errors are jointly Gaussian, the negative log likelihood differs from \((y-Ax)^\mathsf{T}\Sigma^{-1}(y-Ax)/2\) only by constants independent of \(x\). This expression still defines a weighted least-squares criterion without normality. Correlated readings can vary together substantially while their difference is very precise; individually dividing them by standard deviations fails to capture that information.
Factor \(\Sigma=LL^\mathsf{T}\) and solve \(L b=y,\ L B=A\) by triangular substitution. Then \(b=Bx+\eta\) with \(\operatorname{Cov}\eta=I\); \(\|b-Bx\|^2\) is the original weighted distance. This is whitening. It also cures a units problem: residuals measured in different units are compared after division by their uncertainty scales. For truly independent readings of standard deviations \(s_i\), the transformation simply divides each row and response by \(s_i\).
Derive the projection and compute it without losing precision
Differentiating the squared norm gives
Thus \(B\hat x\) is the orthogonal projection of \(b\) onto the column space. For full column rank write a thin QR factorisation \(B=QR\) with \(Q^\mathsf{T}Q=I\). The minimiser solves \(R\hat x=Q^\mathsf{T}b\). Forming the normal matrix \(B^\mathsf{T}B\) instead squares its two-norm condition number. QR avoids this extra source of precision loss, though it cannot create information absent from the measurements.
Suppose two instruments measure one constant as 10 and 14 with independent standard deviations 1 and 2. The weighted mean is \((10+14/4)/(1+1/4)=10.8\), with standard deviation \((1+1/4)^{-1/2}=0.894\). The less precise instrument still contributes, but with one quarter of the weight. Giving it half the weight would confuse standard deviation with variance. If both instruments share an unknown calibration bias, the stated independence model overstates what averaging can achieve.
Background · Why can two whitening transformations give the same fitted curve?
A symmetric inverse square root and a triangular Cholesky solve generally give different coordinates for the whitened residual. Let both transformations \(W_1,W_2\) whiten the same positive definite covariance \(\Sigma\). Then the change of coordinates \(Q=W_2W_1^{-1}\) obeys
Whitened residual vectors are therefore related by an orthogonal transformation. Their squared lengths and hence their least-squares minimisers agree. Two individual whitened components can nevertheless have different magnitudes. If a diagnostic needs to identify which physical sensor was faulty, interpret its residual in the original measurement coordinates alongside the correlation model. A large component obtained after rotation cannot by itself identify a physical channel.
Work with residuals after fitting
The fitted whitened response is \(Hb\) with \(H=QQ^\mathsf{T}\), and residual \(r=(I-H)b\) has covariance \(I-H\). Consequently raw whitened residuals after fitting do not have equal independent unit variance. Observation \(i\) has leverage \(H_{ii}\); a high-leverage point can pull the fit toward itself and show a deceptively small residual. Under the stated model, \(\mathbb E\|r\|^2=m-p\) for \(m\) observations and \(p\) independent fitted coefficients. With Gaussian errors the sum has a chi-square distribution with those degrees of freedom. Plot signed residuals against input, time and sensor identity to look for omitted curvature, drift or serial correlation.
Uncertainty in a fitted trend and a future measurement
In the full-rank linear model \(\operatorname{Cov}\hat x=(B^\mathsf{T}B)^{-1}\). For the model mean \(c^\mathsf{T}\hat x\) the variance is \(c^\mathsf{T}\operatorname{Cov}(\hat x)c\); solve \(R^\mathsf{T}v=c\) to obtain it as \(\|v\|^2\). Predicting a future individual reading requires adding its independent measurement variance. This distinction matters when validating fitted response curves. A single point can legitimately lie far outside a narrow interval for the mean. When only relative weights are known, estimate a common variance scale from the residual degrees of freedom and state the additional assumption.
Separate common and independent errors before estimating a mean
Measurements made after one calibration often share a random offset. Write \(y_i=\mu+b+e_i\), where the common offset has mean zero and variance \(\tau^2\), and the individual errors are independent of one another and of \(b\), with variances \(s_i^2\). The covariance matrix is the diagonal matrix of individual variances plus the rank-one matrix \(\tau^2{\bf1}{\bf1}^T\). Consider any linear estimate \(w^Ty\) that reproduces an arbitrary constant, so that \(\sum_iw_i=1\). Its variance separates into \(\tau^2+\sum_iw_i^2s_i^2\). The first term survives every admissible choice of weights because the shared error is indistinguishable from the unknown mean within this set of readings.
Minimising the second term with a multiplier for the sum constraint gives
Normalisation yields weights proportional to the individual precisions, with variance \(\tau^2+1/\sum_i s_i^{-2}\). In particular, estimating the weights from the marginal variances \(s_i^2+\tau^2\) as if every reading were independent gives both an incorrect covariance and generally incorrect relative weights. This derivation uses only second moments. Gaussian assumptions enter if the standard deviation is subsequently turned into a normal-theory probability interval.
Decide whether to repeat a reading or recalibrate
A balance has a random calibration uncertainty of 0.30 g. The first reading is 12.40 g with individual standard deviation 0.10 g. The second, acquired during a shorter averaging window, is 11.90 g with individual standard deviation 0.20 g. The individual precisions are 100 and 25 per g², so the relative weights are 0.8 and 0.2. The estimate is 12.30 g. Its variance is \(0.09+1/125=0.098\) g², giving standard deviation 0.313 g. A long sequence of additional readings using this same calibration can only push that standard deviation toward 0.30 g.
The difference between these two readings removes both \(\mu\) and the shared offset. Its standard deviation is
The observed difference of 0.50 g is about 2.24 such standard deviations. That discrepancy is relevant to the model for individual readings and averaging windows. It supplies no direct evidence for or against a common calibration offset of a particular size, because that offset has cancelled algebraically.
What if the entire two-reading procedure is repeated after an independent calibration? Averaging the two independently calibrated group estimates gives variance \(0.098/2=0.049\) g² and standard deviation 0.221 g. Taking the same number of readings with one calibration instead gives variance \(0.09+1/250=0.094\) g². The choice of sampling protocol changes the uncertainty even when the balance, total reading count and individual variances are identical. If calibrations share an uncertain reference standard, independence between groups must itself be revised.
A separate reference mass weighed during each calibration provides another way to estimate a shared offset. Subtracting that reference reading removes the offset but also introduces the reference measurement error into every corrected value. The corrected readings are therefore correlated again, now through the shared reference. Their covariance should be recomputed from this modified measurement protocol.
Find a measurement floor that averaging cannot remove
Each reading has independent noise of variance one and the same additional zero-mean calibration offset. Repeating the measurement divides the independent variance by the number of readings. The calibration error is shared by every term in their average.

Read values from the plot
| Number of readings | Common calibration σ = 0 | Common calibration σ = 0.3 | Common calibration σ = 1 |
|---|---|---|---|
| 1 | 1 | 1.044 | 1.4142 |
| 26 | 0.19612 | 0.35842 | 1.019 |
| 51 | 0.14003 | 0.33107 | 1.0098 |
| 75 | 0.11547 | 0.32146 | 1.0066 |
| 100 | 0.1 | 0.31623 | 1.005 |
Change parameters · Find a measurement floor that averaging cannot remove
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.
How model error masquerades as a fitted physical parameter
Inverse problems and least squares
Project an omitted spatial effect into the fitted parameter space. Work out when residual checks reveal the omission and when they are silent.
A misspecified instrument
Suppose \(d=A x_*+b+\eta\), with zero-mean measurement noise and a deterministic but omitted contribution \(b\). Assume \(A\) has independent columns. Least squares gives
Taking expectations leaves the parameter bias \(A^+b\). The fitted residual is \((I-AA^+)(b+\eta)\). Thus the same model error separates into a component that biases the parameters and an orthogonal component that remains visible to residual checks.
For a single sensitivity column \(a\), decompose \(b=b_\parallel+b_\perp\), where \(b_\parallel=a(a^Tb)/(a^Ta)\). Repeating the measurement reduces independent random error; the deterministic projection remains. Error bars computed solely from measurement variance can become more misleading as more readings are acquired.
Calibration with an omitted offset
Fit \(d_i=m t_i\) at \(t=(1,2,3)\) to observations actually generated by \(d_i=2t_i+0.3\). The unmodelled constant has nonzero projection onto \(t\). The bias is \(0.3(1+2+3)/(1+4+9)=0.12857\), giving fitted slope 2.12857. The residuals at the three points are approximately 0.17143, 0.04286 and −0.08571. Their signed trend suggests a missing intercept. At \(t=6\) the model predicts 12.7714 while the actual law gives 12.3; an apparently modest training residual has grown into a substantial extrapolation error.
Now use a discrepancy exactly proportional to time, \(b_i=0.1t_i\). The fitted slope becomes 2.1 with zero residual at every training point. Additional times under the same model cannot separate the true slope from this contribution. A separate calibration that suppresses the extra physical effect can.
Rotate the missing physics
In a two-reading instrument, the model sensitivity is the unit horizontal vector. Vary the magnitude and direction of the omitted contribution. Observe parameter bias and visible residual separately, and locate cases with the same discrepancy norm but completely different fit diagnoses.
Tutorial on experimental design
Repeat the offset example at symmetric times \((-1,0,1)\). Which part of the fitted result changes?
Worked solution
The constant is now orthogonal to \(t\), giving zero slope bias. The residual is a constant 0.3 in every reading. The experiment has made an offset visible without corrupting the slope.
Can adding an unrestricted discrepancy parameter for every datum solve the identifiability problem?
Worked solution
It permits exact fits for any physical parameter by assigning the remaining signal to the discrepancy. Constrain the discrepancy from theory, independent data or a justified prior to extract the physical parameter.
Read the university treatment
Compare errors that project into a fitted singular direction with errors seen in the orthogonal data residual. Per Christian Hansen · Discrete Inverse Problems
Sampling, propagation and unresolved scales
Apply quadrature and spectral approximation to a real aperture, a decaying field and a radiated-power measurement. Look for an observed convergence rate and explain any plateau.
- Diffraction from the near field to the focal plane
- What can a mesh measure about a point charge?
- Separate diffraction from a finite observation window
- When differentiating a measured dipole invents radiated power
- Verification, refinement and local error
- What a periodic grid does to a decaying Fourier mode
- Diffraction as a Fourier transform
- How a grating separates wavelengths
- Scattering from a central potential and what angular data can recover
- Action, angle and the slowing clock at a separatrix
- What a momentum eigenstate means in a finite experiment
- How a turning point supplies the missing semiclassical phase
- Measure gravity with a pendulum of finite amplitude
Diffraction from the near field to the focal plane
Waves, radiation and relativity
An illuminated aperture is a boundary condition for a wave. A screen a millimetre away, an intensity camera at a lens focus and a microscope measuring an evanescent field sample different consequences of the same condition. We will derive operators for propagating the field, estimate the approximations each instrument makes and use energy and sampling checks to tell numerical structure from a measurable fringe.
How each spatial frequency propagates
Take a monochromatic scalar field with physical value given by the real part of \(U(x,y,z)e^{-i\omega t}\). This approximates one transverse component when the polarisation remains nearly uniform and angles are small. In a homogeneous transparent half-space it obeys the Helmholtz equation. Specify the complex amplitude in the plane \(z=0\) and require outgoing or decaying waves for positive \(z\). Fourier transform the two transverse coordinates, leaving a differential equation in the third.
Choose the root with positive real part for propagation and positive imaginary part for decay. Each propagating component advances in phase. Hence power integrated over a plane is unchanged for a paraxial beam with no absorbing aperture downstream. For angles approaching grazing incidence the weight for normal flux contains the direction cosine. Components with transverse wavenumber exceeding \(k\) decay exponentially. An aperture map thus contains structures invisible to a distant measurement even if the map itself is known exactly.
In vacuum a sinusoidal field structure of period 400 nm illuminated at 600 nm has \(k_x/k=1.50\). Its amplitude has fallen to \(1/e\) after \(1/(k\sqrt{1.5^2-1})=85.4\) nm. At 500 nm the remaining amplitude is 0.00287 and the squared amplitude is roughly eight parts in a million of its plane value. A numerical back-propagation that reinstates the original component also multiplies measurement errors by about 350. Improving detector gain does not restore the unknown phase.
A propagation kernel with a controlled phase error
For small transverse wavenumber, expand \(k_z=k-k_\perp^2/(2k)-k_\perp^4/(8k^3)+\cdots\). The first correction becomes a chirp in Fourier space. Completing the square in its inverse transform gives the Fresnel kernel. Write \(\mathbf r\) for a transverse observation point and \(\boldsymbol\xi\) for a point in the aperture.
This expression retains phase curvature across the aperture. The coefficient ensures that a spatially uniform boundary amplitude reproduces a uniform plane wave. An uncovered infinite plane is a useful test for a numerical convolution, although a finite computation needs padding or a truly periodic uniform test. A measured slit has sharp edges with broad spatial spectra, so peak error near an edge can exceed the error suggested by a small angle evaluated for the central lobe.
At an observation angle \(\theta\) a propagation distance \(z\) accumulates neglected phase of order \(kz\sin^4\theta/8\). For \(z=0.10\) m, \(\lambda=500\) nm and \(\theta=0.01\) rad this is 0.00157 rad. At 0.05 rad it is close to one radian. A faint sidelobe at a moderately large angle can require exact angular-spectrum propagation even while a paraxial estimate describes the central spot beautifully.
Which quadratic term can the far field lose?
Expand the kernel's square into an observation phase, a source phase and a bilinear term. Only the source phase can be dropped without changing the predicted intensity directly through that factor. For source radius \(a\) its maximum value is \(\pi a^2/(\lambda z)\). The remaining integral is the Fourier transform of the aperture at spatial frequencies \(x/(\lambda z),y/(\lambda z)\). Define the Fresnel number using the half-width \(a\). A convention based on full slit width gives a value four times larger.
For a uniformly illuminated slit of full width \(w=0.20\) mm at 532 nm and \(z=1.0\) m, \(N_F=0.0188\). Direct integration of the linear aperture phase gives
where \(\mathrm{sinc}(u)=\sin(u)/u\). The first zeros should be 2.66 mm either side of centre. The edge phase is 0.059 rad. Moving the screen to 30 mm gives \(N_F=0.627\) and edge phase 1.97 rad. Substituting the smaller distance in the far-field formula yields a number but no longer a controlled approximation.
Compare near- and far-field predictions in the slit integral
In that experiment reduce the mesh interval before moving the screen. If the exposed variable counts panels, doubling panels at fixed aperture halves the interval. A converged difference between the full and far-field integrals is a physical failure of the approximation. A feature that moves each time the number of source samples doubles is a numerical failure. Keep the same physical horizontal axis and the same normalisation when comparing adjacent screens.
From a circular pupil to a resolution measurement
When the pupil is a disk, polar coordinates considerably simplify the Fourier integral. Align the transverse transform vector along the horizontal axis. The angular average of \(e^{-iqr\cos\phi}\) defines \(J_0(qr)\). One radial integration, using \(d[uJ_1(u)]/du=uJ_0(u)\), then gives the result. Divide by the on-axis amplitude, proportional to aperture area.
At \(qa=0\) use \(J_1(s)\sim s/2\). The first zero is at \(qa=3.8317\). Hence a disk of diameter \(D\) has its first dark ring at \(\sin\theta=1.22\lambda/D\). Two mutually incoherent identical points contribute the sum of their intensities. Rayleigh's conventional separation places each peak on the first zero of its neighbour. A coherent pair instead has an interference term that depends on the unknown relative phase. The same separation criterion cannot predict its measured trough without that phase.
A 5.0 mm pupil on a 100 mm focal-length lens at 550 nm gives a first-zero radius of 13.4 micrometres on the focal plane. A camera with 6.5 micrometre pixels spans the full bright core with about four pixels. Fitting the central pixel alone to find the image position would depend strongly on whether the spot lay on a pixel centre or a corner. A joint fit to integrated pixel intensities can estimate a position more precisely than the image width when enough photons are detected. That precision describes one isolated spot and does not directly give a two-source resolution.
Why a lens puts the spectrum close at hand
A thin positive lens adds the quadratic phase \(-kr^2/(2f)\) to a field immediately in front of it. At the plane \(z=f\), this cancels the source term of the Fresnel kernel exactly within paraxial theory. The focal intensity therefore samples a Fourier spectrum even for a tabletop lens standing much nearer than the free-space far-field distance. The physical exit pupil remains part of the amplitude. Closing it removes high transverse spatial frequencies in an imaging arrangement and broadens the spot of a point emitter.
For illumination with Gaussian amplitude \(U\propto e^{-r^2/w^2}\), completing the transverse Fourier integrals gives another Gaussian, with focal-plane amplitude radius \(w_0=\lambda f/(\pi w)\) for a broad lens and an incident flat wavefront. If \(w=1.0\) mm, \(f=100\) mm and \(\lambda=633\) nm, \(w_0=20.1\) micrometres. This is the \(1/e\) field radius, also the \(1/e^2\) intensity radius. The Rayleigh length \(\pi w_0^2/\lambda\) is 2.02 mm. Moving a detector one Rayleigh length off the waist increases the radius by \(\sqrt2\) and halves its on-axis intensity for fixed total beam power.
Use the ray-bundle experiment to locate the geometric focus before estimating its diffractive width
From a point image to transmitted object contrast
A microscope may resolve individual test objects yet deliver very little contrast for a periodic specimen at a similar length scale. The reason is that incoherent imaging acts linearly on intensity, while coherent imaging acts linearly on field amplitude. Start with mutually incoherent object points. Their expected image intensities add, so the image is the convolution of object intensity with a nonnegative intensity point-spread function \(h=|h_A|^2\), where \(h_A\) is the coherent amplitude impulse response. The Fourier transform of \(h\), normalised to one at zero spatial frequency, is the optical transfer function. Its magnitude describes attenuation of a sinusoidal intensity modulation.
For a focused unaberrated system the coherent amplitude response in Fourier space is the pupil function. The convolution theorem applied to \(|h_A|^2\) shows that the incoherent transfer function is the pupil autocorrelation. For a clear circular pupil this amounts to asking how much two equal disks overlap as their centres separate. The overlap consists of two circular sectors minus their triangular parts. With normalised frequency \(s=f/f_c\) and incoherent cutoff \(f_c=2\,\mathrm{NA}/\lambda_0\) in object space, the result is
Here \(\lambda_0\) is vacuum wavelength and \(\mathrm{NA}=n\sin\theta_{\max}\). At \(s=0\) the disks coincide and the full mean intensity passes. At the cutoff their edges just touch and sinusoidal contrast vanishes. The coherent pupil transmits field spatial frequencies only through \(\mathrm{NA}/\lambda_0\). These two cutoffs answer different questions about different object and illumination statistics. A coherent phase grating viewed in exact focus can yield an almost uniform intensity image despite transmitting several field components.
For \(\mathrm{NA}=0.25\) at 550 nm, the incoherent cutoff is 909 cycles/mm. A sinusoidal target of 450 cycles/mm has \(s=0.495\) and \(M\simeq0.396\). An object with 0.60 sinusoidal intensity visibility is predicted to show about 0.238 before detector averaging. If the object-referred pixel width is 0.75 micrometres, rectangular pixel integration multiplies this contrast by \(\mathrm{sinc}(\pi fp)=0.823\); the recorded visibility is about 0.196. Nyquist frequency for this pixel spacing is 667 cycles/mm. Hence even some frequencies that the optics can transmit lie above the detector Nyquist limit and can alias back to lower apparent frequencies.
This prediction can be tested with an adjustable magnification while keeping entrance pupil and object fixed. Object-referred pixel width falls as magnification rises; a pixel-limited measurement should approach the optical transfer curve. Raising magnification also spreads light over more pixels, changing per-pixel count noise, so compare fitted contrasts with uncertainty. At frequencies where the ideal transfer is small, a high-contrast target and low read noise matter. Dividing by an arbitrarily small transfer function to sharpen the final image can turn noise into a convincing periodic pattern.
A pupil-phase error redistributes energy without absorbing it
Introduce a known defocus into a clear circular pupil. Let the phase relative to its centre vary as \(\phi(r)=\Phi r^2/a^2\). The on-axis focal amplitude is proportional to the pupil average of \(e^{i\phi}\), since all ideal contributions arrive in phase there. Integrate in polar coordinates and substitute \(u=r^2/a^2\). Relative to the perfect on-axis intensity the result is
This special-case Strehl ratio assumes a uniform pupil and pure quadratic defocus. Removing a phase piston makes no change to intensity. Expanding for small \(\Phi\) yields
The pupil-phase variance after removing the mean piston is \(\Phi^2/12\), which explains the leading connection between reduced peak intensity and wavefront variance without assuming that every type of aberration has the same pattern.
A quarter of a wave of centre-to-edge optical path error gives \(\Phi=\pi/2\) and \(S=0.811\). One half wave gives 0.405. In an ideal phase-only pupil the missing on-axis intensity appears elsewhere in the image; total transmitted power over a sufficiently wide observation plane is unchanged. Contrast this with an absorbing pupil that removes a uniform fraction of intensity everywhere. Measuring only the brightest pixel confuses the two. Measure integrated power over increasing radii and fit a spatial profile as well as a peak.
To turn this into an axial calibration, derive the edge phase from the distance mismatch. For a paraxial marginal ray in air making angle approximately \(\mathrm{NA}\), an axial shift \(\Delta z\) introduces a relative phase magnitude near \(k\,|\Delta z|\,\mathrm{NA}^2/2\). At \(\mathrm{NA}=0.10\), \(\lambda=500\) nm and \(|\Delta z|=25\) micrometres this is 1.57 rad, the quarter-wave case. With a larger numerical aperture use actual longitudinal wavevectors instead of the quadratic approximation and model polarisation where required. The formulas predict the same on-axis drop for positive and negative defocus. A single peak reading cannot give the sign of an axial misplacement; scanning through focus supplies that missing sign and can reveal an asymmetric aberration.
Distinguish aperture physics from quadrature error
Refine the aperture samples and vary their physical extent independently. A moving numerical null and a true diffraction minimum have different refinement signatures.
Worked optical problem · determine how much light fits into one Airy disk
Two groups compare image quality using respectively the peak intensity and the energy contained inside the first dark ring. Derive the encircled-energy fraction for a uniform circular pupil and obtain its value at the first ring. Would closing the aperture increase the useful energy fraction on a detector of fixed physical radius?
Integrate the radial intensity with its area measure
Write \(v=ka\sin\theta\), and use the small-angle focal-plane variable proportional to image radius. Focal intensity varies as \([2J_1(v)/v]^2\). The annular area element supplies a factor \(v\,dv\). Use \(J'_0=-J_1\) and \(J'_1=J_0-J_1/v\) to differentiate \(J_0^2+J_1^2\). The derivative is \(-2J_1^2/v\), giving the fraction inside radius \(v\) as \(1-J_0(v)^2-J_1(v)^2\). It tends to zero at the origin and to one at very large radius, which fixes the integration constants and normalisation without needing an absolute incident amplitude.
At \(v=3.8317\), \(J_1=0\) and \(J_0\simeq-0.4028\). The encircled fraction is therefore 0.838. The remaining 16.2 percent is outside the central disk even in a perfect ideal image. If the physical detector radius corresponded to this value before closing the pupil, reducing the pupil radius decreases \(v\) at the detector edge and therefore decreases the collected fraction. It also ordinarily reduces the total incident power transmitted by the pupil.
Peak-normalised plots rescale each pupil's image to one at its centre, which hides both effects. For a fair power comparison record the total incident flux, the pupil transmission and the energy on the fixed detector. A phase aberration or obscuration can leave the nominal first-zero position a poor boundary for comparing different pupils. The same physical encircled radius offers a reproducible metric in those cases, provided the beam centre and background are estimated independently.
A phase ramp moves a diffraction pattern without changing its shape
Illuminate a thin aperture with a tilted plane wave in the paraxial regime. At the aperture plane this multiplies its complex amplitude by a linear phase ramp. The Fourier shift theorem then moves the entire focal-plane amplitude by a transverse amount \(f\sin\theta_i\) along the tilt direction. Its intensity pattern retains its shape as long as the illumination envelope fills the pupil uniformly and the lens has enough acceptance. Tilting a narrow 532 nm beam by one milliradian in front of a 100 mm lens moves the pattern by about one tenth of a millimetre.
This provides a practical separation of phase tilt from aperture narrowing. A tilt moves both first zeros in the same direction, whereas changing the width of a centred slit moves the zeros apart or together. A position fit using one zero alone cannot separate these perturbations. Jointly fitting both zeros yields a mean position sensitive to tilt and a separation sensitive to width. A scanned detector with unequal position calibration on the two sides can mix the two observables.
For a spatially incoherent angular source, integrate intensities of the shifted patterns over the angular source distribution. An extended source then blurs zeros that would be sharp under one coherent angle. A coherent superposition of the same angular components instead requires adding the shifted amplitudes and can produce additional fringes. The illumination statistics determine which calculation describes the recorded image.
Tutorial · Distinguish a pupil defect from pixel integration
In a slit focal pattern the central lobe has one-sided first-zero distance 40 micrometres. An analyst samples precisely at that first zero using a centred pixel 8 micrometres wide and finds positive intensity. Estimate the finite-pixel fraction and propose a measurement that would expose an additional scattered background.
Show the pixel calculation and a discriminating test
Let \(x=x_0+s\), where \(|s|\) is much smaller than \(x_0\). The sinc amplitude near its zero is approximately \(-s/x_0\), giving intensity \(I/I_\mathrm{peak}\simeq s^2/x_0^2\). Averaging across a pixel of width \(p\) gives \(p^2/(12x_0^2)\), about \(3.33\times10^{-3}\). This estimate uses a flat response within each pixel and a sample centred on the true minimum. A two-micrometre centring error contributes about another 0.0025 at leading order.
Use magnification that doubles the first-zero distance in pixel units while keeping pupil and wavelength fixed. Pixel leakage at a centred zero should then fall by four relative to the peak. A background proportional to local scattered light may respond differently and a dark offset can be estimated from opaque-frame counts. Calibrate differing exposure and throughput, subtract dark counts prior to normalisation and fit both flanks to locate the true minimum.
Tutorial · Design a propagation-grid check
A 512-point transverse grid with 2 micrometre spacing represents an aperture at 600 nm. What angle can the grid represent? Could its periodically repeated boundary contaminate a nominal 0.08 rad bundle after 10 mm propagation, if the beam spreads from the centre? Explain two refinements that test distinct errors.
Show the angular and spatial budgets
Nyquist gives \(|k_x|\leq\pi/\Delta x\), hence
The 0.08 rad direction is resolved in principle, although modes near Nyquist would need a separate resolution study. Its lateral displacement over 10 mm is about 0.802 mm, larger than the 0.512 mm half-window even for a beam initially confined to its centre. A periodic FFT can therefore wrap light around into the opposite side.
Double the number of points with spacing fixed. This doubles the window while keeping the represented angular limit fixed. Then halve the spacing while doubling the number again to leave this enlarged window fixed and test transverse discretisation independently. Compare conserved flux, central intensity and the location of the first minimum, retaining absolute normalisation. Flux conservation in a periodic window can hold perfectly even when light has wrapped across its boundary. A plot of that single diagnostic would miss the contamination.
What can a mesh measure about a point charge?
Distinguish conserved charge and measurable exterior fields from a numerical peak that diverges as the source becomes more localised.
Ask three detectors different questions
Imagine three instruments looking at a small charged body in vacuum. One measures the voltage on a spherical probe outside it, one measures the integrated electric flux through a closed surface, and one estimates the largest electric field somewhere near the source. If the body is idealised as a point, which readings have finite limits? The distinction matters when a calculation displays a dramatic change in maximum field after a perfectly reasonable mesh refinement.
For a positive point charge \(q\), the exterior potential \(V=kq/r\) tends to infinity as the observation point approaches the source. Its radial field magnitude \(kq/r^2\) also diverges. Gauss's law gives a different answer for the flux through any sphere of positive radius:
A finite integral and an unbounded maximum are compatible. Knowing what the instrument measures determines which numerical output should be expected to converge.
Use a smooth source with a known answer
Replace the potential by \(V_a=kq/\sqrt{r^2+a^2}\), with \(a>0\) a distance. This is a particular physical regularisation. Differentiating before sampling gives
Divide the flux by \(q/\epsilon_0\). The putative enclosed-charge fraction becomes
To recover the corresponding density, differentiate \(qF_a(r)\) with respect to radius and divide by shell area. The terms involving \(r^4\) cancel, leaving \(\rho_a(r)=3qa^2/[4\pi(r^2+a^2)^{5/2}]\). This density is smooth, nonnegative and integrates over all space to \(q\), since \(F_a(0)=0\) and \(F_a(\infty)=1\). It has an extended tail. The parameter \(a\) is a smoothing scale rather than an outer radius where charge abruptly stops.
At \(r=a\) only \(1/(2\sqrt2)\), about 35.36%, of the charge is enclosed. At \(r=2a\) the fraction is about 71.55%. A common intuition that two smoothing distances already contain essentially everything fails for this distribution. Measure the probe radius in units of the source size before blaming the flux calculation.
Hold the observable fixed while refining
The exterior-field ratio relative to the true point charge is \([1+(a/r)^2]^{-3/2}\). At fixed physical \(r\), expanding the bracket gives \(1-\tfrac32(a/r)^2+O((a/r)^4)\). Thus a probe far enough away sees a second-order regularisation error. Locating the maximum of \(E_a\), however, requires setting \(a^2-2r^2=0\), giving \(r=a/\sqrt2\) and a peak proportional to \(1/a^2\). Refine \(a\) and move the observer with the maximum: the reported peak grows even as a fixed exterior probe reading converges.
Keep the probe at 6 mm and reduce \(a\) from 3 to 1.5 mm. The flux rises from about 71.55% to 91.31% of the point-charge value. Now instead halve both the probe radius and \(a\). The measured fraction stays the same. The two procedures have distinct limiting observations; writing “halve the mesh” without recording the source representation and probe definition would make the experiment irreproducible.
Use continuity as a numerical diagnostic
Suppose a code deposits a prescribed charge into nearby cells and then solves for a nodal potential. Summing deposited cell charges tests normalisation of the source. Summing outward face fluxes over a larger box tests a separate constraint on the computed field. A correct finite-volume implementation cancels interior face pairs. Interpolating a nodal field to a smooth plotting surface with an unrelated quadrature need not conserve the same discrete quantity. A box-flux test using the solver's own numerical face fluxes and a smooth-surface test using the reconstructed field answer complementary questions.
A second check concerns energy. For a true point charge the field-energy integral near the origin scales as \(\int_0 r^2(r^{-2})^2dr\), which diverges. For a body of radius \(a\) this short-distance contribution typically scales like \(1/a\). Comparing two source regularisations through their total self-energy without specifying a physical charge radius is therefore an ill-defined validation exercise. Interaction energy with a smooth distant field, in contrast, can have a well-defined point-particle limit.
Tutorial
How far from this smooth charge should a flux probe be placed to enclose 99%?
Work through the solution
Solve \([1+(a/r)^2]^{-3/2}=0.99\). This gives
The answer depends on the chosen source shape. A uniform finite ball would have a different exterior behaviour.
A code uses \(a=2h\) and reports the field one cell away, \(r=h\), on every refined mesh. What do you expect for its flux fraction and pointwise field?
Work through the solution
The fixed ratio \(a/r=2\) gives \(F=5^{-3/2}\simeq0.0894\) at every resolution. The field still scales as \(r^{-2}\) times that factor and grows like \(h^{-2}\). The observer is moving towards the singular source.
If total deposited charge differs from \(q\) by 2% independently of mesh size, can adjusting \(a\) cure the exterior result?
Work through the solution
At large radius the flux follows the total charge that was actually deposited. Changing width cannot repair an incorrect integral. Fix the source normalisation and cell-volume weights before interpreting a convergence slope.
Separate diffraction from a finite observation window
Recover the far-field angular spectrum of a smooth aperture, then isolate the errors from truncating and sampling the aperture field.
Begin with a transform that can be checked analytically
Consider a long slit system whose transmitted scalar field varies along one transverse coordinate \(x\). At a distant observation point in direction \(\theta\), a small aperture element accumulates an approximate relative phase \(-k x\sin\theta\). The Fraunhofer amplitude is proportional to \(\int A(x)e^{-2\pi i f x}\,dx\) with spatial frequency \(f=\sin\theta/\lambda\). The approximation neglects the quadratic phase across the aperture; either a suitable lens or sufficient propagation distance is needed. A numerical Fourier transform cannot cure violation of this optical assumption.
Take the ideal aperture field \(A(x)=e^{-x^2/w^2}\) and normalise far-field amplitude by its on-axis value. Integrating by parts or completing the square gives
One derivation avoids any complex contour: differentiate \(F\) with respect to \(f\) and replace \(xA=-(w^2/2)A'\). Integrating by parts gives
Solve this first-order equation with the measured \(F(0)\). Thus a wider beam on the aperture narrows the far-field distribution. Squaring the amplitude gives the intensity measured by an ordinary detector.
At \(w=1\) mm, the \(1/e\) amplitude spatial frequency is \(1/(\pi w)\simeq0.3183\) cycles/mm. For 500 nm light this is a small angle of \(1.59\times10^{-4}\) radians. An instrument calibrated in radians per millimetre rather than cycles per millimetre would need a factor \(2\pi\); stating the Fourier convention prevents that frequent scale discrepancy.
What the instrument has really sampled
A scanner covers \(-W\le x\le W\) and gives one amplitude at each of \(N\) equally spaced cell midpoints. The numerical transform is the weighted sum \(\Delta x\sum_j A(x_j)e^{-2\pi ifx_j}\), where \(\Delta x=2W/N\). By symmetry its imaginary part vanishes for a perfectly centred real Gaussian; the program sums the cosine projection. It normalises by the numerical on-axis amplitude, allowing us to compare shapes on a common vertical scale.
Two separate approximations have entered. Truncating the aperture multiplies the field by a rectangle. In frequency space this convolves the Gaussian spectrum with a sinc and can produce signed sidelobes. Sampling at regular intervals makes the spectrum repeat up to a phase convention, with alias copies separated by \(1/\Delta x\). Increasing \(W\) at fixed \(N\) reduces truncation but worsens sampling. Widening the field of view and adding more detector pixels are not interchangeable changes.
Design a convergence test with two axes
Keep \(w=1\) mm and select 40 samples. Compare \(W=w\) and \(W=3w\). The aperture field at the boundary falls from \(e^{-1}\) to \(e^{-9}\), so an apparent sidelobe associated with the abrupt window should decrease strongly. Next fix \(W=3w\) and lower the number of samples. The displayed Nyquist frequency falls as \(\Delta x\) grows. When a plotted point lies above it, a smooth-looking value is an aliased sample of the periodic discrete spectrum.
At \(W=2w\), a centred Gaussian retains the on-axis amplitude fraction \(\operatorname{erf}(2)\simeq0.9953\) if integrated exactly. The normalised plot hides this 0.47% loss at zero frequency. If absolute power calibration matters, repeat the experiment without normalisation and independently integrate \(|A|^2\) across the aperture. A shape comparison and a throughput comparison are different measurements, both meaningful.
Recover a size from a far-field measurement
Suppose a detector measures the intensity falling to one half at \(f_{1/2}\). Since \(I/I_0=e^{-2(\pi wf)^2}\), the inferred \(w\) is \(\sqrt{\ln2/2}/(\pi f_{1/2})\). For \(f_{1/2}=0.1874\) cycles/mm the radius is about 1 mm. If the instrument actually reported amplitude half-width the corresponding formula would have \(\sqrt{\ln2}\) in the numerator; the radius would differ by a factor \(\sqrt2\). The raw measured quantity and its threshold should accompany any quoted fitted radius.
A positive intensity cannot distinguish a negative sidelobe amplitude from a positive amplitude of the same magnitude. To observe the sign change shown by the finite-window amplitude curve, interfere the field with a phase reference. Conversely, when comparing with a camera image, square the signed numerical amplitude once and apply the detector pixel average. Comparing a real-amplitude plot directly with a recorded intensity array is an avoidable model mismatch.
Tutorial
How could one distinguish an intrinsic physical sidelobe from ringing produced by the scanner window without a known reference aperture?
Work through the solution
Increase the scanned width while keeping \(\Delta x\) fixed by adding samples. Window artefacts should change as the omitted tails shrink. Repeat with a different smooth weighting and report its effect on resolution. An intrinsic feature that survives these tests can then be compared against an independent physical model.
At \(W=3\) mm and \(N=24\), what spatial frequencies can be represented without aliasing, and what does adding zero padding do?
Work through the solution
\(\Delta x=0.25\) mm, so the Nyquist limit is 2 cycles/mm. Zero padding supplies more displayed frequency samples of the same discrete transform. It adds no measured aperture detail and cannot resolve aliasing already present in the original samples.
A beam shifted by \(x_0\) within a sufficiently wide window has the same far-field intensity. What information changes?
Work through the solution
Substituting \(x'=x-x_0\) in the Fourier integral multiplies its amplitude by \(e^{-2\pi i f x_0}\). The phase ramp records the displacement; the intensity is invariant. A truncated window may break this invariance by clipping different amounts of field.
When differentiating a measured dipole invents radiated power
Infer dipole radiation from a sampled displacement and show quantitatively why position noise can dominate a seemingly well-resolved power estimate.
From trajectory to a physically meaningful quantity
An electrically small source carries an oscillating electric dipole moment \(p(t)=p_0\cos\omega t\) in a fixed direction. In nonrelativistic electric dipole radiation, the total instantaneous far-zone power associated with retarded time is
The average over a single sinusoidal cycle is \(p_0^2\omega^4/(12\pi\epsilon_0c^3)\). The fourth power of frequency expresses a physical sensitivity, but a numerical second derivative can introduce a separate sensitivity to high-frequency measurement errors.
A sensor supplies moment or displacement samples at times \(t_j=jh\). If the source is a known rigid displacement \(x(t)\) of charge \(q\), then \(p=qx\). The constant conversion from moment to displacement cancels when comparing a numerical power with a reference power. We therefore scale amplitude by \(p_0\) and time by \(1/\omega\). The true acceleration trace is \(-\cos t\). Comparing it with the estimated acceleration before squaring reveals signs and phases that a power curve conceals.
Derive the frequency response of the differentiation formula
Use \(D_2p_j=(p_{j-1}-2p_j+p_{j+1})/h^2\). On a complex exponential \(e^{i\nu jh}\) the symbol is \(-4\sin^2(\nu h/2)/h^2\). Dividing its magnitude by the exact \(\nu^2\) gives a squared sinc factor. At a fixed physical frequency the error is quadratic in \(h\). For a signal oscillating in sign from one sample to the next, \(\nu h=\pi\), and the numerical second derivative multiplies its amplitude by \(4/h^2\). A numerical derivative smooths the very highest frequency relative to an exact high-frequency derivative yet still strongly amplifies the raw high-frequency component relative to a low-frequency physical acceleration.
Add a deliberately reproducible alternating error \(\epsilon(-1)^j\) to the position readings. Its acceleration error is \(-4\epsilon(-1)^j/h^2\). Squared and averaged over a complete even grid, the alternating error and the fundamental are orthogonal. Therefore the normalised inferred mean power becomes
=\left[\frac{\sin(h/2)}{h/2}\right]^4+2\left(\frac{4\epsilon}{h^2}\right)^2 .
The first term tends to one from below as sampling is refined. At a fixed per-sample alternating displacement amplitude the second grows as \(h^{-4}\). The experiment holds a particular *sampling-related* error fixed; it does not claim that all real noise changes frequency when the sampling rate changes. A fixed-frequency physical disturbance obeys the symbol at its own fixed \(\nu\).
A numerical example in which refinement hurts
For 32 samples per period, \(h=2\pi/32\simeq0.19635\), and a positional disturbance two parts per thousand of full amplitude gives a spurious acceleration peak about 0.2075 of the true peak. Position data plotted at ordinary scale can look nearly perfect. The normalised mean-square acceleration is already about 1.080. At 64 samples per period with the same alternating error the spurious acceleration amplitude grows fourfold, and its contribution to mean power grows sixteenfold.
Set the perturbation to zero first and verify the approach to one as the physical sinusoid becomes increasingly well resolved. Restore the perturbation and determine which combination of resolution and disturbance first incurs a ten-per-cent error. The error can initially decrease and later increase with sample rate. Choosing the estimate that happens to lie closest to one at a single resolution can hide a cancellation between physical-mode discretisation error and positive noise power.
Recover a physical model without claiming information you did not measure
If an independent measurement shows the source contains only one sinusoidal frequency, fit its sine and cosine coefficients to the positions rather than differentiating every neighbour. On a full uniformly sampled cycle these coefficients are orthogonal to the alternating offset. Multiplying the fitted phasor by \(-\omega^2\) gives the model-based acceleration. This can be a much more precise estimate, but it assumes other harmonics are absent or irrelevant. A weak physical second harmonic has an acceleration amplification of four and power weighting of sixteen relative to equal moment amplitude. Validate the assumed spectrum before suppressing it.
For broad-band signals one may fit a smooth basis with an explicit high-frequency cutoff or use a model of detector bandwidth. Record the chosen cutoff, its physical justification and the uncertainty propagated into power. Repeating the computation with nearby cutoffs is a test of robustness, not a derivation of the correct filter. Where possible, compare the inferred radiated energy with a distant calibrated flux measurement over the same retarded-time interval. These two measurements have different systematic errors.
Tutorial
Independent, zero-mean random sample errors have variance \(\sigma_p^2\). What is the variance in one centred second derivative and why need adjacent derivative errors not be independent?
Work through the solution
The weights are \(1,-2,1\) divided by \(h^2\). Independence of the original samples gives variance \(6\sigma_p^2/h^4\). Adjacent derivative estimates share two original samples with nonzero weights, so their covariance is generally nonzero.
A second physical harmonic has amplitude 5% of the fundamental. How much does it contribute to the total time-averaged electric-dipole radiation, assuming orthogonal harmonics over the record?
Work through the solution
Its acceleration amplitude relative to the fundamental is
Its mean power is \(0.2^2=0.04\) of the fundamental contribution, about 3.85% of their sum. A source spectrum small in displacement need not be equally small in radiated power.
Why must a measured power spectrum specify whether it represents one-sided or two-sided frequencies?
Work through the solution
A real signal contains conjugate spectral amplitudes at opposite frequencies. A one-sided positive-frequency spectrum usually combines their powers. Counting both after applying such a convention doubles the inferred variance and radiation power.
Verification, refinement and local error
Numerical partial differential equations
Use a manufactured solution to verify an implementation, estimate observed convergence and identify when adaptivity is needed for the physical quantity of interest.
From first principles
Derive the observed order and an extrapolated continuum output
Verification compares the discretized problem against a known solution or controlled refinement. Choose one scalar output \(Q\), the same geometry and the same physical observation point on each mesh. Assume a smooth leading error \(Q_h=Q+C h^p+o(h^p)\) on geometrically similar meshes, with refinement ratio \(r>1\). Subtract successive estimates to remove the unknown continuum output:
Their ratio approaches \(r^p\), provided the leading coefficient is nonzero. Solve for the order, then use the finest pair to remove the leading error term:
The ratio is meaningful only when a consistent leading error dominates. Differential changes of solver tolerance, geometry or timestep across the meshes can contaminate it. A manufactured solution independently tests discretization and boundary terms by inserting a chosen exact field into the differential operator and supplying the resulting source.
Background · Observed convergence order
Errors must refer to the same observable and norm. Cancellation, singular boundaries and a reference solution of insufficient accuracy can distort the result.
Derivation and applications
How the measured norm changes an observed convergence rate
A verification study may report very different rates for the same discrete field. Choose a fixed one-dimensional domain of length one, divided into cells of width \(h\). Suppose the solution is smooth away from an interface, where a nearby discontinuity, boundary approximation or reconstruction produces a localized error. Let the error magnitude be \(A h^\alpha\) on a fixed number \(m\) of cells near the interface, and at most \(B h^p\) elsewhere. The count \(m\) stays fixed under refinement. For a finite \(q\ge1\) use the physically weighted norm instead of an unweighted vector norm:
As \(h\) decreases the term with the smaller exponent decays more slowly. If the indicated leading magnitudes are actually attained, the corresponding rate of the norm is
The extra \(1/q\) comes from the shrinking physical measure of the affected region. It disappears in a maximum norm. A single signed integral of error can give still another result because opposite local errors cancel:
A convergence statement therefore requires the reported norm, physical location, and mesh sequence. If an interface stays at a changing subcell position as the grid is refined, the leading coefficient can vary; observed slopes from just two grids can then be misleading.
Worked example
Calculate three norms for a displaced step
Let one cell of a piecewise-constant reconstruction differ from the exact field by \(1.00\), with zero error elsewhere. At \(h=1/64\), the \(L^1\) error is \(1/64=0.015625\), the \(L^2\) error is \(\sqrt{1/64}=0.125\) and the maximum error is \(1.00\). Refining to \(h=1/256\) gives \(0.003906\), \(0.0625\) and \(1.00\). The measured rates are one, one half and zero for precisely the same displacement.
Second application
Compare cancellation with local accuracy
Suppose two adjacent cells at \(h=1/100\) have errors \(+0.500\) and \(-0.500\). The signed integral discrepancy is zero; the \(L^1\) error is \(0.0100\) and the \(L^2\) error is
Checking only total inventory would certify the output but miss the incorrect distribution. A local measurement or absolute-error norm verifies a different and often more demanding quantity.
Build a test with a known answer
Consider \(-\nabla\cdot(D\nabla u)+\kappa u=f\) on the unit square. Select the exact field \(u_\star=\sin(\pi x)\sin(\pi y)\) and prescribe its value at the boundary. Now choose \(D=1+x\), \(\kappa=2\), using coordinates normalised to a metre. Differentiation gives
The required source is therefore
The derivative of \(D\) is essential: inserting only the local value of \(D\) times the Laplacian specifies a different differential equation. Manufacturing a source tests whether the code solves the stated model and boundary conditions. Experimental validation asks a separate question about fidelity to physical observations. A polished plot resembling the exact field does not substitute for a numerical error measure with defined sample positions and units.
Read a three-grid study
On successively halved mesh spacings suppose the error in one norm follows \(E_h=C h^p+o(h^p)\). Taking ratios gives
Three grids provide two such estimates, indicating whether a consistent asymptotic trend is present. A single ratio may result from cancellation between terms of different order. State the norm, grid location, geometry representation, time step if applicable, and the residual tolerance. Comparing a cell average on one grid with a nodal peak on another can produce a meaningless rate.
For the variable-diffusion square, maximum nodal errors at 24, 48 and 96 intervals per axis are approximately \(1.33345\times10^{-3},3.33763\times10^{-4},8.34283\times10^{-5}\). The observed orders are approximately 1.998 and 2.000. The finest-grid algebraic residual is already far below the field error in its respective normalisation. Tightening the iteration tolerance alone will not remove the leading spatial defect. Raising the sine mode while holding the mesh fixed increases derivatives of the exact solution and tests a different resolution regime. Inspect the grid and mode experiment.
Decide where further resolution matters
A manufactured sine is smooth everywhere. Actual domains may contain a re-entrant corner, a material jump or a narrow source. Derivative bounds used in theoretical convergence estimates can fail locally there. Uniformly halving a two-dimensional mesh roughly quadruples the cell count while spending most new cells away from a localised feature. Local refinement attempts to concentrate new degrees of freedom where they matter to a chosen output. Which cells merit refinement depends on the equation, boundary data and the output being measured.
For a conforming finite-element approximation, one class of error indicators combines an element residual with jumps in normal flux across interior faces. The residual tests whether each element satisfies the differential balance, while the jumps measure disagreements between neighbouring reconstructed fluxes. In a constant-coefficient Poisson example, a piecewise linear solution can have zero elementwise Laplacian even when it bends globally; the slope changes then appear at interelement faces. An indicator using only the interior derivative would miss this information. Mesh-length factors and coefficient weights are necessary to combine the terms in a specific norm.
Finish a refinement study by tracking the physical observable itself. If the objective is integrated heat flow, a changing maximum pointwise gradient near one corner may have little influence on that integral. Conversely, apparently stable domain averages can hide an unresolved peak. Report observed change with resolution and an independent balance or analytic check, specifying exactly which quantity has been verified.
Choose cells to refine from residuals and flux jumps
A mesh-convergence table needs several complete solutions. To spend the next refinement locally, examine the equation that the present field still fails to satisfy. For \(-u''=f\) with zero Dirichlet endpoints, let \(u_h\) be its conforming piecewise-linear Galerkin solution. Integrating the error equation by parts on each cell \(K\) gives
The sum over \(z\) includes interior nodes only. Even when the cell derivative is constant and \(u_h''=0\) in each open cell, its jumps measure failures of flux continuity. Dropping these terms would miss part of the weak residual. Galerkin orthogonality lets us substitute \(v-I_hv\) for \(v\), where \(I_hv\) is a local conforming approximation. Local interpolation and trace estimates supply the mesh-length factors in an indicator. One conventional allocation on a uniform mesh is
The half shares a node between its two neighbors. An upper bound on the energy error involves the square root of the summed indicators and a mesh-independent constant. Efficiency estimates can also involve unresolved variations in the load. The indicator is a refinement criterion, not a measured cell error.
Spending one refinement near a source
On the two half-intervals let \(f=0\) on the left and \(f=4\) on the right. The central hat function integrates to \(1/4\) on the right, so the interior load is \(1\). Its stiffness is \(4\). The central temperature is \(1/4\). The cell slopes are \(1/2,-1/2\), so \(J=1\). The jump contributes \(1/4\) to each indicator squared. The source contributes zero on the left and \((1/2)^2(16/2)=2\) on the right. Thus the right cell accounts for \(2.25/2.5=90\%\) of the total. A bulk-marking rule targeting at least \(75\%\) marks this one cell.
An exact check explains the distinction between indicator and error. Integrating the differential equation gives the exact slope \(1/2\) throughout the left cell and \(1/2-4(x-1/2)\) on the right. The true squared energy error is zero on the left and \(\int_0^{1/2}(1-4s)^2ds=1/6\) on the right. The indicator assigns some weight to the neighbor because both cells share a flux jump. Its largest contribution nevertheless identifies the curved part of the field.
Check refinement at an identical location
Suppose a displacement is reported at the centre of a square. On an even grid that point may coincide with a node, whereas on an odd grid it can lie at the centre of a cell. Taking the maximum over mesh nodes produces a different sample on each grid. A refinement curve can then combine field discretisation error with the movement of the evaluation point. Choose a fixed physical point and evaluate each solution there with its own consistent interpolation, or compare a well-defined integral over the same physical region.
Similarly, compare gradients on compatible supports. Nodal averages of element stresses can look smoother than the individual element values, yet smoothing can alter extrema and convergence rates. Record the native support and any recovery operator. This makes an apparent improvement reproducible and gives students enough information to explain a discrepancy between two otherwise credible simulation reports.
Separate space and time with a crossed refinement study
Suppose a reported output has asymptotic error \(Q(h,k)-Q_\star=A h^p+B k^q\) plus smaller terms, with spatial spacing \(h\) and time step \(k\). Refining both coordinates in a fixed relation examines only one line across this two-dimensional error surface. Opposite signed contributions can cancel on that line. A genuine spatial order check uses several \(h\) at fixed sufficiently small \(k\), and a temporal check uses several \(k\) at controlled \(h\). When exact values are available, the individual error signs provide particularly clear evidence of cancellation.
A small crossed design with coarse and fine settings in both directions already offers a structural test. Denote its four outputs by \(Q_{cc},Q_{cf},Q_{fc},Q_{ff}\), with the first subscript indicating the spatial mesh. For an additive leading error the spatial change \(Q_{cc}-Q_{fc}\) equals \(Q_{cf}-Q_{ff}\). Their difference, \(Q_{cc}-Q_{cf}-Q_{fc}+Q_{ff}\), measures a mixed contribution or departure from the leading separated model. A small difference supports that model over the tested settings but cannot prove that the assumed orders are correct; additional refinement levels are needed to estimate orders from the data.
Recover a hidden temporal bias from four runs
Take a manufactured output \(Q=10+2h^2-k\). The benchmark value is ten. Choose \(h_c=0.2,\ h_f=0.1,\ k_c=0.1,\ k_f=0.05\). The four outputs are respectively \(9.98,\ 10.03,\ 9.92,\ 9.97\). At either time step, halving the spatial mesh reduces the output by 0.06. At either spatial mesh, halving the time step increases the output by 0.05. The mixed difference is zero. Refining both together moves the value by only −0.01, concealing spatial and temporal changes five or six times larger.
If the orders are independently known as \(p=2,\ q=1\), the fine-grid spatial bias is
The fine-time bias is
Subtracting both from the fine result gives \(9.97-0.02+0.05=10\), exactly recovering the limit in this idealised expansion. Choosing instead \(k=2h^2\) on every paired run would return exactly ten for every mesh, including a very coarse one. A convergence plot along that line would demonstrate cancellation rather than independent verification.
Explicit stability restrictions can make unrestricted crossing impractical. If a coarse time step is unstable on the finest spatial grid, choose a stable common range or use an implicit reference to isolate spatial error. Keep output locations, boundary representation and integration tolerances consistent across the crossed study, since changes in those other approximations can also enter the mixed difference.
A fifth run can interrogate the assumption that the fine-grid spatial change is asymptotic. At \(h=0.05,\ k=0.05\) the manufactured output is 9.955. The change from 9.97 is 0.015, one quarter of the earlier spatial change 0.06 at the same time step. This independent ratio supports \(p=2\) for the tested family; it does not distinguish a true zero cross term from a smaller mixed term below the numerical resolution.
Resolve a second spatial frequency on the same grid
Set the exact field on the square to \(\sin(m\pi x)\sin(m\pi y)\) and manufacture the corresponding source for diffusion coefficient \(1+x\) and reaction coefficient 2. Run the downloadable OneSimulation model with m = 1 and 2 on each grid. The boundary data agree, while the source and the exact interior curvatures change.

Read values from the plot
| Uniform intervals per axis | 1 half-wave per axis | 2 half-waves per axis |
|---|---|---|
| 8 | 0.012068 | 0.052561 |
| 16 | 0.0030008 | 0.012829 |
| 24 | 0.0013335 | 0.0056768 |
| 32 | 0.0007509 | 0.0031883 |
| 64 | 0.00018768 | 0.00079605 |
Download the OneSimulation model (Python)
Change parameters · Resolve a second spatial frequency on the same grid
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.
What a periodic grid does to a decaying Fourier mode
Numerical partial differential equations
A periodic diffusion solver predicts the shape of a sampled wave while its amplitude decays too slowly. Fourier analysis separates spatial differentiation error, an unresolved physical mode and errors caused by the time integrator.
Diagonalise the differential operator on the periodic interval
Use a dimensionless coordinate \(0\le x<2\pi\) and solve \(u_t=\kappa u_{xx}\) with periodic values and periodic derivatives. The complex exponentials \(e^{imx}\), with integer m, satisfy both conditions and are eigenfunctions of the second derivative. Put \(u(x,t)=A_m(t)e^{imx}\) and cancel the common exponential. The scalar amplitude equation is
Thus every cosine or sine mode decays by \(\exp(-\kappa m^2t)\), with no phase shift, while the m=0 mean is conserved.
On a uniform grid \(x_j=2\pi j/N\), the samples of \(m\) and \(m+\ell N\) agree for every integer \(\ell\). A discrete Fourier transform returns coefficients in one representative band. For the real cosine test with even N we can fold a positive physical mode into \(k=\min(r,N-r)\), \(r=m\bmod N\). A Fourier spectral Laplacian multiplies that coefficient by \(-k^2\). For a resolved mode it differentiates the trigonometric interpolant exactly, up to arithmetic. For unresolved data it differentiates the aliased representative; no operation using only those samples can identify the original m.
Apply the centred difference stencil to a single wave
The standard second difference is \((u_{j+1}-2u_j+u_{j-1})/h^2\), \(h=2\pi/N\). Put the grid wave \(u_j=e^{ikjh}\) into the stencil. Factor out the common phase and simplify with \(e^{i\xi}+e^{-i\xi}=2\cos\xi\). This gives the symbol and its small-h expansion:
The effective squared wavenumber is smaller than \(k^2\) for every nonconstant mode in the resolved band, so this spatial approximation decays too slowly if the time equation is integrated exactly. The error is modest when \(kh\ll1\), but at the Nyquist mode \(kh=\pi\) the ratio is
A stable time integrator cannot repair this spatial attenuation error without additional modeling. The experiment exponentiates both discretizations' symbols exactly, isolating space and sampling here.
Measure separate errors with the same sampled initial data
Choose \(\kappa=0.5,\ m=3,\ N=16\). The true squared wavenumber is 9 and the difference stencil gives 8.006. Starting at unit amplitude, at \(t=0.20\) exact and spectral amplitudes are 0.40657; finite differences give 0.44906. Doubling N to 32 changes the difference result to 0.41716. The absolute amplitude error falls from 0.04249 to 0.01059, a ratio of 4.01 consistent with the second-order expansion. This is a spatial-convergence study because time evolution introduces no truncation error.
Now take \(m=12,\ N=16\). Every sampled cosine equals the low mode \(k=4\) at \(t=0\). At \(t=0.02\), the continuum amplitude for the true physical mode is \(e^{-1.44}=0.237\), whereas the spectral grid predicts
A spectral computation can therefore agree exactly with its trigonometric interpolant and disagree strongly with the evolution of the intended signal. Sampling on a finer grid or obtaining prior bandwidth information resolves that ambiguity. The mean mode is particularly revealing when a nonconstant physical cosine aliases to a constant.
Start at mode 3 and successively double N from 8 to 32. Compute two amplitude-error ratios at the same time. Then use mode 12 on 16 points to observe an alias, and increase N until the Fourier grid represents the intended mode.
Tutorial · resolve a damping rate to a target tolerance
For a mode well inside the grid bandwidth, estimate the number of samples per wavelength needed for a relative error below 1% in the decay rate with centred differences. Test the estimate for \(m=2\). How could the time integrator contaminate a measurement of this spatial error?
Show the resolution estimate
Writing p for samples per wavelength gives
The relative rate error is approximately \((kh)^2/12\). Requiring at most 0.01 gives \(p\gtrsim18.14\); try 19 samples per wavelength, or \(N=38\) for \(m=2\). The exact ratio \([\sin(\pi/19)/(\pi/19)]^2\) is about 0.991. A forward-Euler step would replace exponential propagation by \(1-\kappa k_{\rm eff}^2\Delta t\). Its repeated-step error could partly mask the underdamping of the spatial stencil. Compare with the exponential of the discrete symbol before attributing a measured rate to space alone.
Further reading · Lloyd N. Trefethen, Spectral Methods in MATLAB · periodic grids, Fourier differentiation and downloadable programs
Check the discrete eigenvalue with OneSimulation
A spatial sine also diagonalises the five-point Dirichlet Laplacian on a square. Use the same modified wave-number argument in both coordinate directions. Run python poisson-mode.py --mode 2 --cells 8 16 32 and compare the observed nodal error with the discrete eigenvalue prediction in the CSV. This is a steady forced problem whose spatial operator can be checked independently of any time integrator. Download the OneSimulation verification model.
Diffraction as a Fourier transform
Derive the far-field pattern from a finite aperture and identify which features control its scale and its sidelobes.
From first principles
Sum the field across a uniformly illuminated slit
A distant screen receives contributions from across the whole aperture. Consider monochromatic scalar illumination normal to a long slit of width \(a\). In the far field, paths from two points separated by distance \(dx\) differ by approximately \(dx\sin\theta\) in direction \(\theta\). Distance-dependent amplitudes are nearly constant across the slit, leaving a linear phase variation. Put \(k=2\pi/\lambda\) and choose the origin at the slit centre.
Integrating the exponentials from the two edges and normalising to forward amplitude yields a sinc function. The central limit is one by continuity even though the displayed ratio takes the form zero divided by zero there.
Intensity is the squared magnitude of the coherent field sum. The first noncentral zero therefore occurs at \(a|\sin\theta|=\lambda\). Widening the slit narrows its central angular peak. For a general transmission profile the same weighted integral is its Fourier transform sampled at transverse wavenumber \(k\sin\theta\).
Open full-size diagram
Explore the related parameter study beside the computed figure.
Derivation and applications
Locate missing interference orders in a double slit
A pair of finite slits can erase an interference maximum even when the detector is perfectly aligned. Consider two identical uniformly illuminated slits of width \(a\), centre separation \(d>a\), and long dimension perpendicular to the observation plane. Assume coherent monochromatic light of wavelength \(\lambda\), scalar diffraction and far-field detection. At observation angle \(\theta\) define transverse spatial frequency \(q=2\pi\sin\theta/\lambda\). Each point at coordinate \(x\) contributes phase \(e^{-iqx}\). A centred slit therefore contributes
Translating a slit multiplies its transform by a phase factor. The two translated copies have centres at \(\pm d/2\). Add their fields, square the magnitude, and divide by the central intensity. The aperture width and slit separation now enter different factors.
The centres of the ideal two-point interference orders satisfy
Evaluate the single-slit envelope at those positions. The order disappears exactly when its location coincides with a noncentral zero of the envelope.
If \(d/a\) is a rational number, only those choices of \(p\) producing integer \(m\) erase interference orders. Finite width can also shift the actual maxima of the product slightly away from the nominal interference centres. The coincidence of a zero with an order centre remains exact in this ideal model.
Worked example
Explain an absent green fringe
Change the inputs and investigate this derivation.
Two slits 50.0 µm wide have centre spacing 200 µm. At \(\lambda=500\) nm the fourth order lies at \(\sin\theta=4\lambda/d=0.0100\). This is the first zero of the single-slit amplitude. A lens of focal length 200 mm would place that missing fringe about 2.00 mm from the centre. The first order samples an envelope factor \([\sin(\pi/4)/(\pi/4)]^2=0.811\).
Second application
Reconstruct slit dimensions from a pattern
Change the inputs and investigate this derivation.
A different apparatus uses 600 nm light and a 300 mm focal length. Near the axis, the measured nominal interference spacing is 0.900 mm, giving \(d=f\lambda/\Delta x=200\) µm. The first envelope zero lies 2.25 mm from the centre, giving \(a=f\lambda/x_1=80.0\) µm. Their ratio is 2.50. The first envelope zero lies halfway between two nominal orders, while the second erases order five at 4.50 mm.
Where a geometrical shadow breaks down
Illuminate a thin screen at normal incidence with a monochromatic plane wave of vacuum wavelength \(\lambda\) in air. Light transmitted through different parts of an opening reaches a distant observation point along slightly different paths. Their phases matter even where geometrical rays would draw a hard shadow. Use scalar diffraction, suited to features much larger than the wavelength and modest angles. Represent the complex field just beyond the screen by an aperture function \(A(x,y)\), incorporating amplitude and phase.
For a far-away observation direction \(\mathbf n\), the propagation distance from aperture point \(\mathbf r'\) is \(r-\mathbf n\cdot\mathbf r'\) to first order. Replacing the inverse distance in the wave amplitude with \(1/r\) while retaining this linear phase yields
The angular field samples a spatial Fourier transform. The neglected quadratic path term produces a phase of order \(\pi a^2/(\lambda r)\) for aperture half-width \(a\). The free-space far-field approximation requires this quantity to be small. A lens supplies a quadratic phase that creates the Fourier pattern in its back focal plane even at a practical laboratory distance.
Add the contributions of a uniform slit
For a very tall slit of width \(w\), study the horizontal cross-section. Uniform amplitude across the width gives an integral of the exponential between \(-w/2\) and \(w/2\). The result is \(w\sin u/u\) with \(u=\pi w\sin\theta/\lambda\). Taking squared magnitude and normalizing at the origin yields
The first zeros satisfy
A broader opening makes the central spot narrower because a smaller angular change suffices to accumulate a full cycle across it. The oscillating tails arise from the abrupt edges. A gradual transmission taper reduces those sidelobes at the cost of a wider central maximum. Peak brightness additionally depends on the transmitted amplitude and collection geometry.
Measure width in a focal plane
Illuminate a \(120\) μm slit with 600 nm light and use a focal-length 200 mm lens. In the paraxial focal plane \(X\simeq f\sin\theta\). The first minima occur at \(X=\pm1.00\) mm, giving a central width of 2.00 mm. At half that distance \(u=\pi/2\), so the intensity is \(4/\pi^2=0.405\) of its central value. These two measurements separately test angular scale and profile shape.
If the slit is moved sideways, the Fourier shift theorem supplies only a phase factor in the far field, and the intensity pattern remains centred in this ideal arrangement. If it is illuminated at a small angle instead, the incident field carries a linear phase across the slit and the whole pattern moves. This distinction becomes useful when diagnosing whether a displaced focal-plane spot comes from a decentered opening or a tilted incoming beam.
A narrow receiving slit or detector pixel also integrates across part of the pattern. If it straddles a predicted zero, it collects light from either side and reports a positive count even for perfect diffraction. Reducing detector width tests this averaging interpretation.
Observe an aperture before its far field forms
A finite opening can produce bright and dark features even on its axis as the detector moves away. Consider a uniformly illuminated circular aperture of radius \(a\) in an opaque thin screen. Use a monochromatic scalar plane wave and a paraxial on-axis detector at distance \(z\) large compared with \(a\), yet not necessarily large compared with \(a^2/\lambda\). At aperture radius \(r\) the extra path is \(\sqrt{z^2+r^2}-z\simeq r^2/(2z)\). The Fraunhofer approximation drops this quadratic phase; Fresnel propagation keeps it.
Relative to the unobstructed advancing plane wave, the on-axis field is proportional to \(\int_0^a (2\pi r/i\lambda z)e^{i\pi r^2/(\lambda z)}\,dr\). The factor \(r\,dr\) makes the substitution \(u=\pi r^2/(\lambda z)\) immediate. Using the free propagation normalization gives
Successive annuli adding half a wavelength of path alternately reinforce and cancel on axis. An even integer Fresnel number gives perfect cancellation in the ideal model. An odd integer makes the on-axis intensity four times the unobstructed value. There is no excess total power: interference redistributes light in the transverse plane. The result concerns local on-axis intensity at a specified distance rather than integrated transmission.
Predict successive axial extrema
Choose \(a=0.500\) mm and \(\lambda=500\) nm. Then
A detector at \(z=0.250\) m sees \(N_F=2.00\), predicting an axial null. Moving it to \(z=0.500\) m gives \(N_F=1.00\) and a fourfold maximum. The aperture-to-distance ratio is at most 0.002 in these two measurements, supporting the small-angle path expansion even though the far-field criterion is not satisfied.
At \(z=5.00\) m the Fresnel number is 0.100 and the exact Fresnel expression gives
Its far-field expansion is \((\pi N_F)^2=0.0987\), now within about one percent. This limit recovers the inverse-square on-axis intensity at fixed opening and incident irradiance. A real photodiode averages several transverse points, which can fill an axial null, and a broadband source averages slightly different Fresnel numbers. Repeating the axial scan with a smaller active area or a narrower spectral band tests which averaging effect dominates the observed minimum.
A complementary screen can help verify that the observed oscillations arise from aperture interference. Within the same scalar boundary approximation, replacing the circular opening by an opaque disk makes the two complex transmitted fields add to the unobstructed field. On axis the disk's normalized field is therefore \(e^{i\pi N_F}\) in this model, with unit intensity and a distance-dependent phase. A bright point behind an opaque disk may seem surprising from geometric rays, but neighbouring angles still redistribute the blocked power. Finite coherence, source size and a detector averaging over the narrow central feature can strongly reduce its measured contrast.
From Fresnel zones to a diffractive lens
The axial null from a clear circular opening results from destructive addition of neighbouring half-period zones. A zone plate reverses that outcome by deliberately blocking every other annulus. At desired focal distance \(f\), a ray from the edge of zone number \(m\) has path excess \(m\lambda/2\) relative to the centre. Solving \(\sqrt{f^2+r_m^2}-f=m\lambda/2\) gives
The approximation requires the outer zone radius to remain small compared with focal distance. Consecutive radii therefore grow approximately as the square root of zone number, and outermost zones are narrowest. Leaving odd zones transparent and even zones opaque removes contributions with the opposite phase at the design focus. Power is also distributed into other diffraction orders and an undiffracted background, so this simple plate does not concentrate all incident light into one focus.
Set \(\lambda=500\) nm and design for \(f=0.200\) m with twenty zones. The radius of the first zone is \(\sqrt{\lambda f}=0.316\) mm, and the twentieth radius is \(1.414\) mm. The width of that outer zone is \(\sqrt{\lambda f}(\sqrt{20}-\sqrt{19})=35.8\) μm, setting a fabrication scale substantially finer than the overall aperture. If the plate is used at 600 nm without changing its radii, its first-order focal length becomes
This shortening with increasing wavelength follows from the required relative phase and is an observable distinction from simply changing the clear aperture of a refracting lens. Scanning on-axis intensity at two colours tests both the zone layout and its predicted chromatic shift.
Which interference orders disappear under diffraction?
Two uniformly illuminated slits have width \(a\) and centre spacing \(3a\). The Fraunhofer field is the product of the single-aperture transform and a two-source phase sum. Normalise intensity at zero angle and use \(u=a\sin\theta/\lambda\).

Try it · Double slit
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Read values from the plot
| Slit width × sin(angle) / wavelength | Two identical slits, d/a = 3 | Single-slit envelope |
|---|---|---|
| −3 | 1.5196e−33 | 1.5196e−33 |
| −1.5 | 1.3676e−32 | 0.045032 |
| 0 | 1 | 1 |
| 1.5 | 1.3676e−32 | 0.045032 |
| 3 | 1.5196e−33 | 1.5196e−33 |
How a grating separates wavelengths
Derive the angular dispersion and resolving power of a finite grating and diagnose an order overlap.
From first principles
Derive a grating peak from equal phase steps
Take \(N\) equally spaced, equally illuminated grooves of pitch \(d\) under normal monochromatic illumination. Observe in the far field at angle \(\theta\) to the grating normal. Neighbouring positions produce a path difference \(d\sin\theta\). Ignoring the common single-groove envelope for the moment, each groove contributes an equal field with phase increment \(\delta\). Their sum is
The fields line up at \(\delta=2\pi m\), giving \(d\sin\theta=m\lambda\). The nearest zero requires an additional phase step of \(2\pi/N\). Convert that change to a small angle and compare with the angular separation of two neighbouring wavelengths at fixed order.
Equating the separations gives the ideal Rayleigh resolving power \(\lambda/\Delta\lambda=|m|N\) for nonzero order. It is the finite illuminated groove count that fixes the intrinsic width; optical aberrations, slit width and pixel sampling enter a measured line profile separately.
Derivation and applications
Convert an entrance-slit width into spectral broadening
An ideal grating can distinguish wavelengths separated by about \(\lambda/(mN)\) in order \(m\) with \(N\) illuminated grooves. A finite entrance slit adds another width because light from different points on the slit arrives at different incidence angles. Consider a slit of full width \(w\) in the focal plane of a collimator of focal length \(f_c\). Use small angular deviations around incidence \(\alpha\) and diffraction angle \(\beta\), both defined in the convention \(m\lambda=d(\sin\alpha+\sin\beta)\) for groove spacing \(d\). Differentiating at fixed wavelength gives
The angular interval incident on the grating is \(w/f_c\). A camera lens of focal length \(f_{\rm cam}\) converts the outgoing angular spread into a full image width \(W\) at its focal plane. Measure local displacements perpendicular to the central diffracted ray.
The second relation follows by varying wavelength at fixed incidence. Dividing the slit image width by this local dispersion gives the wavelength interval corresponding to the full geometric slit image.
The camera focal length cancels because it magnifies both the slit image and the spectrum equally. Actual recorded lines are convolutions of the projected slit, diffraction response and detector response. Their distinct width definitions must be retained when fitting line profiles.
Worked example
Identify the dominant width in a green spectrometer
Change the inputs and investigate this derivation.
For \(d=1.00\) µm, \(\alpha=0\), \(m=1\), \(f_c=100\) mm and \(w=50.0\) µm, the geometric width is 0.500 nm. At 500 nm, \(N=10{,}000\) illuminated grooves give a diffraction resolution scale of 0.0500 nm. The slit width corresponds to ten such intervals. Doubling the camera focal length would double the image width in pixels while leaving the geometric 0.500 nm wavelength interval unchanged.
Second application
Size a slit for an angled input
Change the inputs and investigate this derivation.
A separate instrument uses \(d=2.00\) µm, \(\alpha=60.0^\circ\), \(m=2\) and \(f_c=200\) mm. To obtain a full geometric spectral width of 0.100 nm, invert the result: \(w=m f_c\Delta\lambda/(d\cos\alpha)=40.0\) µm. At \(\lambda=600\) nm the grating equation gives \(\sin\beta=0.600-0.866=-0.266\), a physically accessible direction. This angle check matters when changing high orders or incidence settings.
Try it · Slit resolution
Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.
Interference across equally spaced openings
Illuminate \(N\) identical narrow slits separated by distance \(d\) with normally incident monochromatic light. In the far field every slit produces the same single-slit envelope. At observation angle \(\theta\) adjacent contributions differ in optical path by \(d\sin\theta\), so their phases differ by \(\phi=2\pi d\sin\theta/\lambda\). The array field equals the single-slit field multiplied by a sum of \(N\) unit phasors. Taking its geometric sum and squared magnitude gives the array intensity factor
At \(\phi=2\pi m\) the expression has a removable limit \(N^2\). Those directions satisfy the grating equation \(d\sin\theta_m=m\lambda\). Each peak collects contributions from all illuminated slits in phase. Some orders can nevertheless be faint or missing if the single-slit envelope is small or zero there. Transmission efficiency into a selected order thus depends on the groove or opening profile in addition to the grating period.
Dispersion and finite width
At fixed order different wavelengths peak at different angles. Differentiate the grating equation to obtain
A large angular dispersion aids spatial separation at the detector. To assess resolution, also compute the width of each peak. The adjacent zeros of the numerator lie one phase increment \(2\pi/N\) either side of the maximum. Converting the increment back to angle gives a one-sided width \(\lambda/(Nd\cos\theta_m)\).
Choose the conventional criterion that one wavelength's peak falls on the neighbour's first zero. Equate the angular separation due to \(\Delta\lambda\) to this one-sided width and obtain \(\lambda/\Delta\lambda=|m|N\). Broad illumination of a grating therefore improves the ideal resolving power even with unchanged dispersion. The derivation assumes uniform coherent illumination, collimation, adequate detector sampling, and an entrance slit narrow enough to preserve this diffraction-limited width.
A small spectrometer
A 600-lines/mm grating has \(d=1.667\) μm. A collimated 10.0 mm beam illuminates 6000 lines. At \(\lambda=600\) nm first order occurs at \(\arcsin(0.360)=21.1^\circ\). The ideal smallest separation is
The angular dispersion is \(6.43\times10^{-4}\) rad/nm. A camera of focal length 200 mm centred on that order maps a 0.100 nm change to about \(12.9\) μm near its axis. Detector pixels that are large compared with this separation reduce the measurable resolution.
At that same angle, 300 nm light in second order has the same value of \(m\lambda\). Increasing the beam width narrows both peaks without separating their centres. An order-selecting filter can restrict the allowed band before measurement. A second grating or prism dispersing perpendicular to the first can instead separate overlapping orders into different traces. This illustrates why calibration with only one visible line cannot certify the identity of every line in a wide-band spectrum.
Test the finite-array argument with the two-slit acoustic field. For two equally excited slits the array factor has its second positive-angle zero at \(d\sin\theta=3\lambda/2\). With \(d/\lambda=3\), predict \(30.0^\circ\) and compare with the sampled \(30.50^\circ\) at receiver radius 0.90 m. At \(d/\lambda=2\) predict \(48.59^\circ\). Compare the measured angle at both receiver radii to see how the finite observation distance affects the far-field limit.
Map overlapping orders in a high-order spectrometer
Using high diffraction order increases the ideal resolving power for a fixed number of illuminated grooves. It also reduces how much spectrum belongs unambiguously to a single order. Consider a reflection grating in a geometry where incidence and diffraction are on the same side of the normal in the usual grating-angle convention. The path difference between neighbouring grooves is \(d(\sin\alpha+\sin\beta)\), so peaks obey \(m\lambda=d(\sin\alpha+\sin\beta)\). In a Littrow setting the selected diffracted beam retraces the incident direction and \(\alpha=\beta=\theta\).
At fixed angle two wavelengths overlap exactly if \(m\lambda_m=(m+1)\lambda_{m+1}\). Solving for their separation gives \(\lambda_m-\lambda_{m+1}=\lambda_m/(m+1)\), approximately \(\lambda_m/m\) at high order. This is the scale of a free spectral range in wavelength. Combined with resolving power \(mN\) for \(N\) uniformly illuminated grooves, the number of independently resolved spectral elements per order is approximately \(N\). Higher order makes each element narrower while proportionately reducing the unambiguous range at a fixed spatial coordinate.
Real echelle gratings use inclined groove facets to redirect much of the reflected power into the chosen high orders. The groove spacing sets peak positions and order overlap; the groove profile sets an efficiency envelope. A second dispersive element ordinarily separates the superposed orders along another detector coordinate. Its angular dispersion can be lower than the primary grating's because it only needs to separate different orders, not resolve the closest spectral lines within one.
Design the spectral window at one detector position
Take groove spacing \(d=31.6\) μm, order \(m=100\) and central wavelength 550 nm. The Littrow relation requires \(\sin\theta=m\lambda/(2d)=55.0/63.2=0.870\), hence \(\theta=60.5^\circ\). Illuminating 1000 grooves gives ideal wavelength resolution \(550/(100\times1000)=0.00550\) nm. The wavelength in order 101 landing at the same position is
Thus the separation between these coincident-order wavelengths is 5.45 nm, about 990 resolution intervals.
A narrow-band filter passing 548 to 552 nm would reject that particular neighbouring order at the central position while retaining many resolvable lines near 550 nm. An instrument meant to record hundreds of nanometres at once needs cross-dispersion or several separate exposures. As incidence approaches grazing, simple angular-dispersion estimates can become very large, but finite beam footprint, usable groove count, diffraction efficiency and detector size limit the physical gain. Accounting for order separation, illuminated footprint and sampling is necessary before describing two nearby spectral features as resolvable in the laboratory.
A rough detector-format estimate follows directly from this example. If each independent spectral resolution interval requires at least two samples, one full free spectral range near the chosen order needs about two thousand useful pixels along the high-dispersion direction. That count ignores additional margins, optical distortion and the need to sample the entrance-slit profile adequately. The perpendicular axis must also have room for the traces of neighbouring orders and for a background estimate between them. Resolution, spectral coverage and detector format therefore impose independent constraints on what a single exposure can realistically measure.
Separate groove count from grating period
Keep the grating period and incident wavelength fixed. Adding \(N\) equal amplitudes as a geometric series gives a central peak whose first zeros occur at phase mismatch \(\pm 1/N\) in turns. Each plotted peak is normalised to its own height.

Try it · Grating
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Read values from the plot
| Phase mismatch per groove (turns) | 6 illuminated grooves | 12 illuminated grooves | 24 illuminated grooves |
|---|---|---|---|
| −0.22 | 0.048737 | 0.013993 | 0.0025368 |
| −0.11 | 0.1859 | 0.043145 | 0.012387 |
| 0 | 1 | 1 | 1 |
| 0.11 | 0.1859 | 0.043145 | 0.012387 |
| 0.22 | 0.048737 | 0.013993 | 0.0025368 |
Scattering from a central potential and what angular data can recover
Analytical mechanics from constraints to invariants
A detector records angles, whereas the force law refers to separations that were never directly observed. Derive the forward map from incoming impact parameter to angle, distinguish the several trajectories a detector may count in one angular bin, and invert sufficiently complete signed deflection data under stated hypotheses.
Build the deflection integral from a radial turning point
Use relative mass \(\mu\), asymptotic relative speed \(v_\infty\), incoming energy \(E=\mu v_\infty^2/2>0\) and impact parameter \(b\ge0\). With a central interaction that tends to zero at infinity, angular momentum is \(\ell=\mu v_\infty b\). For a single repulsive encounter let \(r_0\) be the closest approach. Energy gives
\(r_0\) is the outer turning root reached from infinity. Dividing \(\dot\varphi=\ell/(\mu r^2)\) by the radial speed and integrating over the outgoing half trajectory gives
The straight, free trajectory sweeps \(\Phi=\pi/2\) between closest approach and infinity and gives zero deflection. For repulsive bend away from the centre this sign convention gives positive \(\chi\). A weak attraction can give negative signed deflection even though a detector reporting the angle between incoming and outgoing velocities may supply only its magnitude. If the path winds by more than a complete turn, angular data modulo \(2\pi\) also lose winding information. The square-root singularity in the integral for an ordinary turning point is integrable. A substitution \(r=r_0+s^2\) makes the near-endpoint quadrature regular. A double turning point requires separate analysis because it can make the angular advance diverge.
Incoming trajectories with parameters between \(b\) and \(b+db\) represent annular area \(2\pi b\,db\) for an axially symmetric beam. At a detected polar angle \(\theta\) the solid angle of a ring is \(2\pi\sin\theta\,d\theta\). Conservation of incoming counts gives
The sum includes all incoming impact parameters reaching that angular bin. Correcting measured counts requires incident flux, target number, angular acceptance and efficiency. The formula is a density in solid angle. Its apparent divergence at an isolated angle need not imply an infinite number in a finite acceptance bin. Integrate the density against the actual bin solid angle or use the preimage areas of the bin directly.
Solve a hard sphere and an inverse-square repulsion
A hard sphere of effective exclusion radius \(a\) specularly reverses the incoming normal velocity at the impact surface. The angle between incoming and outgoing directions is \(\theta=2\arccos(b/a)\) for \(b<a\). Therefore \(b=a\cos(\theta/2)\),
The factors cancel to give \(d\sigma/d\Omega=a^2/4\), independent of polar angle, and total cross section \(\pi a^2\). Equal polar angular bins do not give equal counts: their solid angles differ by \(\sin\theta\). This geometric distinction often accounts for a measured histogram that does not look uniform even for a constant differential cross section.
For \(U(r)=K/r\) with \(K>0\), the orbit is a repulsive hyperbola. The analytic relation is
It can be derived from the energy and the angle through the deflection integral: put \(u=b/r\) so that \(\Phi=\int_0^{u_0}du/\sqrt{1-(K/Eb)u-u^2}\). Complete the square and evaluate the arcsine at the root to get
Define \(d=K/(2E)\); then \(b=d\cot(\theta/2)\),
High precision near the forward direction is physically limited by finite beam size, detector acceptance and any screening of the long-range interaction.
For \(d=2.0\,{\rm mm}\) in an abstract mechanical analogue, a deflection of \(60^\circ\) corresponds to \(b=3.46\,{\rm mm}\), and the differential cross section is \(16\,{\rm mm^2/sr}\). The cross section for deflections greater than \(60^\circ\) is the area \(\pi b^2=37.7\,{\rm mm^2}\). The differential value and integrated area answer different laboratory questions. Doubling energy at fixed interaction halves \(d\), quarters the cross section into a fixed angular interval and reduces the deflection at a fixed incoming \(b\). Measuring only a total count without specifying angular threshold is inadequate for a long-range interaction.
Recover impact parameter from angular counting under monotonicity
Suppose the deflection decreases continuously from \(\pi\) at \(b=0\) to zero at large \(b\). Integrating counts for all angles at least \(\theta\) then gives precisely the incident disk \(\pi b(\theta)^2\). The recovered map satisfies
Applying this formula to constant hard-sphere intensity gives \(b^2=a^2(1+\cos\theta)/2\), the geometrical result. It also exposes the information needed from a detector: a finite upper cutoff can leave the reconstruction with an unknown disk-area offset.
Failing monotonicity, the same cumulative counts give the total area of all incoming regions producing deflections above threshold, which can be a collection of annuli. No unique \(b(\theta)\) follows from that one number. Near a smooth extremum \(\theta(b)=\theta_r+c(b-b_r)^2/2+\cdots\), two branches contribute inverse square-root factors proportional to \(1/\sqrt{|\theta-\theta_r|}\). A finite bin contains finite counts because integrating that singularity gives a square root. Tagging the incoming impact parameter in a controlled beam or measuring trajectory time delay can separate branches invisible in a final-angle histogram.
Invert a signed deflection function at one energy
Assume smooth \(U(r)\) with \(\rho(r)=r\sqrt{1-U(r)/E}\) strictly increasing on the radial interval sampled by the trajectories. The turning condition is
Write \(W(\rho)=\ln[r(\rho)/\rho]\) and transform the deflection integral to \(\Phi=b\int_b^\infty[d\ln r/d\rho]\,d\rho/\sqrt{\rho^2-b^2}\). The term from \(d\ln\rho/d\rho\) gives the free angle \(\pi/2\); the remainder has \(\chi=-2b\int_b^\infty W'(\rho)\,d\rho/\sqrt{\rho^2-b^2}\). This is an Abel-type map. Multiply by \(1/\sqrt{b^2-s^2}\) and integrate from \(b=s\) to infinity. Interchanging the integrals produces the inner integral
Substitute \(b^2=s^2+(\rho^2-s^2)\sin^2\alpha\) to check the identity. With \(W(\infty)=0\) the inversion is \(W(s)=\pi^{-1}\int_s^\infty\chi(b)\,db/\sqrt{b^2-s^2}\). Recover \(r=s e^{W(s)}\) and finally \(U(r)=E[1-(s/r)^2]\) parametrically. This derivation explains the restrictions. A trajectory only samples radii outside its turning point, the signed angle must retain branch information, and the map to \(\rho\) must be single valued. Unknown large-\(b\) tails influence the integral even when only comparatively small radii are of interest.
Derive the weak-deflection formula from a straight incoming trajectory
When the deflection is small one can calculate the transverse impulse along the undeflected line before evaluating a nonlinear radial integral. Put the incoming velocity along \(x\) and the impact point at \(y=b>0\), so the unperturbed trajectory is \(x=v_\infty t\), \(r=\sqrt{x^2+b^2}\). The transverse force is \(-U'(r)b/r\). Dividing its time integral by the incoming momentum \(\mu v_\infty\) gives the signed leading deflection
The factor follows from replacing \(dt\) by \(dx/v_\infty\), using symmetry between positive and negative \(x\), and the identity \(dx=r\,dr/\sqrt{r^2-b^2}\). A decreasing positive potential gives a positive angle, consistent with repulsive scattering in the chapter's convention. The approximation neglects longitudinal momentum change at leading order; a finite speed change far from the interaction would also be inconsistent with elastic energy conservation. Near a turning barrier or for a large angle the original deflection integral must replace this straight path.
An analytically tractable finite-range model is \(U(r)=U_0\exp[-r^2/(2a^2)]\). Along the incoming straight line the transverse force is \((U_0 b/a^2)\exp[-(x^2+b^2)/(2a^2)]\). The Gaussian \(x\) integral gives
A central hit has zero transverse force by symmetry if the particle crosses through the weak smooth potential rather than being reflected. Distant particles see little interaction, so the deflection must peak at an intermediate impact parameter. Differentiation places the maximum at \(b=a\), with height \(\sqrt{\pi/(2e)}U_0/E\).
For \(U_0/E=0.10\) the peak is about \(0.0760\,{\rm rad}=4.36^\circ\), comfortably small for this leading calculation. Two impact-parameter families can contribute to one smaller nonzero angle. For example \(b=0.50a\) gives \(0.0553\,{\rm rad}\); a trajectory with \(b\) between \(1.5a\) and \(1.7a\) produces a similar deflection on the declining branch. A detector counting more events near four degrees may be recording the merging of these branches, rather than a particularly large local force at the turning separation. Reconstructing \(b(\theta)\) from monotonically accumulated disk areas would be invalid for this smooth repulsive bump even though every encounter is elastic.
Measure the energy dependence to distinguish the weak limit. For fixed \(b/a\) the leading angle scales as \(1/E\). Doubling energy halves the predicted peak angle. A finite spread of incident energies therefore broadens the observed rainbow before detector angular resolution is considered. A position-tagged incident beam can furnish \(\chi(b)\) point by point; a detector measuring final angles alone mixes weakly and more strongly penetrating paths. Adding incoming-position information changes what inverse problem is identifiable, without improving the detector's angular precision.
Limit a scattering inference using finite range and measurement bandwidth
The Abel reconstruction requires data to arbitrarily large \(b\). A finite experiment measures up to \(b_{\max}\), and the unmeasured tail contributes an integral to \(W(s)\). For the example of a known asymptotic \(\chi=C/b\), the tail from \(b_{\max}\) to infinity evaluates to \(C\,\arcsin(s/b_{\max})/(\pi s)\) for \(s<b_{\max}\). Substitute \(b=s/\cos\alpha\) to obtain this result. For \(s\ll b_{\max}\), it approaches \(C/(\pi b_{\max})\). Setting the tail to zero therefore introduces an offset across the reconstructed log-radius even at small \(s\). Bounded angular noise and uncertainty in the tail model should be propagated separately.
As a numerical illustration take \(C=5.0\,{\rm mm}\),
The missing contribution is about \(0.0160\), corresponding to roughly a \(1.6\%\) multiplicative error in reconstructed radius if other terms were exact. At that same \(s\), the leading whole weak-tail value \(C/(2s)=0.125\) would be biased appreciably by this omission. A model with a short exponential tail would give a quite different correction. Adding a physically motivated tail with an uncertainty range is more informative than extending a noisy measured curve by an unrestricted polynomial.
The lower integration endpoint has a square-root weight. Uniform samples in \(b\) can be wasteful near a selected reconstruction radius and coarse interpolation there can dominate the result. Substitute \(b=s\cosh u\) to obtain
The Abel integral becomes a straightforward integral of \(\chi(s\cosh u)\) over \(u\), with a finite upper limit if the data stop at \(b_{\max}\). This substitution removes a numerical singularity but adds no information about missing impact parameters. Validate a reconstruction by inserting its inferred potential back into the original forward integral and predicting angular measurements withheld from the fit. Agreement with the very data used in the inversion alone can conceal an incorrect tail or a misassigned branch.
Convert centre-of-momentum angles into laboratory angles
An ordinary collision experiment often launches a particle of mass \(m_1\) into a stationary particle of mass \(m_2\). In Newtonian elastic scattering the centre-of-mass speed is \(V=m_1v_{\rm in}/(m_1+m_2)\), while the projectile's speed in that frame is \(u_1=m_2v_{\rm in}/(m_1+m_2)\). Rotate that velocity by the centre-of-mass angle \(\chi\) in the scattering plane, then add the centre velocity back. The outgoing laboratory velocity components are \(V+u_1\cos\chi\) longitudinally and \(u_1\sin\chi\) transversely. Consequently \(\theta_{\rm lab}=\operatorname{atan2}(\sin\chi,m_1/m_2+\cos\chi)\). The centre-of-mass solid-angle density derived from the impact parameter does not transfer unchanged to a lab angular histogram.
If \(m_1=m_2\), the identity \(1+\cos\chi=2\cos^2(\chi/2)\) gives \(\theta_{\rm lab}=\chi/2\) except when the projectile stops and loses a well-defined direction. A heavy projectile can be restricted to a narrow forward cone. Let \(r=m_1/m_2>1\). Differentiating the laboratory angle gives
It vanishes at \(\cos\chi=-1/r\). At that angle \(\sin\theta_{\max}=1/r\); hence \(r=2\) limits the projectile to \(\theta_{\max}=30^\circ\). Two centre-of-mass angles can generate the same nonzero laboratory angle below this maximum. This laboratory-frame fold may appear even for a monotone centre-of-mass repulsive potential.
Energy helps separate the branches. The outgoing laboratory projectile energy divided by its incident energy is \([m_1^2+m_2^2+2m_1m_2\cos\chi]/(m_1+m_2)^2\). For \(m_1=2m_2\), head-on reversal in the momentum frame gives energy fraction \(1/9\), while forward scattering gives one. Both can land near the laboratory beam direction. A detector reporting angle only cannot distinguish a barely deflected fast projectile from a strongly deflected slow one emerging along almost the same line. Recording time of flight to a downstream detector or measuring the recoil supplies the missing information. Instrumental and kinematic multiplicity should therefore be addressed before attributing a two-branch angular signal to an exotic force law.
Ask what a flight-time measurement adds to angle data
At a given impact parameter choose a large comparison sphere of radius \(R\) enclosing a short-range potential. The transit time from its incoming boundary to the outgoing boundary is \(t_U(R,b)=2v_\infty^{-1}\int_{r_0}^R dr/\sqrt{1-U/E-b^2/r^2}\). The free reference at the same \(b\) is \(t_0=2\sqrt{R^2-b^2}/v_\infty\). Their difference is a classical time delay under a precisely specified pair of surfaces. It combines a different path length with the altered speed along the path. A repulsive barrier can cause either a shorter geometrical penetration or longer dwell near a turning point, so the sign cannot be inferred merely from the word repulsive.
For an impenetrable sphere of radius \(a>b\), the particle moves at free speed on each straight segment. The radial turning point is replaced by specular contact at \(a\), so \(t_{\rm hard}=2[\sqrt{R^2-b^2}-\sqrt{a^2-b^2}]/v_\infty\). The delay is \(-2\sqrt{a^2-b^2}/v_\infty\). Using \(a=3.0\,{\rm mm}\), \(b=1.8\,{\rm mm}\), and \(v_\infty=2.0\,{\rm m/s}\), one finds \(-2.4\,{\rm ms}\). The hard sphere takes less transit time between the two points where the respective trajectories cross the large sphere. Those points differ from the endpoints of the free line, so this negative delay implies no acceleration above the fixed free speed.
For a potential with a true long-range \(1/r\) tail the simple free-reference difference can acquire a logarithmic dependence on the comparison radius. A reported time delay then needs its reference geometry and tail model, just as a measured forward angle needs its angular acceptance. In the inverse problem, combining deflection and delay can help separate long dwell near a nearly unstable circular orbit from a large geometrical bend at an ordinary turning point. A large angle alone contains insufficient information to assign the time spent close to the scattering centre.
Reconstruct a finite-depth potential well from two deflections
A circularly symmetric square well provides a forward problem in which the trajectory is straight in each region and changes direction at the potential boundary. Let \(U(r)=-U_0<0\) for \(r<a\) and zero outside. A particle with \(b<a\) enters with speed \(v_\infty\) and travels inside at \(v_{\rm in}=v_\infty\sqrt{1+U_0/E}\equiv n v_\infty\). Angular momentum conservation across the radial impulse gives
where \(i\) and \(r_i\) are angles of the velocity to the normal outside and inside. Thus \(\sin i=b/a,\ \sin r_i=b/(na)\). At each crossing the direction bends toward the centre. The magnitude of net deflection is \(2(i-r_i)\), with negative signed deflection in the convention used for attraction here.
Take \(n=1.25,\ b=0.60a\). Then \(i=36.87^\circ\), \(r_i=28.69^\circ\), and the total deflection has magnitude \(16.35^\circ\). As \(b\) approaches \(a\) from below, the magnitude approaches \(2[\pi/2-\arcsin(1/n)]\), about \(73.7^\circ\). For \(b>a\) the trajectory does not touch the ideal sharp boundary and is undeflected. A smooth finite-width transition removes the ideal discontinuity at grazing incidence and can generate trajectories that linger near the outer part of the well. Examining a well with measured edge width is therefore different from trying to fit all grazing events with a perfectly sharp step.
If \(a\) is known, an incoming position tag and a measured deflection at one \(b\) determine \(n=\sin i/\sin(i-|\chi|/2)\), hence \(U_0/E=n^2-1\). The preceding numbers give
For an independently known \(E\) this determines the well depth. If \(a\) is unknown too, one angle supplies only one equation for two parameters. Multiple impact parameters, an independent threshold for entering the well, or a measured time of flight can supply the additional scale. Near \(b=0\) the deflection is approximately \(2(b/a)(1-1/n)\), so a series of very small impact parameters measures mainly that one combination; broad coverage is needed to resolve \(a\) and \(n\) individually.
The time inside the well is \(2a\cos r_i/(n v_\infty)\), because the interior chord has offset \(b/n\) and speed \(nv_\infty\). At the same \(b\), the time between intersections of the free path with the circle is \(2a\cos i/v_\infty\). For \(n=1.25,b=0.6a\), their ratio is \(\cos28.69^\circ/[1.25\cos36.87^\circ]\approx0.877\). The faster interior motion crosses a longer chord in less time. For grazing free paths the reference chord becomes very short and the comparison can reverse. Reporting which part of the trajectory the timing equipment resolves is therefore as important as measuring the dwell accurately.
Recover incoming annuli from scattering angles
Bin the exactly solvable hard-sphere reflection in polar angle and compare the integrated cross-section with the incoming geometric area.
Propagate uncertainties from a detector ring to an inferred force
Suppose \(N\) counts are recorded in an angular ring and the product of incident fluence, target count and calibrated efficiency is \(C\). The estimate of bin-averaged cross section is \(N/(C\Delta\Omega)\), with \(\Delta\Omega=2\pi[\cos\theta_{\rm low}-\cos\theta_{\rm high}]\) for full azimuth. Approximately independent counting events have fractional standard error \(1/\sqrt N\), but the fluence and efficiency create correlated scale errors across angular bins. When integrating bins to reconstruct \(b^2(\theta)\), a shared five-percent normalisation uncertainty does not shrink just because the number of angular bins grows. It propagates into an approximately \(2.5\%\) scale uncertainty in the recovered impact parameter.
For an ideal hard sphere, let an experiment integrate the area feeding angles greater than \(90^\circ\) and find \(14.1\pm0.7\,{\rm mm^2}\). Since this is \(\pi b(90^\circ)^2=\pi a^2/2\), the inferred radius is \(\sqrt{2(14.1)/\pi}=3.00\,{\rm mm}\) with uncertainty approximately \(0.075\,{\rm mm}\) for small errors. If the unobserved backward final ten degrees are simply omitted, an extra solid angle \(\Delta\Omega=2\pi[1-\cos10^\circ]\) is missed. Its small size for a smooth hard-sphere law can be estimated, but a general inverse analysis cannot assume that backward intensity is smooth without testing it.
Is multiplying each measured bin centre by the angular density there sufficient for a steep forward-scattering law?
Work through the solution
A finite bin measures an integral against solid angle, not the value at its centre. For a rapidly varying \(\sin^{-4}(\theta/2)\) density near zero, the lower-angle part of the bin can dominate its count. Use the exact preimage annulus \(\pi[b(\theta_{\rm low})^2-b(\theta_{\rm high})^2]\) or integrate the model numerically over the detector's angle-dependent efficiency. Repeat with narrower bins as a check. If the lower acceptance overlaps the direct beam, separate the unscattered population and account for its instrumental angular spread before assigning a cross section to small deflections.
Work directly in counts for a finite annular detector
For the repulsive inverse-square example take \(d=2.0\,{\rm mm}\) and a full-azimuth ring that accepts polar angles from \(55^\circ\) to \(65^\circ\). The expected incident area is \(\pi d^2[\cot^2(27.5^\circ)-\cot^2(32.5^\circ)]\), about \(15.4\,{\rm mm^2}\). Multiplying by an incident fluence of \(100\) particles per square millimetre and efficiency \(0.80\) predicts about \(1230\) counts. A Poisson fluctuation scale is then roughly \(35\) counts. The exact integral supplies a meaningful reference even when the plotting software reports a differential value at the centre of the bin.
Moving both angular boundaries one degree outward decreases the count because the repulsion sends fewer particles through larger angles. The change can be calculated by reevaluating the two cotangents, keeping the fluence and efficiency fixed. This sensitivity allows a calibration uncertainty in the angular zero to be propagated into a count prediction without treating it as a force uncertainty. If fluence is independently measured the dependence on \(d^2\) can then estimate the interaction scale. If fluence is itself unknown, a single count measures only their product; independent calibration or measurements across energies are needed to separate them.
Tutorial on inverse scattering
An incoming uniform beam scatters from a hard disk in three-dimensional impact geometry with effective radius \(3.0\,{\rm mm}\). What area feeds the polar bin from \(60^\circ\) to \(90^\circ\)?
Work through the solution
The accepted impact parameters run from \(a\cos45^\circ\) to \(a\cos30^\circ\). The difference of their squared radii is \(9(0.75-0.50)=2.25\,{\rm mm^2}\), giving area \(2.25\pi=7.07\,{\rm mm^2}\). Alternatively the bin has solid angle \(2\pi(\cos60^\circ-\cos90^\circ)=\pi\) steradians and differential cross section \(a^2/4=2.25\,{\rm mm^2/sr}\). The agreement checks both the Jacobian and the angular convention.
At large impact parameter a weak repulsion gives \(\chi(b)\simeq C/b\) with \(C\) a length. Use the inversion to identify the leading tail of the potential.
Work through the solution
Substitute \(b=s/\cos\alpha\) into the Abel integral. One obtains
Thus \(r\simeq s+C/2\) and \(U/E=1-e^{-2W}\simeq C/s\simeq C/r\). The potential tail is \(EC/r\). For the exact repulsive Coulomb result \(C=K/E\), matching the original \(K/r\). This check uses the weak-tail expansion at large radii only; continuing it to small radii would discard higher deflection terms.
A measured angular bin near a rainbow doubles in width towards its allowed side. By what approximate factor do its counts change if background is negligible?
Work through the solution
At a simple fold the angular density grows as the inverse square root of distance from the extremal angle. For a bin of width \(\Delta\theta\) starting at the fold, the integral scales as \(\sqrt{\Delta\theta}\) provided \(\sin\theta_r\) is nonzero and other weights are locally smooth. Doubling the width gives a factor \(\sqrt2\), unlike the factor two from a smooth background. Finite angular resolution rounds off the divergence and can obscure this scaling in very narrow bins.
Compare angular bins and conserved incoming area.
Fließbach's mechanics text treats trajectories in central fields.
Action, angle and the slowing clock at a separatrix
Analytical mechanics from constraints to invariants
A phase portrait contains enough information to extract a period by differentiating an area. Use that fact to build a clock for finite-amplitude pendulum motion, determine precisely where slow-parameter invariance fails, and distinguish a librating trajectory from one that makes complete rotations.
Turn a closed phase-space loop into an action variable
For a one-degree-of-freedom Hamiltonian \(H(q,p;\lambda)\) at fixed parameter \(\lambda\), take a connected periodic orbit of energy \(E\). Define its action by \(J(E,\lambda)=(2\pi)^{-1}\oint p\,dq\), oriented along the actual motion. The units are energy times time. A smooth family of nested librating loops has \(2\pi J\) equal to the enclosed canonical phase area. For circulation on a coordinate cylinder, such as an angle increasing through \(2\pi\), the integral still defines an action even though the loop winds around the cylinder. Its area interpretation and sign need a reference branch.
At fixed \(q,\lambda\), differentiating \(H(q,p(E,q))=E\) gives
Differentiating the action integral yields \(\partial_E J=T/(2\pi)\), because \(dq/\dot q=dt\) around the orbit. At ordinary turning points \(\dot q=0\), the derivative integrand has an integrable singularity while the two endpoints of the closed loop agree; one can justify the derivative using a local square-root coordinate. Inverting gives
If \(\theta\) is the angle conjugate to \(J\), the transformed Hamiltonian is \(E(J)\) and \(\dot\theta=\omega(J)\) is constant. This canonical angle generally differs from the geometric angle reported by a camera.
For a unit-mass harmonic oscillator the energy curve \(p^2+\omega_0^2q^2=2E\) is an ellipse. Its area is \(2\pi E/\omega_0\), giving \(J=E/\omega_0\) and a frequency independent of amplitude. One may take \(q=\sqrt{2J/\omega_0}\sin\theta,\ p=\sqrt{2J\omega_0}\cos\theta\), whose bracket is one. The position turns nonuniformly in coordinate space even though the phase angle advances uniformly. Under a slow change in \(\omega_0\), constant \(J\) predicts \(E\propto\omega_0\) and amplitude proportional to \(1/\sqrt{\omega_0}\). Constant action does not mean constant mechanical energy while work is performed by a changing spring.
Integrate the finite-amplitude pendulum
Let \(I=ml^2\), \(\omega_0^2=g/l\), and measure \(q\) from downward vertical. The Hamiltonian \(H=p^2/(2I)+I\omega_0^2(1-\cos q)\) has separatrix energy \(E_s=2I\omega_0^2\). For a libration of turning angle \(q_m<\pi\), define \(k=\sin(q_m/2)=\sqrt{E/E_s}\). The positive momentum branch is \(p=2I\omega_0\sqrt{k^2-\sin^2(q/2)}\). Set \(\sin(q/2)=k\sin u\). Evaluating four quarter-arcs of the loop gives
Here \(\mathsf K(k)=\int_0^{\pi/2}(1-k^2\sin^2u)^{-1/2}du\) and \(\mathsf E(k)=\int_0^{\pi/2}\sqrt{1-k^2\sin^2u}\,du\). To verify the first formula after substitution, note that \(k^2\cos^2u=(1-k^2\sin^2u)-(1-k^2)\). The transformed integral of \(k^2\cos^2u/\sqrt{1-k^2\sin^2u}\) splits exactly into the two quoted complete elliptic integrals. The period follows either by \(dq/\dot q\) or by differentiating the action. That independent check is useful when numerical differentiation of noisy action estimates amplifies sampling errors.
At small \(k\),
At \(q_m=60^\circ\), \(k=1/2\) and \(\mathsf K\simeq1.68575\), giving \(T/T_{\rm small}=1.0732\). A pendulum of length \(1.00\,{\rm m}\) then has period about \(2.153\,{\rm s}\), where the small-angle answer is \(2.006\,{\rm s}\). Timing ten periods rather than one helps resolve the accumulated difference. Measuring the arc amplitude from a projected image requires a geometric correction if the swing plane is tilted relative to the camera.
Approach the saddle from either side
At the upright position \(q=\pi\), the potential is maximal and the equilibrium is a hyperbolic saddle in phase space. Put \(q=\pi+s\) with small \(s\); the energy near the saddle is \(H\simeq E_s+p^2/(2I)-I\omega_0^2s^2/2\). For an orbit at \(E_s-\Delta E\), the time spent in a fixed small neighbourhood includes an integral proportional to \(\int ds/\sqrt{s^2-2\Delta E/(I\omega_0^2)}\). As \(\Delta E\) decreases, this develops a logarithm. Equivalently \(\mathsf K(k)\sim\ln[4/\sqrt{1-k^2}]\) as \(k\to1^-\). The separatrix encloses finite canonical area but its period is infinite. Hence \(\partial_EJ\) diverges although \(J\) itself remains finite.
On the positive rotation branch \(E>E_s\), set \(k_r=\sqrt{E_s/E}<1\). A period is the time for \(q\) to increase through \(2\pi\), so there is only one positive branch of momentum in its action integral. Direct integration gives
At very high energy, the potential is a small modulation and these formulas approach free-rotor values \(\sqrt{2IE}\) and \(2\pi\sqrt{I/(2E)}\). At the separatrix the positive rotation action approaches \(4I\omega_0/\pi\), half the limiting libration action \(8I\omega_0/\pi\). The two actions count different closed paths on a cylinder. The factor two is a topological change in the cycle, not a discontinuous jump in the mechanical momentum at a point.
Test slow conservation against the actual orbit period
To treat slowly varying parameters, define instantaneous action–angle coordinates for each fixed \(\lambda\). The generating function \(W(q,J,\lambda)\) acquires explicit time dependence when \(\lambda=\lambda(t)\), adding \(\dot\lambda\,\partial_\lambda W\) to the transformed Hamiltonian. Its angle dependence produces an oscillating \(\dot J=-\dot\lambda\,\partial_\theta\partial_\lambda W\). On a regular periodic orbit, the integral of an angle derivative over a cycle vanishes. If \(\lambda\) changes little during that cycle and there is no resonant complication, this cancellation explains why the action changes little on average. The requirement uses the actual orbit period at the chosen energy. Near a separatrix it cannot be justified merely by comparing a drive rate to the small-amplitude period.
Consider a parameter ramp lasting \(20\,{\rm s}\) for the one-metre pendulum. Near the bottom this covers about ten periods. For \(1-E/E_s=10^{-6}\), the asymptotic \(\mathsf K\simeq\ln4000=8.29\) gives a period of approximately \(10.6\,{\rm s}\), so the same ramp spans less than two cycles. Even longer ramps fail the scale separation sufficiently close to the saddle. If a varying parameter changes the separatrix area until it meets the trajectory, continued use of a single analytic action branch is especially unreliable. A trajectory can pass into circulation or return to libration depending on its phase and the ramp history.
Compute an action without measuring momentum continuously
Suppose a camera tracks one-dimensional positions over one full cycle, and velocity estimates are noisy. For a known position-dependent potential and calibrated mass, an independent measurement of the turning energy allows phase-area integration without differentiating the camera trace. On a bound orbit \(p_\pm(q)=\pm\sqrt{2m[E-V(q)]}\), so \(J=\pi^{-1}\int_{q_-}^{q_+}\sqrt{2m[E-V(q)]}\,dq\). One needs a potential calibration, both turning positions and a common energy datum. An additive constant in the potential cancels when \(E\) is shifted by the same amount. An unrecognised dissipative force makes the inward and outward energy profiles different and invalidates the assumed single closed energy curve.
Take a particle in the potential \(V(q)=a|q|\), \(a>0\), which can approximate opposed constant restoring forces away from a narrow central smoothing zone. Its turning displacements are \(\pm E/a\). Integrate on the positive half and use symmetry to find
Differentiating gives
The same period follows by constant acceleration: starting at rest at a positive turning point, the fall to the origin takes \(\sqrt{2mE}/a\), one quarter period. Agreement across a nondifferentiable potential cusp is a useful check that the action calculation handles the turning boundaries rather than requiring sinusoidal motion.
For \(m=0.10\,{\rm kg}\), \(a=2.0\,{\rm N}\), and \(E=0.20\,{\rm J}\), the amplitude is \(0.10\,{\rm m}\), action is \(0.00849\,{\rm J\,s}\), and period is \(0.400\,{\rm s}\). If the restoring strength \(a\) doubles slowly at fixed action, \(E\propto a^{2/3}\) increases by \(2^{2/3}=1.59\), while the turning amplitude shrinks by \(2^{-1/3}=0.794\). A harmonic-oscillator action rule \(J=E/\omega\) using a single measured frequency would be incorrect here: the actual \(E/\omega=ET/(2\pi)\) exceeds the action by a factor \(3/2\). The equality found for a harmonic oscillator follows from its linear energy–action relation and need not generalise.
Separate the angle accumulated during a cycle from the action it encloses
In a slowly modulated oscillator an almost constant action can coexist with a measurable phase error. Consider \(\ddot q+\omega(t)^2q=0\) with smooth positive \(\omega\). An approximate oscillation is \(q=A(t)\cos\Phi(t)\). At leading order \(\dot\Phi=\omega\). Cancelling the first-order sine term gives \(2\dot A\omega+A\dot\omega=0\), so \(A\sqrt\omega\) is approximately constant. The amplitude law reproduces conservation of \(E/\omega\) after averaging. The accumulated phase is \(\int\omega(t)\,dt\), which can change by many radians during a slow parameter cycle even if the initial and final frequency and action agree.
For \(\omega(t)=10[1+0.10\sin(2\pi t/T_r)]\,{\rm s^{-1}}\) and \(T_r=20\,{\rm s}\), integration over one full ramp gives \(200\,{\rm rad}\) of leading phase. The largest value of \(|\dot\omega|/\omega^2\) is only a few \(10^{-3}\). To first order the final amplitude returns to its initial value, but the position at the end is set by a phase that is generally not an integer multiple of \(2\pi\). A calculation that expects to return to its initial point after the parameter cycle confuses action invariance with angle closure. A small constant frequency calibration error, integrated over a long ramp, can dominate the final phase error while producing little amplitude error.
A sudden frequency switch gives an instructive opposite limit with exact phase dependence. At fixed \(q,p\), changing \(\omega_1\) instantly to \(\omega_2\) changes the action to \(J_2=p^2/(2m\omega_2)+m\omega_2 q^2/2\). Write the initial state at action \(J_1\) using the harmonic angle. Then
For a frequency doubling, the ratio ranges from one half at a passage through the centre to two at a turning point. For a uniformly sampled ensemble the average ratio is \(1.25\), although the pre-switch and post-switch Hamiltonians are both perfectly integrable.
An experiment can therefore test slowness by preparing the same initial action at different phases and comparing the distribution of final actions. A broad phase-dependent distribution for a rapid switch narrows as the ramp becomes slow on a regular family of tori. Near a separatrix a slow external ramp can still yield a broad distribution because the orbital clock itself stalls. The size of the instantaneous energy, measured without phase and the final Hamiltonian, does not distinguish these mechanisms.
Resolve a separatrix in time without integrating arbitrarily close to the saddle
At exactly \(E_s\), energy conservation gives \(p=\pm2I\omega_0\cos(q/2)\) on \(-\pi<q<\pi\). Choose the increasing branch passing through \(q=0\) at \(t=0\). Separation of variables in \(\dot q=2\omega_0\cos(q/2)\) gives
Therefore \(q(t)=4\arctan(e^{\omega_0 t})-\pi\),
This exact orbit approaches the upright saddle exponentially at both infinite endpoints. The two endpoints represent the same physical angle on the cylinder even though they differ by \(2\pi\) on an unwrapped plot.
The separatrix momentum falls to one tenth of its maximum after \(\omega_0 t=\operatorname{arcosh}10\approx2.993\). At \(\omega_0=3.13\,{\rm s^{-1}}\) that takes only \(0.956\,{\rm s}\). Reaching one hundredth takes \(\operatorname{arcosh}100/\omega_0\approx1.69\,{\rm s}\). The logarithmic increase in time per retained significant digit explains why an apparently captured upright state can simply be a trajectory very close to the saddle. Measuring angular velocity as well as angular displacement makes the exponential approach easier to distinguish from a truly stationary upright solution.
The phase area enclosed by both separatrix branches can also be recovered directly. Integrating their difference gives
Dividing by \(2\pi\) yields the libration limit \(8I\omega_0/\pi\) obtained using elliptic integrals. By contrast a trajectory winding once on the upper branch integrates only the upper momentum, giving half that value. Testing these two integrals on an unwrapped numerical phase trace can reveal a missing lower turning branch or a routine that silently wraps the angle before accumulating \(p\,dq\).
Find a frequency directly from noisy orbital areas
Suppose a calibrated experiment measures the phase areas \(A(E)=\oint p\,dq\) at several energies. With \(J=A/(2\pi)\), the identity \(dA/dE=T\) says that an area-versus-energy slope directly has units of time. Take three close energies \(0.09,0.10,0.11\,{\rm J}\), with measured areas \(0.180,0.202,0.225\,{\rm J\,s}\). A central difference gives \(T\simeq(0.225-0.180)/0.020=2.25\,{\rm s}\) at the centre. If each area has an independent uncertainty \(0.001\,{\rm J\,s}\), the propagated standard uncertainty of that difference is about \(0.071\,{\rm s}\), before accounting for energy uncertainty and curvature of \(A(E)\).
Decreasing the energy spacing would reduce smooth finite-difference bias but amplify the effect of those same area errors. A local fit over several energies can trade variance against the assumption of a smooth slope. Near a separatrix the actual slope varies rapidly, so a wide polynomial fit may smooth away precisely the period increase being sought. Compare with direct return times at selected energies, or fit the logarithmic form justified by the saddle expansion when the orbit is demonstrably in its asymptotic regime. A measured phase area can be highly accurate while an inferred frequency remains poorly constrained because it is a derivative.
A practical area estimate from ordered camera samples uses the polygon formula \(\tfrac12\sum_i(p_i+p_{i+1})(q_{i+1}-q_i)\), including the return to the initial point with a consistent sign. Very long time sampling can overrepresent the slow turn neighbourhood but need not corrupt a properly oriented geometric line integral. It can make a uniform-clock finite difference of velocity near a turnaround noisy, however. If a dataset includes several cycles with dissipation, do not simply close the final state back to the beginning of the first cycle. Find individual return events, estimate the action per cycle and test whether its change is consistent with measured losses.
Construct the canonical angle on two sides of a turning point
For a bound one-dimensional potential take a reference crossing at the lower turning point and choose the increasing-\(q\) branch. A Hamilton–Jacobi generating integral is
Its angle is \(\theta=\partial_JW=(dE/dJ)\int_{q_-}^{q}dq'/\dot q'=\omega t_{\rm flight}\) on that branch. At the upper turning point \(\theta=\pi\) for a time-reversal-invariant kinetic-plus-potential Hamiltonian. On the return branch the same coordinate \(q\) must be assigned the complementary angle \(2\pi-\theta_{\rm outgoing}(q)\), because its momentum has opposite sign. The coordinate alone is insufficient to reconstruct a unique phase.
For a harmonic oscillator beginning at its leftmost position a quarter-amplitude point is crossed at two different times. In coordinates \(q=-A\cos\theta\) take \(q=-A/2\). The increasing branch gives
the returning branch gives \(5\pi/3\). Their velocities have opposite signs. Using the principal arccosine for every time sample forces both branches onto the same interval and makes an apparently discontinuous phase that never completes a cycle. Measuring the sign of velocity or interpolating successive turning events restores the appropriate branch. Near a saddle, tiny velocities make this branch identification particularly sensitive to camera noise.
Once a reliable angle is available, the phase deviation from the uniform prediction \(\theta(t_0)+\omega(t-t_0)\) becomes a useful diagnostic. A static potential with a wrongly calibrated shape can cause a phase error periodic in position even when its return time is fitted correctly. Dissipation usually changes the action as well, while a constant clock error causes a steadily accumulating phase drift. Compare the residual over several cycles at different amplitudes and plot it against reconstructed angle as well as laboratory time. These alternate plots test different physical explanations of the same timing mismatch.
Measure the area of a closed orbit
Inspect how deformation of a potential changes an energy contour. Compute its action before using it to infer an adiabatic frequency.
Separate a true separatrix crossing from a change of angle convention
Imagine slowly reducing the pendulum's gravitational strength while a bob initially librates. The separatrix action \(J_s=8I\omega_0/\pi\) decreases with \(\omega_0\). Away from the crossing the orbit approximately maintains its own action, so its energy as a fraction of the instantaneous barrier rises. When the shrinking separatrix action reaches that of the orbit, no closed librating torus of that action remains. The system can enter one of the two circulation branches. Its action convention changes because the relevant closed curve on the cylinder now winds rather than traversing two momentum branches. An apparent numerical factor-of-two jump caused by this convention is distinct from the actual dynamics through the slow saddle neighbourhood.
For an initial libration action equal to \(0.40\) of the original separatrix action at fixed \(I\), a parameter protocol reducing \(\omega_0\) to half its original value leaves \(J/J_s\) about \(0.80\), assuming adiabatic tracking remains valid. Reducing it to \(0.30\) of the initial value would formally give \(J/J_s=1.33\), impossible for a libration. The naive crossing estimate is \(\omega_0=0.40\omega_{0,\rm initial}\), but the timing and selected rotation direction require integrating the actual trajectory near the saddle; the adiabatic argument loses uniform accuracy there. A local measure of \(p\) and unwrapped \(q\) supplies the physical distinction.
A real parameter protocol must specify how gravity strength changes. A pendulum length ramp changes both \(I=ml^2\) and \(\omega_0=\sqrt{g/l}\), so its separatrix area scales as \(I\omega_0=m\sqrt g\,l^{3/2}\). Reducing length to \(0.64\) of its starting value reduces the separatrix action by \(0.64^{3/2}=0.512\), whereas replacing only \(\omega_0\) in a fixed-\(I\) model would predict the opposite trend. A literal change of length also brings radial kinetic energy and actuator work, as derived for the reelled pendulum. Specify the physical control path in parameter space before applying a numerical action law.
An unwrapped angle increases by \(2\pi\) over a recorded interval but the phase portrait seems to contain a bounded loop. Can both observations be trusted simultaneously?
Work through the solution
A true circulation winds around the cylindrical phase space, whereas a libration has zero net unwrapped displacement after a full return. A plot that wraps angles into a fixed interval and draws a line across its boundary can display an artificial closing segment. Conversely, measurement noise near \(\pm\pi\) can make a naive unwrapping code insert a spurious \(2\pi\) jump. Inspect signed momentum and the time-resolved crossing of the angle boundary, then reconstruct the loop in adjacent copies of the coordinate interval. Explicitly identifying the cycle on which the action was integrated resolves the apparent contradiction.
Infer work during an adiabatic change from a phase average
Differentiate the action integral at fixed energy with respect to the external parameter \(\lambda\). The energy relation gives \(\partial_\lambda p|_{E,q}=-H_\lambda/H_p\), so \(J_\lambda|_E=-(2\pi)^{-1}\oint H_\lambda\,dt\). Combine this with \(J_E=T/(2\pi)\) and differentiate at fixed \(J\). The result is
A slowly changed parameter therefore does net reversible work at the orbit-averaged rate dictated by its conjugate generalised force. The average must weight time, not distance along the plotted phase curve.
For a harmonic spring with stiffness \(k\), \(H_k=q^2/2\) and \(\langle q^2\rangle=A^2/2=E/k\), giving \(\partial_k E|_J=E/(2k)\). Integrating yields \(E\propto\sqrt k\), consistent with \(J=E/\omega\). A \(4\%\) slow stiffness increase raises energy by about \(1.98\%\) exactly under this law. Changing stiffness at a single turning point would instead add \(4\%\) to the energy for that sudden change. The difference quantifies why observing only identical start and end stiffnesses does not identify the work protocol.
Tutorial on interpreting an action experiment
A harmonic oscillator has energy \(0.030\,{\rm J}\) and frequency \(5.0\,{\rm Hz}\). Its stiffness is increased slowly until the frequency doubles. Determine action, final energy and relative amplitude.
Work through the solution
The action is
Approximately constant action gives a final energy of \(0.060\,{\rm J}\). With fixed mass and \(E=m\omega^2A^2/2\), the final amplitude is \(1/\sqrt2\) times its initial value. A sudden change performed at a particular phase would in general give a different final action.
A simulation estimates pendulum periods by differentiating sampled action values on a coarse uniform energy grid. Why is the last estimated period below the separatrix likely to be inaccurate even if the individual areas are well converged?
Work through the solution
A finite difference averages \(dJ/dE=T/(2\pi)\) over a finite energy interval. The derivative rises logarithmically near the saddle, so the average can underestimate its endpoint value markedly. Refine adaptively in the distance to \(E_s\), use the elliptic quadrature or measure return times directly. The numerical integrator must also locate the long dwell near the unstable equilibrium without stepping across it artificially.
Two trajectories have energy \(E_s+\delta\), one rotating clockwise and one anticlockwise. Can energy and the positive magnitude of rotation action distinguish them?
Work through the solution
Both have the same speed at each angle and the same positive action magnitude and period. The sign of momentum or a signed orientation of the fundamental rotational cycle distinguishes the branches. Near the separatrix a numerical classifier looking only at energy and unsigned area can lose track of this information. Count the unwrapped angular change and inspect the sign of \(p\) to identify circulation direction.
Measure phase area and compare its change under a parameter ramp.
David Tong develops action–angle variables and adiabatic invariance.
What a momentum eigenstate means in a finite experiment
Quantum states, dynamics and measurement
A detector never counts a perfectly sharp momentum eigenket. Derive continuum normalisation from a finite box, change the spectral measure from momentum to energy and predict the full evolution of a normalisable Gaussian packet.
Follow a normalised state as its allowed box grows
Consider a particle moving in one spatial dimension. A periodic box of length \(L\) is a mathematical model for an observation made far from any reflecting wall. The inner product is the integral of \(\psi^*(x)\chi(x)\) over the box. The momentum operator is \(-i\hbar\,d/dx\) with periodic boundary conditions. Integration by parts cancels its boundary form for periodic differentiable functions. Its normalised modes \(L^{-1/2}e^{ik_n x}\) have \(k_n=2\pi n/L\) and momenta \(p_n=\hbar k_n\). Their overlap is one if the integers coincide and zero otherwise. Increasing \(L\) reduces the spacing \(\Delta p=2\pi\hbar/L\) but also reduces the amplitude of each individual box mode at a fixed position. If one simply replaces the Kronecker delta by a Dirac delta while carrying over \(L^{-1/2}\), the units and probabilities will fail.
Let \(c_n\) be the unit-normalised amplitudes with \(\sum_n|c_n|^2=1\). For a smooth normalisable packet the probability in an interval \(dp\) has a limit \(|\phi(p)|^2 dp\). Thus \(c_n\simeq\sqrt{\Delta p}\,\phi(p_n)\). Substituting in the synthesis sum and using \(L\Delta p=2\pi\hbar\) produces
The distributions \(\langle x|p\rangle=(2\pi\hbar)^{-1/2}e^{ipx/\hbar}\) have \(\langle p|p'\rangle=\delta(p-p')\). The delta acts under integration; \(\delta(0)\) has no finite interpretation as the probability for a detector. A physical probability is \(\int_{p_1}^{p_2}|\phi(p)|^2dp\). Changing to wave number gives
A graph labelled density in \(k\) with a vertical axis copied directly from the momentum plot loses the Jacobian and in general ceases to normalise to one.
Change from momentum bins to energy bins
For a free particle \(E=p^2/(2m)\). Each positive energy has two distinct momenta \(p_\pm=\pm\sqrt{2mE}\). A detector measuring energy but not direction sums over these mutually orthogonal alternatives. Apply the ordinary change-of-variables rule on each monotone half-line:
The factor \(m/|p|\) is \(1/|dE/dp|\), with units of momentum per energy. Measuring a finite energy interval around zero can have a density diverging as \(E^{-1/2}\) if \(\phi(0)\ne0\), yet the integrated probability is finite because \(\int_0^\delta E^{-1/2}dE=2\sqrt\delta\). The same effect appears in a box as relatively dense low-energy modes. Standing-wave box boundary conditions change the counting of travelling directions; include degeneracy once and use the appropriate mode spacing, rather than doubling both.
On an infinite line it is useful to introduce \(|E,+\rangle=\sqrt{m/|p|}\,|p\rangle\) at \(p>0\), and a corresponding negative branch. In the overlap,
the two square-root factors give \(\delta(E-E')\). The resolution of identity contains \(\sum_{\pm}\int_0^\infty dE\,|E,\pm\rangle\langle E,\pm|\). Measuring energy while coherently manipulating the two degenerate directions requires keeping both amplitudes. Adding their probabilities is sufficient only for an instrument whose outcome identifies energy without mixing the directions before detection.
Integrate the free evolution of a Gaussian
Prepare a minimum-uncertainty wave packet centred at \(x_0\) with average momentum \(p_0\) and initial position standard deviation \(s\):
Its squared modulus is a Gaussian with variance \(s^2\), which explains the factor four in the amplitude exponent. Complete the square in the Fourier integral to find a momentum probability Gaussian centred at \(p_0\) of variance \(\hbar^2/(4s^2)\). The initial state has zero symmetrised position–momentum covariance. Multiplying by a chirp factor \(\exp[i\kappa(x-x_0)^2]\) leaves its initial position density unchanged but changes momentum variance and covariance. A snapshot of one density does not determine its later free spread.
Each momentum component evolves by \(e^{-ip^2t/(2m\hbar)}\). Split \(p=p_0+q\). The constant term in \(p^2\) produces a common phase; the linear term shifts the envelope by \(p_0t/m\); the quadratic term changes the width. Carrying out the remaining Gaussian integral yields
An independent route uses the Heisenberg operator \(x(t)=x(0)+p(0)t/m\). Its variance is \(s^2+(t/m)\langle\{\Delta x,\Delta p\}\rangle+(t/m)^2(\Delta p)^2\). Inserting zero covariance and the Gaussian momentum width reproduces \(s_t^2\). For a chirped packet the covariance term can be negative; momentary narrowing during free evolution is consistent with uncertainty because momentum width and the phase correlation must be included. The density integral stays one, so spreading lowers the height of the peak without removing particles.
Take a model atom of mass \(1.44\times10^{-25}\) kg prepared with \(s=1.00\,\mu\mathrm m\). Its spread time \(t_s=2ms^2/\hbar=2.73\) ms. At \(t=t_s\) the standard deviation is 1.41 μm. With mean velocity 2.00 mm/s its mean has advanced 5.46 μm. At long flight times \(s_t\simeq t\Delta p/m\). Measuring position after a known long flight therefore maps the momentum distribution for this free packet. At \(0.5t_s\) the neglected initial position variance is still dominant, so the same inference would substantially overestimate \(\Delta p\).
A detector window and a Fourier grid do different jobs
Suppose the position-sensitive detector has a Gaussian point-spread function of width \(d\). The measured density is a convolution of the true density with that response if detections are independent and gain is uniform. Gaussian variances then add:
This broadening belongs to the observation model; it does not increase the particle's momentum spread before the measurement. For \(d=1.20\,\mu\mathrm m\) at \(t=t_s\), the observed standard deviation becomes \(1.85\,\mu\mathrm m\). A fit to a single image with unknown \(d\) cannot disentangle the two contributions. A sequence of flight times constrains the coefficient of \(t^2\) independently of a fixed instrument width.
A discrete Fourier propagation represents a periodic interval sampled at spacing \(\Delta x\). Its wave-number spacing is \(2\pi/L\), and the highest resolved wave number is order \(\pi/\Delta x\). Enlarging \(L\) at fixed \(\Delta x\) samples the momentum profile more finely and delays periodic wraparound. Reducing \(\Delta x\) at fixed \(L\) raises the bandwidth without moving the periodic boundary. Either operation alone can leave the other error intact. A norm-preserving FFT propagator can therefore return a perfectly normalised wave packet that has wrapped through an unphysical boundary or whose carrier momentum has aliased. Compare the phase, group velocity and width against independent formulas, then refine the two scales separately.
Why boundary conditions are part of a momentum observable
The expression \(p=-i\hbar\,d/dx\) does not by itself specify a complete operator. On a finite interval \([0,L]\), integrate two sufficiently smooth square-integrable functions by parts:
A symmetric domain makes this boundary form vanish for every pair in the domain. A self-adjoint operator additionally has the same domain as its adjoint. This distinction matters for a physical generator of unitary translations and for assigning sharp spectral outcomes. Imposing a real or imaginary matrix representation in a finite basis can conceal boundary conditions that become essential as the basis is enlarged.
For a ring allow quasi-periodicity \(g(L)=e^{i\theta}g(0)\) with fixed \(\theta\) common to all functions in the domain and square-integrable first derivative. Then the boundary form vanishes. Conversely, for an adjoint candidate \(f\) the requirement that it vanish for all possible \(g(0)\) forces \(f(L)=e^{i\theta}f(0)\), so the same condition reappears. Solving \(p g=pg\) yields the momenta \(p_n=\hbar(2\pi n+\theta)/L\). Thus boxes with precisely the same local differential expression have momentum spectra shifted by an externally fixed phase. In a physically realised ring such a phase can encode a magnetic flux through a gauge-transformed boundary condition; a gauge consistent with that interpretation must also be used in the Hamiltonian and physical momentum.
Compare with forcing \(g(0)=g(L)=0\) as in a hard-wall well. The boundary form vanishes for all \(f,g\) satisfying both zero conditions, so the derivative is symmetric there. But the adjoint boundary form vanishes for arbitrary endpoint values of \(f\) when \(g\) vanishes at both ends. Consequently this two-zero derivative domain is smaller than its adjoint domain. There is no ordinary rigid translation that carries every state of a hard-wall interval back into that same interval without assigning what happens at its boundary. Meanwhile the kinetic energy \(-\hbar^2d^2/(2m\,dx^2)\) with suitable Dirichlet domain is self-adjoint and has a well-defined discrete spectrum. The symbol \(p^2/(2m)\) in a Dirichlet well does not turn its first derivative with the same two endpoint conditions into a self-adjoint sharp momentum observable.
A release-and-detect experiment makes this distinction concrete. Prepare the first Dirichlet state \(\sqrt{2/L}\sin(\pi x/L)\) supported in \(0<x<L\), then remove the walls suddenly and measure momentum on the full line. Its momentum wavefunction is the Fourier transform of the spatial function extended by zero outside. Multiplying the exponential and sine and integrating gives a continuous amplitude proportional to \([1+e^{-ipL/\hbar}]/[(\pi/L)^2-(p/\hbar)^2]\). The apparent singularities at \(p/\hbar=\pm\pi/L\) are removable because the numerator also vanishes. It is a mistake to predict two delta peaks by replacing the standing wave with the sum of two infinite plane waves. The finite support multiplies that sum by a spatial window and broadens both momentum components.
The mean momentum for this real function is zero. Its second moment after release is \(\hbar^2\int|\psi'|^2dx=\pi^2\hbar^2/L^2\), consistent with the original kinetic energy. Thus a continuous released momentum distribution can have an rms momentum whose square exactly recovers a discrete energy of the original bounded system. This is a useful quantitative example where the equality of moments across two measurement procedures does not imply equality of their full spectral probability distributions. Adding a short laboratory impulse to every particle after release should translate the whole distribution by the corresponding momentum kick, preserving its width. That response provides an independent check on a momentum detector's sign and scale.
Derive the free propagator with a convergent limiting prescription
Partitioning the free unitary into momentum eigenstates produces its position kernel
It is oscillatory rather than absolutely integrable. Define it by first damping \(e^{-\varepsilon p^2}\), evaluating a convergent Gaussian and then taking \(\varepsilon\downarrow0\) on smooth normalisable test packets. Completing the square in the exponent gives, for \(t>0\),
The phase convention of the square root for positive time follows continuously from the regularised Gaussian. The units are inverse length so \(\psi(x,t)=\int K(x,t;x',0)\psi(x',0)\,dx'\) has the same units as the initial wavefunction. As \(t\to0^+\), the kernel does not approach a finite spike pointwise. Its increasingly fast oscillations across \(x'\) cancel except near \(x'=x\), recovering the initial state in the appropriate strong or distributional sense. For a constant initial amplitude one may recover unity formally, but such an amplitude on the full line is itself not a normalised test state.
Two checks involve no wave packet fitting. Inserting two kernels for \(t_1,t_2\) and integrating over an intermediate position gives the kernel for \(t_1+t_2\), either by another Gaussian integration or, more directly, by composing the momentum phase factors. Complex conjugation and reversing the time arguments yield the inverse evolution. Neither statement holds for an arbitrary choice of magnitude prefactor assigned merely to obtain the correct phase. In Fourier numerics the corresponding checks are unit norm after repeated evolution and recovery of the original sampled complex state after a forward followed by backward propagation. These are necessary algorithm checks, even though a periodic or aliased computational model can still satisfy them exactly.
This kernel also clarifies the long-time momentum mapping. Factor \(e^{im x^2/(2\hbar t)}\) from \(K\) and identify the Fourier transform of \(e^{imx'^2/(2\hbar t)}\psi(x',0)\) evaluated at \(p=mx/t\). If the occupied initial region is narrow enough that \(mx'^2/(2\hbar t)\) varies little across it about the selected origin, the extra phase can be neglected and
The factor \(m/t\) is the Jacobian \(dp/dx\). When the initial packet is displaced, use a suitable shifted origin or account for the induced linear phase explicitly. This derivation applies well beyond Gaussians and gives a scale for testing the approximation before interpreting a flight image as a momentum histogram. The quadratic residual phase provides the matter-wave analogue of the near-field correction in diffraction.
Distinguish a detector crossing from a snapshot in space
A detector counts particles passing through an aperture over time. Its signal is related to flux, whereas a camera image of identical preparations at one time probes a position distribution. For a one-dimensional free wavefunction the continuity equation is \(\partial_t|\psi|^2+\partial_xj=0\) with \(j=(\hbar/m)\operatorname{Im}(\psi^*\partial_x\psi)\). Integrating over the region \(x<X\) gives the change in probability to the left of a fixed plane. If there is no flux at negative infinity, the net integrated current through \(X\) equals the reduction in that probability. A positive-reading counter with absorption is a more detailed instrument and cannot in general be identified with a signed current in the presence of reflected waves or interference.
For a minimum-uncertainty Gaussian initially at \(x_0\), the exact phase in the freely expanding envelope has a quadratic term. Differentiating the phase gives the local velocity entering current,
At the centre this equals the group velocity \(p_0/m\), but ahead of the centre it is larger and behind it smaller. A single constant velocity multiplying density is inadequate for a significantly spreading packet. For the earlier atom at \(t=t_s\), one current-standard-deviation distance ahead corresponds to \(1.41\,\mu\mathrm m\) and the additional speed is about \(0.259\) mm/s. The trailing side gives the opposite correction. Direct differentiation of its Gaussian density verifies that this current satisfies continuity. A code reproducing \(s_t\) but evolving the wrong complex phase may fail this current test; judging an entire propagation by the changing width alone would miss the error.
A useful inverse question is whether two time-of-flight images suffice to recover an unknown complex wavefunction. In the long-time limit the image yields \(|\phi(p)|^2\), which contains no direct momentum-dependent phase. Translation of the initial wave packet changes \(\phi(p)\) by a linear phase, leaving the momentum density unchanged. Complex conjugate or chirped preparations can also share particular intensity records. Additional calibrated evolution, known reference interference or structural assumptions can provide phase information. Even an exact free propagator only defines the forward map; its invertibility on complex amplitudes does not imply intensity-only data identify every possible input. The experiment must specify which class of preparations and which measurement settings render the desired parameters estimable.
Track a continuous superposition through focus
Change a position-momentum correlation and compare the full packet width with an initially unchirped packet. A narrow width at one time does not determine its subsequent spread.
Plan an FFT comparison using physical position and momentum resolution
A grid propagator can track the same packet analytically solved earlier, then carry over its verified conventions to less elementary potentials. A common trap is to regard the number of points \(N\) as a single accuracy parameter. Define a periodic interval of physical length \(L=N\Delta x\). Discrete Fourier modes have \(k_j=2\pi j/L\), with negative wave numbers represented by negative indices after reordering. Their spacing is \(\Delta k=2\pi/L\); the largest distinct magnitude is close to \(\pi/\Delta x\). A narrow structure in momentum requires large \(L\). A high carrier momentum requires small \(\Delta x\). These conditions can fail independently even when the norm stays exactly one.
If \(\psi_l=\psi(x_l)\) is a sampled wavefunction in inverse square-root metres and the forward transform sums without \(1/N\), the approximated continuum \(k\)-amplitude is
The phase includes the physical coordinate origin adopted for the grid. Parseval then gives
A library returning a unitary discrete transform instead assigns a factor \(1/\sqrt N\) to both directions; multiplying its output by \(\sqrt{\Delta x/\Delta k}\) converts sample units. Plotting a library output directly against physical momentum without these scale factors is especially misleading when comparing two meshes. Total discrete \(\ell^2\) norm and continuum probability density are different normalisations of the same samples.
For the atom of mass \(1.44\times10^{-25}\) kg, \(s=1.00\) μm and \(v_0=2.00\) mm/s,
A box 80 μm wide gives spacing \(0.0785\,\mu\mathrm m^{-1}\), about 6.4 modes per rms momentum width. With \(N=256\), grid spacing is 0.3125 μm and Nyquist wavenumber is \(10.05\,\mu\mathrm m^{-1}\), exceeding \(k_0+5\Delta k_{\rm rms}=5.23\,\mu\mathrm m^{-1}\). This comfortably samples the initial carrier distribution. It is still necessary to check that the envelope remains inside the periodic box at the desired final time.
At \(t=10\) ms the packet centre has moved 20 μm and \(s_t\simeq3.80\) μm. Starting at the centre of an interval spanning \(-40\) to \(40\) μm, its five-standard-deviation front approaches \(39\) μm and begins testing the boundary margin. At 20 ms the centre alone reaches the periodic boundary. A perfectly unitary calculation will show it reappearing on the opposite side. This is correct for a ring and incorrect for a free-space flight image. Enlarging \(N\) while keeping the same \(L\) improves the Nyquist limit but does nothing to postpone this crossing. An open-boundary absorber can delay reflected artefacts but attenuates norm; a lost norm in that model should be compared with counted escape rather than naively enforced to zero.
Infer displacement and speed from a wrapped packet without mistaking periodicity for reflection
A code on a periodic box of length 80 μm reports a sharp packet peak at \(+35\) μm in one frame and \(-36\) μm in the next frame 4.50 ms later. Find a consistent uniform drift and identify the ambiguity if no speed prior is available.
Derive and check the result
The smallest forward displacement is \(+9\) μm after adding one full box length to the second position. It corresponds to \(2.00\) mm/s and agrees with the earlier preparation. Direct subtraction without unwrapping would give \(-71\) μm, or \(-15.8\) mm/s, an apparent reversal. All displacements \(9+80n\) μm for integer \(n\) yield the same wrapped pair, so the frames alone cannot identify the number of turns. A momentum measurement or a bound on speed relative to frame spacing resolves the branch. For an extended packet crossing a seam, use a periodic circular moment such as \(\langle e^{2\pi i x/L}\rangle\) so an ordinary spatial mean does not spuriously jump toward the box centre. If that circular moment is nearly zero, even its angular centre is ill-defined and a full density comparison is preferable.
Tutorial · design a momentum measurement
Distinguish an unresolved line from a finite-width packet
A periodic calculation of length \(L=100\,\mu\mathrm m\) contains mode \(n\). A detector bins momentum in intervals \(1.0\times10^{-29}\,\mathrm{kg\,m/s}\). How many box-mode spacings fit into a bin? What changes if the box length doubles at fixed physical packet?
Work through the solution
Here \(\Delta p=h/L=6.626\times10^{-30}\,\mathrm{kg\,m/s}\), so the detector bin spans about 1.51 spacings. The precise number of grid points falling within a bin depends on its endpoints. Doubling \(L\) gives roughly 3.02 spacings per bin. Each corresponding coefficient squared decreases approximately in proportion to \(\Delta p\), while the number included increases. The total probability should approach a stable integral on a progressively finer grid. If a graph compares \(|c_n|^2\) across the boxes, divide by the corresponding \(\Delta p\) before calling the ordinate a continuum density.
Calculate a threshold energy interval without evaluating a delta at zero
A packet's momentum density is nearly constant \(w_0\) over \(-p_c<p<p_c\). Obtain the probability for \(0<E<E_c=p_c^2/(2m)\) by two different integrations. What changes when only positive-momentum particles reach the counter?
Work through the solution
Direct integration in momentum gives \(2p_c w_0\). In energy the two branches contribute \(2mw_0/\sqrt{2mE}\). Its integral gives \(4mw_0\sqrt{E_c}/\sqrt{2m}=2p_cw_0\) as required. A positive-direction selector halves this particular probability when applied to the original ensemble. If the entire subsequent experiment is renormalised to the selected particles, divide again by the total positive-momentum probability. Those two reported probabilities correspond to different conditioning and should be labelled explicitly.
Infer the packet width from two images
The model atom has an initial measured width 1.56 μm and a width 1.85 μm after 2.73 ms. Assume a time-independent Gaussian instrument response and a freely evolving unchirped minimum-uncertainty state. Infer \(s\) and \(d\), and identify an additional check.
Work through the solution
Subtract squared widths to remove the detector:
The observed difference is about \(0.99\,\mu{\rm m}^2\), giving \(s\simeq1.0\,\mu\mathrm m\) and \(d=\sqrt{s_{\rm obs}(0)^2-s^2}\simeq1.2\,\mu\mathrm m\), within rounding. A third flight time tests the predicted quadratic in \(t\). A term linear in time would point to a nonzero initial correlation or to measurement drift. Independent calibration of the point-spread function distinguishes those interpretations from a nonminimum momentum width.
Further reading
How a turning point supplies the missing semiclassical phase
Quantum states, dynamics and measurement
Far from a turning point the wavelength follows the classical momentum. At the turning point that approximation becomes singular. Derive the Airy connection, quantise a smooth well, distinguish a hard wall and estimate a tunnelling exponent with a defensible error check.
Expand the action before interpreting a local wavelength
For a stationary one-dimensional state with smooth potential \(V(x)\), write \(\psi=e^{iS(x)/\hbar}\). Substitution into Schrödinger's equation gives
Expand \(S=S_0+(\hbar/i)S_1+\cdots\). The leading terms give \(S_0'=\pm p\) and \(S_1'=-p'/(2p)\) in an allowed region where \(p>0\). Thus travelling waves have form \(C p^{-1/2}\exp[\pm i\int^x p\,dx/\hbar]\). The amplitude factor is physically essential: for a single such branch the current to leading order is \(\pm|C|^2/m\), independent of \(x\), as required for steady flux in a real potential. A constant amplitude with variable wavenumber would predict current piling up in a stationary region.
A local condition for this expansion is \(\hbar|p'|/p^2\ll1\) together with control over higher derivatives on the wavelength scale. Away from a barrier the phase can remain accurate even if absolute amplitude normalisation must be fixed globally. Where \(E<V\), define \(\kappa=\sqrt{2m(V-E)}\) with units of momentum. The local solutions become \(\kappa^{-1/2}\exp[\pm\int\kappa\,dx/\hbar]\). A single real decaying branch carries zero probability current by itself. Stationary tunnelling flux through a finite barrier involves a complex combination satisfying both exterior matching conditions, even though the leading size of transmission can often be inferred from the decaying exponential.
Resolve the apparent divergence near a simple turning point
Let \(x_t\) satisfy
with slope \(F=V'(x_t)>0\). Linearise \(V-E\simeq F(x-x_t)\). The local Schrödinger equation becomes
Introduce length \(\ell=(\hbar^2/(2mF))^{1/3}\) and \(\xi=(x-x_t)/\ell\), leaving \(d^2\psi/d\xi^2=\xi\psi\). Its two independent solutions are \(\operatorname{Ai}\) and \(\operatorname{Bi}\). On the positive side \(\operatorname{Ai}(\xi)\) decays, whereas \(\operatorname{Bi}(\xi)\) grows. A bound state extending into a semi-infinite forbidden region selects the former. At \(\xi=0\) the Airy function is finite; the apparent divergence \(p^{-1/2}\) came from extending the outer approximation beyond its range.
The asymptotic forms for \(s>0\) large are
For a linear slope, \(2s^{3/2}/3\) equals \(|\int_{x_t}^x p\,dx|/\hbar\) on the allowed side or \(\int_{x_t}^x\kappa\,dx/\hbar\) on the forbidden side. Matching in an interval where \(|x-x_t|\gg\ell\) but the potential remains effectively linear gives the connection from a decaying tail of coefficient \(C\) to \(2C\,p^{-1/2}\sin[\hbar^{-1}\int_x^{x_t}p\,dx+\pi/4]\). The coefficient two and phase \(\pi/4\) both come from the same local solution. A turning point with zero slope, a sharp step or two turning points closer than their Airy lengths requires a different local treatment.
Join two decaying tails to a standing wave
For a smooth well with two well-separated simple turning points \(x_1,x_2\), the left tail matches to \(\sin[\hbar^{-1}\int_{x_1}^xp\,dx+\pi/4]\). The right tail matches to \(\sin[\hbar^{-1}\int_x^{x_2}p\,dx+\pi/4]\). Their zeros and logarithmic derivatives must coincide throughout the overlap, up to an overall sign. The sum of the two phase arguments is the full one-way action divided by \(\hbar\) plus \(\pi/2\), which must be an integer multiple of \(\pi\). Taking \(n\ge0\) gives
For a harmonic oscillator the turning point magnitude is \(a=\sqrt{2E/(m\omega^2)}\) and \(p=m\omega\sqrt{a^2-x^2}\). The action is the area of a semicircle times \(m\omega\), equal to \(\pi E/\omega\). The rule reproduces \(E_n=\hbar\omega(n+1/2)\) exactly for this special spectrum, even though its outer WKB wavefunction is still inaccurate near each turning point and globally for low quantum number. Equality of a spectral result does not imply equality of spatial densities or agreement of all observables.
Different boundaries change the phase budget. Take a hard wall at \(x=0\) and a linearly rising potential \(Fx\) for \(x>0\). The solution decaying to the right is \(\operatorname{Ai}[(x-E/F)/\ell]\). Its exact energies follow from \(\operatorname{Ai}(-E/F\ell)=0\). The wall imposes a node without an Airy phase at the left. Setting the right-matched standing wave to zero at the wall gives
Thus \(E/(F\ell)\simeq[3\pi(n+3/4)/2]^{2/3}\). For \(n=0\) this is about 2.320 versus the first exact zero 2.338; with \(n=4\) the approximation is about 7.94. Replacing the wall by a second smooth turning point would instead introduce an erroneous half offset.
Separate a credible exponential estimate from its prefactor
For a barrier with two simple turning points \(x_a,x_b\), a large forbidden action \(I=\int_{x_a}^{x_b}\kappa\,dx/\hbar\) suppresses the transmitted flux approximately as \(T\simeq e^{-2I}\), up to prefactors and corrections that depend on geometry and matching. For a triangular forbidden region with height \(V_0-E=\Delta\) at \(x=0\) falling as \(\Delta-Fx\) to zero at \(\Delta/F\), its action is \(I=2\sqrt{2m}\Delta^{3/2}/(3\hbar F)\). A discontinuous incident-side boundary may affect the prefactor substantially. It does not justify assigning a second smooth-turning-point phase to the discontinuity. For a rectangular barrier the exact thick-barrier prefactor is \(16E(V_0-E)/V_0^2\) times the decaying exponential at equal exterior potentials. It can exceed one while total transmission remains small.
Suppose two measurements change only the forbidden width of a flat barrier from \(d\) to \(d+\Delta d\), keeping both interfaces and asymptotic energies the same. In the thick limit the ratio \(T(d+\Delta d)/T(d)\simeq e^{-2\kappa\Delta d/\hbar}\) cancels the common prefactor. If \(\kappa/\hbar=2.0\,\mathrm{nm^{-1}}\) and \(\Delta d=0.50\) nm, this ratio is
An offset error in barrier width that leaves this ratio unchanged can still cause a large error in absolute transmission. Near the top two turning points can merge, \(I\) becomes small, and the raw exponential lacks a unitary connection to the over-barrier reflection regime. Use a suitable uniform approximation or a direct scattering solution there.
Predict a high-energy spectrum without a closed-form wavefunction
Consider a pure quartic trap \(V(x)=\lambda x^4\) with \(\lambda>0\). Classical turning points lie at \(x=\pm a,\ a=(E/\lambda)^{1/4}\). Unlike the harmonic oscillator its period changes with energy, so its levels cannot be equally spaced. The semiclassical action can be evaluated once in dimensionless coordinates and then rescaled to any \(m,\lambda,E\):
With \(s=y^4\),
Quantising \(A(E_n)=\pi\hbar(n+1/2)\) predicts \(E_n\simeq[\pi\hbar(n+1/2)\lambda^{1/4}/(2\sqrt{2m}I_4)]^{4/3}\). The dependence \(E\propto n^{4/3}\) and the dimensional factor \(\hbar^{4/3}\lambda^{1/3}m^{-2/3}\) can be checked independently from scaling the full Schrödinger equation. That dimensional argument does not supply the coefficient or the half-integer offset. The action and boundary phases supply the additional physics.
Choose units such that \(H=-d^2/dx^2+x^4\). Then \(2m=\hbar=1\) in the scaled equation, and the leading energies are \([\pi(n+1/2)/(2I_4)]^{4/3}\). For \(n=0\) this gives about 0.868, below the accurately computed ground value around 1.060. An independent variational Gaussian \(\psi=(\beta/\pi)^{1/4}e^{-\beta x^2/2}\) has energy \(\beta/2+3/(4\beta^2)\), minimised at \(\beta^3=3\) and giving 1.082. Its proximity to the true ground energy has a different status: the Gaussian energy is an upper bound by the variational principle, while leading WKB provides no universal bound for this potential. Using agreement between two approximate numbers as proof of a rigorous interval would require actual lower and upper estimates.
At larger \(n\) the period relation provides an additional prediction. Since \(A\propto E^{3/4}\),
the frequency increases at larger amplitude, and the local spacing should grow as \(E^{1/4}\). Numerically compute a handful of high levels with a direct finite-difference or spectral Hamiltonian, then plot \(E_n^{3/4}\) against \(n+1/2\). A nearly linear trend is a more sensitive diagnostic of the predicted law than comparing a single apparent power from a log plot at low \(n\). Increase domain size and basis cutoff independently. A truncation that confines high-energy tails can falsely steepen the spacing, while a coarse grid can flatten the kinetic-energy dispersion. Both errors become more visible for rapidly oscillating states.
Relate a barrier action to a coherent population oscillation
Take two identical minima separated by a smooth barrier. At energies below the barrier top but above each isolated-well ground, there are two classically allowed intervals and a central forbidden region. If the barrier is sufficiently opaque, construct approximate localised states \(|L\rangle,|R\rangle\) with equal one-well energy \(E_0\). In their span the simplest symmetric Hamiltonian is \(H=E_0 I-J(|L\rangle\langle R|+|R\rangle\langle L|)\) with \(J>0\) in a suitable phase convention. The even and odd combinations have energies \(E_0-J,E_0+J\). The tunnel splitting is \(2J\), set to leading exponential order by the overlap of amplitudes through the central forbidden interval.
A single under-barrier wavefunction amplitude carries \(e^{-I}\),
For an open barrier the transmission probability is proportional to \(e^{-2I}\). For a symmetric double-well splitting the relevant quantity is a coherent off-diagonal energy amplitude, so its leading exponential is \(J\propto e^{-I}\), times a prefactor involving the oscillation scales and matching in the two wells. Confusing these exponents can lead to a severe error when using a calculated spatial barrier to predict a coherent tunnel frequency. The exact prefactor depends on the potential and turning-point normalisations. A direct symmetric numerical eigenproblem giving the difference of two nearly equal energies requires enough precision to resolve an exponentially small splitting.
Prepare \(|L\rangle\) at time zero. Its evolution under the two-state Hamiltonian gives
the first full transfer time is \(\pi\hbar/(2J)\). If the observed energy splitting expressed as ordinary frequency is \(2J/h=20\) Hz, the first transfer occurs at 25 ms. Changing only the barrier action by \(+0.70\) at fixed prefactor multiplies the splitting by \(e^{-0.70}=0.497\) and approximately doubles the transfer time. An open-barrier transmission experiment over the same change instead sees factor \(e^{-1.4}=0.247\). Both tests depend exponentially on barrier shape but interrogate different quantities.
Now add a calibrated tilt \(\epsilon=E_L-E_R\). The \(2\times2\) Hamiltonian after trace subtraction is \((\epsilon/2)\sigma_z-J\sigma_x\), and the maximum transfer falls to \(4J^2/(\epsilon^2+4J^2)\). At \(\epsilon=2J\) it is one half while the oscillation angular frequency increases from \(2J/\hbar\) to \(2\sqrt2J/\hbar\). A loss of transfer contrast need not be environmental decoherence; static tilt alone yields this combination of increased frequency and reduced amplitude. Measuring both quantities and reversing the tilt tests the two-level model. If a higher intrawell level lies within the tilt or excitation range, a single tunnelling doublet no longer spans the relevant motion and a larger basis is required.
Understand the angular correction at a radial turning point
In three dimensions the reduced radial equation on \(r>0\) has a centrifugal term \(\hbar^2l(l+1)/(2mr^2)\). Applying the flat-coordinate WKB rule directly to this equation can give incorrect phases at its singular endpoint, especially for low \(l\). A way to see the appropriate angular correction without guessing is to set \(r=r_0 e^x\), mapping the half-line to all real \(x\), and write \(u(r)=e^{x/2}w(x)\). The arbitrary reference \(r_0\) keeps the logarithm dimensionless. Since \(d/dr=r^{-1}d/dx\), differentiating twice yields
The resulting equation for \(w\) has squared local action momentum in \(x\) proportional to \(2mr^2(E-V)-\hbar^2(l+1/2)^2\). Thus returning its action \(\int p_xdx\) to \(r\) uses \(l(l+1)\to(l+1/2)^2\) in the radial semiclassical momentum. This is the Langer correction. It does not change the exact angular eigenvalue \(L^2=\hbar^2l(l+1)\); it accounts for the coordinate transformation and endpoint behaviour of the semiclassical representation. Confusing those statements would alter the exact radial equation to repair an approximate integration rule.
An instructive check is the isotropic oscillator. For \(V=m\omega^2r^2/2\) and effective classical angular momentum \(L=(l+1/2)\hbar\), the radial action over its two roots is
One can obtain this without an explicit contour integral by noting that radial motion repeats at twice the Cartesian frequency, so
Fix the integration constant at the circular-orbit threshold \(E=\omega L\), where the two radial turning points meet and \(A_r=0\). Quantising \(A_r=\pi\hbar(n_r+1/2)\) gives \(E=\hbar\omega(2n_r+l+3/2)\), matching the exact three-dimensional oscillator spectrum. For \(l=0\) the naive uncorrected centrifugal term has no inner turning point; transferring a generic two-smooth-turning-point formula into that half-line problem without reconsidering its origin is especially unsafe.
Calculate an exponentially small transmission without subtracting nearly equal numbers
In a classically forbidden interval the local solution contains a growing and a decaying branch. In a long interval numerical transfer matrices can contain elements as large as \(e^I\), while the quantity sought is as small as \(e^{-2I}\). Straight propagation of a decaying boundary condition in the unstable direction can contaminate it with a tiny growing roundoff component which eventually dominates. A plot matching the expected slope over the first few decay lengths gives no guarantee that a final tiny flux is accurate. Numerically stable alternatives include propagating a logarithmic derivative with controlled handling of its poles, matching independently normalised left and right solutions, or composing scattering matrices for short slices while retaining decaying propagation factors.
For a square barrier the exact transmission at \(E<V_0\) in equal exterior regions is \(T=[1+V_0^2\sinh^2(\kappa d/\hbar)/(4E(V_0-E))]^{-1}\). With \(E=V_0/2\) this simplifies to \(\operatorname{sech}^2 I\). At \(I=20\) its value is approximately \(4e^{-40}=1.70\times10^{-17}\). Computing \(T=1-R\) in ordinary double precision can give exactly zero since the reflection probability rounds to one. Compute transmitted amplitude or its logarithm directly and compare \(\log T\simeq\log4-2I\). At a moderate \(I\), where both currents are accurately representable, independently verify \(R+T=1\). Moving the benchmarking point across the barrier-opacity range tests both the physical approximation and the floating-point representation of the desired observable.
Resolve a wave through a classical turning point
Vary the physical length scale in a locally linear potential. Compare the numerical Airy solution and the two semiclassical branches near and away from the turn.
Connect semiclassical action to counting states in phase space
The action quantisation rule can also be read as a statement about the number of energy levels below a chosen energy. In a one-dimensional smooth confining well the classically accessible region in \((x,p)\) has area \(\Omega(E)=\int dx\int_{-p(x)}^{p(x)}dp=2A(E)\). Roughly one stationary state fits per phase-space area \(2\pi\hbar\), with an endpoint correction from the turning-point phases. The smoothed density of states follows by differentiating \(\bar N(E)\simeq\Omega(E)/(2\pi\hbar)\), giving \(\bar\rho(E)=T_{\rm cl}/(2\pi\hbar)\). This counts levels after smoothing over individual spacing; the exact count is a staircase and its derivative a sum of delta functions. A formula for a smooth density cannot predict each state in a near-degenerate doublet without additional phase and tunnelling information.
For a particle in a two-dimensional rigid rectangular region, apply the same counting idea in four-dimensional phase space. With area \(\mathcal A=L_xL_y\), accessible momentum disk \(p_x^2+p_y^2<2mE\), the scalar smoothed count is \(\bar N(E)\simeq\mathcal A\pi(2mE)/(2\pi\hbar)^2=\mathcal A mE/(2\pi\hbar^2)\). Its derivative is a constant, unlike the \(E^{-1/2}\) free one-dimensional density and the \(\sqrt E\) three-dimensional density. This leading area law can be checked by directly counting positive integer lattice points satisfying \((n_x\pi/L_x)^2+(n_y\pi/L_y)^2<k^2\) in a Dirichlet rectangle. It works after smoothing when many modes fit in the domain and makes no assumption that the rectangular shape itself models all possible billiards.
A more sensitive check accounts for the excluded axes in that first-quadrant lattice count. For a Dirichlet rectangle subtract half of the positive-axis contributions at each boundary of the quadrant. In terms of perimeter \(\mathcal P=2(L_x+L_y)\), the resulting first two terms are \(\bar N(k)\simeq\mathcal A k^2/(4\pi)-\mathcal P k/(4\pi)+O(1)\) after appropriate smoothing, with fluctuations from discrete modes beyond this local expansion. Neumann boundaries reverse the sign of the perimeter term because modes constant along one coordinate are admitted. Area alone determines the bulk growth, whereas boundary condition affects the next correction. The finite corner term and spectral fluctuations require more care than assigning one universal integer offset to every billiard.
The distinction between smoothing and exact prediction also explains why counting every computed eigenvalue only up to an arbitrarily sharp threshold can produce apparent convergence jumps as the mesh improves. If a true eigenvalue lies near the threshold, a small numerical shift changes an integer count by one. Compare a range of cumulative counts, track nearby eigenvalue residuals and study the smoothed density with a bandwidth large enough to include several levels but small compared with the energy scale of interest. Repeating for two geometries of equal area and different perimeter tests actual geometric information beyond an overall energy scale.
Measure the boundary correction in a square cavity
A scalar mode calculation uses a square of side \(10.0\) length units and reports all Dirichlet modes with \(k<5.00\) inverse length units. Find the leading area estimate, add the perimeter correction, and compare with a direct lattice-point count.
Derive and check the result
The area contribution is \(100(25)/(4\pi)=198.94\); the perimeter subtraction is \(40(5)/(4\pi)=15.92\), giving a smoothed estimate \(183.03\) before corner and oscillatory terms. The exact count uses positive integers \(n_x,n_y\) satisfying \(n_x^2+n_y^2<(50/\pi)^2\simeq253.30\). For each \(n_x=1,\ldots,15\), count \(n_y\le\lfloor\sqrt{253.30-n_x^2}\rfloor\) and sum. The values are \(15,15,15,15,15,14,14,13,13,12,11,10,9,7,5\), giving 183. Agreement at this threshold is close, while the leading area term alone is about sixteen high. Nearby thresholds can have different residual fluctuations, so the close integer agreement at this one wave number should not be treated as an exact two-term counting rule. The same calculation on a different aspect ratio at fixed area would change both the perimeter and the lattice pattern.
Measure a reflection phase separately from the travel action
In a one-dimensional cavity a quantisation condition can be written as a round-trip phase budget. Let an allowed region accumulate one-way phase \(\theta(E)\) and let reflections at its left and right bounding regions have phase shifts \(\phi_L(E),\phi_R(E)\) for unit-modulus reflection. A self-reproducing wave requires
with an integer depending on the chosen phase origin. A rigid Dirichlet wall reflects with amplitude \(-1\); a smooth decaying turning point contributes a different reflection phase that the Airy matching fixed. Adding \(2\pi\) to one reflection phase simply relabels the integer, but an energy-dependent boundary phase alters the spacing and cannot be removed by a constant relabelling.
A useful boundary that can be solved without approximation is a finite step \(V=0\) for \(x<0,\ V=V_0>E\) for \(x>0\). With incident wave \(e^{ikx}\), reflected amplitude \(r e^{-ikx}\) and exterior evanescent \(t e^{-\kappa x}\), where \(k,\kappa\) here are inverse lengths, continuity of the value and derivative gives
Solving yields
Its magnitude is one and its phase can be written \(-2\arctan(\kappa/k)\). As \(V_0\) tends to infinity with \(E\) fixed, the phase tends to \(-\pi\), giving the rigid-wall limit. Just below the step threshold it approaches zero. Two mirrors with equally complete reflection can therefore produce different cavity eigenfrequencies.
Near the rigid-wall limit expand \(r\simeq-e^{2ik/\kappa}\). To leading order the exterior behaves like a rigid reflecting plane displaced a penetration length \(1/\kappa\) beyond the interface. For a deep symmetric finite well of width \(L\), the phase condition approximately replaces \(L\) by \(L+2/\kappa(E)\). This shift lowers levels relative to a rigid well of the same geometric width. It is only an approximation because penetration depends on energy. Matching logarithmic derivatives independently on the two sides is preferable near threshold or when the barrier shape varies over the penetration length.
Infer a boundary penetration from a measured free spectral interval
A long one-dimensional cavity with identical deep finite barriers has a measured low-mode wavenumber interval 2% smaller than \(\pi/L\). Under the constant penetration approximation infer \(1/\kappa\) relative to \(L\) and identify a check on the approximation.
Derive and check the result
Set \(\pi/(L+2/\kappa)=0.98\pi/L\). Then \(2/\kappa L=1/0.98-1=0.0204\), or a penetration distance \(1/\kappa=0.0102L\) at each wall. For \(L=100\) nm this is about 1.02 nm. Measure several successive intervals to see whether one penetration length describes them. An increasing penetration with energy changes the reflection-phase derivative and therefore the spacing; the physical group delay then contains travel time in the allowed region plus boundary delay. A geometrically longer rigid cavity would produce a similar single interval but a different energy dependence, so an isolated observation does not uniquely identify the cause.
Tutorial · determine what a semiclassical estimate can certify
Recover the period and level spacing from an action curve
For \(A(E)=\int_{x_1}^{x_2}p\,dx\) in a smooth bound well, derive \(dA/dE\) and infer the local energy spacing. Apply it to a 100 kHz oscillator and express spacing in both joules and electronvolts.
Work through the solution
The endpoint derivative terms vanish because \(p=0\) at both ends. Inside, \(\partial p/\partial E=m/p=1/v\), so \(dA/dE\) equals the classical one-way travel time \(T_{\rm cl}/2\). From the quantisation rule increasing \(n\) by one gives local spacing \(\Delta E\simeq2\pi\hbar/T_{\rm cl}=hf_{\rm cl}\). At 100 kHz this is \(6.626\times10^{-29}\) J or \(4.136\times10^{-10}\) eV. In an anharmonic potential the classical period generally depends on energy; use the local slope or integrate between adjacent solutions rather than assuming a universal ladder spacing.
Check whether the Airy overlap interval exists
For a model atom with mass \(1.44\times10^{-25}\) kg let \(F=1.0\times10^{-21}\) N at the turning point. Find the Airy length. If \(|V''|=1.0\times10^{-16}\,\mathrm{N/m}\), estimate the relative quadratic correction at \(5\ell\).
Work through the solution
The length is \((\hbar^2/2mF)^{1/3}\simeq3.38\times10^{-8}\) m. The ratio of quadratic potential term to linear term at \(5\ell\) is \(|V''|5\ell/(2F)\simeq0.00845\). Thus several Airy lengths can fit in a region with small curvature correction for these numbers. The parameter \(|x-x_t|/\ell=5\) should still be checked against the desired asymptotic precision; the result supports an overlap interval but does not guarantee a prescribed decimal accuracy. Bringing a second turning point within a few such lengths changes the matching problem qualitatively.
Compare a triangular action with a rectangular shortcut
A linearly falling barrier has initial forbidden wavenumber \(\kappa_0/\hbar=3.0\,\mathrm{nm^{-1}}\) and width \(d=2.0\) nm. Compare its exponential estimate with that of a rectangle using initial height throughout. What would a rectangle at the average potential height predict?
Work through the solution
For the triangle, \(\kappa(x)=\kappa_0\sqrt{1-x/d}\), so \(I=(2/3)(\kappa_0/\hbar)d=4.0\), giving \(e^{-8}=3.35\times10^{-4}\). The initial-height rectangle gives \(I=6\) or \(e^{-12}=6.14\times10^{-6}\). Averaging the potential height first gives wavenumber \(\kappa_0/\sqrt2\), \(I=4.24\) and \(e^{-8.49}\simeq2.06\times10^{-4}\). The action averages the square root of the local energy gap, not the gap itself. Agreement in mean barrier height is insufficient for predicting an exponential observable. Exact matching or a direct numerical probability current would be needed to determine the prefactor.
Further reading
Measure gravity with a pendulum of finite amplitude
A metre-long pendulum is an appealing clock because its small-angle period depends only on length and gravity. A precise clock can nevertheless give a precisely wrong value of gravity. Derive the full period, trace the systematic error to an identifiable approximation and design a measurement that distinguishes a length error from a release-angle error.
Define the measured length and time
Use a point bob on a massless, inextensible string attached to a fixed pivot. Let \(L\) be the distance from pivot to the bob's centre of mass, and \(\theta\) the signed departure from the downward vertical. For a rigid extended bob, rotational inertia about its own centre adds to \(mL^2\); a length measured to the bottom of the bob is neither of these dynamical lengths. Measure the elapsed time between successive crossings of a photogate in the same direction. Crossings in opposite directions give half of the period in a symmetric oscillation. A stationary turning point is a poor timing marker because the position error there produces a large time error.
At rest at the release angle \(\theta_0\), the energy is \(mgL(1-\cos\theta_0)\). At a later angle the speed is \(L|\dot\theta|\). Equating kinetic plus potential energy to the release value gives
Only a quarter cycle is needed. Inverting the angular speed and integrating from zero to \(\theta_0\) produces a square-root singularity at release. The period is finite since integrating the inverse square root over a small interval gives a square root.
Resolve the turning point before approximating
Write \(k=\sin(\theta_0/2)\) and substitute \(\sin(\theta/2)=k\sin u\). The vanishing square root cancels a factor \(\cos u\) from the differential. One obtains the complete elliptic integral of the first kind with modulus \(k\).
Expanding its integrand yields
Since \(k\simeq\theta_0/2\) at small amplitude, the first fractional period correction is \(\theta_0^2/16\) with angle in radians. It is positive. At larger amplitude the tangential component of gravity rises more slowly with angle than the linear restoring law predicts. The pendulum spends longer near the turns. Passing degrees directly into the quadratic correction would give nonsense even if the timer and recorded angle were perfect.
Infer the bias in gravity
Suppose the true acceleration is \(9.81\,\mathrm{m\,s^{-2}}\), the length is 1.000 m and the release angle is 30 degrees. The small-angle period is about 2.0061 s and the finite-amplitude period about 2.0410 s. Interpreting the longer measured period by the linear formula would give about \(9.48\,\mathrm{m\,s^{-2}}\). The fractional gravity error is about twice the fractional period error with opposite sign because gravity is inferred from \(T^{-2}\). Timing a hundred periods reduces random timing error but leaves this systematic shift.
The numerical curve evaluates the complete elliptic integral. It uses the arithmetic–geometric mean identity \(K(k)=\pi/[2\,\mathrm{AGM}(1,\sqrt{1-k^2})]\), so no sampled point sits on the turning point. The single-correction curve truncates the amplitude series after its first nonconstant term. Vary angle and length, comparing both the predicted period and the result a linear analysis would infer. Which change rescales both period curves together? Which changes their relative discrepancy?
Design a two-release check
For the same pendulum the ratio \(T(\theta_a)/T(\theta_b)=K(k_a)/K(k_b)\) cancels the unknown length and local gravity. Measure at two amplitudes before deciding whether to recalibrate the length. If the ratio agrees but both absolute times differ from prediction, check the effective length, clock rate and model of the bob. If the ratio changes during a decaying swing, record initial and final amplitudes for the timed sequence. The period associated with a long sequence is an average over its slowly changing amplitude. Substituting the initial angle throughout would overcorrect the measurement.
Tutorial
At small amplitude, what release angle gives a fractional period bias of approximately one part in a thousand?
Work through the solution
Set \(\theta_0^2/16=0.001\). This gives \(0.1265\) rad, about 7.25 degrees. The gravity bias from an uncorrected measurement would be approximately two parts in a thousand. A tolerance on one quantity is not automatically the same tolerance on the other.
A photogate records successive interruptions every 1.02 seconds for the metre pendulum. A calculation gives nearly four times local gravity. Identify one possible error in the observable.
Work through the solution
The gate may have counted both directions and returned a half period. Doubling that interval gives about 2.04 s. Because the inferred acceleration is inversely proportional to the square of the period, the missing factor of two gives a factor of four.
Why does reducing the grid spacing in an integration of the linear equation fail to recover the finite-amplitude curve?
Work through the solution
Integration error vanishes as the step is refined, but the restoring torque in that equation is \(mgL\theta\). The true torque is \(mgL\sin\theta\). A converged numerical solution can therefore provide independent evidence of an inadequate physical approximation.
For the equation of motion, phase portrait and dissipation, see the MIT treatment of the simple pendulum.