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. This articles uses the Walsh–Paley numeration.
We define the sequence of Walsh functions
Wk:[0,1] → \{-1,1\}
k\inN
x\in[0,1]
kj
k0
xj
x
x1
Then, by definition
Wk(x)=
| ||||||||||
(-1) |
In particular,
W0(x)=1
Notice that
W | |
2m |
Wk(x)=
infty | |
\prod | |
j=0 |
kj | |
r | |
j(x) |
L2[0,1]
Both trigonometric and Walsh systems admit natural extension by periodicity from the unit interval to the real line. 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.
The Walsh system
\{Wk\},k\inN0
infty | |
\coprod | |
n=0 |
Z/2Z
infty | |
\prod | |
n=0 |
Z/2Z
W0
The Walsh system is an orthonormal basis of the Hilbert space
L2[0,1]
1 | |
\int | |
0 |
Wk(x)Wl(x)dx=\deltakl
and being a basis means that if, for every
f\inL2[0,1]
fk=
1 | |
\int | |
0 |
f(x)Wk(x)dx
1 | |
\int | |
0 |
(f(x)-
N | |
\sum | |
k=0 |
fkWk(x))2dx \xrightarrow[N → infty]{} 0
It turns out that for every
f\inL2[0,1]
infty | |
\sum | |
k=0 |
fkWk(x)
f(x)
x\in[0,1]
The Walsh system (in Walsh-Paley numeration) forms a Schauder basis in
Lp[0,1]
1<p<infty
L1[0,1]
Let
D=
infty | |
\prod | |
n=1 |
Z/2Z
\hat{D}=
infty | |
\coprod | |
n=1 |
Z/2Z
\hat{D}
D
Then basic representation theory suggests the following broad generalization of the concept of Walsh system.
(X,|| ⋅ ||)
\{Rt\}t\subset\operatorname{Aut}X
D
\gamma\in\hat{D}
X\gamma=\{x\inX:Rtx=\gamma(t)x\}
X=\overline{\operatorname{Span}}(X\gamma,\gamma\in\hat{D})
w\gamma\inX\gamma
\|w\gamma\|=1
\{w\gamma\}\gamma
\{wk\}k0}
\{Rt\}t
Rt:x=
infty | |
\sum | |
j=1 |
-j | |
x | |
j2 |
\mapsto
infty | |
\sum | |
j=1 |
(xj ⊕
-j | |
t | |
j)2 |
where
⊕
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.
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.
lR
1/2
\{x,y,z\}
Fix a sequence
\alpha=(\alpha1,\alpha2,...)
\alphak\geq2,k=1,2,...
G=G\alpha=
infty | |
\prod | |
n=1 |
Z/\alphakZ
A0=1
Ak=\alpha1\alpha2...\alphak-1
x\inG
\left|x\right|=
infty | |
\sum | |
k=1 |
xk | |
Ak |
\in\left[0,1\right].
This correspondence is a module zero isomorphism between
G
G
k=1,2,...
\rhok:G\toC
\rhok(x)=\exp\left(i
2\pixk | |
\alphak |
\right)=\cos\left(
2\pixk | |
\alphak |
\right)+i\sin\left(
2\pixk | |
\alphak |
\right).
The set
\{\rhok\}
\hat{G}=
infty | |
\coprod | |
n=1 |
Z/\alphakZ
G
\{\rhok\}
n
n0,n1,...
0\leqnk<\alphak+1,k=0,1,2,...
n=
infty | |
\sum | |
k=0 |
nkAk.
Then
\hat{G}={\chin|n=0,1,...}
\chin=
infty | |
\sum | |
k=0 |
nk | |
\rho | |
k+1 |
.
In particular, if
\alphak=2,k=1,2...
G
\hat{G}=\left\{\chin|n=0,1,...\right\}
The Vilenkin system is a complete orthonormal system on
G
Lp(G,C)
1<p<infty
Nonlinear phase extensions of discrete Walsh-Hadamard transform were developed. It was shown that the nonlinear phase basis functions with improved cross-correlation properties significantly outperform the traditional Walsh codes in code division multiple access (CDMA) communications.[8]
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.