# Walsh function

Jump to: navigation, search
Natural ordered and sequency ordered Hadamard matrix of order 16.
Especially the former is usually called Walsh matrix.
Both contain the 16 Walsh functions of order 16 as rows (and columns).
In the right matrix, the number of sign changes per row is consecutive.

In mathematics, more specifically in harmonic analysis, Walsh functions form a complete orthogonal set of functions that can be used to represent any discrete function—just like trigonometric functions can be used to represent any continuous function in Fourier analysis.[1] They can thus be viewed as a discrete, digital counterpart of the continuous, analog system of trigonometric functions on the unit interval. But unlike the sine and cosine functions, which are continuous, Walsh functions are piecewise constant. They take the values −1 and +1 only, on sub-intervals defined by dyadic fractions.

The system of Walsh functions is known as the Walsh system. It is an extension of the Rademacher system of orthogonal functions.[2]

Walsh functions, the Walsh system, the Walsh series,[3] and the fast Walsh–Hadamard transform are all named after the American mathematician Joseph L. Walsh. They find various applications in physics and engineering when analyzing digital signals.

Historically, various numerations of Walsh functions have been used; none of them is particularly superior to another. In this article, we use the Walsh–Paley numeration.

## Definition

We define the sequence of Walsh functions ${\displaystyle W_{k}:[0,1]\rightarrow \{-1,1\}}$, ${\displaystyle k\in \mathbb {N} _{0}}$ as follows.

For any ${\displaystyle k\in \mathbb {N} _{0}}$, ${\displaystyle x\in [0,1]}$ let

${\displaystyle k=\sum _{j=0}^{\infty }k_{j}2^{j},k_{j}\in \{0,1\}}$,   ${\displaystyle x=\sum _{j=1}^{\infty }x_{j}2^{-j},x_{j}\in \{0,1\}}$

such that there are only finitely many non-zero kj and no trailing xj all equal to 1, be the canonical binary representations of integer k and real number x, correspondingly. Then, by definition

${\displaystyle W_{k}(x)=(-1)^{\sum _{j=0}^{\infty }k_{j}x_{j+1}}}$

In particular, ${\displaystyle W_{0}(x)=1}$ everywhere on the interval.

Notice that ${\displaystyle W_{2^{m}}}$ is precisely the Rademacher function rm. Thus, the Rademacher system is a subsystem of the Walsh system. Moreover, every Walsh function is a product of Rademacher functions:

${\displaystyle W_{k}(x)=\prod _{j=0}^{\infty }r_{j}(x)^{k_{j}}}$

## Comparison between Walsh functions and trigonometric functions

Walsh functions and trigonometric functions are systems that both form a complete, orthonormal set of functions, an orthonormal basis in Hilbert space ${\displaystyle L^{2}[0,1]}$ of the square-integrable functions on the unit interval. Both are systems of bounded functions, unlike, say, the Haar system or the Franklin system.

Both trigonometric and Walsh systems admit natural extension by periodicity from the unit interval to the real line ${\displaystyle \mathbb {R} }$. Furthermore, both Fourier analysis on the unit interval (Fourier series) and on the real line (Fourier transform) have their digital counterparts defined via Walsh system, the Walsh series analogous to the Fourier series, and the Hadamard transform analogous to the Fourier transform.

## Properties

The Walsh system ${\displaystyle \{W_{k}\},k\in \mathbb {N} _{0}}$ is a commutative multiplicative discrete group isomorphic to ${\displaystyle \coprod _{n=0}^{\infty }\mathbb {Z} /2\mathbb {Z} }$, the Pontryagin dual of Cantor group ${\displaystyle \prod _{n=0}^{\infty }\mathbb {Z} /2\mathbb {Z} }$. Its identity is ${\displaystyle W_{0}}$, and every element is of order two (that is, self-inverse).

Walsh system is an orthonormal basis of Hilbert space ${\displaystyle L^{2}[0,1]}$. Orthonormality means

${\displaystyle \int _{0}^{1}W_{k}(x)W_{l}(x)dx=\delta _{kl}}$,

and being a basis means that if, for every ${\displaystyle f\in L^{2}[0,1]}$, we set ${\displaystyle f_{k}=\int _{0}^{1}f(x)W_{k}(x)dx}$ then

${\displaystyle \int _{0}^{1}(f(x)-\sum _{k=0}^{N}f_{k}W_{k}(x))^{2}dx{\xrightarrow[{N\rightarrow \infty }]{}}0}$

It turns out that for every ${\displaystyle f\in L^{2}[0,1]}$, the series ${\displaystyle \sum _{k=0}^{\infty }f_{k}W_{k}(x)}$ converge to ${\displaystyle f(x)}$ for almost every ${\displaystyle x\in [0,1]}$.

The Walsh system (in Walsh-Paley numeration) forms a Schauder basis in ${\displaystyle L^{p}[0,1]}$,   ${\displaystyle 1. Note that, unlike the Haar system, and like the trigonometric system, this basis is not unconditional, nor is the system a Schauder basis in ${\displaystyle L^{1}[0,1]}$.

## Generalizations

### Walsh-Ferleger systems

Let ${\displaystyle \mathbb {D} =\prod _{n=1}^{\infty }\mathbb {Z} /2\mathbb {Z} }$ be the compact Cantor group endowed with Haar measure and let ${\displaystyle {\hat {\mathbb {D} }}=\coprod _{n=1}^{\infty }\mathbb {Z} /2\mathbb {Z} }$ be its discrete group of characters. Elements of ${\displaystyle {\hat {\mathbb {D} }}}$ are readily identified with Walsh functions. Of course, the characters are defined on ${\displaystyle \mathbb {D} }$ while Walsh functions are defined on the unit interval, but since there exists a modulo zero isomorphism between these measure spaces, measurable functions on them are identified via isometry.

Then basic representation theory suggests the following broad generalization of the concept of Walsh system.

For an arbitrary Banach space ${\displaystyle (X,||\cdot ||)}$ let ${\displaystyle \{R_{t}\}_{t\in \mathbb {D} }\subset Aut(X)}$ be a strongly continuous, uniformly bounded faithful action of ${\displaystyle \mathbb {D} }$ on X. For every ${\displaystyle \gamma \in {\hat {\mathbb {D} }}}$, consider its eigenspace ${\displaystyle X_{\gamma }=\{x\in X:R_{t}x=\gamma (t)x\}}$. Then X is the closed linear span of the eigenspaces: ${\displaystyle X={\overline {\operatorname {Span} }}(X_{\gamma },\gamma \in {\hat {\mathbb {D} }})}$. Assume that every eigenspace is one-dimensional and pick an element ${\displaystyle w_{\gamma }\in X_{\gamma }}$ such that ${\displaystyle ||w_{\gamma }||=1}$. Then the system ${\displaystyle \{w_{\gamma }\}_{\gamma \in {\hat {\mathbb {D} }}}}$, or the same system in the Walsh-Paley numeration of the characters ${\displaystyle \{w_{k}\}_{k\in {\mathbb {N} }_{0}}}$ is called generalized Walsh system associated with action ${\displaystyle \{R_{t}\}_{t\in \mathbb {D} }}$. Classical Walsh system becomes a special case, namely, for

${\displaystyle R_{t}:x=\sum _{j=1}^{\infty }x_{j}2^{-j}\mapsto \sum _{j=1}^{\infty }(x_{j}\oplus t_{j})2^{-j}}$

where ${\displaystyle \oplus }$ is addition modulo 2.

In the early 1990s, Serge Ferleger and Fyodor Sukochev showed that in a broad class of Banach spaces (so called UMD spaces [4]) generalized Walsh systems have many properties similar to the classical one: they form a Schauder basis [5] and a uniform finite dimensional decomposition [6] in the space, have property of random unconditional convergence.[7] One important example of generalized Walsh system is Fermion Walsh system in non-commutative Lp spaces associated with hyperfinite type II factor.

### Fermion Walsh system

The Fermion Walsh system is a non-commutative, or "quantum" analog of the classical Walsh system. Unlike the latter, it consists of operators, not functions. Nevertheless, both systems share many important properties, e.g., both form an orthonormal basis in corresponding Hilbert space, or Schauder basis in corresponding symmetric spaces. Elements of the Fermion Walsh system are called Walsh operators.

The term Fermion in the name of the system is explained by the fact that the enveloping operator space, the so-called hyperfinite type II factor ${\displaystyle {\mathcal {R}}}$, may be viewed as the space of observables of the system of countably infinite number of distinct spin ${\displaystyle {\frac {1}{2}}}$ fermions. Each Rademacher operator acts on one particular fermion coordinate only, and there it is a Pauli matrix. It may be identified with the observable measuring spin component of that fermion along one of the axes ${\displaystyle \{x,y,z\}}$ in spin space. Thus, a Walsh operator measures the spin of a subset of fermions, each along its own axis.

### Binary Surfaces

Romanuke showed that Walsh functions can be generalized to binary surfaces in a particular case of function of two variables.[8] There also exist eight Walsh-like bases of orthonormal binary functions,[9] whose structure is nonregular (unlike the structure of Walsh functions). These eight bases are generalized to surfaces (in the case of the function of two variables) also. It was proved that piecewise-constant functions can be represented within each of nine bases (including the Walsh functions basis) as finite sums of binary functions, when weighted with proper coefficients.[10]

## Applications

Applications of the Walsh functions can be found wherever digit representations are used, including speech recognition, medical and biological image processing, and digital holography.

For example, the fast Walsh–Hadamard transform (FWHT) may be used in the analysis of digital quasi-Monte Carlo methods. In radio astronomy, Walsh functions can help reduce the effects of electrical crosstalk between antenna signals. They are also used in passive LCD panels as X and Y binary driving waveforms where the autocorrelation between X and Y can be made minimal for pixels that are off.

## References

• Ferleger, Sergei V.; Sukochev, Fyodor A. (March 1996). "On the contractibility to a point of the linear groups of reflexive non-commutative Lp-spaces". Mathematical Proceedings of the Cambridge Philosophical Society. 119 (03): 545–560. doi:10.1017/s0305004100074405.
• Schipp, Ferenc; Wade, W.R.; Simon, P. (1990). Walsh series. An introduction to dyadic harmonic analysis. Akadémiai Kiadó.
• Sukochev, Fyodor A.; Ferleger, Sergei V. (December 1995). "Harmonic analysis in (UMD)-spaces: Applications to the theory of bases". Mathematical Notes. 58 (6): 1315–1326. doi:10.1007/bf02304891.