For periodic , the conforming Galerkin method has , with mass matrix and . Integration by parts and periodicity give . ThereforeThe conserved quantity is the squared L2 norm of the finite element function. On a uniform one-dimensional mesh of spacing , the piecewise-linear hat functions give , , and .
Energy conservation for the nonlinear Schrödinger equation Created 2026-09-24 Updated 2026-11-05
For the focusing nonlinear Schrödinger equation on ,the energy functional isFor a sufficiently smooth solution with decay permitting differentiation under the integral sign and integration by parts, it is constant in time. Indeed,The cancellation is the Hamiltonian conservation mechanism: the evolution rotates the energy gradient by multiplication by . The focusing sign makes the nonlinear contribution negative, so conserved energy alone need not bound the L2 norm of the gradient.[ref]
Low-Regularity Global Solutions to Nonlinear Dispersive Equations by Terence Tao. Introduction, printed pp. 20–21: Hamiltonian evolution and formal invariants; low-regularity discussion distinguishes solution constructions
For less regular solutions the displayed computation is only formal. To inherit the identity, approximate by smooth solutions and justify convergence of both energy terms. Convergence in Sobolev space controls the nonlinear term through a suitable Sobolev embedding only in the applicable exponent range, or with additional integrability. An arbitrary weak solution must not be assumed to satisfy the identity solely because the smooth equation does.
Energy dissipation identity for Model H 2026-10-06
For constant positive order-parameter mobility , dynamic viscosity and mass density , deterministic Model H dynamics dissipates the sum of composition free energy and kinetic energy:Assume smooth fields and periodic or closed, no-work boundaries. Using the chemical potential of a composition field, integration by parts and incompressible flow gives . Dotting the momentum equation with velocity gives . Pressure and convective work vanish under the boundary assumptions; the two capillary transfer terms cancel. This proves both the sign of the Korteweg force and its reversible exchange of energy with the composition field.
Energy estimate Created 2026-09-24 Updated 2026-10-14
An energy estimate tests a differential equation against the solution or one of its derivatives to control a norm by initial data and forcing. Coercive terms represent dissipation, while Young inequality and the Gronwall inequality control lower-order terms.
For the difference of two smooth heat equation solutions with , identical PDE source term, initial conditions, and either periodic boundary conditions or Dirichlet boundary data, integration by parts givesThe initially zero nonnegative integral stays zero, proving uniqueness. The same computation bounds changes in the L2 norm when the initial conditions differ. Specifying data and a solution class makes this argument meaningful.[ref]
https://web.stanford.edu/class/math220b/handouts/heateqn.pdf. Stanford Math 220B heat-equation notes, section 2.8.3
Energy identity 2026-10-25
An energy identity is an exact balance obtained by differentiating a chosen functional along a solution of a differential equation. The functional often is a squared L2 norm, collects dissipative terms, and collects forcing or reaction terms. Dropping nonnegative terms gives an energy estimate.
For on with and , integration by parts provesThe boundary term is ; the minus sign at the left endpoint is essential. For it contributes dissipation. If and the initial data vanish, the Gronwall inequality forces .
For a real smooth solution of the long-wave convection equation with broken Boussinesq symmetry, assume a periodic spatial average or an existing long-interval average with vanishing endpoint fluxes. Integration by parts gives the exact energy method identityThus prevents growth of the mean-square temperature at arbitrary amplitude in this averaging class. This sufficient nonlinear bound need not equal the linear instability threshold, and it does not imply pointwise monotonicity of the temperature.
The difference of two solutions with the same body force, boundary traction and initial data satisfies a homogeneous elastic equation with zero boundary work. Multiplication by its velocity and integration by parts conserve the displayed positive energy. Zero initial energy forces zero velocity for all times, and zero initial displacement field then forces zero displacement field. Rigid zero-strain motions do not cause nonuniqueness after initial data are fixed. This assumes positive mass density, stable real elastic moduli and sufficient regularity for the energy identity.
For a sufficiently regular unit-mass solution, the Ornstein-Uhlenbeck Fokker-Planck equation is . Integration by parts proves the displayed identity. Consequently relative entropy decreases, and its dissipation is relative Fisher information.
Equipartition for a homogeneous potential 2026-10-20
For a classical canonical coordinate with confining potential energy , and , integration by parts in the Boltzmann distribution gives . Homogeneity then gives . The usual quadratic contribution is the special case .
Equipartition theorem Created 2026-09-24 Updated 2026-10-20
The equipartition theorem says that each independent quadratic term in a Hamiltonian described by classical mechanics has mean energy in a canonical ensemble. Here is the Boltzmann constant and the absolute temperature. Count terms in the energy, rather than vaguely counting everything that can move: one harmonic oscillator has one position degree of freedom but TWO quadratic terms, one in momentum and one in displacement.
A precise sufficient setting is with , where is one of the canonical variables, denotes all remaining variables, and the phase space integration measure factors as . The range of is the whole real line, independently of ; there is no constraint coupling its allowed values to other variables. The partition function must be finite, and the relevant expected values must exist. The Boltzmann factor then givesThe probability density function is a normal distribution with variance . A larger coefficient narrows the fluctuations enough to cancel its greater energy cost. This is why the mean contribution is independent of mass or spring constant.[ref]
For a proof outline, the one-variable Gaussian integral is , so . More generally, integration by parts in a canonical variable gives when its boundary term vanishes and the integrals converge. For this is twice its mean energy. At a finite hard boundary the boundary term need not vanish; hard-wall correction to harmonic equipartition illustrates the resulting departure. A constraint, a nonquadratic potential energy, or a noncanonical integration measure therefore requires its own calculation. The theorem is an ensemble average, not equality of instantaneous energies, and applying it to a recorded trajectory requires equilibration and sufficient sampling.
For a classical one-dimensional harmonic oscillator, with positive mass and spring constant ,The origin is the equilibrium position. Its heat capacity is at fixed , not . Although the two mean energies agree, their measured amplitudes do not: and . In a harmonic optical trap, the position measurement observes the potential energy contribution; it does not measure both contributions by observing alone.[ref]
For particles in a three-dimensional classical monatomic gas, neglect interactions and thermally accessible internal excitations. Its three translational momentum terms give internal energy , heat capacity at constant volume , and heat capacity at constant pressure . Per mole, replace by the molar gas constant . For example, using stipulated , the molar heat capacity at fixed volume is . These results assume a dilute, nonrelativistic ideal gas with classical translational statistics, rather than a quantum degeneracy regime.
For an ideal gas of diatomic molecules, modeled as two chemical atoms with a bond, there are three translational quadratic terms, two accessible rotational kinetic energy terms for changes of bond orientation, and one bond-stretching harmonic oscillator with two quadratic terms. Rotation about the bond axis is not an additional active mode in this linear-molecule model. The three familiar limits of heat capacity at constant volume areCorresponding molar heat capacities are , and . Counting the stretching harmonic oscillator only once as would give the wrong last value.[ref]
The frozen regimes require quantum mechanics. In the simple molecular rotation model, with state degeneracy , , and moment of inertia . For the bond-stretching quantum harmonic oscillator, with angular frequency and from the Planck constant. When , the three limits above correspond to , , and , provided translational motion remains classical. They are smooth crossovers, not abrupt switches. Real molecules can have different allowed rotational populations; at high temperature, thermal dissociation, internal excitations and nonharmonic bond motion can invalidate the fixed-molecule model before its last limit is reached.[ref]
3 Quantum Gases. §3.4
For a quantum harmonic oscillator with fixed , put . Its exact mean energy and heat capacity areAt , the mean energy approaches and approaches . At , thermal excitation is exponentially suppressed and tends to zero, although the zero-point energy survives. Frozen thus means little thermal response, not zero motion or zero energy.[ref]
A motivating measurement is thermal calibration of an optical trap. A focused laser through a microscope objective confines a bead in water; imaging or a quadrant photodetector records a position time series. Gieseler and colleagues describe a polystyrene bead of radius at , a trapping laser, and photodetector acquisition at . Their recorded bead continues undergoing Brownian motion; higher trapping power produces a narrower equilibrium position distribution. Infer the centered variance, not a squared distance from an arbitrary camera origin:The normal distribution position histogram and agreement with dynamical calibration methods support the local harmonic optical trap interpretation. For a stipulated example, and imply . This calculated scale is not an experimental reading.[ref]
Position calibration is essential: if detector output has conversion , its physical variance is . An unknown scale cannot be determined together with from that one variance. A complementary calibration demonstrated by Tolić-Nørrelykke and colleagues combines the power spectrum of thermal motion with the bead response to known sinusoidal motion of a translation stage. The driven response supplies an additional length scale, and their method does not require bead size, liquid dynamic viscosity or wall distance as inputs. It still uses a thermal dynamical model; agreement between methods is a consistency check, not a theory-free proof of equipartition theorem.[ref]
The readout itself can hide fluctuations. Wong and Halvorsen used a optical trap and adjustable-exposure CCD imaging of a bead in water. They varied exposure and trapping power, held the bead away from the nearest wall, adjusted illumination to maintain comparable images, and measured tracking noise using a stuck bead. The measured variance fell as exposure increased; corrected results agreed with their time-averaging model. For a stationary overdamped harmonic optical trap, with optical trap relaxation time , an exposure of length measures . Its ideal noise-free variance isFor , : using the blurred variance in the uncorrected formula overestimates by . At , the calculated factor is . Additive tracking noise instead raises the measured variance and biases the inferred downward if left uncorrected.[ref]
Useful controls are to record over many optical trap relaxation times, compare blocks for drift, calibrate the position scale, measure fixed-bead noise, vary exposure, and check the position histogram for departures from a normal distribution. A sparse sequence of accurate instantaneous positions can estimate an equilibrium variance; a long exposure averages away motion even if many frames are collected. Flow, appreciable laser heating, escape from the harmonic region or nonconservative forces can break the assumed thermal equilibrium. Inferring by imposing equipartition theorem is a calibration, whereas testing the relation requires an independently established stiffness and position scale. The beautiful practical connection is that microscopic randomness can set a force scale: once calibrated, a small constant applied force displaces the mean by . The same quadratic-term counting predicts macroscopic heat capacity and makes microscopic fluctuations useful measurements.
Euler-Lagrange equation Created 2026-09-24 Updated 2026-11-05
For a sufficiently smooth functional , a stationary path with fixed endpoints satisfiesTo derive it, set with . The first variation is . Integration by parts makes it , and the fundamental lemma of the calculus of variations makes its coefficient zero.
For , the equation is , so stationary paths are straight lines. Stationarity is a necessary first-order condition; it does not by itself prove that the path is a minimum.
For a sufficiently smooth functional , the first variation in direction is . Twice applying integration by parts gives the interior coefficient and boundary expression . Variations supported in the interior and the fundamental lemma of the calculus of variations force the displayed equation. The remaining boundary terms give the natural boundary conditions for second-derivative functionals.
Euler-Lagrange field equation Created 2026-09-24 Updated 2026-11-05
The Euler-Lagrange field equation implements the principle of stationary action for a Lagrangian density depending on scalar fields and their first derivatives. For a single scalar field ,
Vary . Integration by parts transfers the derivative from to . The boundary term vanishes for variations supported away from the boundary; arbitrary interior variations then force the displayed coefficient to vanish. For , the result is the Klein-Gordon equation , using natural units and Minkowski metric signature . [ref]
For an action , vary the field with compact support, or fix both and its first derivatives on the boundary. One integration by parts on the first-derivative term and two on the second-derivative term give the displayed Euler-Lagrange field equation. With ordered repeated indices, define the second-derivative coefficient symmetrically so that . This convention avoids an unintended factor of two in mixed derivative terms. Higher spatial derivatives alone do not require higher time derivatives.
Expected maximum of two absolute standard normal variables Created 2026-10-31 Updated 2026-11-05
For two independent standard normal random variables, the maximum of their absolute values has distribution function for . Differentiation and integration by parts, using , give its expectation as . This exact value can detect missing factors in two-sided Gaussian-maximum estimates.
Exponential ground state of a linearly weighted Sturm-Liouville problem Created 2026-10-20 Updated 2026-10-25
For on , use the regular finite branch at zero, decay at infinity, and a finite quadratic-form energy. For trial functions with , integration by parts givesThe Rayleigh quotient is at least , with equality exactly for a nonzero multiple of . Direct substitution verifies that this is an eigenfunction with eigenvalue , so the lower bound is attained. The zero coefficient makes this a singular-endpoint Sturm-Liouville problem; regularity replaces a prescribed zero endpoint value. Continuous piecewise differentiable trials of finite form energy are allowed in the Rayleigh-Ritz method, even if their derivative has a jump away from the endpoint.
For a positive integer , multiply the exponential series by and integrate term by term from zero to . Its uniform convergence on every compact interval justifies the operation and proves the title identity. The resulting power series converges absolutely for every real or complex , by the ratio test. Repeated integration by parts evaluates the right side as an exponential times a polynomial, with its constant chosen to make the integral vanish at zero.
Finite element solution of the one-dimensional Poisson equation Created 2026-10-14 Updated 2026-10-31
Consider the Poisson equation on an interval with homogeneous Dirichlet boundary conditions:Two integrations and the endpoint conditions give the exact solution . To approximate it, multiply by a test function that vanishes at both endpoints. Integration by parts givesThe boundary term is zero. Thus the weak formulation is to find such thatThe zero-trace Sobolev space consists of square-integrable functions with square-integrable weak derivatives and zero endpoint values in their continuous representatives; it does not require a classical second derivative. This is why continuous piecewise linear functions are admissible despite corners. The Poincaré inequality makes a coercive bilinear form on . Strang derives this one-dimensional weak formulation, the piecewise-linear hat functions, and their load and derivative-product integrals in the cited lecture; its endpoint example uses a free left endpoint, while both endpoints here are fixed.[ref]
https://ocw.mit.edu/courses/18-085-computational-science-and-engineering-i-fall-2008/676ba0a00eef45a6cb3823c4da61ee11_18-085F08-L18.pdf. Strang, MIT 18.085, Lecture 18, transcript pp. 2–8: weak form, hat basis, and assembly
Take the uniform finite element mesh , , with . The continuous trial space isHere means polynomials of degree at most one on each interval. This is a conforming finite element space in , with interior piecewise-linear hat functions as a basis. Their endpoint values enforce the Dirichlet boundary conditions automatically. Set and test the weak formulation against each :Each interior hat has two slopes and , each over a length . Its squared derivative therefore integrates to . Adjacent hats have opposite slopes on their one shared interval, giving . All other derivative products vanish. The stiffness matrix is the tridiagonal matrixThe load is the area of a triangle of base and height one, including hats next to the boundary. Boundary hats are omitted because the boundary values are prescribed. The piecewise-linear hat function article explains how the same entries arise by adding local two-node contributions.
With four mesh intervals, , there are three unknowns:For example, the first row gives and the middle gives . The coefficients are the nodal values . At , linear interpolation gives , whereas : exactness at the nodes still leaves a visible error between them.
In this model the Galerkin method solution equals the nodal approximation obtained by linear interpolation on any finite element mesh. Indeed, on each interval , is the average of and is constant. Therefore . Summing proves Galerkin orthogonality for , and uniqueness gives . This argument relies on the constant diffusion coefficient, conformity and exact integration; nodal exactness is not a general promise for finite element methods with other operators or integration rules.
On a uniform mesh, direct subtraction of the chord from the parabola gives, on every element of length ,The largest value error is at an element midpoint. Its size and the energy norm error are exactlyThus gives and . With eight elements, , these become and . Halving the mesh spacing quarters the maximum value error but only halves the energy norm error: values and slopes converge at different rates. The figure shows the small value error at its own scale, where the four-to-one reduction becomes clear.
Finite Fresnel integrals Created 2026-10-14 Updated 2026-10-18
In the unscaled convention, the finite Fresnel integrals are and . Their Taylor series follow by termwise integration. At infinity both tend to , and their oscillatory tails have asymptotic expansions obtained by integration by parts. This convention differs from the convention with phase .
Finite-interval Airy spectral determinant 2026-10-14
Here . The missing-trace matrix has determinant . Its nonzero zeros are the eigenvalues in the parametrization of with . Integration by parts gives . No nonzero zero lies in : on its boundary the determinant equation reduces, after rotation, to an equality between a unit-modulus exponential and , whose modulus exceeds one unless . The zero at the origin is removable in the original boundary problem. There are nevertheless infinitely many genuine negative eigenvalues of , obtained from , , with . Absence of contour poles in the Fokas method does not imply absence of discrete spectrum of the operator.


