Skip to content
Bass Plus
Research report · Not peer reviewed · Chowla’s general conjecture remains open

Sampling and Hidden Peaks

A waveform plot is a collection of evaluations joined by a drawing rule. Unless an error estimate is supplied, the lowest visible point is only an estimate of the true trough. A particularly instructive example shows that even an exactly correct RMS calculation cannot repair this gap.

An exact sampling trap

Take fN(x)=∑a=1Ncos⁡(ax)f_N(x)=\sum_{a=1}^N\cos(ax), and sample it at the q=2N+1q=2N+1 points xj=2πj/qx_j=2\pi j/q. The sum of all qq complex roots of unity is zero at every nontrivial root. Pairing conjugate terms gives

1+2∑a=1Ncos⁡(2πaj/q)=0(1≤j<q). 1+2\sum_{a=1}^N\cos(2\pi aj/q)=0\quad(1\le j<q).

Thus the samples are NN once and −1/2-1/2 at every other point. Their mean is zero and their mean square is

N2+2N(1/4)2N+1=N2. \frac{N^2+2N(1/4)}{2N+1}=\frac N2.

These are the true continuous mean and mean square. The sample minimum, however, is not the true minimum.

The Dirichlet identity is

1+2fN(x)=sin⁡((N+1/2)x)sin⁡(x/2), 1+2f_N(x)=\frac{\sin((N+1/2)x)}{\sin(x/2)},

with the values at removable singularities defined by continuity. At x=3π/qx=3\pi/q, its numerator is −1-1, so

−fN(3π/q)=12+12sin⁡(3π/(2q))≥12+q3π. -f_N(3\pi/q)=\frac12+\frac{1}{2\sin(3\pi/(2q))}\ge\frac12+\frac{q}{3\pi}.

The final inequality uses sin⁡u≤u\sin u\le u for positive uu. For increasing NN, the missed depth becomes arbitrarily large even though every nonzero sample remains fixed at −1/2-1/2.

A full-period waveform and a close-up show a deep negative trough between two sample points. The exact sample values are −1/2 away from the origin; an analytic point in the trough is below −3.Figure data (JSON) · SVG · PNG

Figure. The default demonstration uses N=12N=12 and q=25q=25. The off-grid marker is an exact witness, not an assertion that its location is the exact global minimizer. The continuous line should be labelled as a numerical drawing of the known analytic function.

Explore interactively

Why this does not contradict signal reconstruction

This function has known bandwidth and is a trigonometric polynomial of degree NN. Its 2N+12N+1 samples determine all of its coefficients. One can reconstruct the polynomial and then minimize it with a separate, controlled procedure. The failure occurs when the smallest recorded sample is treated as the minimum of the reconstructed continuous signal. The information is present, but the operation performed on it is insufficient.

That distinction is useful for a spectrum display or audio-analysis interface. A responsive plot can use a finite grid, but its text should not imply more accuracy than the computation supplies. The same caution applies when a numerical experiment searches many frequency sets: a small observed value of KK could simply be a trough the grid did not see.

A rigorous interval around a sampled estimate

For a general set AA, use MM equally spaced points and define KM=−min⁡jfA(2πj/M)K_M=-\min_j f_A(2\pi j/M). Every point of the circle is within π/M\pi/M of a grid point. Since

∣fA′(x)∣≤S1,S1=∑a∈Aa, |f_A'(x)|\le S_1,\quad S_1=\sum_{a\in A}a,

the true depth lies in [KM,KM+πS1/M][K_M,K_M+\pi S_1/M]. At a true minimizer the first derivative vanishes. Taylor's theorem and ∣fA′′∣≤S2|f_A''|\le S_2, where S2=∑a2S_2=\sum a^2, also give

K(A)∈[KM, KM+min⁡ ⁣(πS1M,π2S22M2)]. K(A)\in\left[K_M,\ K_M+\min\!\left(\frac{\pi S_1}{M},\frac{\pi^2S_2}{2M^2}\right)\right].

These inequalities are exact in real arithmetic. A software implementation must add a numerical evaluation tolerance if it claims a rigorously certified floating-point result. Merely printing many decimal places does not provide that tolerance.

What the interactive version should show

The useful interaction is to move the sample grid while retaining the continuous function and the off-grid witness. A second control changes the number of samples. The readout should distinguish sampled depth, analytic witness, and provable discretization error. When the witness is used, the lower endpoint can be increased to the larger of the sampled value and the witness depth.

The animation should begin only when the reader chooses Play. A paused slider is equally informative and easier to inspect. All states need keyboard controls and a static fallback. There is no reason to request microphone access or play sound: this example explains the geometry of measurement using an ideal mathematical signal.

For a related spectral version, see Waves and Lattice Particles. The full derivation, including the twisted finite ring, appears in the Mathematical Appendix.

Sampling and Hidden Peaks | Bass Plus