07.05.06 · representation-theory / symmetric

Association schemes, the Bose-Mesner algebra, and Krawtchouk/Hahn polynomials

shipped3 tiersLean: none

Anchor (Master): Delsarte 1973 An Algebraic Approach to the Association Schemes of Coding Theory (Philips Research Reports Suppl. 10); Bannai-Ito 1984 Ch. 3; Diaconis 1988 Ch. 3F

Intuition Beginner

An association scheme is a way of sorting all pairs of points in a finite set into a few "distance types." On a cube, two corners are either the same, neighbours, two steps apart, or opposite. That sorting into four types is a scheme. The surprise is that this combinatorial bookkeeping carries a hidden algebra: stack each type into a square table of 0s and 1s, and these tables multiply among themselves in a closed, well-behaved way.

That algebra of tables is the Bose-Mesner algebra. Because the tables all commute, they share one common set of eigenvectors, and the eigenvalues line up into a small grid of numbers.

Why does this matter? Those eigenvalues turn out to be values of classical orthogonal polynomials, the same ones that diagonalise many random walks. A combinatorial symmetry algebra whose eigenvalues are classical orthogonal polynomials becomes the engine for analysing distance-regular structures and random walks on them.

Visual Beginner

Picture the points of a small set drawn as dots, with every pair of dots coloured by its "distance class." Same point is colour 0, nearest pairs colour 1, next-nearest colour 2, and so on. Each colour becomes one square table of 0s and 1s, and the tables sum to the all-ones table.

Reading the picture: the loops give the identity table, the edges give the "neighbour" table, the diagonals give the "opposite" table. Their sum fills every cell with a 1, because every pair of dots lands in exactly one class.

Worked example Beginner

Take a square with corners labelled in a cycle. Sort pairs into three classes: class 0 is "same corner," class 1 is "joined by an edge," class 2 is "across a diagonal." Corner 1 is joined by edges to 2 and 4, and sits across the diagonal from 3.

Build the neighbour table : put a 1 in row , column when and are edge-joined. Row 1 has 1s in columns 2 and 4. Every row has exactly two 1s, because every corner has two edge-neighbours.

Now multiply by itself. Entry of counts the corners that neighbour both 1 and 3: those are 2 and 4, giving the value 2. Entry counts corners neighbouring 1 twice over, giving 2 as well. Working out the whole product, , a clean combination of the other tables.

The lesson: the product of two scheme tables is again a sum of scheme tables, with whole-number coefficients. Those coefficients (here 2 and 2) are the intersection numbers, and they are the entire data of the scheme.

Check your understanding Beginner

Formal definition Intermediate+

Let be a finite set of size . A (symmetric) association scheme with classes is a partition of into relations such that:

  1. is the diagonal;
  2. each is symmetric: ;
  3. there exist intersection numbers such that for any , the count of with and equals , independent of the chosen pair .

Encode each relation by its adjacency matrix , with exactly when . The axioms translate to: ; (the all-ones matrix); each ; and

Definition (Bose-Mesner algebra). The complex span is the Bose-Mesner algebra of the scheme. The product relation above shows is closed under ordinary matrix multiplication; since the are symmetric 0/1 matrices summing to , is also closed under the entrywise Hadamard product , with . The algebra is commutative when (and we assume) .

Because the are commuting symmetric real matrices, they are simultaneously diagonalisable. The common eigenspaces give a second basis of : the primitive idempotents , with , , and .

Definition (eigenmatrices). The two bases are related by the first eigenmatrix and second eigenmatrix :

The entry is the eigenvalue of on the -th eigenspace.

Counterexamples to common slips

  • Not every partition is a scheme. The regularity axiom (3) is a strong constraint; a random partition of has no constant intersection numbers and generates no closed algebra.
  • Commutative does not mean ordinary = Hadamard. The two products coincide only on the diagonal idempotent basis. The are idempotent under but not under ordinary multiplication, and vice versa for the .
  • -polynomial is extra structure. A scheme is -polynomial (metric) only when one can order the classes so that for a degree- polynomial . Most schemes are not -polynomial.

Key theorem with proof Intermediate+

Theorem (Krawtchouk eigenvalues of the Hamming scheme). Let and let when and differ in exactly coordinates (Hamming distance ). This is the Hamming scheme . It is -polynomial, and the eigenvalue of on the -th eigenspace is

the Krawtchouk polynomial of degree evaluated at .

Proof. The scheme is the -fold tensor product of the one-class scheme on . For the single coordinate, the additive characters of the abelian group (for prime; in general the characters of any abelian group of order ) diagonalise the two relations "equal" and "different." Concretely, write the characters as with . The difference relation acts on with eigenvalue for and for , by character orthogonality (see 07.01.04).

Tensoring copies, a joint eigenvector is indexed by a word , and its eigenspace depends only on the weight . The eigenvalue of the distance- matrix is the coefficient extracted by counting how many ways coordinates can be chosen to differ, split by whether each falls on a zero or non-zero character index. Expanding the generating identity

and reading off the coefficient of gives exactly . The right-hand factorisation is the product over coordinates: each of the non-zero positions contributes (eigenvalue on the difference relation), each of the zero positions contributes (eigenvalue ).

Bridge. This theorem builds toward the spectral analysis of urn-model walks and appears again in 07.05.15, where the Ehrenfest urn is the walk on and its relaxation time is read straight off . The foundational reason the Krawtchouk polynomials appear is that the Bose-Mesner algebra of is exactly the commutant of the permutation action of the wreath-product symmetry group, so its eigenvalue table is the table of zonal spherical functions; this is exactly the abelian, commutative-product counterpart of the Gelfand-pair spherical functions of 07.05.13. The central insight, putting these together, is that diagonalising a combinatorial distance algebra and diagonalising a reversible random walk are the same computation: the bridge is the dictionary "eigenvalue of = value of an orthogonal polynomial = decaying Fourier mode," which generalises the non-abelian Fourier analysis of 07.01.09 to the metric setting.

Exercises Intermediate+

Advanced results Master

Theorem 1 (Bose-Mesner = commutant of a multiplicity-free action). Let a finite group act transitively on , and let the permutation representation decompose without repeated irreducible constituents (a multiplicity-free action; equivalently is a Gelfand pair). Then the orbitals of on form a commutative association scheme whose Bose-Mesner algebra equals , and the primitive idempotents are the projections onto the irreducible constituents. The eigenmatrix entries are the zonal spherical functions of the Gelfand pair. This is the commutative-scheme face of the theory developed for in 07.05.13.

Theorem 2 (Johnson scheme and Hahn polynomials). Let , the -subsets of an -set, with when . This is the Johnson scheme , the orbital scheme of the Gelfand pair . It is both -polynomial and -polynomial; its eigenvalues are Eberlein polynomials and its dual eigenvalues are dual-Hahn polynomials, with the Hahn polynomials arising as the spherical functions. These polynomials are the discrete-orthogonal-polynomial spherical functions whose continuous shadow is the Jacobi polynomials.

Theorem 3 (Delsarte's linear-programming bound). For a code in a -polynomial scheme, the inner distribution satisfies , , and the dual constraints for all (the being the second-eigenmatrix entries). Maximising subject to these linear inequalities yields the Delsarte LP bound on . Specialised to this reproduces the classical bounds of coding theory; the dual constraints are precisely positivity of the Krawtchouk transform.

Theorem 4 (eigenvalues bound mixing). If a reversible random walk on has transition matrix lying in the Bose-Mesner algebra (constant transition probability within each relation), then is diagonalised by the , with eigenvalue . Convergence to uniform is governed by , an explicit polynomial value. For the Ehrenfest urn this is ; for Bernoulli-Laplace it is a dual-Hahn value.

Synthesis. The central insight is that an association scheme packages a finite metric symmetry as a commutative algebra, and its two bases — the for ordinary multiplication, the for the Hadamard product — are exchanged by a duality that is exactly the discrete Fourier transform of the scheme. This is the foundational reason the same orthogonal polynomials recur: putting these together, the eigenvalue table for the Hamming scheme is the Krawtchouk array and for the Johnson scheme the Eberlein/Hahn array, and each table is simultaneously a list of spherical functions, a list of random-walk eigenvalues, and the kernel of Delsarte's LP bound. The Bose-Mesner-as-commutant picture is dual to the Gelfand-pair construction of 07.05.13: where that unit reads spherical functions off the double-coset algebra, here we read them off the orbital scheme, and the bridge between them is multiplicity-freeness. This generalises the non-abelian Fourier programme of 07.01.09 to the metric setting and builds toward the urn-diffusion mixing analysis of 07.05.15, where these polynomial eigenvalues become sharp cutoff times.

Full proof set Master

Proposition 1 (the Bose-Mesner algebra is commutative and semisimple). For a symmetric association scheme, is a commutative algebra of dimension that is closed under conjugate transpose, hence semisimple, and admits a basis of orthogonal primitive idempotents.

Proof. Each is a real symmetric matrix, so and is closed under the adjoint. The products stay in , so it is an algebra; the are linearly independent because their supports partition , giving . Symmetry of the scheme gives , so is commutative. A commutative algebra of normal matrices closed under adjoint is simultaneously unitarily diagonalisable; the common eigenprojections are Hermitian idempotents with and . They lie in because each is a polynomial in the commuting . Counting dimensions, there are exactly of them, forming the second basis.

Proposition 2 (multiplicities and valencies via the eigenmatrices). Let be the valency of class and the multiplicity of eigenspace . Then and , and the eigenmatrices satisfy .

Proof. Take traces in : since for (no fixed points off the diagonal) and , we get for and . Dually, taking the Hadamard-diagonal of at the diagonal cells gives . The relation follows by equating the two expressions for the -entry of on a pair in and using that is Hermitian: is the constant value of on , while is the eigenvalue of on the -eigenspace of dimension , and the inner product computed two ways yields the stated identity.

Connections Master

  • Non-abelian Fourier transform 07.01.09. The simultaneous diagonalisation of the Bose-Mesner algebra is the metric-scheme instance of the Fourier transform on a finite group. When the scheme is the orbital scheme of a group action, the primitive idempotents are exactly the isotypic projections that 07.01.09 builds from irreducible representations, and the eigenmatrix is the table of Fourier coefficients of the relations.

  • Character orthogonality 07.01.04. The eigenvalues of the Hamming-scheme relations are computed by character orthogonality on the underlying abelian group: the difference relation has eigenvalue on the principal character and on every other, and tensoring these is the engine that produces the Krawtchouk polynomials. The orthogonality relations of and are the scheme-level shadow of character orthogonality.

  • Models for partially ranked data 07.05.13. That unit develops the Gelfand pair and its zonal spherical functions through the double-coset algebra; this unit produces the same spherical functions as the eigenvalues of the Johnson scheme , the orbital scheme of that pair. The Bose-Mesner-as-commutant theorem is the precise bridge: this is the commutative, association-scheme presentation of the non-commutative Gelfand-pair theory there, with Hahn polynomials on both sides.

Historical & philosophical context Master

Association schemes entered statistics through the design of experiments: Bose and Mesner introduced the linear associative algebra of a partially balanced incomplete block design in 1959 [Bose-Mesner 1959], abstracting the combinatorial regularity that makes such designs analysable. The algebra they named was rediscovered as the natural home for distance-regular graphs and, decisively, for coding theory when Delsarte's 1973 thesis [Delsarte 1973] recast the central problems of error-correcting codes as a linear program over the eigenmatrix of the Hamming scheme, with the Krawtchouk polynomials as its kernel. Bannai and Ito's 1984 treatise systematised the - and -polynomial theory and exposed the deep parallel with orthogonal polynomials and Lie theory.

Diaconis brought the circle back to probability: in Chapter 3F of his 1988 monograph [Diaconis 1988] he observed that the spherical functions diagonalising reversible walks on symmetric finite structures are precisely these scheme eigenvalues, so the Krawtchouk and Hahn polynomials are at once the harmonic analysis of the cube, the engine of coding bounds, and the spectral data of the Ehrenfest and Bernoulli-Laplace urns. The philosophical lesson is one of convergent abstraction: a bookkeeping device for agricultural field trials turned out to be the commutant of a representation, and its eigenvalues turned out to be the classical orthogonal polynomials that physicists and probabilists had been computing independently for a century.

Bibliography Master

@article{BoseMesner1959,
  author = {Bose, R. C. and Mesner, Dale M.},
  title = {On linear associative algebras corresponding to association schemes of partially balanced designs},
  journal = {Annals of Mathematical Statistics},
  volume = {30},
  year = {1959},
  pages = {21--38},
}

@phdthesis{Delsarte1973,
  author = {Delsarte, Philippe},
  title = {An algebraic approach to the association schemes of coding theory},
  school = {Universit\'e Catholique de Louvain},
  year = {1973},
  note = {Philips Research Reports Supplements No. 10},
}

@book{BannaiIto1984,
  author = {Bannai, Eiichi and Ito, Tatsuro},
  title = {Algebraic Combinatorics I: Association Schemes},
  publisher = {Benjamin/Cummings},
  year = {1984},
}

@book{Diaconis1988,
  author = {Diaconis, Persi},
  title = {Group Representations in Probability and Statistics},
  publisher = {Institute of Mathematical Statistics},
  year = {1988},
  series = {IMS Lecture Notes--Monograph Series},
  volume = {11},
}

@book{BrouwerCohenNeumaier1989,
  author = {Brouwer, A. E. and Cohen, A. M. and Neumaier, A.},
  title = {Distance-Regular Graphs},
  publisher = {Springer},
  year = {1989},
}

@book{Godsil1993,
  author = {Godsil, C. D.},
  title = {Algebraic Combinatorics},
  publisher = {Chapman \& Hall},
  year = {1993},
}