Summing one Fourier mode
A smooth closed curve parameterised by angle provides a natural periodic integral. On \(N\) equally spaced points \(\theta_j=2\pi j/N\), write the trapezoidal estimate of a mean as \(T_N=N^{-1}\sum_{j=0}^{N-1}f(\theta_j)\). The endpoint \(2\pi\) equals zero angle and is counted only once. For \(f=e^{ik\theta}\), put \(q=e^{2\pi i k/N}\). If \(q\ne1\) then
If \(q=1\) all \(N\) samples equal one.
For a Fourier series whose absolute convergence permits termwise summation, this gives
The continuous mean sees only the constant mode. The grid silently adds every integer multiple of its sample count to that mode. Fast decay of smooth Fourier coefficients usually makes this error small. A single deliberately aligned harmonic can defeat the rule.
Background · Fourier alias
On n equally spaced periodic samples two distinct continuum frequencies can yield precisely the same observations. Interpolation cannot disambiguate them without more information.
Two rings of sensors
A ring carries the temperature \(20+3\cos(8\theta)\) °C. Eight sensors at zero angular offset all read 23 °C. The true mean is 20 °C. Nine equally spaced sensors give the exact mean for this harmonic. Moving the eight sensors through an offset \(\phi\) changes their mean to \(20+3\cos(8\phi)\) while the ring is unchanged.
A different signal \(2+\cos(3\theta)+0.2\cos(10\theta)\) on five sensors gives 2.2 because the tenth harmonic aliases to zero frequency. Increasing the number to ten gives the same wrong answer. Independent node offsets or a noncommensurate sample count can challenge an apparently converged result.
Move the sampling ring
The curve gives the mean reconstructed from rotated sensors over one revolution. Change the number of sensors and the physical harmonic separately. Predict the counts that will make the measurement depend on the angular offset.
Tutorial on resolution
A discrete test gives the exact mean of \(\cos(7\theta)\) on eight equally spaced nodes. Can eight samples reconstruct that frequency uniquely?
Worked solution
Its mean vanishes, but samples of \(\cos(7\theta)\) coincide with those of \(\cos(\theta)\) on this grid. Accurate integration of the mean does not imply unique reconstruction.
Average two \(N\)-point rules offset by \(\pi/N\). Which aliases survive?
Worked solution
Together the rings form a \(2N\)-point uniform grid. Terms at odd multiples of \(N\) change sign between grids and cancel. Terms at even multiples survive.
Study the full derivation
Integrating cosine interpolants on nested grids · Function approximation and numerical integration
Chebyshev points turn polynomial interpolation into a cosine series. Derive the exact moments of each basis polynomial, explain aliasing and find a case where two consecutive quadrature grids confidently agree on the wrong answer.