Paley construction: Difference between revisions
m copyedit, clarity edits, MOS implementation, and/or AWB general fixes using AWB |
→Examples: texify matrix |
||
(19 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
In [[mathematics]], the '''Paley construction''' is a method for constructing [[ |
In [[mathematics]], the '''Paley construction''' is a method for constructing [[Hadamard matrices]] using [[finite field]]s. The construction was described in 1933 by the [[England|English]] mathematician [[Raymond Paley]]. |
||
The Paley construction uses [[quadratic residue]]s in a finite field |
The Paley construction uses [[quadratic residue]]s in a finite field GF(''q'') where ''q'' is a power of an [[parity (mathematics)|odd]] [[prime number]]. There are two versions of the construction depending on whether ''q'' is [[modular arithmetic|congruent]] to 1 or 3 modulo 4. |
||
==Quadratic character and Jacobsthal matrix== |
==Quadratic character and Jacobsthal matrix== |
||
Let ''q'' be a power of an odd prime. In the finite field GF(''q'') the quadratic [[Legendre symbol|character]] χ(''a'') indicates whether the element ''a'' is zero, a non-zero [[square (algebra)|square]], or a non-square: |
|||
The quadratic [[character (mathematics)|character]] χ(''a'') indicates whether the given finite field element ''a'' is a perfect square. Specifically, χ(0) = 0, χ(''a'') = 1 if ''a'' = ''b''<sup>2</sup> for some non-zero finite field element ''b'', and χ(''a'') = −1 if ''a'' is not the square of any finite field element. For example, in ''GF''(7) the non-zero squares are 1 = 1<sup>2</sup> = 6<sup>2</sup>, 4 = 2<sup>2</sup> = 5<sup>2</sup>, and 2 = 3<sup>2</sup> = 4<sup>2</sup>. Hence χ(0) = 0, χ(1) = χ(2) = χ(4) = 1, and χ(3) = χ(5) = χ(6) = −1. |
|||
:<math>\chi(a) = \begin{cases} 0 & \text{if }a = 0\\ |
|||
1 & \text{if }a = b^2\text{ for some non-zero }b \in \mathrm{GF}(q)\\ |
|||
-1 & \text{if }a\text{ is not the square of any element in }\mathrm{GF}(q).\end{cases}</math> |
|||
For example, in GF(7) the non-zero squares are 1 = 1<sup>2</sup> = 6<sup>2</sup>, 4 = 2<sup>2</sup> = 5<sup>2</sup>, and 2 = 3<sup>2</sup> = 4<sup>2</sup>. Hence χ(0) = 0, χ(1) = χ(2) = χ(4) = 1, and χ(3) = χ(5) = χ(6) = −1. |
|||
The Jacobsthal matrix ''Q'' for |
The [[Ernst Jacobsthal|Jacobsthal]] matrix ''Q'' for GF(''q'') is the ''q'' × ''q'' [[matrix (mathematics)|matrix]] with rows and columns indexed by elements of GF(''q'') such that the entry in row ''a'' and column ''b'' is χ(''a'' − ''b''). For example, in GF(7), if the rows and columns of the Jacobsthal matrix are indexed by the [[field (mathematics)|field]] elements 0, 1, 2, 3, 4, 5, 6, then |
||
⚫ | |||
:<math> |
|||
⚫ | |||
0 & -1 & -1 & 1 & -1 & 1 & 1\\ |
0 & -1 & -1 & 1 & -1 & 1 & 1\\ |
||
1 & 0 & -1 & -1 & 1 & -1 & 1\\ |
1 & 0 & -1 & -1 & 1 & -1 & 1\\ |
||
Line 17: | Line 19: | ||
1 & -1 & 1 & 1 & 0 & -1 & -1\\ |
1 & -1 & 1 & 1 & 0 & -1 & -1\\ |
||
-1 & 1 & -1 & 1 & 1 & 0 & -1\\ |
-1 & 1 & -1 & 1 & 1 & 0 & -1\\ |
||
-1 & -1 & 1 & -1 & 1 & 1 & 0\end{bmatrix}. |
-1 & -1 & 1 & -1 & 1 & 1 & 0\end{bmatrix}.</math> |
||
</math> |
|||
The Jacobsthal matrix has the properties ''QQ''<sup>T</sup> = ''qI'' − ''J'' and ''QJ'' = ''JQ'' = 0 where ''I'' is the ''q''×''q'' identity matrix and ''J'' is the ''q''×''q'' all |
The Jacobsthal matrix has the properties ''QQ''<sup>T</sup> = ''qI'' − ''J'' and ''QJ'' = ''JQ'' = 0 where ''I'' is the ''q'' × ''q'' [[identity matrix]] and ''J'' is the ''q'' × ''q'' [[matrix of ones|all 1 matrix]]. If ''q'' is congruent to 1 mod 4 then −1 is a square in GF(''q'') |
||
which implies that ''Q'' is a [[symmetric matrix]]. If ''q'' is congruent to 3 |
which implies that ''Q'' is a [[symmetric matrix]]. If ''q'' is congruent to 3 mod 4 then −1 is not a square, and ''Q'' is a [[skew-symmetric matrix]]. When ''q'' is a prime number and rows and columns are indexed by field elements in the usual 0, 1, 2, … order, ''Q'' is a [[circulant matrix]]. That is, each row is obtained from the row above by [[cyclic permutation]]. |
||
[[skew-symmetric matrix]]. When ''q'' is a prime number, ''Q'' is a [[circulant matrix]]. That is, each row is obtained from the row above by cyclic permutation. |
|||
==Paley construction I== |
==Paley construction I== |
||
If ''q'' is congruent to 3 |
If ''q'' is congruent to 3 mod 4 then |
||
:<math> |
:<math>H = I + \begin{bmatrix} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | is a Hadamard matrix of size ''q'' + 1. Here ''j'' is the all-1 column vector of length ''q'' and ''I'' is the (''q''+1)×(''q''+1) identity matrix. The matrix ''H'' is a [[Hadamard matrix#Skew Hadamard matrices|skew Hadamard matrix]], which means it satisfies ''H'' + ''H''<sup>T</sup> = 2''I''. |
||
⚫ | |||
</math> |
|||
⚫ | is a Hadamard matrix of size ''q'' + 1. Here ''j'' is the all-1 column vector of length ''q'' and ''I'' is the (''q''+1)×(''q''+1) identity matrix. The matrix ''H'' is a [[Hadamard matrix#Skew Hadamard matrices|skew Hadamard matrix]], which means it satisfies ''H''+''H''<sup>T</sup> = 2''I''. |
||
==Paley construction II== |
==Paley construction II== |
||
If ''q'' is congruent to 1 |
If ''q'' is congruent to 1 mod 4 then the matrix obtained by replacing all 0 entries in |
||
:<math> |
:<math>\begin{bmatrix} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</math> |
|||
with the matrix |
with the matrix |
||
:<math> |
:<math>\begin{bmatrix} |
||
1 & -1 \\ |
|||
\begin{bmatrix} |
|||
1 & -1\ |
-1 & -1 \end{bmatrix}</math> |
||
-1 & -1\end{bmatrix} |
|||
</math> |
|||
and all entries ±1 with the matrix |
and all entries ±1 with the matrix |
||
:<math> |
:<math>\pm\begin{bmatrix} |
||
1 & 1 \\ |
|||
\pm\begin{bmatrix} |
|||
1 & 1\ |
1 & -1 \end{bmatrix}</math> |
||
1 & -1\end{bmatrix} |
|||
</math> |
|||
is a Hadamard matrix of size 2(''q'' + 1). It is a symmetric Hadamard matrix. |
is a Hadamard matrix of size 2(''q'' + 1). It is a symmetric Hadamard matrix. |
||
Line 65: | Line 57: | ||
==Examples== |
==Examples== |
||
Applying Paley Construction I to the Jacobsthal matrix for |
Applying Paley Construction I to the Jacobsthal matrix for GF(7), one produces the 8 × 8 Hadamard matrix, |
||
⚫ | |||
<pre> |
|||
1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\ |
|||
11111111 |
|||
-1 & 1 & -1 & -1 & 1 & -1 & 1 & 1 \\ |
|||
-1--1-11 |
|||
-1 & 1 & 1 & -1 & -1 & 1 & -1 & 1 \\ |
|||
-11--1-1 |
|||
-1& 1 & 1 & 1 & -1 & -1 & 1 & -1 \\ |
|||
-111--1- |
|||
-1 & -1 & 1 & 1 & 1 & -1 & -1 & 1 \\ |
|||
--111--1 |
|||
-1 & 1 & -1 & 1 & 1 & 1 & -1 & -1 \\ |
|||
-1-111-- |
|||
-1 & -1 & 1 & -1 & 1 & 1 & 1 & -1 \\ |
|||
--1-111- |
|||
-1 & -1 & -1 & 1 & -1 & 1 & 1 & 1 |
|||
---1-111. |
|||
⚫ | |||
</pre> |
|||
For an example of the Paley II construction when ''q'' is a prime power rather than a prime number, consider |
For an example of the Paley II construction when ''q'' is a [[prime power]] rather than a prime number, consider GF(9). This is an [[field extension|extension field]] of GF(3) obtained |
||
by adjoining a root of an [[irreducible polynomial|irreducible quadratic]]. Different irreducible quadratics produce equivalent fields. Choosing ''x''<sup>2</sup>+''x''−1 and letting ''a'' be a root of this polynomial, the nine elements of |
by adjoining a [[root of a polynomial|root]] of an [[irreducible polynomial|irreducible]] [[quadratic polynomial|quadratic]]. Different irreducible quadratics produce equivalent fields. Choosing ''x''<sup>2</sup>+''x''−1 and letting ''a'' be a root of this [[polynomial]], the nine elements of GF(9) may be written 0, 1, −1, ''a'', ''a''+1, ''a''−1, −''a'', −''a''+1, −''a''−1. The non-zero squares are 1 = (±1)<sup>2</sup>, −''a''+1 = (±''a'')<sup>2</sup>, ''a''−1 = (±(''a''+1))<sup>2</sup>, and −1 = (±(''a''−1))<sup>2</sup>. The Jacobsthal matrix is |
||
:<math> |
:<math>Q = \begin{bmatrix} |
||
Q = \begin{bmatrix} |
|||
0 & 1 & 1 & -1 & -1 & 1 & -1 & 1 & -1\\ |
0 & 1 & 1 & -1 & -1 & 1 & -1 & 1 & -1\\ |
||
1 & 0 & 1 & 1 & -1 & -1 & -1 & -1 & 1\\ |
1 & 0 & 1 & 1 & -1 & -1 & -1 & -1 & 1\\ |
||
Line 91: | Line 82: | ||
-1 & -1 & 1 & -1 & 1 & -1 & 0 & 1 & 1\\ |
-1 & -1 & 1 & -1 & 1 & -1 & 0 & 1 & 1\\ |
||
1 & -1 & -1 & -1 & -1 & 1 & 1 & 0 & 1\\ |
1 & -1 & -1 & -1 & -1 & 1 & 1 & 0 & 1\\ |
||
-1 & 1 & -1 & 1 & -1 & -1 & 1 & 1 & 0\end{bmatrix}. |
-1 & 1 & -1 & 1 & -1 & -1 & 1 & 1 & 0\end{bmatrix}.</math> |
||
</math> |
|||
It is a symmetric matrix consisting of nine |
It is a symmetric matrix consisting of nine 3 × 3 circulant blocks. Paley Construction II produces the symmetric 20 × 20 Hadamard matrix, |
||
<pre> |
<pre> |
||
Line 124: | Line 114: | ||
==The Hadamard conjecture== |
==The Hadamard conjecture== |
||
The size of a Hadamard matrix must be 1, 2, or a multiple of 4. The [[Kronecker product]] of two Hadamard matrices of sizes ''m'' and ''n'' is an Hadamard matrix of size ''mn''. By forming |
The size of a Hadamard matrix must be 1, 2, or a multiple of 4. The [[Kronecker product]] of two Hadamard matrices of sizes ''m'' and ''n'' is an Hadamard matrix of size ''mn''. By forming Kronecker products of matrices from the Paley construction and the 2 × 2 matrix, |
||
:<math> |
:<math>H_2 = \begin{bmatrix} |
||
H_2 = \begin{bmatrix} |
|||
1 & 1 \\ |
1 & 1 \\ |
||
1 & -1 \end{bmatrix}, |
1 & -1 \end{bmatrix},</math> |
||
</math> |
|||
Hadamard matrices of every |
Hadamard matrices of every permissible size up to 100 except for 92 are produced. In his 1933 paper, Paley says “It seems probable that, whenever ''m'' is divisible by 4, it is possible to construct an [[orthogonal matrix]] of order ''m'' composed of ±1, but the general theorem has every appearance of difficulty.” This appears to be the first published statement of the [[Hadamard conjecture]]. A matrix of size 92 was eventually constructed by Baumert, [[Solomon W. Golomb|Golomb]], and [[Marshall Hall (mathematician)|Hall]], using a construction due to Williamson combined with a computer search. Currently, Hadamard matrices have been shown to exist for all <math>m \,\equiv\, 0 \mod 4</math> for ''m'' < 668. |
||
==See also== |
==See also== |
||
Line 142: | Line 130: | ||
| last = Paley |
| last = Paley |
||
| first = R.E.A.C. |
| first = R.E.A.C. |
||
| |
| author-link = Raymond Paley |
||
| doi = 10.1002/sapm1933121311 |
|||
| title = On orthogonal matrices |
| title = On orthogonal matrices |
||
| journal = Journal of Mathematics and Physics |
| journal = [[Journal of Mathematics and Physics]] |
||
| volume = 12 |
| volume = 12 |
||
| issue = |
|||
| pages = 311–320 |
| pages = 311–320 |
||
| publisher = |
|||
| location = |
|||
| year = 1933 |
| year = 1933 |
||
| |
| zbl = 0007.10004 |
||
}} |
|||
| doi = |
|||
⚫ | * {{cite journal | author=L. D. Baumert |author2=S. W. Golomb |author2-link=Solomon W. Golomb |author3=M. Hall Jr |author3-link=Marshall Hall (mathematician) | title=Discovery of an Hadamard matrix of order 92 | journal=Bull. Amer. Math. Soc. | volume=68 | year=1962 | pages=237–238 | doi=10.1090/S0002-9904-1962-10761-7 | issue=3 | doi-access=free }} |
||
| id = |
|||
⚫ | * {{cite book | author=F.J. MacWilliams | author-link=Jessie MacWilliams |author2=N.J.A. Sloane |author-link2=Neil Sloane | title=The Theory of Error-Correcting Codes | url=https://archive.org/details/theoryoferrorcor0000macw | url-access=registration | publisher=North-Holland | year=1977 | isbn=0-444-85193-3 | pages=[https://archive.org/details/theoryoferrorcor0000macw/page/47 47], 56 }} |
||
| accessdate = }} |
|||
⚫ | * {{cite journal | author=L. D. Baumert | |
||
⚫ | |||
[[Category:Matrices]] |
[[Category:Matrices]] |
Latest revision as of 11:19, 30 July 2024
In mathematics, the Paley construction is a method for constructing Hadamard matrices using finite fields. The construction was described in 1933 by the English mathematician Raymond Paley.
The Paley construction uses quadratic residues in a finite field GF(q) where q is a power of an odd prime number. There are two versions of the construction depending on whether q is congruent to 1 or 3 modulo 4.
Quadratic character and Jacobsthal matrix
[edit]Let q be a power of an odd prime. In the finite field GF(q) the quadratic character χ(a) indicates whether the element a is zero, a non-zero square, or a non-square:
For example, in GF(7) the non-zero squares are 1 = 12 = 62, 4 = 22 = 52, and 2 = 32 = 42. Hence χ(0) = 0, χ(1) = χ(2) = χ(4) = 1, and χ(3) = χ(5) = χ(6) = −1.
The Jacobsthal matrix Q for GF(q) is the q × q matrix with rows and columns indexed by elements of GF(q) such that the entry in row a and column b is χ(a − b). For example, in GF(7), if the rows and columns of the Jacobsthal matrix are indexed by the field elements 0, 1, 2, 3, 4, 5, 6, then
The Jacobsthal matrix has the properties QQT = qI − J and QJ = JQ = 0 where I is the q × q identity matrix and J is the q × q all 1 matrix. If q is congruent to 1 mod 4 then −1 is a square in GF(q) which implies that Q is a symmetric matrix. If q is congruent to 3 mod 4 then −1 is not a square, and Q is a skew-symmetric matrix. When q is a prime number and rows and columns are indexed by field elements in the usual 0, 1, 2, … order, Q is a circulant matrix. That is, each row is obtained from the row above by cyclic permutation.
Paley construction I
[edit]If q is congruent to 3 mod 4 then
is a Hadamard matrix of size q + 1. Here j is the all-1 column vector of length q and I is the (q+1)×(q+1) identity matrix. The matrix H is a skew Hadamard matrix, which means it satisfies H + HT = 2I.
Paley construction II
[edit]If q is congruent to 1 mod 4 then the matrix obtained by replacing all 0 entries in
with the matrix
and all entries ±1 with the matrix
is a Hadamard matrix of size 2(q + 1). It is a symmetric Hadamard matrix.
Examples
[edit]Applying Paley Construction I to the Jacobsthal matrix for GF(7), one produces the 8 × 8 Hadamard matrix,
For an example of the Paley II construction when q is a prime power rather than a prime number, consider GF(9). This is an extension field of GF(3) obtained by adjoining a root of an irreducible quadratic. Different irreducible quadratics produce equivalent fields. Choosing x2+x−1 and letting a be a root of this polynomial, the nine elements of GF(9) may be written 0, 1, −1, a, a+1, a−1, −a, −a+1, −a−1. The non-zero squares are 1 = (±1)2, −a+1 = (±a)2, a−1 = (±(a+1))2, and −1 = (±(a−1))2. The Jacobsthal matrix is
It is a symmetric matrix consisting of nine 3 × 3 circulant blocks. Paley Construction II produces the symmetric 20 × 20 Hadamard matrix,
1- 111111 111111 111111 -- 1-1-1- 1-1-1- 1-1-1- 11 1-1111 ----11 --11-- 1- --1-1- -1-11- -11--1 11 111-11 11---- ----11 1- 1---1- 1--1-1 -1-11- 11 11111- --11-- 11---- 1- 1-1--- -11--1 1--1-1 11 --11-- 1-1111 ----11 1- -11--1 --1-1- -1-11- 11 ----11 111-11 11---- 1- -1-11- 1---1- 1--1-1 11 11---- 11111- --11-- 1- 1--1-1 1-1--- -11--1 11 ----11 --11-- 1-1111 1- -1-11- -11--1 --1-1- 11 11---- ----11 111-11 1- 1--1-1 -1-11- 1---1- 11 --11-- 11---- 11111- 1- -11--1 1--1-1 1-1---.
The Hadamard conjecture
[edit]The size of a Hadamard matrix must be 1, 2, or a multiple of 4. The Kronecker product of two Hadamard matrices of sizes m and n is an Hadamard matrix of size mn. By forming Kronecker products of matrices from the Paley construction and the 2 × 2 matrix,
Hadamard matrices of every permissible size up to 100 except for 92 are produced. In his 1933 paper, Paley says “It seems probable that, whenever m is divisible by 4, it is possible to construct an orthogonal matrix of order m composed of ±1, but the general theorem has every appearance of difficulty.” This appears to be the first published statement of the Hadamard conjecture. A matrix of size 92 was eventually constructed by Baumert, Golomb, and Hall, using a construction due to Williamson combined with a computer search. Currently, Hadamard matrices have been shown to exist for all for m < 668.
See also
[edit]References
[edit]- Paley, R.E.A.C. (1933). "On orthogonal matrices". Journal of Mathematics and Physics. 12: 311–320. doi:10.1002/sapm1933121311. Zbl 0007.10004.
- L. D. Baumert; S. W. Golomb; M. Hall Jr (1962). "Discovery of an Hadamard matrix of order 92". Bull. Amer. Math. Soc. 68 (3): 237–238. doi:10.1090/S0002-9904-1962-10761-7.
- F.J. MacWilliams; N.J.A. Sloane (1977). The Theory of Error-Correcting Codes. North-Holland. pp. 47, 56. ISBN 0-444-85193-3.