GLOBAL KNOWLEDGE ARK

Mathematics · Article

Wavelets and time–frequency descriptions

Derive localized Fourier and wavelet descriptions, construct Haar and orthogonal filter banks, and qualify reconstruction, compression, boundaries and noise in explicit norms and conventions.

Back to Mathematics

After reading, you can

  • Define STFT and CWT coefficients with consistent conjugation, Fourier measures, dilation signs and physical units.
  • Derive energy identities and weak or L2 reconstruction, retaining the conditions for sampled frames and one-sided spectral analysis.
  • Prove the finite-variance time–frequency uncertainty inequality and compute the complete normalized Gaussian example.
  • Construct Haar multiresolution and finite orthogonal analysis, then derive alias cancellation and exact four-tap filter moments.
  • Analyze boundary conventions, shift sensitivity, undecimated redundancy, tensor image channels and finite packet-tree optimization.
  • Quantify orthonormal approximation and coefficient-error bounds, and distinguish shrinkage identities from qualified statistical recovery.
01

Local descriptions of signals, scale and reconstruction

A wave packet in a laboratory, a musical attack and an image edge raise related questions: where does a change occur, over what scale does it persist, and which oscillations help describe it? A global spectrum can be an awkward display for locating an onset even though the full complex transform retains the signal. Windowed Fourier analysis and wavelets reorganize that information through chosen analyzing functions. The choice changes localization and coefficient interpretation; a finely colored picture is not automatically an independent physical measurement.

Begin with the Fourier, convolution and Hilbert-space results already established. A fixed window leads to the short-time Fourier transform, while translated dilations lead to a continuous wavelet transform. Their energy identities, reconstruction measures and frequency conventions must agree. A normalized Gaussian makes the variance tradeoff explicit. Haar averages and differences then give a fully constructed multiresolution basis, an exact finite transform and a route to quadrature-mirror filters, two-dimensional detail channels and packet libraries.

The advanced conclusions retain their qualifications. Finite filter reconstruction does not alone prove existence of a continuous wavelet basis. Boundary extension and downsampling can change coefficient behavior. Sparse approximation uses orthogonality, while shrinkage needs an actual penalty and noise model. Work through the derivations and exact examples to distinguish these statements, then use the error and finite-information arguments when interpreting an acoustic signal, a sensor trace or an image reconstruction.

02

Coordinates, units and a windowed coefficient

A Fourier transform records how a whole signal pairs with oscillations. A localized description first chooses a nonzero window g in L2(R). Use the angular transform fhat(omega)=integral f(t)*exp(-i*omega*t)dt and the complex inner product <f, g>=integral f(t)*conj(g(t))dt, linear in f. Define T_x*g(t)=g(t-x) and M_omega*g(t)=exp(i*omega*t)*g(t). Both are unitary on L2: translation is a change of variable and modulation has modulus one.

The short-time Fourier transform, or STFT, is V_g f(x, omega)=<f, M_omega*T_x*g>=integral f(t)*conj(g(t-x))*exp(-i*omega*t)dt. The location x describes the window center according to its chosen reference, and omega is angular frequency. A window need not have compact support or a unique center. Its choice is part of the measurement; it cannot be omitted when comparing coefficient magnitudes or resolutions.

If physical time has unit T, signal amplitude has unit A, and a window is normalized so integral |g|^2 dt is dimensionless, then g has unit T^(-1/2). The coefficient V_g f has unit A*T^(1/2), while |V_g f|^2 has the signal-energy unit A^2*T. The product dx*domega is dimensionless because x has unit T and omega has unit T^(-1). The phase-space energy measure used below is dx*domega/(2*pi), with precisely the same angular convention as Plancherel.

Calling |V_g f|^2 a spectrogram specifies a nonnegative coefficient picture, not a new pointwise value of f. An L2 signal is an equivalence class; modifying it at isolated points changes none of these integrals. Rescaling the window changes the coefficients and the energy normalization. The existence, reconstruction and localization conclusions therefore name both the signal space and the actual window. For a mathematical comparison of localized transforms, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). The angular transform, inner-product order, atom order and physical units used here remain explicit.

03

Existence and continuity of the short-time Fourier transform

For any f, g in L2(R), any real x and any real omega, Cauchy-Schwarz gives integral |f(t)*conj(g(t-x))|dt <= norm(f)_2*norm(T_x*g)_2 = norm(f)_2*norm(g)_2. Thus every displayed STFT coefficient exists as an absolutely convergent ordinary integral. This holds even when neither f nor g belongs to L1 and their ordinary Fourier transforms are not given by absolutely convergent integrals.

The same estimate gives |V_g f(x, omega)| <= norm(f)_2*norm(g)_2 at every coordinate. Replacing f by k changes every coefficient by at most norm(f-k)_2*norm(g)_2. Replacing the window by h changes every coefficient by at most norm(f)_2*norm(g-h)_2. These are uniform bounds over the entire coordinate plane, but they do not say that sampling any particular grid gives a stable inverse.

Translations are strongly continuous on L2: one can prove the assertion first for continuous compactly supported functions and extend it by their density and translation isometry. Modulations are strongly continuous by dominated convergence applied to |g(t)|^2*|exp(i*eta*t)-1|^2, bounded by 4*|g(t)|^2. Combining these facts and the triangle inequality shows norm(M_omega*T_x*g-M_nu*T_y*g)_2 tends to zero as (x, omega) tends to (y, nu).

Pair the last norm difference with f to conclude that V_g f is jointly continuous in x and omega. The continuity is a property of the integral coefficients, not an unstated continuity assumption on f. No finite first moment, classical derivative or band limit was used. Stronger differentiability and decay estimates require stronger assumptions on the signal or window and are not supplied by this bound alone. For continuous Gabor coefficients, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf). The pointwise coefficient bound does not establish a stable inverse on an arbitrary grid.

04

Translation and modulation covariance

For a time shift T_a*f, substitute u=t-a in the absolutely convergent STFT integral. Its window factor becomes conj(g(u-(x-a))), and its exponential supplies exp(-i*omega*a). Consequently V_g(T_a*f)(x, omega)=exp(-i*omega*a)*V_g f(x-a, omega). The magnitude moves along the time coordinate, while the complex coefficient also acquires a frequency-dependent phase.

For modulation M_b*f, combine exp(i*b*t) with the analysis exponential. This gives V_g(M_b*f)(x, omega)=V_g f(x, omega-b). Applying the time-shift identity at the shifted frequency yields V_g(M_b*T_a*f)(x, omega)=exp(-i*(omega-b)*a)*V_g f(x-a, omega-b). The phase contains omega-b, not merely omega.

The order matters because T_a*M_b*f(t)=exp(i*b*(t-a))*f(t-a)=exp(-i*a*b)*M_b*T_a*f(t). This scalar has modulus one, so reversing the order changes the complex STFT by the same scalar but does not change its spectrogram. No commutation of the two operators without that factor is justified.

These exact covariance identities explain how a localized carrier packet moves in a time-frequency display. They do not establish that a general multicomponent signal has a unique carrier or that every visible peak is a separate source. The shift a has time units and b has inverse-time angular units, so all exponential arguments are dimensionless. A numerical display using hertz must convert b=2*pi*frequency together with its integration measure. For the translation and modulation framework, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). Changing the operator order changes a phase even when squared magnitudes agree.

05

Moyal energy and the phase-space measure

Set q_x(t)=f(t)*conj(g(t-x)). It is in L1 for every x by the preceding existence bound. Tonelli also gives integral_R integral_R |q_x(t)|^2 dt dx = integral_R |f(t)|^2*(integral_R |g(t-x)|^2 dx)dt = norm(f)_2^2*norm(g)_2^2. Hence q_x is in L2 for almost every x, although it need not be in L2 at every exceptional location.

At each such location its ordinary L1 Fourier transform is V_g f(x, omega), and the L1/L2 agreement and Plancherel theorem apply. Therefore integral_R |V_g f(x, omega)|^2 domega/(2*pi)=integral_R |f(t)|^2*|g(t-x)|^2 dt for almost every x. Integrating in x proves the Moyal identity: integral_R2 |V_g f|^2 dx*domega/(2*pi)=norm(f)_2^2*norm(g)_2^2.

For another signal k and window h, the cross identity is integral_R2 V_g f*conj(V_h k) dx*domega/(2*pi)=<f, k>*<h, g>. One may derive it by the same Fourier pairing first for regular compactly supported inputs, where the time/window products are justified, and then extend by L2 density and the just-proved bounds. The window factor is <h, g>, the conjugate of <g, h>, because the inner product is linear in its first entry.

If norm(g)_2=1, the continuous analysis is an isometry from signal L2 into phase-space L2 with the stated measure. This does not make its range the whole phase-space space: different coordinates form a redundant family. Nor does it say that an unweighted discrete sum of pixels has exactly the signal energy. A finite grid needs its own sampling, weights and reconstruction analysis. For continuous-transform energy identities, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). The measure is dx*domega/(2*pi), and an arbitrary finite pixel sum is a separate approximation.

06

Weak reconstruction and its convergence

Let A_g map f to V_g f in the phase-space Hilbert space with measure dx*domega/(2*pi). Moyal gives norm(A_g f)=norm(g)_2*norm(f)_2. Its bounded Hilbert adjoint A_g^* is characterized by <A_g f, F>=<f, A_g^*F>. The cross identity with the same window on both sides gives A_g^* A_g=norm(g)_2^2*I.

For nonzero g this yields f=norm(g)_2^(-2)*A_g^*(V_g f). In weak integral language, for every k in L2, <f, k>=norm(g)_2^(-2)*integral_R2 V_g f(x, omega)*<M_omega*T_x*g, k> dx*domega/(2*pi). The scalar integral is absolutely convergent by phase-space Cauchy-Schwarz and Moyal for f and k. The weak statement specifies its meaning even when a pointwise vector integral over the whole plane is unavailable.

Take increasing finite rectangles E_R exhausting phase space and define f_R=norm(g)_2^(-2)*A_g^*(1_(E_R)*V_g f). On each finite rectangle the atom norm is norm(g)_2 and the coefficient is L1 by Cauchy-Schwarz, so this truncated synthesis is also a legitimate Bochner L2 integral. Its error is at most norm(g)_2^(-1)*norm(1_(E_R complement)*V_g f)_phase, which tends to zero by square integrability.

Thus the complete STFT determines f in L2 and its specified truncations reconstruct in L2. This is not an assertion of absolute full-plane synthesis in signal norm, pointwise convergence at every t, or stability of arbitrary finitely sampled coefficients. Those conclusions require additional integrability, sampling or frame hypotheses. A particular window remains part of the reconstruction divisor. For Hilbert-space reconstruction formulations, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). The stated inverse retains the window-energy divisor and its weak or L2 convergence meaning.

07

Spectrogram marginals are smoothed energies

The time marginal follows directly from the almost-everywhere Plancherel calculation: integral |V_g f(x, omega)|^2 domega/(2*pi)=integral |f(t)|^2*|g(t-x)|^2 dt. It is the convolution of |f|^2 with the reflected window energy |g(-t)|^2 evaluated at x. Unless the window is an idealized delta rather than an L2 function, this is a smoothed signal-energy profile.

For regular rapidly decreasing inputs, regard V_g f as a function of x at fixed omega. It is the convolution of f(t)*exp(-i*omega*t) with conj(g(-t)). Its Fourier transform in x at frequency eta is fhat(eta+omega)*conj(ghat(eta)). Plancherel in x therefore gives integral |V_g f(x, omega)|^2 dx = (1/(2*pi))*integral |fhat(xi)|^2*|ghat(xi-omega)|^2 dxi.

For general L2 inputs these marginal statements hold almost everywhere and as identities between L1 energy densities. Approximate f and g in L2 by rapidly decreasing functions. The corresponding STFTs converge in phase-space L2 by the earlier norm bounds, so their squared magnitudes converge in L1. Their Fourier energy densities also converge in L1 by Plancherel and Cauchy-Schwarz. These facts pass both marginals to the limit without assuming every individual frequency slice is finite.

Integrating either marginal with its remaining angular factor gives norm(f)_2^2*norm(g)_2^2. The reflected energy windows, normalization factors and almost-everywhere scope matter. A spectrogram row or column is not automatically a sharp physical energy density at one exact time or frequency. Finite windows and interference limit that interpretation even when the underlying continuous transform reconstructs perfectly. For the continuous Gabor setting, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf). The marginal formulas above are derived for the stated reflected windows and almost-everywhere scope.

08

A precise time-frequency uncertainty inequality

Assume norm(f)_2=1, t*f is in L2 and the weak derivative fprime is in L2. Define mu_t=integral t*|f(t)|^2dt and mu_omega=(1/(2*pi))*integral omega*|fhat(omega)|^2 domega; the stated second-moment hypotheses make these finite. Define sigma_t^2=norm((t-mu_t)*f)_2^2 and sigma_omega^2=(1/(2*pi))*integral (omega-mu_omega)^2*|fhat(omega)|^2 domega.

Translate f to zero time mean and demodulate it to zero frequency mean, obtaining u with norm(u)_2=1. The L2 derivative identity gives norm(uprime)_2=sigma_omega, while norm(t*u)_2=sigma_t. Integration by parts with smooth compact cutoffs gives 2*Re(integral t*uprime(t)*conj(u(t))dt)=-1. The cutoff boundary contributions vanish by the L2 hypotheses, so no pointwise endpoint value of u at infinity is assumed.

Cauchy-Schwarz now yields 1 <= 2*norm(t*u)_2*norm(uprime)_2 = 2*sigma_t*sigma_omega. Thus sigma_t*sigma_omega>=1/2. If ordinary frequency nu=omega/(2*pi) is used consistently, sigma_nu=sigma_omega/(2*pi) and sigma_t*sigma_nu>=1/(4*pi). These are standard deviations of normalized energy densities, not widths defined by arbitrary plotting thresholds.

Equality requires equality in both the real-part bound and Cauchy-Schwarz. For a nonzero normalized function this forces uprime=-c*t*u with real c>0, giving a centered real-width Gaussian up to a constant phase. Restoring translation and modulation gives the equality family. A signal with infinite time or frequency second moment is outside the finite-variance equality calculation; the inequality does not define a finite resolution for such a signal. For Gaussian localization and the Hilbert-space setting, see [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf); [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf). The complete variance proof above uses its stated moment and weak-derivative hypotheses.

09

The Gaussian attains the bound

For sigma>0 let g_sigma(t)=(pi*sigma^2)^(-1/4)*exp(-t^2/(2*sigma^2)). Squaring its modulus and using the Gaussian integral gives norm(g_sigma)_2=1. Its energy density is symmetric, so both centered means vanish. Differentiating the Gaussian integral with respect to its positive parameter, or integrating its second moment directly, gives sigma_t^2=sigma^2/2.

The angular Fourier pair from the preceding transform lesson gives ghat_sigma(omega)=(pi*sigma^2)^(-1/4)*sigma*sqrt(2*pi)*exp(-sigma^2*omega^2/2). The normalized frequency-energy density is |ghat_sigma|^2/(2*pi), whose variance is 1/(2*sigma^2). Their variance product is 1/4 and their standard-deviation product is 1/2, attaining the bound with all hypotheses satisfied.

For its self-STFT, complete the square t^2+(t-x)^2=2*(t-x/2)^2+x^2/2. The remaining Gaussian Fourier integral gives V_g g(x, omega)=exp(-x^2/(4*sigma^2)-sigma^2*omega^2/4)*exp(-i*omega*x/2). At the origin the coefficient is one. The complete spectrogram is exp(-x^2/(2*sigma^2)-sigma^2*omega^2/2); its phase-space integral with divisor 2*pi is one, consistent with Moyal.

Time and angular-frequency spreads are reciprocalA centered minimum-uncertainty state; Each panel is an energy density integrating to one in its labeled measure. The means are 0 in time and 0 in angular frequency. All choices share fixed axes per panel. The unlabeled marks flank each signed center by one standard deviation.Time and angular-frequency spreads are reciprocal-0.10501.33-44Time energy |f(t)|²t₀=0Signed time and spread marksPhysical time t · energy density relative to dt-0.06500.68-7.67.6Spectral energy |F(ω)|²/(2π)ω₀=0Signed angular and spread marksAngular frequency ω · energy density relative to dω
Each panel is an energy density integrating to one in its labeled measure. The means are 0 in time and 0 in angular frequency. All choices share fixed axes per panel. The unlabeled marks flank each signed center by one standard deviation.

The squared time magnitude is a normal density with precision 4a. The squared magnitude of the angular Fourier transform, divided by 2π, is a normal density with variance a. Translation and modulation move the two means, and the angular-frequency uncertainty inequality is saturated by the state.

Exact time and angular-frequency measures
QuantityExact result
Input norm ∥f∥₂1
Time measure|f(t)|² dt
Frequency measure|F(ω)|² dω/(2π)
Time energy density√(2a/π) exp(−2a(t−t₀)²)
Angular-frequency densityexp(−(ω−ω₀)²/(2a))/√(2πa)
Time mean and variance0 / 1/2
Angular-frequency mean and variance0 / 1/2
Variance product1/4
Std. deviation product1/2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a1/2
t00
w00

Increasing sigma broadens the time profile and narrows the angular-frequency profile. The spectrogram marginals have variances sigma^2 and 1/sigma^2, the sums of the identical signal/window variances, rather than the single-function variances sigma^2/2 and 1/(2*sigma^2). Gaussian tails are not compact supports. These width identities describe this exact transform and energy convention; they do not prohibit estimating parameters more precisely under additional statistical assumptions. For Gaussian coherent-state context, see [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). The exact widths and phase are obtained from the displayed normalized Gaussian calculation.

10

Chirps shear a matched time-frequency description

Define a chirp multiplication C_kappa*f(t)=exp(i*kappa*t^2/2)*f(t), where kappa is real. It is unitary on L2 because its multiplier has modulus one. The derivative of its added phase is kappa*t, suggesting a frequency that changes with time, but this observation alone does not give an exact STFT ridge for an arbitrary fixed analysis window.

Apply the chirp to both f and g in the coefficient integral. The phase difference is kappa*(t^2-(t-x)^2)/2=kappa*x*t-kappa*x^2/2. Factoring the term independent of t gives the exact identity V_(C_kappa g)(C_kappa f)(x, omega)=exp(-i*kappa*x^2/2)*V_g f(x, omega-kappa*x). Absolute convergence remains valid because both chirp-multiplied functions are L2.

Taking squared magnitudes shows a shear: the original spectrogram is evaluated at (x, omega-kappa*x). The shear has Jacobian one, so its phase-space energy integral is unchanged, as required by Moyal and chirp unitarity. With dimensional time, kappa has unit T^(-2); kappa*x has the angular-frequency unit and kappa*x^2 is dimensionless.

The window on the left is the chirped window C_kappa g, not the original g. Using this identity to assert an exact shear for V_g(C_kappa f) would change the measurement without justification. Chirp-adapted displays can sharpen certain known phase patterns, but unknown chirps, overlapping components and noise still require an actual estimation model. The algebra neither identifies a unique physical source nor defeats the finite-variance uncertainty inequality. For the coherent-state framework, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). The shear proved above changes both the signal and the analysis window.

11

Interference and finite resolution

STFT analysis is linear in the signal: V_g(f1+f2)=V_g f1+V_g f2. Squaring gives |V_g(f1+f2)|^2=|V_g f1|^2+|V_g f2|^2+2*Re(V_g f1*conj(V_g f2)). The cross term may be positive, negative or zero at a coordinate. The total spectrogram remains nonnegative, but separate component spectrograms do not generally add.

For the simplest counterexample take a nonzero f1 and f2=-f1. The total signal and its spectrogram vanish, while each separate spectrogram is nonzero somewhere by Moyal. No interpretation assigning the sum of their two nonnegative pictures to the total signal can be correct. Less extreme phase differences produce partial cancellation or enhancement rather than two independent local energy contributions.

Integrating the cross term over phase space gives 2*norm(g)_2^2*Re(<f1, f2>). Thus orthogonal components have zero integrated cross contribution, yet their cross term can still be nonzero in individual regions. Orthogonality is a global inner-product statement. Localizing both components with a window need not preserve a particular component-wise orthogonality at each coordinate.

A visible concentration is therefore evidence about windowed coefficients under a chosen convention. Assigning it an onset, pitch, source or uncertainty interval requires additional hypotheses and checks. A longer window changes frequency resolution while mixing a larger time range; a shorter one changes the opposite tradeoff. Neither a finer plotting grid nor nonnegative coloring removes the cross term or supplies an unobserved decomposition. For phase-space descriptions of signals, see [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf); [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf). A nonnegative spectrogram still contains interference and does not uniquely label physical components.

12

When a sampled Gabor family is a frame

Choose positive lattice spacings a and b and atoms u_(m, n)=M_(n*b)*T_(m*a)*g. A frame assumption means there are actual constants 0<A<=B<infinity such that A*norm(f)_2^2 <= sum_(m, n)|<f, u_(m, n)>|^2 <= B*norm(f)_2^2 for every f in L2. The upper bound defines a bounded analysis operator C into ell2; the lower bound asserts stable information retention. The existence of the constants is a hypothesis, not a consequence of drawing a grid.

Define S=C^*C, so <S*f, f>=norm(C*f)^2. This is bounded, positive and self-adjoint, with A*norm(f)^2<=<S*f, f><=B*norm(f)^2. Cauchy-Schwarz gives norm(S*f)>=A*norm(f), hence S has trivial kernel and closed range. Its range is dense because its orthogonal complement is ker(S^*)=ker(S)={0}. Therefore S is onto and has bounded inverse with norm at most 1/A.

The synthesis map C^* takes an ell2 sequence to the unconditional L2 sum of its coefficients times the atoms; this follows by applying its boundedness to finite-coordinate partial sums. Consequently f=S^(-1)*C^*C*f=sum_(m, n)<f, u_(m, n)>*S^(-1)*u_(m, n), unconditionally in L2. Self-adjointness also gives the dual-coefficient expansion f=sum <f, S^(-1)*u_(m, n)>*u_(m, n). For a tight frame with A=B, S=A*I and division by A is sufficient.

If supplied analysis coefficients have an ell2 error e, this canonical dual synthesis has error at most sqrt(B)*norm(e)/A, a valid bound from the two operator norms. A denser grid can create redundancy without making its coefficients independent. An arbitrary sparse or ill-chosen lattice may fail the lower bound entirely. No density theorem, endpoint classification or stable finite crop follows merely from the continuous STFT reconstruction theorem. For actual frame bounds and dual reconstruction, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). The lower and upper bounds are hypotheses to verify for the actual window and lattice.

13

A box-window Gabor orthonormal basis

Let T>0 and g(t)=T^(-1/2)*1_[0, T)(t). Its lattice atoms can be written u_(m, n)(t)=T^(-1/2)*1_[m*T, (m+1)*T)(t)*exp(2*pi*i*n*t/T), with integers m, n. For different m their supports are disjoint up to null endpoints. For the same m, integrating the product of exponentials over the length-T interval gives one for equal n and zero otherwise.

To prove completeness, suppose f is orthogonal to every atom. Its restriction to each interval is L2 on that interval, and all its Fourier-series coefficients in the normalized length-T exponential basis vanish. The Fourier completeness already established in the series lesson makes that restriction zero almost everywhere. Countably many intervals cover R up to endpoints, so f=0 almost everywhere. The atoms therefore form an orthonormal basis and a frame with A=B=1.

For omega!=0 the window transform is G(omega)=T^(-1/2)*(1-exp(-i*omega*T))/(i*omega), with removable value sqrt(T) at zero. Thus omega^2*|G(omega)|^2=4*sin^2(omega*T/2)/T. This nonnegative periodic expression has a fixed positive integral on each frequency period, so its integral over R diverges. The normalized box has a finite time second moment but no finite second frequency moment.

This exact example links local Fourier series to a critically sampled Gabor basis. Its sharp time edges produce long frequency tails, so it does not attain the finite Gaussian uncertainty equality. No contradiction arises: the finite-frequency-variance hypothesis fails. The example proves this one basis and its limitations; it is not a proof that every other window or every critical lattice has the same behavior. For the frame and localization context, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). This box basis is proved directly; its divergent second frequency moment is part of the conclusion.

14

Wavelets translate and dilate a mother function

For a mother function psi in L2(R), positive scale a and location b, define psi_(a, b)(t)=a^(-1/2)*psi((t-b)/a). A change of variable u=(t-b)/a gives norm(psi_(a, b))_2=norm(psi)_2. The continuous wavelet transform is W_psi f(a, b)=<f, psi_(a, b)> for f in L2, and every coefficient exists absolutely by Cauchy-Schwarz with the same bound norm(f)_2*norm(psi)_2.

For an L1/L2 mother, the Fourier change of variable gives psihat_(a, b)(omega)=sqrt(a)*exp(-i*omega*b)*psihat(a*omega). Approximation and Plancherel extend this equality in L2 to every L2 mother. Scaling spreads the time support by a and compresses its frequency profile by the reciprocal factor. It is not the fixed-width translation/modulation family used by the STFT.

One physical convention treats the mother coordinate u as dimensionless and a, b, t as time quantities. Then psi_(a, b) has unit T^(-1/2), W_psi f has unit A*T^(1/2), and a*omega is dimensionless. The integration measure db*da/a^2 is dimensionless. Alternatively a can denote a dimensionless ratio to a fixed reference time; that reference must then accompany every reported physical scale-frequency conversion.

Only positive scales are used here. That avoids silently counting negative dilations twice, but it makes the positive and negative frequency responses important for a complex mother. A real mother has conjugate-symmetric Fourier values, while a one-sided complex mother may omit an entire spectral half. Norm invariance alone does not establish either admissibility or reconstruction. For translated and dilated analyzing functions, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). Positive scales and the two spectral half-lines are kept separate here.

15

Admissibility and zero mean

Define C_plus=integral_0^infinity |psihat(u)|^2 du/u and C_minus=integral_0^infinity |psihat(-u)|^2 du/u. These use angular-frequency transform values of the mother. Finiteness controls both the zero-frequency singular weight and the high-frequency tail. A usable inverse on a given spectral subspace also needs the corresponding constant to be positive, not merely finite.

If psi is L1, psihat is continuous at zero and psihat(0)=integral psi. If this mean is nonzero, continuity gives |psihat(u)| and |psihat(-u)| at least half its magnitude for sufficiently small positive u. Both admissibility integrals then dominate a positive multiple of integral_0^epsilon du/u and diverge. Thus an L1 admissible mother must have zero mean. For a general non-L1 L2 mother an ordinary mean may not exist, so that formulation cannot be imposed without its hypothesis.

Conversely assume psi is in L1 and L2, its mean is zero, and M1=integral |t*psi(t)|dt is finite. Subtracting the zero mean gives psihat(omega)=integral psi(t)*(exp(-i*omega*t)-1)dt, so |psihat(omega)|<=|omega|*M1. Each low-frequency admissibility integral on (0, 1) is therefore at most M1^2/2. Each remaining tail is at most integral_R |psihat|^2=2*pi*norm(psi)_2^2 because 1/u<=1 on u>=1. Both constants are finite.

For a nonzero real mother, |psihat(-u)|=|psihat(u)| and C_plus=C_minus=C with 0<C<infinity. For a complex mother the two constants can differ or one can vanish. The sufficiency argument supplies one convenient class; zero mean alone, without a quantitative small-frequency bound, is not asserted to imply admissibility for every L1/L2 function. Nor is an ordinary constant signal an L2 test signal on the whole real line. For admissibility and spectral subspaces, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). Zero mean alone is not used as an unconditional sufficiency theorem.

16

The continuous wavelet energy identity

Fourier pairing writes the coefficient as W_psi f(a, b)=sqrt(a)/(2*pi)*integral fhat(omega)*conj(psihat(a*omega))*exp(i*omega*b)domega. The integrand is L1 by Fourier-space Cauchy-Schwarz. When its frequency product is also L2, Plancherel in b gives integral_R |W_psi f(a, b)|^2 db = a/(2*pi)*integral_R |fhat(omega)|^2*|psihat(a*omega)|^2 domega.

Integrate with da/a^2 and use Tonelli on the nonnegative expression. For omega>0, substituting u=a*omega makes the inner integral integral_0^infinity |psihat(u)|^2 du/u=C_plus. For omega<0 it gives C_minus. Therefore integral_(a>0, b in R)|W_psi f(a, b)|^2 db*da/a^2 = (1/(2*pi))*integral_R |fhat(omega)|^2*C_sign(omega) domega, with C_sign equal to the appropriate half-line constant; the single zero frequency is a null set.

For complete L2 rigor one may first take bounded compactly supported Fourier data, for which each relevant frequency product has the required square integrability. If both constants are finite, the resulting identity bounds the analysis by sqrt(max(C_plus, C_minus))*norm(f)_2. Approximation by those Fourier data extends the transform in the weighted phase-space L2 norm. Its pointwise integral coefficients converge uniformly by the earlier L2 coefficient bound, so the extension is the same coefficient function almost everywhere.

For a real admissible mother the right side is C*norm(f)_2^2, giving a continuous scaled isometry. For an exactly positive-frequency mother with C_minus=0 it is C_plus*norm(P_plus*f)_2^2, where P_plus retains only positive Fourier frequencies. Some references instead define an admissibility constant integrated over both frequency signs; that convention would be 2*C for this real mother. Using it without adjusting the inverse would introduce a factor-of-two error. For the positive- and negative-frequency energy calculation, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). An energy multiplier is a squared analysis-norm factor; the Fourier normalization and dilation domain matter.

17

Continuous wavelet reconstruction is a qualified inverse

Let A_psi be the CWT analysis into L2(db*da/a^2). Polarizing the energy identity gives A_psi^* A_psi=B, where B is the Fourier multiplier C_plus on positive frequencies and C_minus on negative frequencies. If both constants are positive and finite, B is invertible on L2 with inverse multiplier 1/C_sign. Hence f=B^(-1)*A_psi^* W_psi f. A single scalar divisor is valid when the two constants agree, as for a real admissible mother.

In that equal-constant case the inverse is f=C^(-1)*integral W_psi f(a, b)*psi_(a, b) db*da/a^2 in the weak Hilbert-space sense. Its pairing with k is C^(-1)*integral W_psi f*conj(W_psi k), an absolutely convergent scalar integral by weighted phase-space Cauchy-Schwarz. This precise statement does not assume a pointwise absolutely convergent integral of every reconstructed signal.

For finite regions 1/R<=a<=R and |b|<=R, the measure is finite and the atoms have fixed L2 norm. Truncated synthesis is a Bochner L2 integral. In the equal-constant case its reconstruction error is at most C^(-1/2) times the weighted L2 norm of the omitted transform coefficients, tending to zero as R tends to infinity. With unequal positive constants the analogous bound uses the bounded inverse multiplier and analysis adjoint. Pointwise convergence still needs separate assumptions.

If C_minus=0, division by C_plus after adjoint synthesis gives P_plus*f rather than arbitrary f. This is a valid inverse on the positive-frequency subspace, not on all complex L2 signals. If f is known to be real, its missing negative-frequency values are conjugates of the positive values, and f=2*Re(P_plus*f) in L2; that additional reality information matters. A scale plot by itself does not declare such a hypothesis or make an approximately one-sided Morlet window exactly analytic. For qualified continuous wavelet reconstruction, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). One-sided analysis gives a spectral projection unless additional signal information supplies the missing part.

18

Vanishing moments and local Taylor cancellation

Suppose psi has compact support K and integral u^k*psi(u)du=0 for k=0, ..., m-1, where m>=1. For a>0 a local coefficient can be written W(a, b)=sqrt(a)*integral f(b+a*u)*conj(psi(u))du. Assume f is C^m on a neighborhood of every segment from b to b+a*u for u in K, with |f^(m)|<=M there. This includes the convex hull of b and the scaled support; it is stronger than an unspecified derivative value at b.

Taylor expansion about b gives f(b+a*u)=sum_(k=0)^(m-1) f^(k)(b)*(a*u)^k/k! + R(u), with |R(u)|<=M*a^m*|u|^m/m!. Each polynomial term integrates to zero because conjugating a zero moment still gives zero. Therefore W(a, b)=sqrt(a)*integral R(u)*conj(psi(u))du.

Taking absolute values yields |W(a, b)| <= M*a^(m+1/2)*integral |u|^m*|psi(u)|du/m!. The weighted integral is finite for a compactly supported L2 mother by Cauchy-Schwarz. This proves a quantitative local small-scale decay estimate under the actual smoothness neighborhood. It does not require f to be globally L2 if the local coefficient integral exists; the global CWT energy/inversion theorem then cannot be invoked without its separate L2 hypothesis.

The same cancellation annihilates polynomials of degree below m in these finite-support coefficient integrals, although nonzero polynomials on R are not L2 signals. Vanishing moments describe cancellation by the analyzing function; they do not by themselves imply m classical derivatives of the mother, pointwise regularity of every reconstructed signal, or a universal approximation rate for nonsmooth data. The derivative bound and local support remain part of the estimate. For wavelet cancellation and multiresolution context, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf); [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf). The local Taylor bound above uses the actual support neighborhood and derivative bound.

19

A jump and a smooth trend scale differently

Use the normalized Haar mother psi(u)=1 on [0, 1/2), -1 on [1/2, 1), and zero elsewhere. Its mean is zero, its L2 norm is one, and integral u*psi(u)du=1/8-3/8=-1/4. For a local affine signal f(t)=alpha+beta*t, substitution in W(a, b) gives exactly W(a, b)=-beta*a^(3/2)/4. The constant and translated constant portions cancel.

For a Lipschitz signal with constant L on the support interval, subtract f(b) and use |f(b+a*u)-f(b)|<=L*a*|u|. This gives the valid bound |W(a, b)|<=L*a^(3/2)*integral |u*psi(u)|du=L*a^(3/2)/2. The affine calculation has its sharper coefficient -1/4; the general bound is not an equality for every Lipschitz signal.

Now take f=c+J*H(t-c0) locally and put r=(c0-b)/a. If 0<=r<=1, the coefficient is J*sqrt(a)*integral_r^1 psi(u)du=-J*sqrt(a)*min(r, 1-r). In particular a jump at the midpoint gives -J*sqrt(a)/2. A jump outside the support gives zero because the signal is then constant almost everywhere on that support; its assigned value at the jump point contributes nothing.

Smooth trends therefore produce the displayed a^(3/2) behavior, while a fixed relative interior jump produces sqrt(a) behavior. But a jump at a support endpoint gives zero, and a dyadic analysis can align edges with some cell boundaries. A single zero coefficient does not certify smoothness, and a single nonzero coefficient does not identify a unique jump. The comparison is an exact local model calculation, not an unqualified feature detector. For the Haar construction, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf). The exact jump calculation includes alignment zeros, so one coefficient cannot certify smoothness.

20

Haar approximation spaces really form a multiresolution

Let I_(j, k)=[k*2^(-j), (k+1)*2^(-j)) and phi_(j, k)=2^(j/2)*1_(I_(j, k)), for integers j, k. These normalized disjoint indicators form an orthonormal basis of the closed space V_j of L2 functions constant almost everywhere on each cell. The orthogonal projection E_j f is the cell-average function: on I_(j, k), it equals 2^j*integral_(I_(j, k)) f(t)dt. The local integral exists by L2 Cauchy-Schwarz.

Each parent indicator is the sum of its two normalized child indicators divided by sqrt(2). Hence V_j is contained in V_(j+1), and every E_j is an L2 contraction. For a continuous compactly supported function, its cell average differs from its value by at most its modulus of continuity at the cell width. The error is supported on a bounded enlargement of its support, so E_j f tends to f in L2 as j tends to positive infinity. Density of such functions and contraction extend this convergence to every L2 f.

At the coarse end first take f in L1 intersect L2. The cell-average norm obeys norm(E_j f)_2^2=2^j*sum_k |integral_(I_(j, k)) f|^2 <=2^j*(sum_k integral_(I_(j, k)) |f|)^2=2^j*norm(f)_1^2. It tends to zero as j tends to negative infinity. Density of L1 intersect L2 in L2 and contraction again extend the convergence to all L2 f.

The fine-scale limit proves that the union of V_j is dense. If f belongs to their intersection, then E_j f=f for every j, and the coarse limit forces f=0. Thus the intersection is trivial. This proof avoids guessing a single global constant from the dyadic cells across the origin. The projections are interval averages, not values of an arbitrary L2 representative at grid points. For multiresolution spaces and Haar averages, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf). The L2 projection limits above use interval averages rather than unqualified point samples.

21

One Haar detail fills an orthogonal complement

Within each parent cell I_(j, k), the two child scaling functions phi_(j+1, 2*k) and phi_(j+1, 2*k+1) are orthonormal. Their normalized sum is phi_(j, k); their normalized difference is psi_(j, k)=2^(j/2)*psi(2^j*t-k), where psi is the stated Haar mother. The 2-by-2 sum/difference matrix is orthogonal, so it maps that child pair to another orthonormal pair spanning the same two-dimensional space.

Different parent cells have disjoint supports. Applying the pair decomposition to every parent gives V_(j+1)=V_j orthogonal-sum W_j, where W_j is the closed span of all psi_(j, k). The family at one level is orthonormal because each member has norm one and disjoint support from the others. Every detail has zero average on its parent, which explains its orthogonality to V_j.

For l>j, we have W_j contained in V_(j+1) contained in V_l, whereas W_l is orthogonal to V_l. Thus details from distinct scales are orthogonal as well. The conclusion uses nested spaces, not merely disjoint supports across scales: a fine wavelet can be supported strictly inside a coarse one. Its zero mean relative to the coarse constant region supplies the cancellation.

The projection difference D_j=E_(j+1)-E_j is consequently the orthogonal projection onto W_j. Its coefficients are <f, psi_(j, k)>, and its energy is their squared sum by the orthonormal expansion within W_j. This identifies the mathematical content of a Haar detail level: information gained when one parent average is replaced by two child averages. It does not yet assert pointwise convergence of the infinite collection. For Haar detail spaces, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf). Nested spaces, as well as the zero mean, explain orthogonality across overlapping scales.

22

The complete Haar expansion and its error

For integers J0<J1, the projection identity telescopes: E_(J1)f=E_(J0)f+sum_(j=J0)^(J1-1) D_j f. All terms on the right are mutually orthogonal. Pythagoras therefore gives norm(E_(J1)f)_2^2=norm(E_(J0)f)_2^2+sum_(j=J0)^(J1-1) norm(D_j f)_2^2.

Let J1 tend to positive infinity and J0 to negative infinity. The multiresolution limits proved above give f=sum_(j in Z) D_j f in L2 and norm(f)_2^2=sum_j norm(D_j f)_2^2. Expanding each W_j in its translated Haar basis yields f=sum_(j, k)<f, psi_(j, k)>*psi_(j, k), with squared coefficient sum norm(f)_2^2. Completeness follows from the two projection limits, not just pairwise orthogonality.

An orthonormal series with square-summable coefficients converges unconditionally in its Hilbert norm: the difference between finite partial sums has squared norm equal to the corresponding finite coefficient-energy sum. This also proves that removing a specified set of coefficients leaves exact squared L2 error equal to their squared magnitudes. With a retained scaling level J, the equivalent expansion is f=E_J f+sum_(j>=J) D_j f, and norm(f-E_L f)_2^2=sum_(j>=L, k)|<f, psi_(j, k)>|^2.

Spatial cropping discards additional translation indices and must include their energy in the error. A finite collection of levels is not a guarantee that a sharp edge or narrow feature is absent. L2 equality and convergence ignore null-set values and do not imply uniform or every-point convergence. Any stronger regularity or pointwise reconstruction claim needs its own theorem and hypotheses. For orthogonal multiresolution expansions, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf). The energy-tail identity is an L2 statement, with spatially discarded coefficients included.

23

Finite Haar analysis is an orthogonal matrix

For two complex numbers x0, x1, define a=(x0+x1)/sqrt(2) and d=(x0-x1)/sqrt(2). The real matrix Q=(1/sqrt(2))*[[1, 1], [1, -1]] satisfies Q^*Q=I and Q^*=Q. Thus x0=(a+d)/sqrt(2), x1=(a-d)/sqrt(2), and |x0|^2+|x1|^2=|a|^2+|d|^2. The conjugate transpose notation keeps the energy statement valid for complex data.

For a length-N record with N=2^J, apply Q to disjoint adjacent pairs and recurse only on the averages. Each level is an orthogonal block matrix on the current coordinates; permuting saved details is also orthogonal. Their product is therefore an orthogonal N-by-N transform. It has one coarsest average and N/2+N/4+...+1=N-1 detail coefficients, with exact adjoint reconstruction and exact discrete squared-norm preservation in real arithmetic.

Continuous cell coefficients have a separate normalization. If a function on [0, 1) is constant with values v[k] on the N dyadic cells of width 2^(-J), its level-J scaling coefficients are x[k]=2^(-J/2)*v[k]. Then integral_0^1 |f|^2dt=sum_k |x[k]|^2=2^(-J)*sum_k |v[k]|^2. Transforming the raw values v is also orthogonal as a discrete operation, but its energy sum is not the physical time integral until the cell-width factor is included.

A two-level Haar transform separates the signed contrastsA rising four-sample record; The transform is orthonormal. Its squared energy is 30, and the coarsest-only reconstruction sets every sample to 5/2.A two-level Haar transform separates the signed contrasts-3.1206.12-0.453.55−2−1/√2−1/√2In order: coarse mean, level-2 detail, level-1 detailsCoefficient positions 0, 1, 2, 3 · signed Haar value
The transform is orthonormal. Its squared energy is 30, and the coarsest-only reconstruction sets every sample to 5/2.

Within each disjoint pair, the 2×2 sum/difference map divided by √2 is orthogonal. Apply the same map to the two averages. Inverting the orthogonal stages recovers all four samples. Keeping only the coarsest coefficient is projection onto the constant vector.

Exact analysis, synthesis and energy
QuantityExact result
First-level pair sums / √2(3/√2, 7/√2)
Coefficient order A₂,D₂,D₁₀,D₁₁(5, −2, −1/√2, −1/√2)
Squared coefficient energies(25, 4, 1/2, 1/2)
Input / coefficient squared norm30 / 30
Reconstructed samples(1, 2, 3, 4)
Coarsest-only constant5/2
Coarsest-only squared residual5
Exact inputs and supporting calculations
Declared inputs
ParameterValue
x[1,2,3,4]

The finite transform makes no assumption about values outside its paired record. A shifted filtering implementation or a different boundary extension can produce different boundary coefficients. Its algebraic orthogonality also does not make floating-point roundoff zero. Implementation errors, normalization mistakes and extension rules need checks appropriate to their actual effects rather than a claim that the exact matrix identity alone verified them. For averaging and multilevel reconstruction context, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf); [A Theory for Multiresolution Signal Decomposition: The Wavelet Representation](https://www.di.ens.fr/stephane.mallat/papiers/MallatTheory89.pdf). Discrete sample energy and a continuous time integral have different cell-width normalizations.

24

Two-channel filtering and alias cancellation

Use finite filters h, g and the DTFT X(omega)=sum_n x[n]*exp(-i*n*omega). Define correlation-style analysis a[k]=sum_n x[n]*conj(h[n-2*k]) and d[k]=sum_n x[n]*conj(g[n-2*k]). Before downsampling, the h output has frequency response conj(H(omega)). The downsampling identity therefore gives A(theta)=(conj(H(theta/2))*X(theta/2)+conj(H(theta/2+pi))*X(theta/2+pi))/2, and similarly for D with G.

Adjoint synthesis is xrec[n]=sum_k (h[n-2*k]*a[k]+g[n-2*k]*d[k]). Upsampling followed by filtering gives Xrec(omega)=H(omega)*A(2*omega)+G(omega)*D(2*omega). Substitution makes its desired coefficient (|H(omega)|^2+|G(omega)|^2)/2 and its alias coefficient (H(omega)*conj(H(omega+pi))+G(omega)*conj(G(omega+pi)))/2 multiplying X(omega+pi).

If U(omega)=(1/sqrt(2))*[[conj(H(omega)), conj(H(omega+pi))], [conj(G(omega)), conj(G(omega+pi))]] is unitary almost everywhere, its column identities set the desired coefficient to one and the alias coefficient to zero. This proves Xrec=X. Moreover (A(2*omega), D(2*omega)) equals U(omega)*(X(omega), X(omega+pi))/sqrt(2). Integrating over an interval of length pi and changing theta=2*omega proves norm(a)_ell2^2+norm(d)_ell2^2=norm(x)_ell2^2.

One can first derive these identities for finite records on Z and extend by density to ell2, using bounded finite-filter convolution and downsampling. The exact analysis convention matters: using forward convolution instead of correlation changes conjugations and phase delays. Perfect reconstruction requires both the power and alias conditions. A filter with an attractive individual magnitude plot need not satisfy the two-channel identities or possess an associated multiresolution function. For two-channel orthogonal filtering, see [Entropy-Based Algorithms for Best Basis Selection](https://www.math.wustl.edu/~victor/papers/ebafbbs.pdf); [A Theory for Multiresolution Signal Decomposition: The Wavelet Representation](https://www.di.ens.fr/stephane.mallat/papiers/MallatTheory89.pdf). The correlation analysis, conjugations and adjoint synthesis above fix the exact alias factors.

25

Quadrature mirror filters with an explicit sign

Let h be real, supported on 0, ..., L-1 with even L, and assume sum_n h[n]*h[n-2*k]=delta_(k, 0) for every integer k. Set g[n]=(-1)^n*h[L-1-n]. Expanding |H(omega)|^2+|H(omega+pi)|^2 removes all odd-lag terms and leaves 2*sum_k exp(-2*i*k*omega)*sum_n h[n]*h[n-2*k]=2. This is the exact even-shift autocorrelation power identity.

Change variable m=L-1-n in G. Because L-1 is odd and h is real, G(omega)=-exp(-i*(L-1)*omega)*conj(H(omega+pi)). Shifting omega by pi gives G(omega+pi)=exp(-i*(L-1)*omega)*conj(H(omega)). The minus sign depends on this precise g convention; switching a wavelet sign is harmless only if analysis and synthesis switch together.

Consequently |H(omega)|^2+|G(omega)|^2=2. The alias term is H(omega)*conj(H(omega+pi))+G(omega)*conj(G(omega+pi))=H(omega)*conj(H(omega+pi))-conj(H(omega+pi))*H(omega)=0. The previous unitary-bank theorem proves perfect reconstruction and energy preservation. Since U is square, the verified column orthogonality also gives its row orthogonality.

If additionally sum h[n]=sqrt(2), then H(0)=sqrt(2) and the power identity forces H(pi)=0, hence G(0)=0. This supplies a detail zero at DC. Additional vanishing moments require higher-order zeros, not merely the name low-pass. These finite filter conclusions do not by themselves establish existence, regularity or orthonormal integer translates of a continuous refinable scaling function; those are separate infinite-dimensional requirements. For quadrature-mirror conventions, see [Entropy-Based Algorithms for Best Basis Selection](https://www.math.wustl.edu/~victor/papers/ebafbbs.pdf); [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf). An even translation of a detail filter changes its coefficient indices and phases consistently.

26

The four-tap Daubechies filter as exact algebra

Put r=sqrt(3) and h=(1+r, 3+r, 3-r, 1-r)/(4*sqrt(2)), supported at indices 0, 1, 2, 3. The numerator sum is 8, so sum h=sqrt(2). The squared numerator sum is (4+2*r)+(12+6*r)+(12-6*r)+(4-2*r)=32, so sum h[n]^2=1. The only potentially nonzero off-origin even-shift correlation is h0*h2+h1*h3; its numerator is 2*r-2*r=0. Thus the exact quadrature-mirror orthogonality conditions hold.

The alternating sum h0-h1+h2-h3 vanishes. The alternating first moment -h1+2*h2-3*h3 also vanishes. Hence H(pi)=Hprime(pi)=0. The alternating second moment -h1+4*h2-9*h3=sqrt(3/2) is nonzero, so Hdoubleprime(pi)=-sqrt(3/2) and the zero is exactly double. These conclusions are algebra over the displayed radicals, not a numerical plot near a root.

With g[n]=(-1)^n*h[3-n], the phase relation from the previous proof gives a double zero of G at zero. Equivalently sum g=0 and sum n*g[n]=0, while sum n^2*g[n]=-sqrt(3/2). A finite correlation detail therefore annihilates local constant and linear input sequences exactly, with a nonzero response to a quadratic trend. Infinite polynomial sequences are not ell2, but each finite-filter output is still a well-defined finite sum.

The order and signs of the D4 taps determine the identitiesEven shifts and inner products; The low-pass and high-pass entries at each common integer index are offset slightly for visibility. The even-shift readout uses this exact order. The upper panel isolates the selected exact probe; the signed tap values remain below.The order and signs of the D4 taps determine the identities-0.1700.19-0.452.5√3/16−√3/16sum 0Low-pass products and their sumLag-two term index · signed low-pass product-0.69401.048-0.43.5Low-pass hHigh-pass gTap index k · signed normalized tap
The low-pass and high-pass entries at each common integer index are offset slightly for visibility. The even-shift readout uses this exact order. The upper panel isolates the selected exact probe; the signed tap values remain below.

Products of tap numerators lie in Q(√3) and their common denominator is 32. At shifts beyond overlap the products are zero. The normalized orthogonal columns give the exact finite synthesis energy. Turning a high-pass filter zero into a moment of a continuous wavelet additionally assumes a valid refining function, the wavelet refinement relation, and existence of the moments.

Exact dyadic filter identities
QuantityExact result
Low-pass h((1+1√3)/(4√2), (3+1√3)/(4√2), (3−1√3)/(4√2), (1−1√3)/(4√2))
High-pass g_k=(−1)^k h_{3−k}((1−1√3)/(4√2), (−3+1√3)/(4√2), (3+1√3)/(4√2), (−1−1√3)/(4√2))
DC sums ∑h / ∑g√2 / 0
Unshifted squared norms1 / 1
Within-channel even-shift overlaps beyond zero0 in both channels
Cross-channel inner products at every even shift0
High-pass moments orders 0, 1, 20, 0, −√6/2
Finite synthesis energy∥∑ a_j h[·−2j]+d_j g[·−2j]∥₂²=Σ(|a_j|²+|d_j|²)
Unit-column example∥h+g∥₂²=2
h₀h₂, h₁h₃ and their sum√3/16, −√3/16, 0
g₀g₂, g₁g₃ and their sum−√3/16, √3/16, 0
Exact inputs and supporting calculations
Declared inputs
ParameterValue
probeeven-shift

This is the four-tap Daubechies filter, often named by four coefficients or by two vanishing moments. Its two-channel finite transform is perfectly reconstructing by the already proved filter identity. The algebra has not alone constructed a continuous scaling function or proved its regularity and basis completeness. Those require their own existence/MRA hypotheses or an additional theorem; different naming conventions do not supply that missing proof. For the exact compact four-tap filters, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf). The selected sign and tap order are fixed by the displayed exact algebra.

27

Refinement links filters to functions conditionally

Assume an actual function phi in L1 intersect L2 has integral one and satisfies phi(t)=sqrt(2)*sum_n h[n]*phi(2*t-n), with a finite filter h. Define psi(t)=sqrt(2)*sum_n g[n]*phi(2*t-n) for another finite filter g. These are assumptions about functions, not a definition that guarantees a nonzero normalized solution for every filter. L1 and the finite sums permit ordinary Fourier changes of variable.

Substitute u=2*t-n in each term. This gives phihat(omega)=H(omega/2)*phihat(omega/2)/sqrt(2) and psihat(omega)=G(omega/2)*phihat(omega/2)/sqrt(2). At omega=0, the normalization phihat(0)=1 forces H(0)=sqrt(2). Iterating the first identity gives phihat(omega)=(product_(r=1)^J H(omega/2^r)/sqrt(2))*phihat(omega/2^J).

Because phi is L1, its transform is continuous at zero and the last factor tends to one. Thus an existing normalized solution must equal the corresponding limit of finite products. Even if a formal product converges, that alone does not prove it is the Fourier transform of an L2 function with orthonormal translates, nor that the required nested spaces have dense union and trivial intersection. These are distinct infinite-dimensional conclusions.

When phi and its translates are already known to generate an orthonormal multiresolution, its refinement embeds the coarse coefficient space in the fine one. A unitary two-channel bank then identifies the complementary detail functions within the fine space. Haar supplies a fully constructed example in this lesson. For other filters the finite perfect-reconstruction result and the conditional function relations remain valid without pretending that every regularity or existence question was settled by finite algebra. For the connection between filters and scaling functions, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf); [Entropy-Based Algorithms for Best Basis Selection](https://www.math.wustl.edu/~victor/papers/ebafbbs.pdf). These function identities assume an actual normalized refinable function and do not infer existence from a finite bank.

28

Filter zeros imply function moments under stated hypotheses

Keep the refinable phi normalization and assume its absolute moments through order m are finite. Write mu_l=integral t^l*phi(t)dt, so mu0=1, and nu_k=integral t^k*psi(t)dt. Finite support of the filter lets moments pass through the finite refinement sum. Changing variable u=2*t-n and expanding (u+n)^k gives nu_k=2^(-k-1/2)*sum_n g[n]*sum_(l=0)^k binom(k, l)*n^(k-l)*mu_l.

If sum_n n^r*g[n]=0 for r=0, ..., m-1, then every term in this expression vanishes when k<m. Hence the corresponding wavelet moments nu0, ..., nu_(m-1) vanish. Conversely suppose these wavelet moments vanish. For k=0, the formula and mu0=1 force sum g=0. Inductively all terms with l>0 contain already vanished lower filter moments, so nu_k=0 forces sum n^k*g[n]=0 as well.

For a finite filter, G^(r)(0)=(-i)^r*sum_n n^r*g[n]. Therefore a zero of order at least m at frequency zero is equivalent to these first m filter-moment cancellations. Under the stated existing-function and finite-moment hypotheses, it is also equivalent to m vanishing moments of psi. The powers of two and the normalization mu0=1 are part of the equivalence, not optional conventions.

These identities explain how an exact high-pass zero produces polynomial cancellation in local coefficients. They do not state that psi has m derivatives, that every target is C^m, or that more moments improve every finite-record error. Support length, boundary treatment, regularity and the target class influence that decision. A function with an unproved existence or missing moments cannot be inserted into the argument merely because its filter has the desired zeros. For filter and wavelet construction context, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf); [Entropy-Based Algorithms for Best Basis Selection](https://www.math.wustl.edu/~victor/papers/ebafbbs.pdf). Vanishing moments require the stated scaling-function moments and do not alone prove smoothness.

29

A finite record needs a boundary convention

For an even cyclic record length N, periodize each finite filter: h_N[n]=sum_l h[n+l*N], and similarly for g. Use a[k]=sum_(n=0)^(N-1) x[n]*conj(h_N[n-2*k]) for k=0, ..., N/2-1, with periodic indices. At the N-point Fourier frequencies omega_l=2*pi*l/N, the periodized filter has exactly the value H(omega_l). The two-channel alias equations therefore hold at the paired frequencies l and l+N/2.

If the infinite finite-filter bank has the unitary condition proved above, each of these finite Fourier pairs is mapped by the same unitary 2-by-2 matrix, with the downsampling factor 1/sqrt(2). Finite Parseval gives sum_k(|a[k]|^2+|d[k]|^2)=(2/N)*sum_(l=0)^(N/2-1)(|A_l|^2+|D_l|^2)=(1/N)*sum_(l=0)^(N-1)|X_l|^2=norm(x)^2. Adjoint synthesis recovers x exactly. This remains true when periodization wraps a filter several times.

For N=2^J, the cyclic transform can be iterated on its progressively shorter even approximation records. By contrast, an extension E from N samples to a longer record followed by a unitary transform has energy norm(E*x)^2. Zero embedding, reflection and repeated endpoints define different E and generally different E^*E. Cropping transformed coefficients can discard additional energy. Neither extension nor cropping is automatically an N-by-N orthogonal transform.

Boundary extension changes the first filtered coefficientsA unit pulse at the left edge; Periodic and zero extension produce identical outputs at all four positions. The matching filled and ring marks share each exact index. The third operator is drawn with a small horizontal offset for comparison.Boundary extension changes the first filtered coefficients-0.1200.87-0.43.5PeriodicZero extensionHalf-sample symmetricFinite index n · signed filter output
Periodic and zero extension produce identical outputs at all four positions. The matching filled and ring marks share each exact index. The third operator is drawn with a small horizontal offset for comparison.

This causal three-point stencil reads two samples to the left. Periodic extension wraps to the right edge, zero extension assumes no earlier signal, and the stated symmetric rule mirrors the first two samples about the half-grid boundary. These are different finite operators even with identical interior data.

Exact finite filter outputs
QuantityExact result
Boundary samples x[−2],x[−1] periodic0, 0
Boundary samples with zero extension0, 0
Boundary samples with half-sample symmetry0, 1
Periodic(1/4, 1/2, 1/4, 0)
Zero extension(1/4, 1/2, 1/4, 0)
Half-sample symmetric(3/4, 3/4, 1/4, 0)
Changed output indices0, 1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
x[1,0,0,0]

Boundary-adapted wavelets can be designed to satisfy explicit reconstruction and normalization requirements, but their properties need their own proof. In an application, the extension rule is part of what boundary coefficients mean. A wraparound edge may be artificial for a nonperiodic image or sound, and a reflected record may duplicate energy. Preserve the selected convention in analysis, inverse and any error or noise statement. For finite-image and statistical boundary considerations, see [A Theory for Multiresolution Signal Decomposition: The Wavelet Representation](https://www.di.ens.fr/stephane.mallat/papiers/MallatTheory89.pdf); [Wavelet Shrinkage: Asymptopia?](https://web.stanford.edu/dept/statistics/cgi-bin/donoho/wp-content/uploads/2018/08/asymp.pdf). Neither arbitrary reflection nor cropping is automatically a square orthogonal transform.

30

A critically sampled transform is shift sensitive

Consider the cyclic length-four record x=[1, 1, 0, 0]. One Haar level gives averages [sqrt(2), 0] and fine details [0, 0]. Transforming those averages gives coarsest average 1 and coarse detail 1. Its total energy is 1+1=2, with all detail energy at the coarse level.

Shift the record by one sample to y=[0, 1, 1, 0]. Its first-level averages are [1/sqrt(2), 1/sqrt(2)] and fine details [-1/sqrt(2), 1/sqrt(2)]. The next level gives coarsest average 1 and coarse detail 0. The total is again 1+1/2+1/2=2, but its detail energy is now entirely at the fine level.

No common within-level index shift can map a zero fine-detail vector to this nonzero one or change the coarse-detail energy from one to zero. Critical downsampling fixes an alignment and makes the Haar coefficient organization shift sensitive. This is compatible with exact reconstruction and norm stability: both transforms are orthogonal, and the two inputs are different signals related by a shift.

The example does not claim that all useful features are unstable or that an undecimated method is always superior. It shows why reporting a feature from one coefficient alignment needs care. One may inspect multiple alignments or choose a translation-equivariant redundant description, with its own coefficient correlations and cost. Retaining all original phases and boundary conventions is necessary for a fair comparison. For the dyadic decomposition framework, see [A Theory for Multiresolution Signal Decomposition: The Wavelet Representation](https://www.di.ens.fr/stephane.mallat/papiers/MallatTheory89.pdf); [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf). The explicit two-record example above proves the alignment effect without weakening norm stability.

31

An undecimated Haar description trades redundancy for equivariance

On a cyclic record of any length N, let T_s be the unitary shift (T_s*x)[n]=x[n-s]. Put a0=x and, for j>=1, s_j=2^(j-1), a_j=(a_(j-1)+T_(s_j)*a_(j-1))/2, d_j=(a_(j-1)-T_(s_j)*a_(j-1))/2. All arrays retain length N. This normalization uses divisor 2, not the sqrt(2) of critical pair analysis.

At every level a_j+d_j=a_(j-1), so x=a_J+sum_(j=1)^J d_j exactly. The parallelogram identity and shift unitarity also give norm(a_j)^2+norm(d_j)^2=(norm(a_(j-1))^2+norm(T_(s_j)*a_(j-1))^2)/2=norm(a_(j-1))^2. Telescoping yields norm(x)^2=norm(a_J)^2+sum_j norm(d_j)^2.

Every analysis filter is a polynomial in commuting cyclic shifts. Hence shifting x by any integer shifts each output array by the same amount; the transform is translation equivariant. The energy identity makes its stacked analysis a Parseval frame with N*(J+1) coefficients for N input values. Its redundancy and exact sum reconstruction are explicit, not an N-by-N change of orthonormal coordinates.

Only the undecimated detail shifts by one position hereA shifted spike; The panels use their own signed scales and integer indices. At a given index marks are offset slightly for readability. The full four-sample output shifts right by one; neither two-sample reindexing reproduces the new critical detail.Only the undecimated detail shifts by one position here-0.93300.933-0.351.35Original critical detailShifted critical detailCritical output index k · signed detail-0.93300.933-0.353.4Original undecimated detailShifted-input detailUndecimated index n · signed detail
The panels use their own signed scales and integer indices. At a given index marks are offset slightly for readability. The full four-sample output shifts right by one; neither two-sample reindexing reproduces the new critical detail.

Taking a forward difference at every periodic position commutes with the cyclic shift. Keeping only pair positions 0 and 2 throws away the other phase; the same one-sample shift generally changes the result beyond reindexing. The frozen √2-normalized undecimated sums and details together have twice the input energy. The manuscript’s divisor-2 backward formula describes a different sign and energy normalization.

Exact original and shifted Haar details
QuantityExact result
Circularly shifted record0, 1, 0, 0
Critical original / shifted(1/√2, 0) / (−1/√2, 0)
Undecimated original / shifted(1/√2, 0, 0, −1/√2) / (−1/√2, 1/√2, 0, 0)
Reindexing resultNo critical rotation passes; full output right-shifts exactly
Undecimated sum + detail energy with this normalization2
Relation to manuscript’s backward divisor-2 detaild̃[n]=−√2·d_manuscript[n+1]
Squared norm of the input1
Critical detail squared norms original / shifted1/2 / 1/2
Undecimated detail squared norms original / shifted1 / 1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
x[1,0,0,0]

Arbitrary modified output arrays need not lie in the analysis range. The simple sum inverse and the canonical adjoint inverse agree on genuine analyzed data but can differ on such inconsistent arrays. Redundancy does not create independent observations or automatically preserve a white-noise model in the coefficient stack. Nor does this particular proof establish the normalization of every software transform called stationary or undecimated Haar. For frames and multiresolution descriptions, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [A Theory for Multiresolution Signal Decomposition: The Wavelet Representation](https://www.di.ens.fr/stephane.mallat/papiers/MallatTheory89.pdf). The redundant Haar normalization and its consistency relations are stated explicitly above.

32

Best m-term approximation uses orthogonality

Let an orthonormal basis have coefficients c_k=<f, u_k>. For a chosen set K of at most m indices, any approximation sum_(k in K) alpha_k*u_k has squared error sum_(k outside K)|c_k|^2+sum_(k in K)|c_k-alpha_k|^2. Orthogonality removes every cross term. The minimizing coefficients for that fixed set are therefore the original c_k.

To choose the set, minimize the discarded sum, equivalently maximize sum_(k in K)|c_k|^2. If a selected magnitude is smaller than an unselected one, exchanging them increases retained energy. Thus retaining m largest absolute coefficients is optimal; ties give multiple equally good sets. For an ell2 coefficient sequence the nonzero magnitudes tend to zero, so the largest finite selections exist, with zero padding if fewer than m are nonzero.

This is best m-term approximation in the declared orthonormal basis and L2 norm. A redundant frame has dependent atoms and nonunique synthesis representations. Its analysis-coefficient energy can still obey a frame identity, but dropping one coefficient does not subtract its squared magnitude from reconstruction error by the orthonormal Pythagorean argument. Largest-coefficient thresholding in that setting needs a different justification and may fail to be best even for fixed canonical coefficients.

Counting retained terms is not a complete compression rate. Locations, quantization, signs, boundary information and the chosen wavelet family also cost bits, and their errors must be accounted for. Sparse approximation depends on the actual target class; a sharp axis-aligned edge, a texture and a smooth oscillation need not favor the same basis. The theorem makes a precise within-basis comparison rather than a universal claim that wavelets are always the shortest description. For orthogonal representation and compression context, see [Entropy-Based Algorithms for Best Basis Selection](https://www.math.wustl.edu/~victor/papers/ebafbbs.pdf); [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf). Best m-term error in an orthonormal basis is distinct from a redundant-frame truncation or a bit-rate claim.

33

Soft thresholding is a precise optimization problem

For z in C and lambda>=0, minimize J(w)=|w-z|^2/2+lambda*|w|. At a fixed radius rho=|w|, the distance is minimized by aligning the phase with z, unless z=0. Put r=|z|; the remaining problem is min_(rho>=0) (rho-r)^2/2+lambda*rho. Its unique minimizer is rho=max(r-lambda, 0). Hence S_lambda(z)=(1-lambda/|z|)_+*z for z!=0, and S_lambda(0)=0.

For an orthogonal or unitary transform U, the objective norm(u-y)^2/2+lambda*sum_k |(U*u)_k| becomes a sum of these scalar problems after setting w=U*u, z=U*y. Its minimizer is U^* S_lambda(U*y). For complex coefficients the penalty uses the complex modulus; thresholding real and imaginary parts separately instead minimizes a different sum of absolute coordinate parts, which generally chooses another answer.

Soft thresholding is nonexpansive. Optimality says z-w=lambda*p with p in the subgradient of the convex modulus at w. For two such pairs, convexity gives Re((p1-p2)*conj(w1-w2))>=0 by adding the two supporting inequalities. Therefore norm(w1-w2)^2<=Re((z1-z2)*conj(w1-w2))<=|z1-z2|*|w1-w2|, so |S_lambda(z1)-S_lambda(z2)|<=|z1-z2|. The lambda=0 case is the identity.

Keeping a fixed number of terms and shrinking values are different operationsTwo leading coefficients and soft shrinkage; Marks share the original index with slight horizontal offsets. The best-m projection has squared reconstruction error 1. Soft thresholding has squared reconstruction error 3.Keeping a fixed number of terms and shrinking values are different operations-4.1205.12-0.43.45OriginalOne best-m choiceUnique soft solutionCoefficient index · signed value
Marks share the original index with slight horizontal offsets. The best-m projection has squared reconstruction error 1. Soft thresholding has squared reconstruction error 3.

Orthonormality transfers squared reconstruction error exactly to the coefficient residual norm. Fixed-cardinality projection drops the smallest magnitudes and keeps the retained values. The separable strictly convex penalized problem gives sign(c_j) max(|c_j|−λ,0); a best-m support tie does not create a tie in this penalized solution. Coefficients whose magnitude equals λ map exactly to zero.

Exact coefficient and energy comparisons
QuantityExact result
One best-m retained vector(4, −3, 0, 0)
Other best-m tiesNo tie at the cutoff
Unique soft-threshold vector(3, −2, 0, 0)
Input squared energy26
Best-m / soft retained squared energies(25, 13)
Best-m / soft squared reconstruction errors(1, 3)
Soft objective value13/2
Original indices with |c|=λ (zero-based)2
Best-m / soft reconstruction error norms1 / √3
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c[4,-3,1,0]
m2
lambda1

A different penalty tau*1_(w!=0) yields hard thresholding at sqrt(2*tau): choose w=z above that magnitude, zero below, and either at equality. The nonzero minimizer jumps at a positive threshold. Neither rule guarantees improvement against unknown truth; soft thresholding biases an already exact nonzero coefficient, and hard thresholding can amplify threshold-crossing sensitivity. A valid denoising conclusion needs a noise and signal model beyond these optimization identities. For real soft-threshold shrinkage, see [Wavelet Shrinkage: Asymptopia?](https://web.stanford.edu/dept/statistics/cgi-bin/donoho/wp-content/uploads/2018/08/asymp.pdf). The complex radial proximal proof and the declared penalty are explicit here.

34

Noise statements need a distribution and a covariance

Let epsilon be an N-vector of independent centered real Gaussian variables, each of variance sigma^2>0, and let U be a real orthogonal transform. Its coefficient noise eta=U*epsilon is jointly Gaussian with covariance U*(sigma^2*I)*U^T=sigma^2*I. More explicitly its moment-generating function is exp(sigma^2*norm(t)^2/2), which factors into the N scalar Gaussian functions. Thus these transformed coefficients are again independent centered Gaussians of variance sigma^2.

For one such variable, Z, the moment-generating function and Markov inequality give P(Z>=lambda)<=exp(-t*lambda+sigma^2*t^2/2) for t>0. Minimizing at t=lambda/sigma^2 and applying the same argument to -Z gives P(|Z|>lambda)<=2*exp(-lambda^2/(2*sigma^2)) for lambda>=0. The bound may exceed one near zero, but it remains a valid upper bound.

A union bound over N coefficient events gives P(max_k |eta_k|>lambda)<=2*N*exp(-lambda^2/(2*sigma^2)). For a declared delta in (0, 1), choose lambda=sigma*sqrt(2*log(2*N/delta)); the upper bound is then delta. This last union step does not require independence. The white Gaussian input and orthogonality supplied the common marginal Gaussian variance, while joint Gaussianity additionally supplied independence.

For non-Gaussian white noise, uncorrelated transformed coordinates need not be independent or have Gaussian tails. For colored noise the transformed covariance is U*Sigma*U^T and its diagonal variances need not agree. Redundant transforms create coefficient correlations. Substituting an estimated sigma into the formula does not automatically preserve its stated probability without analysis of that estimator. The threshold is a noise-event bound under a model, not a theorem of optimal signal recovery or absence of real weak features. For the Gaussian noise setting and frame context, see [Wavelet Shrinkage: Asymptopia?](https://web.stanford.edu/dept/statistics/cgi-bin/donoho/wp-content/uploads/2018/08/asymp.pdf); [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf). The fixed-confidence threshold above is proved for its own known-variance normalization and model.

35

Local Haar approximation of a jump and a slope

Consider one cell I=[b, b+ell) with a step from c to c+J at fraction alpha in [0, 1] of its length. Its mean is c+(1-alpha)*J. On the left fraction the error from that mean is -(1-alpha)*J; on the right it is alpha*J. Integrating gives exact squared projection error |J|^2*ell*(alpha*(1-alpha)^2+(1-alpha)*alpha^2)=|J|^2*ell*alpha*(1-alpha).

The step-cell error is at most |J|^2*ell/4, with equality at the midpoint, and vanishes when the jump is aligned with a cell boundary. Its L2 error is proportional to sqrt(ell) at a fixed nonendpoint fraction. This is a statement about approximation by the cell mean, not the exact reconstruction from an untruncated full Haar expansion. Boundary alignment is a real part of the error, not a numerical nuisance to erase.

For an L-Lipschitz real or complex f on a cell, the variance identity is integral_I |f-f_I|^2dt=(1/(2*ell))*integral_I integral_I |f(t)-f(s)|^2dt ds. Bound the difference by L*|t-s|. The double integral of (t-s)^2 is ell^4/6, so the cell error is at most L^2*ell^3/12. On an interval of length R partitioned into equal cells this gives total squared error at most L^2*R*ell^2/12 when the same Lipschitz bound holds throughout.

A fixed finite set of jump cells contributes different small-scale behavior from the smooth cells, and the displayed formulas make that difference explicit. They do not establish every coefficient-decay converse or a complete function-space characterization. Finite coefficients alone cannot tell whether an unsampled narrow singularity is absent. Any claimed rate must state the target regularity, interval, cell alignment and error norm rather than only the wavelet name. For Haar approximation and multiresolution context, see [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf); [A Theory for Multiresolution Signal Decomposition: The Wavelet Representation](https://www.di.ens.fr/stephane.mallat/papiers/MallatTheory89.pdf). The cell-error calculations above are local results, not a complete smoothness characterization.

36

Two-dimensional Haar analysis is a tensor product

Write a 2-by-2 patch as x_(r, s), where r is the first coordinate and s the second, both in {0, 1}. Applying Q in both coordinates gives C=Q*X*Q^T. The four coefficients are c00=(x00+x01+x10+x11)/2, c01=(x00-x01+x10-x11)/2, c10=(x00+x01-x10-x11)/2, and c11=(x00-x01-x10+x11)/2. The labels are LL, LH, HL, HH in that coordinate order.

Since Q is real orthogonal, the inverse is X=Q^T*C*Q and the Frobenius squared norm is preserved. One can see this by preserving the norm of every column under the first multiplication and every row under the second. It also holds for complex patches with squared absolute values. The division by 2 in each displayed coefficient is the product of two 1/sqrt(2) normalizations.

For continuous tensor spaces, the decomposition (V_j orthogonal-sum W_j) tensor (V_j orthogonal-sum W_j) has four mutually orthogonal parts. The LL part is the next coarser scaling space; the other three parts use phi tensor psi, psi tensor phi and psi tensor psi. Repeating only LL gives the familiar separable multilevel construction. Completeness follows from the one-dimensional projection limits and density of finite sums of rectangular product functions in L2(R^2).

The directional labels depend on the selected coordinate axes and conventions for rows and columns. A general rotation is not merely a sign or index change of this separable dyadic transform. Pixel area must be included when discrete sums are interpreted as physical integrals, and image-edge extensions retain the same boundary issues as one-dimensional records. A bright directional coefficient is a coefficient under this chosen basis, not a coordinate-free identification of an edge. For the tensor-product image extension, see [A Theory for Multiresolution Signal Decomposition: The Wavelet Representation](https://www.di.ens.fr/stephane.mallat/papiers/MallatTheory89.pdf). The Haar tensor proof is given here; axis conventions and ideal-band illustrations do not imply rotation invariance.

37

Wavelet packets and a finite best-basis recursion

In a finite orthogonal packet tree, each internal node contains a coefficient vector whose selected orthogonal two-channel bank splits it into two child vectors. A wavelet transform keeps splitting only one approximation branch; a packet tree permits splitting detail branches too. Each individual split preserves dimension, total energy and exact invertibility under the stated boundary convention.

Any complete pruning chooses leaves that partition the root space without retaining a node together with its descendants. Starting from the root orthonormal coordinates and applying the chosen orthogonal split at each retained internal node gives a product of orthogonal maps. Thus the leaf coordinates form another orthonormal basis of the same finite signal space. Arbitrarily mixing overlapping nodes would duplicate information and would not be this pruning construction.

Suppose each possible leaf node v has a specified real finite cost gamma(v), and a pruning cost is the sum of its leaf costs. At a terminal node set D(v)=gamma(v). At an internal node every valid pruning either stops there or splits and chooses independent complete prunings of both children. Induction therefore gives D(v)=min(gamma(v), D(left)+D(right)). Saving the minimizing choice at each node reconstructs a minimum-cost finite pruning; ties can be retained explicitly.

The recursion proves optimality for the actual additive costs and the actual finite candidate tree. Entropy-like costs, quantization costs and estimated prediction costs encode different goals and normalizations. The minimum does not automatically certify the best physical model, held-out accuracy or interpretability. Thresholding or changing boundary rules afterward changes the optimization problem and needs its own error or selection assessment. For the packet-tree minimum-cost argument, see [Entropy-Based Algorithms for Best Basis Selection](https://www.math.wustl.edu/~victor/papers/ebafbbs.pdf). The optimum is relative to the actual finite tree and additive costs, including its tie choices.

38

Scale-to-frequency labels and a corrected Morlet wavelet

For a pure tone f(t)=exp(i*omega0*t), assume psi is L1 so the local coefficient integral converges even though the tone is not globally L2. Substitution gives W_psi f(a, b)=sqrt(a)*exp(i*omega0*b)*conj(psihat(a*omega0)). Hence |W|/sqrt(a)=|psihat(a*omega0)|. A peak of the raw |W| includes the additional sqrt(a) factor and need not occur at the same scale as a peak of the mother frequency response.

A scale-to-frequency label such as omega_center/a must therefore state which mother center and amplitude normalization it uses. For a localized finite-energy packet, the envelope and finite duration affect its actual coefficients as well. The infinite-tone calculation is a useful response probe, not an application of the global L2 energy identity to an infinite-energy input. Positive and negative frequency signs also matter for a complex mother.

The uncorrected Morlet-type function exp(i*omega_c*t)*exp(-t^2/2) has mean sqrt(2*pi)*exp(-omega_c^2/2), nonzero for every finite real omega_c. It therefore fails the L1 admissibility test even when the mean is very small. For omega_c!=0, set q(t)=(exp(i*omega_c*t)-exp(-omega_c^2/2))*exp(-t^2/2). Its mean is exactly zero, and its Gaussian decay supplies L1, L2 and a finite first absolute moment, so it is admissible.

The squared norm is sqrt(pi)*(1+exp(-omega_c^2)-2*exp(-3*omega_c^2/4)), which is positive because q is not zero. Dividing by its square root normalizes the mother. Its transform is sqrt(2*pi)*(exp(-(omega-omega_c)^2/2)-exp(-omega_c^2/2)*exp(-omega^2/2)). This vanishes at zero but generally not on negative frequencies. The corrected function is therefore not exactly analytic; at omega_c=0 it is identically zero and cannot serve as a mother. For admissibility and localized-transform context, see [The Wavelet Transform, Time-Frequency Localization and Signal Analysis](https://sites.math.duke.edu/~ingrid/publications/ieee36-1990.pdf); [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf). The pure tone is a local response probe; the corrected Gaussian has zero mean but is not exactly analytic.

39

Reconstruction error and unobserved information

Let c_k be the coefficients of f in an orthonormal wavelet basis. Retain a finite set K with supplied values y_k=c_k+e_k and reconstruct ftilde=sum_(k in K) y_k*u_k. The error has coefficients -e_k on K and c_k outside K. Orthogonality gives the exact identity norm(f-ftilde)_2^2=sum_(k outside K)|c_k|^2+sum_(k in K)|e_k|^2. No probabilistic independence or cancellation assumption is involved.

This identity separates a certified discarded-energy bound from a certified retained-coefficient error bound. The triangle inequality also gives the sum of their square roots, but it is weaker than the square root of their sum because the two errors occupy orthogonal coefficient subspaces. If a nonorthogonal synthesis, modified frame coefficients or an inaccurate inverse is used, the identity must be replaced by the appropriate operator and residual bounds.

A finite set of linear coefficients only measures the projection onto the finite span of its analyzing atoms. In the infinite-dimensional space L2 there is a nonzero h orthogonal to that span. Then f+t*h gives exactly the same measured coefficients for every scalar t, although its unobserved structure and energy can differ. The same observation applies to finitely sampled STFT or CWT atoms. A known finite-dimensional model or another independently justified prior can change the inference, but finite data alone do not certify it.

An L2 error alone also does not give a uniform pointwise error. If q is a continuous compactly supported nonzero function, the dilates a^(-1/2)*q(t/a) have the same L2 norm while their peak height grows without bound as a tends to zero. Pointwise values of arbitrary L2 representatives are even less determined. A known band limit or regularity class can supply an additional bound, as in the preceding sampling lesson; the qualification must be retained rather than inferred from a tidy reconstruction picture. For related frame, approximation and shrinkage viewpoints, see [Continuous and Discrete Wavelet Transforms](https://heil.math.gatech.edu/papers/siam.pdf); [Orthonormal Bases of Compactly Supported Wavelets](https://sites.math.duke.edu/~ingrid/publications/cpam41-1988.pdf); [Wavelet Shrinkage: Asymptopia?](https://web.stanford.edu/dept/statistics/cgi-bin/donoho/wp-content/uploads/2018/08/asymp.pdf). A finite residual or coefficient set does not certify an unobserved tail, a pointwise error or physical truth.

Compare exact energy measures, signed wavelet coefficients and boundary effects. Every control keeps the transform convention and assumptions visible.

A Gaussian balances time and angular-frequency spread

A centered minimum-uncertainty state

Time and angular-frequency spreads are reciprocalA centered minimum-uncertainty state; Each panel is an energy density integrating to one in its labeled measure. The means are 0 in time and 0 in angular frequency. All choices share fixed axes per panel. The unlabeled marks flank each signed center by one standard deviation.Time and angular-frequency spreads are reciprocal-0.10501.33-44Time energy |f(t)|²t₀=0Signed time and spread marksPhysical time t · energy density relative to dt-0.06500.68-7.67.6Spectral energy |F(ω)|²/(2π)ω₀=0Signed angular and spread marksAngular frequency ω · energy density relative to dω
Each panel is an energy density integrating to one in its labeled measure. The means are 0 in time and 0 in angular frequency. All choices share fixed axes per panel. The unlabeled marks flank each signed center by one standard deviation.

The squared time magnitude is a normal density with precision 4a. The squared magnitude of the angular Fourier transform, divided by 2π, is a normal density with variance a. Translation and modulation move the two means, and the angular-frequency uncertainty inequality is saturated by the state.

Exact time and angular-frequency measures
QuantityExact result
Input norm ∥f∥₂1
Time measure|f(t)|² dt
Frequency measure|F(ω)|² dω/(2π)
Time energy density√(2a/π) exp(−2a(t−t₀)²)
Angular-frequency densityexp(−(ω−ω₀)²/(2a))/√(2πa)
Time mean and variance0 / 1/2
Angular-frequency mean and variance0 / 1/2
Variance product1/4
Std. deviation product1/2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a1/2
t00
w00

Finite Haar coefficients record means and contrasts exactly

A rising four-sample record

A two-level Haar transform separates the signed contrastsA rising four-sample record; The transform is orthonormal. Its squared energy is 30, and the coarsest-only reconstruction sets every sample to 5/2.A two-level Haar transform separates the signed contrasts-3.1206.12-0.453.55−2−1/√2−1/√2In order: coarse mean, level-2 detail, level-1 detailsCoefficient positions 0, 1, 2, 3 · signed Haar value
The transform is orthonormal. Its squared energy is 30, and the coarsest-only reconstruction sets every sample to 5/2.

Within each disjoint pair, the 2×2 sum/difference map divided by √2 is orthogonal. Apply the same map to the two averages. Inverting the orthogonal stages recovers all four samples. Keeping only the coarsest coefficient is projection onto the constant vector.

Exact analysis, synthesis and energy
QuantityExact result
First-level pair sums / √2(3/√2, 7/√2)
Coefficient order A₂,D₂,D₁₀,D₁₁(5, −2, −1/√2, −1/√2)
Squared coefficient energies(25, 4, 1/2, 1/2)
Input / coefficient squared norm30 / 30
Reconstructed samples(1, 2, 3, 4)
Coarsest-only constant5/2
Coarsest-only squared residual5
Exact inputs and supporting calculations
Declared inputs
ParameterValue
x[1,2,3,4]

Filter signs determine orthogonality and two vanishing moments

Even shifts and inner products

The order and signs of the D4 taps determine the identitiesEven shifts and inner products; The low-pass and high-pass entries at each common integer index are offset slightly for visibility. The even-shift readout uses this exact order. The upper panel isolates the selected exact probe; the signed tap values remain below.The order and signs of the D4 taps determine the identities-0.1700.19-0.452.5√3/16−√3/16sum 0Low-pass products and their sumLag-two term index · signed low-pass product-0.69401.048-0.43.5Low-pass hHigh-pass gTap index k · signed normalized tap
The low-pass and high-pass entries at each common integer index are offset slightly for visibility. The even-shift readout uses this exact order. The upper panel isolates the selected exact probe; the signed tap values remain below.

Products of tap numerators lie in Q(√3) and their common denominator is 32. At shifts beyond overlap the products are zero. The normalized orthogonal columns give the exact finite synthesis energy. Turning a high-pass filter zero into a moment of a continuous wavelet additionally assumes a valid refining function, the wavelet refinement relation, and existence of the moments.

Exact dyadic filter identities
QuantityExact result
Low-pass h((1+1√3)/(4√2), (3+1√3)/(4√2), (3−1√3)/(4√2), (1−1√3)/(4√2))
High-pass g_k=(−1)^k h_{3−k}((1−1√3)/(4√2), (−3+1√3)/(4√2), (3+1√3)/(4√2), (−1−1√3)/(4√2))
DC sums ∑h / ∑g√2 / 0
Unshifted squared norms1 / 1
Within-channel even-shift overlaps beyond zero0 in both channels
Cross-channel inner products at every even shift0
High-pass moments orders 0, 1, 20, 0, −√6/2
Finite synthesis energy∥∑ a_j h[·−2j]+d_j g[·−2j]∥₂²=Σ(|a_j|²+|d_j|²)
Unit-column example∥h+g∥₂²=2
h₀h₂, h₁h₃ and their sum√3/16, −√3/16, 0
g₀g₂, g₁g₃ and their sum−√3/16, √3/16, 0
Exact inputs and supporting calculations
Declared inputs
ParameterValue
probeeven-shift

Finite-record edges change coefficients before any thresholding

A unit pulse at the left edge

Boundary extension changes the first filtered coefficientsA unit pulse at the left edge; Periodic and zero extension produce identical outputs at all four positions. The matching filled and ring marks share each exact index. The third operator is drawn with a small horizontal offset for comparison.Boundary extension changes the first filtered coefficients-0.1200.87-0.43.5PeriodicZero extensionHalf-sample symmetricFinite index n · signed filter output
Periodic and zero extension produce identical outputs at all four positions. The matching filled and ring marks share each exact index. The third operator is drawn with a small horizontal offset for comparison.

This causal three-point stencil reads two samples to the left. Periodic extension wraps to the right edge, zero extension assumes no earlier signal, and the stated symmetric rule mirrors the first two samples about the half-grid boundary. These are different finite operators even with identical interior data.

Exact finite filter outputs
QuantityExact result
Boundary samples x[−2],x[−1] periodic0, 0
Boundary samples with zero extension0, 0
Boundary samples with half-sample symmetry0, 1
Periodic(1/4, 1/2, 1/4, 0)
Zero extension(1/4, 1/2, 1/4, 0)
Half-sample symmetric(3/4, 3/4, 1/4, 0)
Changed output indices0, 1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
x[1,0,0,0]

Removing decimation restores circular shift equivariance

A shifted spike

Only the undecimated detail shifts by one position hereA shifted spike; The panels use their own signed scales and integer indices. At a given index marks are offset slightly for readability. The full four-sample output shifts right by one; neither two-sample reindexing reproduces the new critical detail.Only the undecimated detail shifts by one position here-0.93300.933-0.351.35Original critical detailShifted critical detailCritical output index k · signed detail-0.93300.933-0.353.4Original undecimated detailShifted-input detailUndecimated index n · signed detail
The panels use their own signed scales and integer indices. At a given index marks are offset slightly for readability. The full four-sample output shifts right by one; neither two-sample reindexing reproduces the new critical detail.

Taking a forward difference at every periodic position commutes with the cyclic shift. Keeping only pair positions 0 and 2 throws away the other phase; the same one-sample shift generally changes the result beyond reindexing. The frozen √2-normalized undecimated sums and details together have twice the input energy. The manuscript’s divisor-2 backward formula describes a different sign and energy normalization.

Exact original and shifted Haar details
QuantityExact result
Circularly shifted record0, 1, 0, 0
Critical original / shifted(1/√2, 0) / (−1/√2, 0)
Undecimated original / shifted(1/√2, 0, 0, −1/√2) / (−1/√2, 1/√2, 0, 0)
Reindexing resultNo critical rotation passes; full output right-shifts exactly
Undecimated sum + detail energy with this normalization2
Relation to manuscript’s backward divisor-2 detaild̃[n]=−√2·d_manuscript[n+1]
Squared norm of the input1
Critical detail squared norms original / shifted1/2 / 1/2
Undecimated detail squared norms original / shifted1 / 1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
x[1,0,0,0]

Best-m projection and soft thresholding solve different exact problems

Two leading coefficients and soft shrinkage

Keeping a fixed number of terms and shrinking values are different operationsTwo leading coefficients and soft shrinkage; Marks share the original index with slight horizontal offsets. The best-m projection has squared reconstruction error 1. Soft thresholding has squared reconstruction error 3.Keeping a fixed number of terms and shrinking values are different operations-4.1205.12-0.43.45OriginalOne best-m choiceUnique soft solutionCoefficient index · signed value
Marks share the original index with slight horizontal offsets. The best-m projection has squared reconstruction error 1. Soft thresholding has squared reconstruction error 3.

Orthonormality transfers squared reconstruction error exactly to the coefficient residual norm. Fixed-cardinality projection drops the smallest magnitudes and keeps the retained values. The separable strictly convex penalized problem gives sign(c_j) max(|c_j|−λ,0); a best-m support tie does not create a tie in this penalized solution. Coefficients whose magnitude equals λ map exactly to zero.

Exact coefficient and energy comparisons
QuantityExact result
One best-m retained vector(4, −3, 0, 0)
Other best-m tiesNo tie at the cutoff
Unique soft-threshold vector(3, −2, 0, 0)
Input squared energy26
Best-m / soft retained squared energies(25, 13)
Best-m / soft squared reconstruction errors(1, 3)
Soft objective value13/2
Original indices with |c|=λ (zero-based)2
Best-m / soft reconstruction error norms1 / √3
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c[4,-3,1,0]
m2
lambda1

Worked examples

A Gaussian resolution calculation

For sigma=2, compute the time and angular-frequency variances of the normalized Gaussian and its self-STFT at x=2, omega=1. Give the complex coefficient and spectrogram value.

  1. The Gaussian parameter is sigma=2, so the normalized time-energy variance sigma^2/2 is 2. Its angular-frequency variance is 1/(2*sigma^2)=1/8. Both means vanish. Their variance product is 1/4 and their standard-deviation product is 1/2, with all Gaussian moments finite.
  2. The normalized window is g(t)=(4*pi)^(-1/4)*exp(-t^2/8). Its angular transform is (4*pi)^(-1/4)*2*sqrt(2*pi)*exp(-2*omega^2). The inverse and frequency-energy measure retain divisor 2*pi; switching to hertz without that conversion would change the reported variance.
  3. Use the complete self-STFT exp(-x^2/(4*sigma^2)-sigma^2*omega^2/4)*exp(-i*omega*x/2). At x=2, omega=1, the real exponent is -4/16-4/4=-5/4 and the phase is exp(-i). Thus the coefficient is exp(-5/4)*exp(-i), and its squared magnitude is exp(-5/2).
  4. The phase-space integral of the whole self-spectrogram is one, not the value at this single coordinate. The time and frequency spectrogram marginals have variances 4 and 1/4, which are twice the single-window variances. Time and angular-frequency coordinates must use the same reference unit as sigma; the exponential arguments are dimensionless.

Time variance 2, angular-frequency variance 1/8; V_g g(2, 1)=exp(-5/4)*exp(-i), and its spectrogram value is exp(-5/2).

Moving and modulating a Gaussian packet

Let f=M_4*T_3*g for a normalized Gaussian window g. Express V_g f through V_g g with its full phase. Locate its spectrogram center and explain which coordinate units are used.

  1. The operator order is f=M_4*T_3*g, so f(t)=exp(4*i*t)*g(t-3). First use modulation covariance at frequency omega-4, then the translation covariance. This gives V_g f(x, omega)=exp(-3*i*(omega-4))*V_g g(x-3, omega-4). Replacing that phase by exp(-3*i*omega) would omit the order-dependent constant phase.
  2. For g=g_sigma, the complete expression is exp(-(x-3)^2/(4*sigma^2)-sigma^2*(omega-4)^2/4)*exp(-i*(omega-4)*(x+3)/2). The last phase combines -3*(omega-4) and -(omega-4)*(x-3)/2. Its Gaussian magnitude has its unique maximum at x=3, omega=4.
  3. Taking the squared magnitude removes the phase and leaves exp(-(x-3)^2/(2*sigma^2)-sigma^2*(omega-4)^2/2). Translation and modulation are unitary, so the signal still has L2 norm one and its full spectrogram still has phase-space integral one. The widths are unchanged; the packet has moved rather than been dilated.
  4. The time coordinate 3 has the chosen time unit, while 4 is an angular frequency in its inverse unit. If an axis is labeled in hertz, its center is 4/(2*pi), not 4. This exact Gaussian-packet calculation is not a general claim that every signal has a uniquely identifiable source at each spectrogram peak.

V_g f(x, omega)=exp(-3*i*(omega-4))*V_g g(x-3, omega-4); its spectrogram is centered at (3, 4).

A jump inside a Haar window

For a>0, let f=c+J*H(t-c0) on the Haar support [b, b+a]. Derive the coefficient in terms of r=(c0-b)/a in [0, 1]. Evaluate it for a=4, J=3, r=1/4 and explain alignment zeros.

  1. Substitute t=b+a*u into the compact Haar coefficient. The result is sqrt(a)*integral_0^1 (c+J*H(u-r))*psi(u)du. The constant term vanishes because the mother has zero mean. An assigned value at the one jump point does not affect the integral.
  2. For 0<=r<=1/2, the remaining integral is integral_r^(1/2) 1 du+integral_(1/2)^1 (-1)du=-r. For 1/2<=r<=1, it is integral_r^1 (-1)du=-(1-r). Combining gives W=-J*sqrt(a)*min(r, 1-r). A jump outside the support leaves a constant almost everywhere on the window and gives zero.
  3. With a=4, J=3, r=1/4, the square-root scale is 2 and the smaller fractional distance is 1/4. Hence W=-3*2/4=-3/2. The result has the sign determined by the mother being positive on the left half and negative on the right; reversing that wavelet sign would reverse the coefficient consistently.
  4. At r=0 or r=1, the coefficient is zero despite the boundary jump; at r=1/2 its magnitude is largest. The model is specified locally on the compact support, so no assertion that a nonzero whole-line step or constant is L2 is needed. A finite set of aligned Haar coefficients cannot by itself certify absence of an edge.

For 0<=r<=1, W=-J*sqrt(a)*min(r, 1-r). The specified coefficient is -3/2; support-endpoint alignments give zero.

A complete four-sample Haar analysis

Use the stated sum/difference convention to transform [1, 3, 5, 7] through two levels. List the coarsest average, coarse detail and both fine details, and check exact energy.

  1. Pair the first two samples and the last two with the specified matrix. The first-level averages are (1+3)/sqrt(2)=2*sqrt(2) and (5+7)/sqrt(2)=6*sqrt(2). The corresponding fine details are (1-3)/sqrt(2)=-sqrt(2) and (5-7)/sqrt(2)=-sqrt(2).
  2. Transform the two averages once more. The coarsest average is (2*sqrt(2)+6*sqrt(2))/sqrt(2)=8, and the coarse detail is (2*sqrt(2)-6*sqrt(2))/sqrt(2)=-4. Thus the declared order coarsest average, coarse detail, left fine detail, right fine detail gives [8, -4, -sqrt(2), -sqrt(2)].
  3. The input squared norm is 1+9+25+49=84. The coefficient squared norm is 64+16+2+2=84. Inverting the coarse pair gives the original two averages; inverting each average/detail pair then gives exactly [1, 3, 5, 7]. No decimal approximation of the radicals is required.
  4. This is discrete energy preservation for these four raw sample values. If they represent continuous constant cell values over a unit interval, the physical squared L2 norm is 84/4=21, and the corresponding continuous scaling coefficients are half the raw values. That cell-width normalization is separate from the orthogonal finite transform.

The ordered coefficients are [8, -4, -sqrt(2), -sqrt(2)]; their squared sum is 84.

Reconstructing from Haar coefficients

A four-sample transform has coarsest average 6, coarse detail 2 and fine details [1, -1]. Reconstruct all samples and verify the squared norm without substituting decimal radicals.

  1. Invert the coarsest pair first. The two first-level averages are a0=(6+2)/sqrt(2)=4*sqrt(2) and a1=(6-2)/sqrt(2)=2*sqrt(2). The fine details are still the supplied [1, -1]; they are not transformed again at this step.
  2. The left sample pair is ((a0+1)/sqrt(2), (a0-1)/sqrt(2))=(4+1/sqrt(2), 4-1/sqrt(2)). The right pair is ((a1-1)/sqrt(2), (a1+1)/sqrt(2))=(2-1/sqrt(2), 2+1/sqrt(2)). The minus sign in the second detail determines the reversed order of the two right perturbations.
  3. The supplied coefficient energy is 6^2+2^2+1^2+(-1)^2=42. Directly, the left pair squared sum is 32+1=33 and the right pair squared sum is 8+1=9, again giving 42. Reapplying the analysis matrix recovers all four supplied coefficients, including both signs.
  4. The inverse is unique because this finite Haar transform is orthogonal and square. That uniqueness is for the four-dimensional record under its stated pairing convention. It does not assert that four coefficients determine an arbitrary continuous signal without a finite-dimensional model or its unobserved coefficient tail.

The samples are [4+1/sqrt(2), 4-1/sqrt(2), 2-1/sqrt(2), 2+1/sqrt(2)] and their squared norm is 42.

Two moments of a four-tap detail filter

Take h=(1+sqrt(3), 3+sqrt(3), 3-sqrt(3), 1-sqrt(3))/(4*sqrt(2)) and g[n]=(-1)^n*h[3-n]. Compute sum(g), sum(n*g[n]) and sum(n^2*g[n]); interpret a polynomial trend on the filter support.

  1. With r=sqrt(3), the detail filter is g=(1-r, -(3-r), 3+r, -(1+r))/(4*sqrt(2)). Its numerator sum is 1-r-3+r+3+r-1-r=0. Thus the zero-order detail moment vanishes exactly.
  2. The first moment numerator is -(3-r)+2*(3+r)-3*(1+r)=0. The second is -(3-r)+4*(3+r)-9*(1+r)=-4*r, so sum n^2*g[n]=-r/sqrt(2)=-sqrt(3/2). The common denominator and the actual order of the reversed filter are essential for this sign.
  3. For a local sequence x[n]=alpha+beta*n+gamma*n^2, the detail at translation 2*k is sum_(r=0)^3 x[2*k+r]*g[r]. Expand the polynomial in r. The constant and linear sums disappear, leaving gamma*sum r^2*g[r]=-gamma*sqrt(3/2), independent of k while that polynomial formula holds on the four input sites.
  4. A full infinite polynomial sequence is not ell2, but these finite sums are well defined. The vanishing discrete moments imply continuous wavelet moments only under the separately stated refinable-function and finite-moment assumptions. The four-tap algebra alone is not an existence or regularity proof for the associated continuous scaling function.

The detail moments are 0, 0, -sqrt(3/2); constant and linear trends cancel, while a quadratic coefficient gamma gives -gamma*sqrt(3/2).

Best two terms versus soft shrinkage

In an orthonormal basis let the coefficient vector be [4, -3, 1, 1/2]. Find the best two-term squared error and reconstruction norm. Apply soft threshold lambda=1 and compute its actual squared error against the original.

  1. The original squared coefficient magnitudes are 16, 9, 1, 1/4, so total energy is 105/4. In an orthonormal basis the best two terms retain 4 and -3. The discarded energy is 1+1/4=5/4, so the reconstruction error norm is sqrt(5)/2 and the retained reconstruction norm is sqrt(16+9)=5.
  2. Real soft thresholding subtracts lambda from each surviving absolute value. At lambda=1, the first two values become 3 and -2, the value 1 goes to zero, and 1/2 also goes to zero. Thus the new coefficient vector is [3, -2, 0, 0]. Its two surviving terms have squared norm 13.
  3. Subtracting the softened coefficients from the true coefficients gives [1, -1, 1, 1/2]. Orthogonality makes the actual squared signal error 1+1+1+1/4=13/4, and the error norm sqrt(13)/2. This exceeds the best two-term error because soft thresholding also biases the two retained values.
  4. The example compares exact approximation of a given truth with a specified shrinkage rule. Soft thresholding solves its penalized distance problem, but it is not best two-term approximation and need not improve noiseless data. A denoising interpretation would need a model of which part of the observed coefficients is noise rather than assuming the smaller coefficients are erroneous.

Best two-term squared error is 5/4, with retained norm 5. Soft lambda=1 gives [3, -2, 0, 0], whose actual squared error is 13/4.

One shift changes the detail scale

Transform the cyclic records [1, 1, 0, 0] and [0, 1, 1, 0] with the same two-level Haar convention. Compare coarse/fine detail energies and total energy.

  1. For x=[1, 1, 0, 0], the fine averages are [sqrt(2), 0] and the fine details [0, 0]. The second level gives coarsest average 1 and coarse detail 1. Its coefficient list in the declared order is [1, 1, 0, 0].
  2. For y=[0, 1, 1, 0], the fine averages are [1/sqrt(2), 1/sqrt(2)] and the fine details [-1/sqrt(2), 1/sqrt(2)]. The next level gives coarsest average 1 and coarse detail 0. Its coefficient list is [1, 0, -1/sqrt(2), 1/sqrt(2)].
  3. Both input records have two unit samples and squared norm 2. The first coefficient energies are 1+1, while the second are 1+1/2+1/2. The detail energy has moved from the coarse level to the fine level, not merely changed its location within one coefficient array.
  4. The two records differ by a one-sample cyclic shift under T_1*x[n]=x[n-1]. Their critically sampled transforms are both exact and norm preserving, but not translation equivariant in the same-array sense. An edge label based on a fixed level needs to account for this alignment sensitivity and the cyclic boundary convention.

The first record has detail energies coarse 1, fine 0; the shifted record has coarse 0, fine 1. Both total energies are 2.

An undecimated two-level calculation

On a cyclic length-four record x=[1, 0, 0, 0], use T_k*x[n]=x[n-k]. Compute a1, d1, a2, d2 for the stated undecimated Haar normalization, then verify sum reconstruction and the three-part energy identity.

  1. The unit cyclic shift of x=[1, 0, 0, 0] is [0, 1, 0, 0]. Dividing its sum and difference with x by 2 gives a1=[1/2, 1/2, 0, 0] and d1=[1/2, -1/2, 0, 0]. Each has squared norm 1/2, so this first redundant split preserves the input energy in their combined squared norms.
  2. At the second level use shift T_2, not T_1. It sends a1 to [0, 0, 1/2, 1/2]. Hence a2=[1/4, 1/4, 1/4, 1/4] and d2=[1/4, 1/4, -1/4, -1/4]. Both have squared norm 1/4.
  3. Adding a2+d2 recovers a1, and adding d1 then gives x. The final stacked energy is norm(a2)^2+norm(d2)^2+norm(d1)^2=1/4+1/4+1/2=1. This checks both the telescoping sum inverse and the exact normalization of this undecimated construction.
  4. There are twelve final stored values for four input values, so this is a redundant Parseval analysis, not a four-by-four orthogonal matrix. Shifting x shifts every array consistently. Redundant coefficients need not have independent noise, and arbitrary edited arrays need not obey the consistency relations used by the simple sum reconstruction.

a1=[1/2, 1/2, 0, 0], d1=[1/2, -1/2, 0, 0], a2=[1/4, 1/4, 1/4, 1/4], d2=[1/4, 1/4, -1/4, -1/4]; their final energy parts are 1/4, 1/4, 1/2.

A confidence-calibrated threshold

Assume 1024 independent real Gaussian noise samples of variance 0.04 and an orthogonal transform. Give an exact threshold making the union-bound probability that any noise coefficient exceeds it at most 0.01. State what an estimated variance would change.

  1. Variance 0.04 is 1/25, so the standard deviation is sigma=1/5. A real orthogonal transform preserves the centered joint Gaussian distribution and the covariance sigma^2*I. Thus every noise coefficient has the same known Gaussian marginal variance, with independence also retained in this particular model.
  2. For N=1024 and delta=0.01=1/100, the union-bound threshold is sigma*sqrt(2*log(2*N/delta)). The logarithm argument is 2*1024*100=204800. Therefore lambda=sqrt(2*log(204800))/5, with the same amplitude unit as the coefficient noise.
  3. Substitution gives 2*N*exp(-lambda^2/(2*sigma^2))=2048*exp(-log(204800))=1/100. Hence the probability that any of the 1024 noise coefficients exceeds lambda in absolute value is at most 0.01. The final union step does not require independence, but the common marginal distribution and variance used in its tail bound must be justified.
  4. If sigma is estimated, the displayed probability cannot simply be retained by plugging in the estimate. One needs a separate calibration accounting for its uncertainty and possible dependence on the coefficients. The statement also concerns pure noise coefficients; it is not a guarantee that thresholding observations retains every real weak signal or minimizes reconstruction error.

lambda=sqrt(2*log(204800))/5 gives the stated failure-probability bound when sigma=1/5 is known.

A two-dimensional Haar patch

For the patch [[1, 3], [5, 7]], compute LL, first-coordinate low/second-coordinate high, first-coordinate high/second-coordinate low, and HH using the displayed tensor convention. Verify energy and identify which directional differences vanish.

  1. Use r as the first patch coordinate and s as the second. The low-low coefficient is (1+3+5+7)/2=8. First-coordinate low and second-coordinate high gives (1-3+5-7)/2=-2. First-coordinate high and second-coordinate low gives (1+3-5-7)/2=-4.
  2. The high-high coefficient is (1-3-5+7)/2=0. The input energy is 1+9+25+49=84, and the transformed energy is 64+4+16+0=84. The separable orthogonal matrices preserve the complex or real Frobenius norm with these exact factors.
  3. The inverse gives x00=(8-2-4+0)/2=1, x01=(8+2-4-0)/2=3, x10=(8-2+4-0)/2=5, and x11=(8+2+4+0)/2=7. The zero HH value means that this selected alternating two-coordinate contrast cancels. It does not mean both single-coordinate differences vanish; they are precisely the nonzero LH and HL values.
  4. The labels refer to the explicit coordinate order, avoiding ambiguous horizontal versus vertical terminology. A rotation of an arbitrary image is not generally just a reindexing of this separable transform. Pixel area and finite-image extension rules remain necessary when interpreting its coefficients as physical energies or boundary features.

The coefficients are LL=8, LH=-2, HL=-4, HH=0; their squared sum is 84.

Combining coefficient noise and truncation

In an orthonormal wavelet expansion the discarded true coefficient energy is 0.04 and the sum of squared errors on retained coefficients is 0.01. Find the exact L2 reconstruction error and compare with a triangle bound. Can this alone certify a uniform pointwise error?

  1. The discarded true coefficients and the errors on retained coefficients occupy disjoint orthogonal basis coordinates. Their squared energies therefore add exactly, without an independence assumption. The error squared is 0.04+0.01=1/25+1/100=1/20.
  2. Taking the square root gives norm(f-ftilde)_2=1/sqrt(20)=sqrt(5)/10. A triangle estimate would instead add the two separate error norms 1/5 and 1/10, giving 3/10. It is valid but larger because it ignores the orthogonality of the two components.
  3. These are actual coefficient-energy assumptions about the unknown truth and the retained errors. A finite list of observed coefficients alone cannot establish the discarded energy: one can add a nonzero function orthogonal to all the measured atoms. The tail-energy statement must come from a separate certificate, model or complete comparison.
  4. The total L2 bound does not certify a uniform amplitude error. Continuous narrow bumps can have a fixed L2 norm and arbitrarily large peak height. A known band limit or regularity restriction can give an additional pointwise estimate, but no such restriction is included here. Exact finite coefficient arithmetic and a small residual therefore remain distinct from a validated physical reconstruction.

The exact L2 error is sqrt(5)/10; the triangle bound is 3/10. No uniform pointwise bound follows from these energies alone.

Try it yourself

  1. If a nonzero window g is replaced by 3*g, how do the STFT, spectrogram, Moyal constant and reconstruction divisor change? Explain why a coefficient magnitude is not window-normalization independent.

    Show the answer and reasoning

    The STFT multiplies by 3, the spectrogram and Moyal constant by 9, and the inverse divisor by 9 while its synthesis atoms also multiply by 3.

    The coefficient uses the conjugate of the window. Since 3 is real, V_(3*g) f=3*V_g f. For a general complex scalar c the factor would be conj(c), which is why the inner-product convention matters. Squared magnitudes therefore multiply by 9 in the stated case. The Moyal constant is norm(3*g)_2^2=9*norm(g)_2^2. Thus the phase-space integral also increases by 9. A displayed coefficient magnitude without its window normalization cannot be compared as if it were an invariant property of the signal. In weak synthesis, the analyzed coefficient and the synthesis atom each contribute a factor 3. Their product contributes 9, which cancels the new divisor 9*norm(g)_2^2. Hence the reconstructed signal is unchanged when analysis, atoms and divisor are all updated consistently. Changing only the divisor or only the recorded coefficients would give a wrong amplitude. Unit-norm windows make a convenient common convention, but different window shapes can still have different localization responses. Normalization invariance of a correctly implemented inverse is not equality of every resulting spectrogram.

  2. Derive T_a*M_b=exp(-i*a*b)*M_b*T_a under the stated definitions. Give the corresponding complete STFT formulas and identify the phase-invariant spectrogram shifts.

    Show the answer and reasoning

    T_a*M_b=exp(-i*a*b)*M_b*T_a; the full STFT covariance includes exp(-i*omega*a), and spectrograms translate without that phase.

    Directly, T_a*M_b*f(t)=exp(i*b*(t-a))*f(t-a)=exp(-i*a*b)*M_b*T_a*f(t). The exponential scalar is essential for complex amplitudes. Its modulus is one, so this commutator phase cannot change squared coefficient magnitudes. In V_g(T_a*f), substitute u=t-a. The resulting coefficient is exp(-i*omega*a)*V_g f(x-a, omega). In V_g(M_b*f), combine the modulation and analysis exponentials to get V_g f(x, omega-b). Both changes of variable are valid for the absolutely integrable L2 window product. For the ordered combination M_b*T_a the result is exp(-i*(omega-b)*a)*V_g f(x-a, omega-b). For T_a*M_b there is the additional scalar exp(-i*a*b), equivalently the phase simplifies to exp(-i*omega*a). These expressions agree with the direct operator commutation relation. The spectrogram of either ordered combination is |V_g f(x-a, omega-b)|^2. This equality concerns the phase-insensitive picture; the complex transforms differ by a constant phase. Time and frequency units must make a*b dimensionless, and a hertz convention requires its corresponding 2*pi factor.

  3. For f, k, g, h in L2, derive the cross-window Moyal identity under the inner product linear in its first argument. Specialize to k=f, h=g with norm(g)=2.

    Show the answer and reasoning

    The cross identity is integral V_g f*conj(V_h k) dx*domega/(2*pi)=<f, k>*<h, g>; with norm(g)=2 the self-energy is 4*norm(f)^2.

    First take sufficiently regular inputs so Fourier pairing in the t variable is legitimate. At fixed x, the STFTs are transforms of f(t)*conj(g(t-x)) and k(t)*conj(h(t-x)). Integrating their Fourier product with divisor 2*pi gives integral f(t)*conj(k(t))*conj(g(t-x))*h(t-x)dt. Integrate in x and substitute u=t-x in the window factor. The inner integral is integral h(u)*conj(g(u))du=<h, g>. The remaining time integral is <f, k>. This fixes the order and conjugation of the window inner product; using <g, h> would generally conjugate the wrong factor. For general L2 inputs, approximate all four by regular functions. Moyal bounds each STFT in phase-space L2, and the analysis is continuous in both signal and window by its norm bound. Cauchy-Schwarz passes the cross product integral to the limit, while the ordinary signal/window inner products also converge. Thus the identity holds without pointwise regularity assumptions. Set k=f, h=g to obtain phase-space energy norm(f)_2^2*norm(g)_2^2. If norm(g)=2, this is 4*norm(f)_2^2. The result is not an unweighted finite pixel sum and does not make the two different window transforms identical. The phase-space measure and window norms are part of the conclusion.

  4. For the normalized Gaussian with sigma=3, compute its time and angular-frequency variances, their product, and the time-hertz standard-deviation product. Explain why a box window does not attain this finite-variance equality.

    Show the answer and reasoning

    For sigma=3, the time variance is 9/2 and angular-frequency variance 1/18; their product is 1/4 and sigma_t*sigma_nu=1/(4*pi).

    The normalized Gaussian has energy density (pi*sigma^2)^(-1/2)*exp(-t^2/sigma^2). Its mean is zero and variance sigma^2/2. At sigma=3 this is 9/2, so its time standard deviation is 3/sqrt(2). Its angular Fourier-energy density is proportional to exp(-sigma^2*omega^2), with mean zero and variance 1/(2*sigma^2)=1/18. Its angular-frequency standard deviation is 1/(3*sqrt(2)). Thus the variance product is (9/2)*(1/18)=1/4 and the standard-deviation product is 1/2. For hertz nu=omega/(2*pi), the frequency standard deviation divides by 2*pi. Therefore sigma_t*sigma_nu=1/(4*pi). Moving the 2*pi only in the exponential while retaining the angular density convention would not be a consistent calculation. A finite box has a jump at its support edges and transform proportional to (1-exp(-i*omega*T))/(i*omega). Its second frequency moment contains an undamped sin-squared integral and diverges. It is outside the finite-variance equality family rather than another function attaining the Gaussian bound. The exercise concerns the time and angular-frequency variances of the same function, not two frequency definitions mixed together.

  5. For T>0, prove that T^(-1/2)*1_[m*T, (m+1)*T)(t)*exp(2*pi*i*n*t/T), m, n integers, is an orthonormal basis of L2(R). Show that its mother window has infinite second frequency moment.

    Show the answer and reasoning

    The atoms are an orthonormal basis by interval Fourier completeness; the box mother has infinite second frequency moment.

    For distinct m the interval supports are disjoint except endpoints of measure zero. At one fixed m, the inner product of frequency indices n and q is (1/T)*integral_(m*T)^((m+1)*T) exp(2*pi*i*(n-q)*t/T)dt. It is one if n=q and zero otherwise. Thus every atom is normalized and all distinct atoms are orthogonal. If f is orthogonal to every atom, its restriction to each interval has all length-T Fourier coefficients zero. Completeness of the interval exponential basis gives zero restriction almost everywhere. The countable interval partition then gives f=0 almost everywhere on R. This proves completeness in the whole L2 space, not merely orthogonality. The mother g=T^(-1/2)*1_[0, T) has transform G(omega)=T^(-1/2)*(1-exp(-i*omega*T))/(i*omega), with its removable value sqrt(T). The expression omega^2*|G|^2 is 4*sin^2(omega*T/2)/T. Each frequency period contributes a fixed positive integral, so its integral over the line is infinite. Consequently the sharp time localization of this exact critical lattice basis comes with no finite second frequency moment. It does not contradict the finite-variance uncertainty inequality and is not a proof about every critical Gabor family. Endpoints of the time boxes are irrelevant to L2 coefficients, and this construction does not assume point samples of an arbitrary L2 representative.

  6. For the Haar mother psi=1_[0, 1/2)-1_[1/2, 1), compute its norm, mean, first moment and Fourier transform including its removable value at zero. Verify its admissibility using an actual bound.

    Show the answer and reasoning

    The Haar mother has norm 1, mean 0, first moment -1/4, and transform (1-exp(-i*omega/2))^2/(i*omega), with value 0 at zero; both admissibility constants are finite.

    The squared norm is the total support length 1. The mean is 1/2-1/2=0. The first moment is integral_0^(1/2) u du-integral_(1/2)^1 u du=1/8-3/8=-1/4. Thus Haar has one vanishing moment, while its first moment does not vanish. For omega!=0, integrate the exponentials separately on the two half-intervals. Subtracting gives (1-2*exp(-i*omega/2)+exp(-i*omega))/(i*omega)=(1-exp(-i*omega/2))^2/(i*omega). The mean makes the removable value at zero equal to zero, and expansion gives the leading behavior i*omega/4, consistent with -i times the first moment. For |omega|<=1, use zero mean and integral |u*psi(u)|du=1/2 to bound |psihat(omega)|<=|omega|/2. Each admissibility integral on (0, 1) is then at most 1/8. For |omega|>=1, the explicit numerator is at most 4, so each tail is at most 16*integral_1^infinity u^(-3)du=8. Thus both constants are at most 65/8 and finite. They are equal and positive because the mother is real and nonzero. This bound establishes admissibility without needing its exact constant. The mother is discontinuous and has infinite second frequency moment, but that is a different weighted integral from admissibility. Zero mean plus its actual compact-support moment bound, not the name Haar alone, justifies the low-frequency estimate.

  7. Suppose a complex mother has C_plus=2 and C_minus=0. Express its CWT energy for arbitrary f in terms of positive-frequency projection. Can the same transform reconstruct a general real nonzero signal by division by 2 alone?

    Show the answer and reasoning

    The CWT energy is 2*norm(P_plus*f)_2^2; division by 2 after adjoint synthesis yields P_plus*f, not a general real f. Reality permits a further 2*Re reconstruction.

    The half-line energy identity inserts C_plus=2 on omega>0 and C_minus=0 on omega<0. Hence integral |W_psi f|^2 db*da/a^2=(2/(2*pi))*integral_(omega>0)|fhat(omega)|^2domega=2*norm(P_plus*f)_2^2. Negative-frequency data do not contribute to these complex analysis coefficients. Polarization gives A_psi^* A_psi=2*P_plus. Therefore A_psi^* W_psi f/2=P_plus*f. If f has a nonzero negative-frequency component, this is not f. The constant cannot invert a multiplier which is zero on that subspace. For real f in L2, Fourier conjugate symmetry makes the positive and negative spectral energies equal, each half the total; the single zero frequency is a null set. Thus the measured energy happens to equal norm(f)^2 in this real subclass. This energy equality does not change the complex-adjoint output P_plus*f into f. If reality is independently known, one can recover f=2*Re(P_plus*f) in L2. That additional real-subspace operation is necessary; division by 2 alone does not perform it. For arbitrary complex f the omitted negative-frequency part remains undetermined. An approximately one-sided mother must use its actual nonzero half-line constants rather than this exactly analytic model.

  8. A compactly supported mother has its zeroth and first moments zero. Prove the precise a^(5/2) coefficient bound using a second-derivative bound and integral |u|^2*|psi(u)|du. State the needed neighborhood of f.

    Show the answer and reasoning

    The bound is |W(a, b)|<=a^(5/2)*M2*integral |u|^2*|psi(u)|du/2 under the stated second-derivative neighborhood.

    Write the local coefficient as sqrt(a)*integral f(b+a*u)*conj(psi(u))du. Let K contain the compact support of psi, and assume f is C^2 on a neighborhood of all segments from b to b+a*u, u in K, with |fdoubleprime|<=M2 there. The neighborhood must include the Taylor segments, not only the support endpoints. Taylor expansion gives f(b+a*u)=f(b)+a*u*fprime(b)+R(u), with |R(u)|<=M2*a^2*|u|^2/2. The zeroth and first mother moments vanish, so both displayed polynomial terms have zero coefficient, also with the conjugated mother. Taking absolute values of the remaining integral yields |W(a, b)|<=sqrt(a)*(M2*a^2/2)*integral |u|^2*|psi(u)|du. This is the claimed a^(5/2) bound. The weighted moment is finite for a compactly supported L2 mother by Cauchy-Schwarz. The conclusion is local and quantitative. Without the derivative bound it cannot be inferred simply from two vanishing moments. A whole-line polynomial is not an L2 signal, although its compact-support coefficient integrals are legitimate. Smoothness of the target and cancellation of the analyzer are different assumptions.

  9. Compute the Haar coefficient at scale a, translation b for f(t)=alpha+beta*t on its support. Compare its scaling with a midpoint step of height J and explain why a coefficient value alone does not determine a unique singularity.

    Show the answer and reasoning

    The affine coefficient is -beta*a^(3/2)/4; the midpoint-step coefficient is -J*sqrt(a)/2. A single coefficient does not identify a unique singularity.

    For the affine signal, substitute f(b+a*u)=alpha+beta*b+beta*a*u. The constant terms cancel against the zero Haar mean. Since integral u*psi(u)du=-1/4, the coefficient is exactly -beta*a^(3/2)/4. For a step at the midpoint, the left half of the mother sees the baseline and the right half sees baseline plus J. Their baseline contributions cancel. The right-half integral is -J/2, so the scaled coefficient is -J*sqrt(a)/2. These are finite-support local calculations even if the corresponding global affine or step function is not L2. The powers a^(3/2) and a^(1/2) differ when the slope or jump amplitude and relative alignment are fixed. An edge at another location has the additional min(r, 1-r) factor, and a support-endpoint edge can give zero. One cannot turn the two scaling formulas into a detection guarantee without actual multiscale samples and hypotheses. Infinitely many local functions have the same one linear coefficient: adding a function orthogonal to this Haar atom changes the signal without changing the value. Smooth and nonsmooth perturbations can be arranged within that null space. The coefficient is a useful measurement, but unique physical interpretation requires additional data or an independently justified model.

  10. Transform [2, 2, -2, -2] with the stated two-level Haar convention and reconstruct it. List which levels carry its energy and whether a one-sample cyclic shift preserves that allocation.

    Show the answer and reasoning

    The ordered coefficients are [0, 4, 0, 0], energy 16. A one-sample cyclic shift moves its detail energy to the fine level.

    Pair analysis of [2, 2, -2, -2] gives averages [2*sqrt(2), -2*sqrt(2)] and fine details [0, 0]. The next pair produces coarsest average 0 and coarse detail 4. Thus only the coarse detail carries the input squared energy 4*4=16. The inverse coarse pair gives [2*sqrt(2), -2*sqrt(2)]. Combining each with its zero fine detail gives [2, 2] and [-2, -2]. Hence all samples and signs reconstruct exactly under the selected convention. A one-sample cyclic shift gives [-2, 2, 2, -2]. Its fine averages are [0, 0] and fine details [-2*sqrt(2), 2*sqrt(2)]. Both coarse coefficients vanish. The fine-detail squared energies are 8 and 8, again totaling 16. The total energy is shift invariant, but the allocation among scales is not. A permutation within the original zero fine-detail array cannot explain the shifted nonzero array. The conclusion concerns a critically sampled cyclic transform; an undecimated translation-equivariant construction has different redundancy and coefficient statistics.

  11. The finite filters h=[1, 0], g=[0, 1] split even and odd samples and reconstruct perfectly. Verify the frequency alias-cancellation conditions. Explain why this alone cannot supply a normalized integral-one scaling function satisfying the usual sqrt(2) refinement equation with h.

    Show the answer and reasoning

    H=1, G=exp(-i*omega) gives exact alias cancellation and even/odd reconstruction, but H(0)=1 prevents an integral-one sqrt(2)-refinement solution.

    The h correlation selects x[2*k], while g selects x[2*k+1]. Synthesis interleaves them back into the original record. Their squared energies sum to norm(x)^2, so this is an exact unitary split of ell2 into its even and odd subsequences. Their Fourier values are H(omega)=1 and G(omega)=exp(-i*omega). The desired power |H|^2+|G|^2 is 2. Since G(omega+pi)=-G(omega), the alias expression is 1+G(omega)*conj(-G(omega))=0. Thus the same two-channel frequency criterion verifies perfect reconstruction. If an L1 function phi with integral one satisfied phi(t)=sqrt(2)*sum h[n]*phi(2*t-n), it would here satisfy phi(t)=sqrt(2)*phi(2*t). Integrating gives 1=(1/sqrt(2))*1, an impossibility. Equivalently the necessary Fourier normalization H(0)=sqrt(2) fails because H(0)=1. Therefore finite perfect reconstruction alone does not supply this normalized scaling function or the usual multiresolution basis. The split is mathematically useful, but calling h a wavelet low-pass without the additional function hypotheses would overstate what was proved. It does not establish nonexistence of every differently normalized or differently formulated construction.

  12. For x=[1, 2], use endpoint-unrepeated reflection x[-1]=2, x[2]=1 and analyze both pairs (-1, 0) and (1, 2) by the Haar matrix. Compute all four coefficients and their energy. Does this extension produce a length-two orthogonal transform?

    Show the answer and reasoning

    Both analyzed reflected pairs give [3/sqrt(2), 1/sqrt(2)], so all four coefficients have energy 10 against input energy 5; this is not a length-two orthogonal transform.

    Endpoint-unrepeated reflection supplies x[-1]=x[1]=2 and x[2]=x[0]=1. The first pair (-1, 0) is [2, 1], and the second pair (1, 2) is also [2, 1]. These are four extended entries made from two original samples, not two independent new observations. For each pair, the normalized Haar average is (2+1)/sqrt(2)=3/sqrt(2) and detail is (2-1)/sqrt(2)=1/sqrt(2). Each pair therefore contributes 9/2+1/2=5 in squared norm. Together the four coefficients have energy 10. The original two-sample norm is 1^2+2^2=5. Reflection has duplicated both entries in this chosen set of pairs, so its extension has twice the energy. Pairwise orthogonality on the extended coordinates does not undo that duplication. There is no square length-two orthogonal matrix with these four unrenormalized outputs. One could normalize or design a redundant inverse explicitly, but that would be another declared transform. Cropping outputs would also need a separate reconstruction check. Different endpoint-reflection conventions produce different values, so the exact extension must be preserved in any boundary-feature or noise interpretation.

  13. Derive the complex soft-threshold output for z=3+4*i, lambda=2 and verify its objective value for 1/2*|w-z|^2+2*|w|. Why is thresholding real and imaginary parts separately a different penalty?

    Show the answer and reasoning

    Soft thresholding gives w=9/5+(12/5)*i, with objective value 8. Separate real/imaginary thresholding minimizes a different penalty.

    The magnitude of z=3+4*i is 5. Complex radial soft thresholding at lambda=2 multiplies z by 1-2/5=3/5. Hence w=9/5+(12/5)*i, whose magnitude is 3 and whose phase agrees with z. The displacement is -(2/5)*z and has magnitude 2. The objective is therefore |w-z|^2/2+2*|w|=4/2+6=8. For comparison, w=0 gives 25/2 and w=z gives 10. The phase-alignment and constrained scalar-radius minimization prove that the displayed w is the unique minimizer, not merely better than those two candidates. Thresholding the real and imaginary parts separately at 2 gives 1+2*i. That is the proximal map for penalty 2*(|Re(w)|+|Im(w)|), which is not 2*|w|. Its value in the original radial objective is 4+2*sqrt(5), strictly greater than 8 because sqrt(5)>2. Thus a complex coefficient convention affects the optimization problem itself. The radial rule is rotationally symmetric in the complex plane, while separate coordinate shrinkage is tied to the chosen axes. Neither scalar optimization proves a denoising gain against unknown truth without a corresponding noise and signal model.

  14. For eight orthogonal coefficients of real white Gaussian noise with variance 1, choose an exact union-bound threshold giving failure probability at most 1/4. State which part of the probability argument requires independence.

    Show the answer and reasoning

    lambda=sqrt(2*log(64)) gives failure probability at most 1/4; the union bound itself does not use independence.

    A real orthogonal transform of centered white Gaussian noise with variance one has covariance I and remains jointly Gaussian. Consequently its eight noise coefficients each have a standard normal marginal and are independent in this particular model. Uncorrelatedness by itself would not give independence without the Gaussian assumption. For a standard normal scalar, the exponential-moment bound gives P(|Z|>lambda)<=2*exp(-lambda^2/2). The union of eight exceedance events therefore has probability at most 16*exp(-lambda^2/2). This union step only needs the marginal bounds, not independence among the events. Set the last expression to 1/4. Then exp(-lambda^2/2)=1/64, so lambda=sqrt(2*log(64)). This is the same as the general formula sigma*sqrt(2*log(2*N/delta)) with sigma=1, N=8, delta=1/4. The stated confidence uses a known variance and correct Gaussian marginals. Estimated variance, colored noise or an edited redundant transform need their actual distributions checked. The event bound does not certify that every observed coefficient below the threshold is noise or that a thresholded reconstruction has a particular unknown-truth error.

  15. In R^2 use the Parseval frame [e1/sqrt(2), e1/sqrt(2), e2] and f=(1, 4/5). Compare one-term canonical reconstructions obtained from the largest analysis coefficient and either repeated e1 atom. Explain the failure of the orthonormal largest-coefficient proof.

    Show the answer and reasoning

    The largest coefficient yields error 1; one repeated e1 canonical term yields sqrt(89)/10<1. The best freely rescaled e1 term has error 4/5.

    The analysis coefficients of f=(1, 4/5) against u1=u2=e1/sqrt(2), u3=e2 are 1/sqrt(2), 1/sqrt(2), 4/5. Their squared sum is 1/2+1/2+16/25=41/25=norm(f)^2. The atoms therefore give a Parseval analysis, despite the repeated dependent e1 directions. The largest coefficient is 4/5 because 16/25>1/2. Retaining only its canonical synthesis term gives (4/5)*e2=(0, 4/5). Its error from f is e1 and has norm 1. Instead retain either e1 term with its canonical analysis coefficient. The synthesis is (1/sqrt(2))*(e1/sqrt(2))=(1/2, 0). Its squared error is 1/4+16/25=89/100, so the error is sqrt(89)/10<1. If the one coefficient may be reoptimized, the choice sqrt(2)*u1=e1 gives the still smaller error 4/5. The orthonormal exchange argument fails because these atoms are not mutually orthogonal and their synthesis representations are not unique. Parseval energy of the complete analysis stack is not a Pythagorean error formula for an arbitrary partial synthesis. The example distinguishes canonical coefficient truncation from best one-term approximation with optimized synthesis values.

  16. Compute all four tensor Haar coefficients of [[1, -1], [-1, 1]], reconstruct the patch, and verify its energy. Explain why the single nonzero directional coefficient is tied to the selected axes.

    Show the answer and reasoning

    LL=LH=HL=0, HH=2; the inverse gives the original checkerboard patch and both energies equal 4.

    Use the fixed coordinate order. LL=(1-1-1+1)/2=0. LH=(1-(-1)+(-1)-1)/2=0, and HL=(1+(-1)-(-1)-1)/2=0. Both single-coordinate averaged differences cancel for this patch. The alternating two-coordinate coefficient is HH=(1-(-1)-(-1)+1)/2=2. Its squared magnitude is 4, the same as the sum of the four unit squared input magnitudes. No unnormalized factor of 2 may be added to the energy statement. The inverse with only HH=2 gives x00=2/2=1, x01=-2/2=-1, x10=-2/2=-1, x11=2/2=1. Thus the exact tensor transform and inverse recover the checkerboard pattern. HH here means the selected high-pass contrast in both declared axes. A general image rotation need not remain in one coefficient channel or on the same grid. The nonzero channel describes this separable basis response, not a coordinate-free claim that the patch has a unique diagonal physical feature.

  17. A finite orthogonal packet tree has root leaf cost 10. Its left child costs 6 or has grandchildren costing 2 and 1; its right child costs 5 or has grandchildren costing 4 and 4. Determine the minimum additive-cost pruning and prove it by the recursion.

    Show the answer and reasoning

    The minimum is 8: split the root and its left child, but keep its right child as a leaf.

    At the left child, stopping costs 6 while splitting costs 2+1=3. Its optimal subcost is therefore 3, and the minimizing choice is to split. At the right child, stopping costs 5 while splitting costs 4+4=8. Its optimal subcost is 5, and the minimizing choice is to stop. At the root, the best split cost is 3+5=8. Stopping at the root costs 10, so the minimum pruning has three leaves: the two left grandchildren and the unsplit right child. Their additive cost is 2+1+5=8. The proof is an induction over the finite tree. Every complete pruning either stops at its node or splits into complete prunings of both children. Additivity permits the two child optima to be chosen independently. This exhausts the possible choices rather than greedily comparing only immediate child leaf costs, which here would give the incorrect split cost 6+5=11. Each proper pruning retains an orthonormal finite packet basis when its underlying splits are orthogonal. The numerical optimum is for the supplied additive costs and tree only. It does not establish a best physical model, compression bit rate or generalization performance unless those quantities have actually been encoded and qualified by the selected costs.

  18. For omega_c!=0, compute the mean and squared norm of q(t)=(exp(i*omega_c*t)-exp(-omega_c^2/2))*exp(-t^2/2). Find its positive real normalization, verify admissibility, and explain why the correction still does not make its negative-frequency transform exactly zero.

    Show the answer and reasoning

    The mean is zero and norm squared is sqrt(pi)*B, where B=1+exp(-omega_c^2)-2*exp(-3*omega_c^2/4)>0; the positive normalization is pi^(-1/4)/sqrt(B). It is admissible but not exactly analytic.

    Take real omega_c!=0. The Gaussian Fourier integral gives integral exp(i*omega_c*t)*exp(-t^2/2)dt=sqrt(2*pi)*exp(-omega_c^2/2). The subtracted term has exactly the same integral, so q has mean zero. It is not identically zero because the oscillatory factor is not the nonzero constant exp(-omega_c^2/2). Expand the squared magnitude with m=exp(-omega_c^2/2). Its integral is integral exp(-t^2)*(1+m^2-2*m*cos(omega_c*t))dt. The real Gaussian Fourier integral of the cosine is sqrt(pi)*exp(-omega_c^2/4), giving norm(q)^2=sqrt(pi)*(1+exp(-omega_c^2)-2*exp(-3*omega_c^2/4)). This is positive by the nonzero-function argument, so the positive normalizer is pi^(-1/4)/sqrt(B). Gaussian decay makes q L1 and L2 with a finite first absolute moment. Together with its exact zero mean, this verifies both half-line admissibility integrals by the earlier explicit low/high-frequency bound. Multiplying by the finite normalizer preserves admissibility. At omega_c=0 the function would be zero and its normalization would fail, which explains the exclusion. Its Fourier transform factors as sqrt(2*pi)*exp(-(omega^2+omega_c^2)/2)*(exp(omega*omega_c)-1). For real nonzero omega_c it is nonzero at every real omega!=0, including negative frequencies. Thus the correction removes the mean but does not create an exactly one-sided spectrum. Reconstruction must use its actual two half-line constants rather than treating it as an ideal analytic mother.

What to carry forward

  • A localized transform records coefficients relative to a specified window or mother; its normalization and coordinate units are part of the data.
  • The continuous STFT energy identity and inverse retain the window energy and angular phase-space measure; arbitrary sampling needs separate frame bounds.
  • Finite time and angular-frequency variances obey sigma_t*sigma_omega>=1/2, with equality for the stated Gaussian family.
  • A positive-scale complex wavelet transform can weight the two spectral half-lines differently; a one-sided inverse is a projection unless more information is supplied.
  • Haar coefficients arise from orthogonal interval averages and details, with unconditional L2 reconstruction and exact squared tail errors.
  • Perfect reconstruction of a finite filter bank, existence of a continuous basis, boundary behavior and translation equivariance are separate conclusions.
  • Largest-coefficient approximation and soft thresholding solve different problems; noise confidence depends on the actual variance, covariance and distribution.
  • Finite coefficients leave unobserved directions, and a small L2 error alone does not bound every point or establish a unique physical interpretation.

References

Sources for the concepts and teaching approaches in this article.

  1. Continuous and Discrete Wavelet TransformsChristopher E. Heil and David F. WalnutAuthor hosted mathematical survey · PDFheil.math.gatech.eduRead source
  2. Ingrid Daubechies2 sources
    1. The Wavelet Transform, Time-Frequency Localization and Signal AnalysisIngrid DaubechiesOriginal mathematical research article · PDFsites.math.duke.eduRead source
    2. Orthonormal Bases of Compactly Supported WaveletsIngrid DaubechiesOriginal mathematical research article · PDFsites.math.duke.eduRead source
  3. A Theory for Multiresolution Signal Decomposition: The Wavelet RepresentationStéphane G. MallatOriginal signal processing research article · PDFdi.ens.frRead source
  4. Entropy-Based Algorithms for Best Basis SelectionRonald R. Coifman and Mladen Victor WickerhauserOriginal research manuscript · PDFmath.wustl.eduRead source
  5. Wavelet Shrinkage: Asymptopia?David L. Donoho, Iain M. Johnstone, Gérard Kerkyacharian and Dominique PicardOriginal statistical research manuscript · PDFweb.stanford.eduRead source