Average value of a function 2026-10-14
For an integrable function on an interval of positive finite length, its average value is the integral divided by that length:If is constant on equal-length subintervals, this is their values' arithmetic mean; unequal lengths require a weighted mean. For example, values and on two equal halves give average value , whereas value on the first quarter and on the remaining three quarters give . The integral measures total contribution; the average value of a function divides out the interval length.
For the function on , the average value of a function is . Replacing it by the constant preserves its integral on this interval. This is why the Haar projection uses cell averages to obtain a coarser description while retaining each cell's total contribution.
Raster sampling and reconstruction 2026-10-13
A point-sampling model assigns to a pixel on a grid, where is a continuous function representing an image signal. An area-sampling model instead assigns the average value of a function over a specified footprint. These are different models: a narrow feature between point samples can be missed, whereas its contribution to an area sample depends on its width and shade. Neither model says that the recorded value uniquely determines everything inside a grid cell.
The upper panels start with exactly the same array. Nearest-neighbor interpolation repeats its values into a display; successive linear interpolations in the two coordinate directions produce a smoother display. Original sample positions are marked. Both displays use 384 output pixels, but only the same 24 recorded values. The extra values follow the chosen interpolation rule. Between-grid appearance is inferred, not independently recorded.
Spatial resolution needs a stated meaning. A grid over a rectangle of width and height has nominal cell pitches and . Over the same rectangle, doubling both dimensions halves these pitches and quadruples the pixel count. That is a finer grid, not a guarantee of more recoverable detail. Blurring before sampling, quantization and aliasing can make different originals share the same recorded array. Enlarging the rectangle without adding samples instead increases the displayed pitch.
A reproducible computational demonstration makes the ambiguity exact. Take the one-dimensional profiles and , repeated identically along every row. Sample at for . Since , the fact that the sine is a periodic function gives . Both yield , although at they give approximately and . The lower panel draws both originals and their common samples: no operation on those samples alone can identify the original profile. This is aliasing in an ideal point-sampling model, without image noise or rounding.
The Nyquist–Shannon sampling theorem describes reconstruction under a bandwidth restriction and ideal sampling assumptions; it does not grant uniqueness for arbitrary image signals from a finite raster image.[ref]
https://fab.cba.mit.edu/classes/S62.12/docs/Shannon_noise.pdf. Shannon, Communication in the Presence of Noise (1949), section II, Theorem 1 and reconstruction from the infinite sample sequence
The beautiful lesson is constructive: choose what detail the grid should preserve before sampling, and choose a reconstruction rule suited to the information actually retained. Virial theorem Created 2026-09-24 Updated 2026-10-13
The virial theorem relates the average value of a function along a trajectory to the forces that bind it. For an isolated system of particles interacting through Newtonian gravitational potential energy, it gives : the average kinetic energy is half the magnitude of the average negative potential energy. An eccentric Kepler orbit makes the distinction vivid: kinetic energy and potential energy vary throughout the orbit, although their sum is constant. The relation concerns their time averages, rather than their values at every instant. It underlies the virial mass estimate and the negative heat capacity of a virialized gravitational system.
Use constant positive particle masses , positions , mechanical momenta , and total kinetic energy . The auxiliary quantity is a sum of dot products, not the gravitational constant, which we denote here by :This finite- identity is exact wherever Newton's second law holds along a regular trajectory; must include every force. The endpoint term is what a finite observation window leaves behind. For the infinite-time theorem, suppose the averages on the left exist and . A sufficient condition is uniformly bounded positions and velocities for finitely many particles. More generally suffices, even without those individual bounds. Bounded positions alone do not supply a bound on momenta, especially near a singular potential energy; nor does a small endpoint term prove thermodynamic equilibrium. Periodic motion with gives the identity without an endpoint term at that finite . For an isolated system, use an inertial centre of mass frame so translational drift does not contribute bulk kinetic energy.[ref]
1 The Expanding Universe. Cosmology by David Tong, §1.4.3, “The Virial Theorem and Galaxy Clusters”: bounded positions and velocities, existence of averages, equation (1.74) and endpoint limit
For a differentiable potential energy that is a homogeneous function of degree , choose its additive constant so that the scaling law really holds. With conservative forces, the Euler theorem for homogeneous functions givesThus a harmonic oscillator has and . An isolated system with Newtonian gravitational potential energy hasEach interacting pair occurs once, and at infinite separation. Here the total energy is conserved. An external field or a mixture of different scaling powers requires its own force term; one cannot assign the whole potential energy a single degree . The virial theorem for a homogeneous pair potential states the corresponding general energy relation.
