Folioby Interconnected
Log InSign Up

Combinatorial Designs and Latin Squares: Balanced Arrangements

We define Latin squares and prove their existence, introduce mutually orthogonal Latin squares (MOLS), develop the theory of balanced incomplete block designs (BIBDs), prove Fisher's inequality, and discuss the connection with finite projective planes.

FO
Folio Official
March 1, 2026

1 Latin Squares

Definition 1 (Latin square).
A Latin square of order n is an n×n array filled with n different symbols, each occurring exactly once in every row and exactly once in every column.
Example 2.
A Latin square of order 3:
​123​231​312​​
Theorem 3.
For every positive integer n, a Latin square of order n exists.
Proof.
Define Lij​=(i+j−2)modn+1 for 1≤i,j≤n. Each row and each column contains every element of {1,2,…,n} exactly once. This construction is nothing other than the Cayley table of the additive group Z/nZ. □

2 Orthogonal Latin Squares

Definition 4 (Orthogonal Latin squares).
Two Latin squares L1​,L2​ of order n are orthogonal if, when superimposed, the n2 ordered pairs ((L1​)ij​,(L2​)ij​) are all distinct — that is, every one of the n2 possible ordered pairs appears exactly once.
Definition 5 (MOLS).
A set of Latin squares of order n that are pairwise orthogonal is called a set of mutually orthogonal Latin squares (MOLS). The maximum number of MOLS of order n is denoted N(n).
Theorem 6.
N(n)≤n−1.
Proof.
Suppose there exist k mutually orthogonal Latin squares L1​,…,Lk​ of order n. We may normalize so that the first row of each Li​ is (1,2,…,n). By the orthogonality of Li​ and Lj​ (i=j), we must have (Li​)2,1​=(Lj​)2,1​. (If they were equal, say both equal to c, the pair (1,c) would appear in both position (1,1) and position (2,1), contradicting orthogonality.) Since (Li​)2,1​∈{2,3,…,n} and these values are distinct across different Li​, we conclude k≤n−1. □
Theorem 7.
If q is a prime power, then N(q)=q−1.
Proof.
Let Fq​ be the finite field of order q. For each a∈Fq∗​, define La​ by (La​)ij​=ai+j (i,j∈Fq​). Each La​ is a Latin square, and for a=b the squares La​ and Lb​ are orthogonal. Since ∣Fq∗​∣=q−1, we have N(q)≥q−1. Combined with the upper bound, N(q)=q−1. □

3 Balanced Incomplete Block Designs

Definition 8 (BIBD).
A balanced incomplete block design (BIBD) on a v-element set V is a collection B of k-element subsets of V (called blocks) satisfying:
  1. 2≤k<v;

  2. every pair of distinct elements x,y∈V appears together in exactly λ blocks.

Such a design is called a (v,k,λ)-BIBD. Let b denote the total number of blocks and r the number of blocks containing any given element.
Theorem 9 (Fundamental identities for BIBDs).
For a (v,k,λ)-BIBD:
  1. bk=vr

  2. r(k−1)=λ(v−1)

Proof.
(1) Count the pairs (x,B) with x∈V, B∈B, and x∈B. Fixing x gives r such pairs; fixing B gives k. Hence vr=bk.

(2) Fix an element x. In the r blocks containing x, there are r(k−1) incidences of x with other elements (counting with multiplicity). On the other hand, each of the v−1 other elements appears together with x in exactly λ blocks, giving λ(v−1) incidences. □

4 Fisher's Inequality

Theorem 10 (Fisher's inequality).
For a (v,k,λ)-BIBD, the number of blocks satisfies b≥v.
Proof.
Consider the v×b incidence matrix N defined by Nij​=1 if xi​∈Bj​ and 0 otherwise. One verifies that NNT=(r−λ)I+λJ, where I is the identity matrix and J is the all-ones matrix. This matrix has eigenvalues r+(v−1)λ (with multiplicity 1) and r−λ (with multiplicity v−1). Since k<v implies r>λ, all eigenvalues are positive, so NNT is nonsingular. Therefore rank(N)=v, which forces b≥v. □

5 Finite Projective Planes

Definition 11 (Finite projective plane).
A finite projective plane of ordern is an (n2+n+1,n+1,1)-BIBD. In other words, v=b=n2+n+1, k=r=n+1, and λ=1.
Theorem 12.
If a finite projective plane of order n exists, then there exist N(n)=n−1 mutually orthogonal Latin squares of order n.
Proof.
From the structure of a finite projective plane, one can construct n−1 MOLS. Conversely, n−1 MOLS can be used to construct a finite projective plane of order n. The two objects are thus equivalent. □
Remark 13.
When n is a prime power, the projective plane PG(2,q) over Fq​ provides an explicit construction. When n=6, the question is related to Euler's problem of the 36 officers; Tarry showed in 1901 that N(6)=1. When n=10, an exhaustive computer search completed in 1989 proved that no finite projective plane of order 10 exists.
CombinatoricsDiscrete MathematicsTextbookLatin SquaresCombinatorial Designs
FO
Folio Official

Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.

1 followers·107 articles
Combinatorics TextbookPart 11 of 13
Previous
Burnside's Lemma and P\'olya Enumeration: Counting Under Symmetry
Next
Partially Ordered Sets and Lattices: The Combinatorics of Order

Share your expertise with the world

Write articles with LaTeX support, build your audience, and earn from your knowledge.

Start Writing — It's Free

More from Folio Official

Folio Official·March 1, 2026

Recurrence Relations and Counting: Solving Linear Recurrences

We present the method of characteristic equations for solving linear recurrences with constant coefficients, treat the case of repeated roots, discuss nonhomogeneous recurrences, establish the equivalence with generating functions, and introduce matrix exponentiation and the Kitamasa method.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

The Inclusion--Exclusion Principle: Counting by Alternating Sums

We prove the inclusion--exclusion principle and apply it to derive the formula for the number of derangements D_n, Euler's totient function, the relationship between surjections and Stirling numbers of the second kind, and the M\"{o}bius inversion formula.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

Burnside's Lemma and P\'olya Enumeration: Counting Under Symmetry

Starting from the definitions of group actions, orbits, and stabilizers, we prove Burnside's lemma (the Cauchy--Frobenius theorem), introduce the cycle index of a permutation group, and derive P\'olya's enumeration theorem. Applications to necklace and bracelet counting are given.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

Combinatorics: A Complete Summary of Definitions, Theorems, and Proofs

A single-page survey of undergraduate combinatorics. Covers the fundamentals of counting, binomial coefficients, inclusion-exclusion, generating functions, Catalan numbers, Ramsey theory, Burnside and Polya enumeration, combinatorial designs, posets, and algebraic combinatorics. Includes a dependency diagram and a theorem-algorithm directory.

CombinatoricsDiscrete MathematicsSummary