ArticleslgStudy

mathematics

Walsh matrix

Walsh matrix is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Walsh matrix rather than just read about it. In short: In mathematics, a Walsh matrix is a specific square matrix of dimensions 2n, where n is some particular natural number. The entries of the matrix are either +1 or −1 and its rows as well as columns are orthogonal.

Walsh matrix — main illustration
Walsh matrix — illustration

Key takeaways

  • Walsh matrix belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Walsh matrix to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Walsh matrix from memory before moving on to harder problems.

Reference excerpt

In mathematics, a Walsh matrix is a specific square matrix of dimensions 2n, where n is some particular natural number. The entries of the matrix are either +1 or −1 and its rows as well as columns are orthogonal. The Walsh matrix was proposed by Joseph L. Walsh in 1923. Each row of a Walsh matrix corresponds to a Walsh function. The Walsh matrices are a special case of Hadamard matrices where the rows are rearranged so that the number of sign changes in a row is in increasing order. In short, a Hadamard matrix is defined by the recursive formula below and is naturally ordered, whereas a Walsh matrix is sequency-ordered. Confusingly, different sources refer to either matrix as the Walsh matrix. The Walsh matrix (and Walsh functions) are used in computing the Walsh transform and have applications in the efficient implementation of certain signal processing operations.

Formula The Hadamard matrices of dimension 2k for k∈ℕ are given by the recursive formula (the lowest order of Hadamard matrix is 2):

H(21)=[111−1],H(22)=[11111−11−111−1−11−1−11], and in general

H(2k)=[H(2k−1)H(2k−1)H(2k−1)−H(2k−1)]=H(2)⊗H(2k−1), for 2 ≤ k ∈ N, where ⊗ denotes the Kronecker product.

Permutation We can obtain a Walsh matrix from a Hadamard matrix. For that, we first generate the Hadamard matrix for a given dimension. Then, we count the number of sign changes of each row. Finally, we re-order the rows of the matrix according to the number of sign changes in ascending order. For example, let us assume that we have a Hadamard matrix of dimension 22

H(4)=[11111−11−111−1−11−1−11], where the successive rows have 0, 3, 1, and 2 sign changes (we count the number of times we switch from a positive 1 to a negative 1, and vice versa). If we rearrange the rows in sequency ordering, we obtain:

W(4)=[111111−1−11−1−111−11−1], where the successive rows have 0, 1, 2, and 3 sign changes.

Alternative forms of the Walsh matrix

Sequency ordering The sequency ordering of the rows of the Walsh matrix can be derived from the ordering of the Hadamard matrix by first applying the bit-reversal permutation and then the Gray-code permutation:

W(8)=[111111111111−1−1−1−111−1−1−1−11111−1−111−1−11−1−111−1−111−1−11−111−11−11−1−11−111−11−11−11−1], where the successive rows have 0, 1, 2, 3, 4, 5, 6, and 7 sign changes.

Dyadic ordering W(8)=[111111111111−1−1−1−111−1−111−1−111−1−1−1−1111−11−11−11−11−11−1−11−111−1−111−1−111−1−11−111−1], where the successive rows have 0, 1, 3, 2, 7, 6, 4, and 5 sign changes.

Natural ordering H(8)=[111111111−11−11−11−111−1−111−1−11−1−111−1−111111−1−1−1−11−11−1−11−1111−1−1−1−1111−1−11−111−1], where the successive rows have 0, 7, 3, 4, 1, 6, 2, and 5 sign changes (Hadamard matrix).

See also

Haar wavelet Quincunx matrix Hadamard transform Code-division multiple access OEIS: A228539 (OEIS: A228540) – rows of the (negated) binary Walsh matrices read as reverse binary numbers OEIS: A197818 – antidiagonals of the negated binary Walsh matrix read as binary numbers

References

Illustrations

Walsh matrix: Hadamard matrix of order 16 multiplied with a vector
Hadamard matrix of order 16 multiplied with a vector
Walsh matrix: Naturally ordered Hadamard matrix permuted into sequency-ordered Walsh matrix.
The number of sign changes per row in the naturally ordered matrix is (0, 15, 7, 8, 3, 12, 4, 11, 1, 14, 6, 9, 2, 13, 5, 10), in the sequency-ordered matrix the number of sign changes is consecutive.
Naturally ordered Hadamard matrix permuted into sequency-ordered Walsh matrix. The number of sign changes per row in the naturally ordered matrix is (0, 15, 7, 8, 3, 12, 4, 11, 1, 14, 6, 9, 2, 13, 5, 10), in the sequency-ordered matrix the number of sign changes is consecutive.
Walsh matrix: LDU decomposition of a Hadamard matrix.
The ones in the triangular matrices form Sierpinski triangles. The entries of the diagonal matrix are values from Gould's sequence, with the minus signs distributed like the ones in Thue–Morse sequence.
LDU decomposition of a Hadamard matrix. The ones in the triangular matrices form Sierpinski triangles. The entries of the diagonal matrix are values from Gould's sequence, with the minus signs distributed like the ones in Thue–Morse sequence.

Worked examples

Example 1 — a first encounter with Walsh matrix

Start with the simplest possible case. Write down what Walsh matrix claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Walsh matrix before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Walsh matrix ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Walsh matrix

In research
Walsh matrix appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Walsh matrix in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Walsh matrix is common in secondary-school and first-year university syllabi. It links to neighbouring topics Matrices (mathematics), so understanding it makes those chapters shorter.
In everyday life
Look for Walsh matrix outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Walsh matrix” →

How to study Walsh matrix in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Walsh matrix means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Walsh matrix out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Walsh matrix in simple terms?

In mathematics, a Walsh matrix is a specific square matrix of dimensions 2n, where n is some particular natural number. The entries of the matrix are either +1 or −1 and its rows as well as columns are orthogonal.

Why does Walsh matrix matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Walsh matrix?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Walsh matrix.

Tags

  • Matrices (mathematics)

Keep exploring