Skip to content

Orthogonal Array

Version
v1 · 2026-11-14 · History
Prime #
1607
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Combinatorial Design, Discrete Mathematics → Mathematics
Aliases
T-wise balanced projection

Core Idea

An orthogonal array is a finite table whose rows jointly balance every combination on any chosen number of columns. For an equal-level \(\mathrm{OA}(N,k,v,t)\), there are \(N\) rows and \(k\) columns, each with an alphabet of \(v\) symbols. In every selection of \(t\) columns, each possible ordered \(t\)-tuple occurs exactly \(\lambda=N/v^t\) times. The integer \(t\) is the strength and \(\lambda\) the index. This condition does not require every full \(k\)-tuple to appear, and rows may repeat.[1]

The transferable move is balance every low-order projection of a multi-coordinate collection. Interpreting rows as experimental conditions, software configurations or codewords changes the purpose and the admissible assumptions; the same exact frequency test applies to each chosen set of coordinates. A smaller collection can cover and balance selected interactions without enumerating all full combinations, though an orthogonal array is not necessarily smaller than a full factorial design.[1][2]

How would you explain it like I'm…

The Fair Mix Table

Imagine a chart for testing toy cars, where each row is one test and each column is a choice, like big or small wheels, red or blue paint. The chart is made so that if you pick any two choices, every mix (big and red, big and blue, small and red, small and blue) shows up the same number of times. That way it's fair, even though you didn't try every possible car.

Balanced Test Table

An Orthogonal Array is a table where each row is one test and each column is one thing you can change, with a few choices for each. It is built so that if you pick a certain number of columns, say any two, every possible combination of choices in those columns appears the same number of times. That way, no combination gets favored or left out when you look at those columns. The table does not need to include every full combination of all the columns, so it can sometimes be shorter than trying everything. Rows are even allowed to repeat.

Balanced Combination Table

An orthogonal array is a table with N rows and k columns, where each entry comes from a set of v symbols. Its strength t means: pick any t columns, and every possible ordered list of t symbols appears in those columns the same number of times, λ = N / v^t. So with strength 2, every pair of values shows up equally often in every pair of columns. This is weaker than listing every complete combination (a full factorial); the full rows don't all need to appear, and rows are even allowed to repeat. The core idea is balancing every small group of columns, which is why the same structure shows up in designing experiments, testing software settings, and building error-correcting codes. It is often smaller than testing everything, but not necessarily.

 

An orthogonal array OA(N, k, v, t) is an N × k array over an alphabet of v symbols such that, in every selection of t columns, each of the v^t possible ordered t-tuples occurs exactly λ = N / v^t times. The parameter t is the strength and λ the index. The condition constrains only the projections onto t columns: it does not require every full k-tuple to appear, and repeated rows are permitted. The transferable principle is to balance every low-order projection of a multi-coordinate collection. Read rows as experimental runs, and the array is a fractional design in which main effects or low-order interactions are balanced; read them as software configurations, and it supports interaction testing; read them as codewords, and it connects to coding theory. Each reading brings its own assumptions, but the same exact frequency check applies to every chosen set of t coordinates. An orthogonal array can balance selected interactions with fewer runs than full enumeration, though it is not guaranteed to be smaller than a full factorial.

Structural Signature

  • Coordinates and levels: named columns with finite alphabets.
  • Row collection: a finite list of complete coordinate assignments, with repetitions allowed.
  • Strength: the number \(t\) of columns examined jointly.
  • Projection: every selection of \(t\) columns, retaining row multiplicities.
  • Equal frequency: every possible tuple on a selected projection occurs the same number of times.
  • Use-specific interpretation: rows become runs, tests or codewords only when a separate application maps them to those roles.

Working Example

The rows \(000,011,101,110\) form an \(\mathrm{OA}(4,3,2,2)\). Every two-column selection contains \(00,01,10,11\) exactly once, so \(\lambda=1\). Only four of the eight possible three-bit strings appear: pairwise balance is not three-way completeness. Selecting uniformly from the four rows makes every pair of columns uniformly distributed, while the three variables are not jointly independent. The full eight-row factorial table is also a strength-two array, with index two.[1]

A covering array requires each selected tuple at least once and can repeat some more often than others. It therefore need not be orthogonal. Conversely an orthogonal array with positive index covers all of its \(t\)-tuples. If some full configurations are forbidden, or if repeated rows have different practical costs, the ordinary unconstrained array property alone does not resolve those constraints.[1]

The Same Structure in Different Uses

Experimental design. Columns may encode factor levels and rows experimental runs. Equal pairwise projections support a balanced layout; model assumptions, randomization and possible interactions still determine what can be inferred. NIST describes Latin, Graeco-Latin and hyper-Graeco-Latin square designs as particular treatment-and-blocking arrangements, not as the definition of all orthogonal arrays.[1][3]

Software testing. The same columns and rows can encode settings and test cases. Kacker and colleagues explain how orthogonal-array designs informed combinatorial testing and why covering arrays are often used when equal multiplicity is unnecessary. Pairwise coverage is a property of the chosen inputs, not proof that all faults have been detected.[1]

Coding theory. Coordinates can instead be codeword positions and rows codewords. Kim and Lee construct orthogonal arrays from specified classes of codes; particular code–array relations require their hypotheses. Equal low-order projections alone do not specify a code's error-correcting distance or make every code an orthogonal array.[2]

Latin Squares and a Narrower Design

For \(k\) mutually orthogonal Latin squares of order \(n\), form one row \((i,j,L_1(i,j),\ldots,L_k(i,j))\) for each of the \(n^2\) grid positions. This gives an index-one, strength-two array on \(k+2\) columns. Conversely, such an array can be coordinatized by two columns to recover the squares. These are specific hypotheses, not an equivalence with arrays of arbitrary strength or index.[4]

A hyper-Graeco-Latin square design is a specific square/blocking design within this area. NIST lists the four-level case as five factors in 16 runs, with one treatment factor and four blocking factors. The requested hyper-Graeco-Latin page redirects to the broader orthogonal-array page; the narrower requested design remains distinct from the entire array class.[3]

Boundaries and Neighbors

An equal-level array uses the same alphabet size for each column; mixed-level orthogonal arrays need column-specific tuple counts. Cartesian product forms all combinations of its dimensions; an orthogonal array is a balanced row collection and can be a fraction of that product or include repeated rows. Factorial design concerns the use of factor combinations to investigate effects; an array can supply its layout without making statistical inference part of the definition. Spherical design matches specified polynomial averages on a sphere; its finite exactness is analogous but its ambient space and tests differ. Hadamard matrices and Costas arrays have different defining conditions, even where particular constructions relate them to arrays.[1][4]

Solution Archetypes

No catalogued solution archetypes reference this prime yet.

References

[1] Raghu N. Kacker, D. Richard Kuhn, Yu Lei and James F. Lawrence, “Combinatorial testing for software: An adaptation of design of experiments”, Measurement 46 (2013), 3745–3752. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g

[2] Hyun Jin Kim and Yoonjin Lee, “t-CIS codes over GF(p) and orthogonal arrays”, Discrete Applied Mathematics 217 (2017), 601–612. registry ↩a ↩b

[3] NIST/SEMATECH, “Latin square and related designs”, e-Handbook of Statistical Methods, §5.3.3.2.1. registry ↩a ↩b

[4] Simona Boyadzhiyska, Shagnik Das and Tibor Szabó, “Enumerating extensions of mutually orthogonal Latin squares”, Designs, Codes and Cryptography 88 (2020), 2187–2206, §2.2. registry ↩a ↩b

Neighborhood in Abstraction Space

Orthogonal Array has no computed distinctiveness yet.

Family — Structural & Measurement Primitives (7 primes)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14