Average value of a function Created 2026-10-14 Updated 2026-10-18
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.
Discrete wavelet transform 2026-10-14
A discrete wavelet transform computes multiscale approximation and detail coefficients from sampled data. For the Haar wavelet, replace each adjacent pair byThe approximation coefficient is times the pair's arithmetic mean; it is not the ordinary mean. The detail coefficient records their signed contrast. Repeat on the approximation coefficients until only one remains, keeping every detail coefficient.
For a worked example, start with the vector . The first pass gives approximation coefficients and detail coefficients . Transforming the remaining pair gives the coarse coefficient and the half-to-half detail . In the order coarse value, coarse detail, then fine details, the transform isThis is an orthogonal matrix transformation. Each pair preserves , so the full transform preserves the squared Euclidean norm:The inverse function for each pair is , . Reversing the passes therefore recovers every original value. This squared-norm bookkeeping is often called signal energy; it need not represent physical energy. [ref]
https://www.mathworks.com/help/wavelet/ug/haar-transforms-for-time-series-data-and-images.html. MathWorks: Haar transforms, approximation/detail coefficients and squared-norm conservation
Continuous and discrete normalizations differ. If data values are interpreted as the heights of a step function on equal cells of , its normalized L2 inner product coefficients are the discrete coefficients divided by . For our four values they are , as the Haar projection example shows. The same normalization is used by the wavelet regression estimator on .
Under independent Gaussian noise with a common variance, orthogonality preserves that coefficient noise variance and independence. It does not make every arbitrary correlated signal independent: this statistical conclusion uses the Gaussian model and its equal-variance independent inputs.
Haar density estimator 2026-10-14
A Haar density estimator estimates the Haar scaling function coefficients by sample averages. It is exactly the histogram with cells of width . Its expectation is the Haar projection of the density. If the density has bounded derivative and is bounded by , its pointwise expected absolute error is at most : the first term is the Haar projection error for a Lipschitz function, and the second follows from the variance of a cell count and the Cauchy-Schwarz inequality. Choosing gives error while preserving nonnegativity and integral one.
Haar projection Created 2026-10-06 Updated 2026-10-14
The Haar projection at level is the orthogonal projection onto the functions constant on level- dyadic intervals. On each cell it replaces by its cell average. This is the closest cellwise-constant approximation in the L2 norm, because choosing a constant on a cell minimizes at its cell average.
On , take the step function with values on successive quarter-intervals. At level zero, its Haar projection is the constant . At level one, it has values and on the two halves. At level two, it recovers the four original values exactly. With normalized Haar wavelets, these approximations areThe coefficients are L2 inner products, so they differ from the discrete vector coefficients by the factor . Their squared sum also has a direct meaning:The approximation errors in squared L2 norm of are respectively : each added detail removes exactly its own squared coefficient from the error.
Coarse mean, half-interval contrasts and quarter-interval details reconstruct the same four-step function
. Details. The Haar projection can be expressed using level- Haar scaling functions, or through a coarse scaling family and the Haar wavelets at intermediate levels. On with lowest level zero, that coarse family is the single constant function . On the whole real line, use the integer translates of a coarse Haar scaling function instead; one global constant is not square-integrable. Refinement improves the representation while retaining the earlier coefficients.
The Haar projection replaces a function by its mean on each dyadic interval of length . For a function satisfying Lipschitz continuity with constant , every value in a cell differs from its cell mean by at most . This bound holds for all points with a consistent endpoint convention, and requires no global L2 norm assumption when the projection is defined by local averages.
Haar projection estimator in Gaussian white noise Created 2026-10-06 Updated 2026-10-07
In the Gaussian white noise model, estimate a Haar scaling function coefficient by . The resulting Haar projection estimator is an unbiased estimator with independent coefficient errors of variance . On each cell it is the observed path increment divided by the cell length. This gives a finite-dimensional estimator without imposing smoothness on the drift.
Multiresolution analysis Created 2026-09-24 Updated 2026-10-14
A multiresolution analysis organizes a function into successively finer approximation spaces. In the usual orthonormal construction on , these are closed linear subspaces withRescaling relates the levels: if and only if . Integer translates of a scaling function form an orthonormal basis of . The detail space is the orthogonal complement of inside , giving . Coarse information and new details therefore fit together without overlap in squared L2 norm.
For the Haar wavelet, consists of square-integrable functions constant on cells of length . Splitting every cell into two halves creates one new contrast per old cell, the Haar refinement identity. On the bounded example , the first three spaces have dimensions : a whole-interval mean, two half-interval means, and four quarter-interval means. The Haar projection diagram displays those three resolutions. This bounded construction starts at level zero; the displayed intersection condition refers to the full family on the real line.
The usefulness is a controlled way to increase resolution. Earlier coarse information remains available while new wavelet coefficients identify what the finer description adds. The wavelet approximation complexity connects this extra resolution to both approximation error and the number of coefficients being estimated. [ref]
https://arxiv.org/pdf/math/9304214. Gilbert Strang (1993), sections 1 and 3: Haar spaces, refinement and multiresolution
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 7 4 ii Solution Created 2026-10-03 Updated 2026-10-14
Put and represent the circle by . The full orthonormal basis of Haar wavelets includes the constant and, for every dyadic interval of length , the normalized detailTake half-open intervals and the corresponding values at their boundaries, so every point belongs to exactly one interval at each level. The constant basis function is necessary: if it were omitted, even could not satisfy the asserted convergence. We use the full conventional Haar wavelet system in the threshold sum.
Let be the function equal to the mean of on each level- dyadic interval. Comparing the means on a parent and its two children proves the Haar refinement identity directly: the difference between the child mean and the parent mean is the appropriate value of . Inductively this gives the Haar projectionWriting for the modulus of continuity, the cell-average formula yieldsFor a detail on a cell , its integral is zero. Subtracting for any therefore gives the coefficient estimateIn particular , so for every only finitely many details can have . The hard-threshold sumis thus a well-defined finite sum. Its chosen details need not form a complete set of levels; this is why convergence of the Haar projections alone does not prove the result.
Fix . Choose so that . All finer details satisfy at level . For sufficiently small , every nonzero coefficient at levels below , and the constant coefficient if nonzero, is retained. Also choose the unique integer such thatFor we have , so no such detail is retained. Consequently differs from only by omitted details at levels through . At any point there is at most one supported detail per level, and an omitted detail has magnitude at most . The geometric bound for omitted Haar details givesSince , we concludeThe right side can be made arbitrarily small, proving uniform hard-threshold convergence of normalized Haar expansions:The square-root scaling imposed by the specified normalization is what makes the omitted contributions a controlled geometric series.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 33 3 Solution Created 2026-10-03 Updated 2026-10-14
Let be the scaling function and an orthonormal wavelet, with and . For , the wavelet series at a coarse level isThe series converges in the L2 norm. Its coarse part captures broad variation and successive wavelet levels add finer detail. Truncating at levels produces the orthogonal projection onto ; Parseval identity makes its squared approximation error the sum of the omitted squared coefficients. Merely square-integrable functions need not have pointwise convergence.
For the Haar wavelet, use the cell convention and let be the unique such interval containing . The Haar scaling functions are , so the Haar projection isFor a merely locally integrable function this cell-average formula remains defined, even if a global orthogonal projection is unavailable. If , the mean value theorem gives Lipschitz continuity and, since on the cell,Thus the requested bound holds with , by the Haar projection error for a Lipschitz function.
To estimate a density, replace each scaling or wavelet coefficient or by the sample average of that basis function. The finite-resolution Haar density estimator is thereforeIt is the histogram on the dyadic cells, is nonnegative, and integrates to one. Its expectation is . A density with bounded derivative is bounded: the Lipschitz density height bound gives by integrating the triangular lower envelope . The case cannot be a probability density on the whole real line. Hence .
The cell probability is . The sample count has a binomial distribution, soThe Cauchy-Schwarz inequality bounds the mean centered absolute deviation by the square root of this variance. Adding the projection bias givesChoose , so . The two terms have the same order, andThis is a bias-variance tradeoff: refining the cells decreases the averaging bias but increases the sampling variance.
Haar projections of the standard normal density at three resolutions
. Details. The Haar projection averages this normal distribution density on each cell; the finer cells follow its variation more closely. A Haar density estimator replaces these exact cell probabilities by empirical frequencies and therefore also introduces sampling noise.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 36 2 Solution Created 2026-10-03 Updated 2026-10-06
In the Gaussian white noise model, observe the entire pathwhere is standard Brownian motion and the deterministic drift belongs to L2 space on . Equivalently, . For every deterministic , the observed stochastic integral satisfiesThe noise is an isonormal Gaussian process. In particular its variance is . Gaussian white noise is interpreted through these integrals, rather than as an ordinary random function with a pointwise value at every time. No smoothness of is needed.
Here is the Gaussian maximum bound without independence. Put . It is integrable since it is bounded by . For every ,The second inequality uses only the moment-generating function of the standard normal distribution, so independence is unnecessary. Jensen inequality gives , henceMinimizing at proves
For the dyadic partition, let , , putting the endpoint into the final interval. The Haar scaling functionsform an orthonormal basis of the space of functions constant on each interval. The Haar wavelets can be written asFor , the constant function together with , , is another orthonormal basis of . Indeed, each successive level splits a cell's two constants into their sum and difference; the number of basis elements is . Thus the Haar projection is the orthogonal projectionOn cell its value is . The first formula also applies to .
Estimate each coefficient by its observed stochastic integral:This is the Haar projection estimator in Gaussian white noise. The noise integrals over disjoint intervals form a Gaussian vector with zero off-diagonal covariance. The principle that uncorrelated jointly Gaussian variables are independent then makes these coefficients independent. ThereforeTaking expectations shows that is an unbiased estimator of , both coefficientwise and pointwise for the stated step-function representatives.
Only one scaling function is nonzero in each cell, so the supremum norm of the error has the exact formThe endpoint convention ensures the same identity at . Apply the Gaussian maximum bound without independence with to obtain the supremum norm risk of a Haar projection estimator:The factor comes from cellwise scaling, while the extra square root of comes from taking the maximum over Gaussian errors.

