All Topics  
Latin square

 

   Email Print
   Bookmark   Link






 

Latin square



 
 
A Latin square is an n × n table filled with n different symbols in such a way that each symbol occurs exactly once in each row and exactly once in each column. Here is an example:



Latin squares occur as the multiplication table
Multiplication table

In mathematics, a multiplication table is a mathematical table used to define a multiplication binary operation for an algebraic system.The decimal multiplication table was traditionally taught as an essential part of elementary arithmetic around the sun, as it lays the foundation for arithmetic operations with our base-ten numbers....
s (Cayley table
Cayley table

A Cayley table, after the 19th century United Kingdom mathematician Arthur Cayley, describes the structure of a finite group by arranging all the possible products of all the group's elements in a square table reminiscent of an addition or multiplication table....
s) of quasigroup
Quasigroup

In mathematics, especially in abstract algebra, a quasigroup is an algebraic structure resembling a group in the sense that "division " is always possible....
s. They have applications in the design of experiments
Design of experiments

Design of experiments, or experimental design, is the design of all information-gathering exercises where variation is present, whether under the full control of the experimenter or not....
 and in error correcting codes.

The name Latin square originates from Leonhard Euler
Leonhard Euler

Leonhard Paul Euler was a pioneering Swiss mathematician and physicist who spent most of his life in Russia and Germany.Euler made important discoveries in fields as diverse as calculus and graph theory....
, who used Latin
Latin

Latin is an Italic language, historically spoken in Latium and Ancient Rome. Through the Military history of the Roman Empire, Latin spread throughout the Mediterranean and a large part of Europe....
 characters as symbols.

A Latin square is said to be reduced (also, normalized or in standard form) if its first row and first column are in natural order.






Discussion
Ask a question about 'Latin square'
Start a new discussion about 'Latin square'
Answer questions from other users
Full Discussion Forum



Encyclopedia


A Latin square is an n × n table filled with n different symbols in such a way that each symbol occurs exactly once in each row and exactly once in each column. Here is an example:



Latin squares occur as the multiplication table
Multiplication table

In mathematics, a multiplication table is a mathematical table used to define a multiplication binary operation for an algebraic system.The decimal multiplication table was traditionally taught as an essential part of elementary arithmetic around the sun, as it lays the foundation for arithmetic operations with our base-ten numbers....
s (Cayley table
Cayley table

A Cayley table, after the 19th century United Kingdom mathematician Arthur Cayley, describes the structure of a finite group by arranging all the possible products of all the group's elements in a square table reminiscent of an addition or multiplication table....
s) of quasigroup
Quasigroup

In mathematics, especially in abstract algebra, a quasigroup is an algebraic structure resembling a group in the sense that "division " is always possible....
s. They have applications in the design of experiments
Design of experiments

Design of experiments, or experimental design, is the design of all information-gathering exercises where variation is present, whether under the full control of the experimenter or not....
 and in error correcting codes.

The name Latin square originates from Leonhard Euler
Leonhard Euler

Leonhard Paul Euler was a pioneering Swiss mathematician and physicist who spent most of his life in Russia and Germany.Euler made important discoveries in fields as diverse as calculus and graph theory....
, who used Latin
Latin

Latin is an Italic language, historically spoken in Latium and Ancient Rome. Through the Military history of the Roman Empire, Latin spread throughout the Mediterranean and a large part of Europe....
 characters as symbols.

A Latin square is said to be reduced (also, normalized or in standard form) if its first row and first column are in natural order. For example, the Latin square above is reduced because both its first row and its first column are 1,2,3 (rather than 3,1,2 or any other order). We can make any Latin square reduced by permuting (reordering) the rows and columns.

Properties


Orthogonal array representation


If each entry of an n × n Latin square is written as a triple (r,c,s), where r is the row, c is the column, and s is the symbol, we obtain a set of n2 triples called the orthogonal array representation of the square. For example, the orthogonal array representation of the first Latin square displayed above is
,
where for example the triple (2,3,1) means that in row 2 and column 3 there is the symbol 1. The definition of a Latin square can be written in terms of orthogonal arrays as follows:
  • There are n2 triples of the form (r,c,s), where 1 ≤ r, c, sn.
  • All of the pairs (r,c) are different, all the pairs (r,s) are different, and all the pairs (c,s) are different.


The orthogonal array representation shows that rows, columns and symbols play rather similar roles, as will be made clear below.

Equivalence classes of Latin squares


Many operations on a Latin square produce another Latin square (for example, turning it upside down).

If we permute the rows, permute the columns, and permute the names of the symbols of a Latin square, we obtain a new Latin square said to be isotopic
Homotopy

In topology, two continuous function Function from one topological space to another are called homotopic if one can be "continuously deformed" into the other, such a deformation being called a homotopy between the two functions....
 to the first. Isotopism is an equivalence relation
Equivalence relation

In mathematics, an equivalence relation is, loosely, a binary relation on a Set that specifies how to split up the set into subsets such that every element of the larger set is in exactly one of the subsets....
, so the set of all Latin squares is divided into subsets, called isotopy classes, such that two squares in the same class are isotopic and two squares in different classes are not isotopic.

Another type of operation is easiest to explain using the orthogonal array representation of the Latin square. If we systematically and consistently reorder the three items in each triple, another orthogonal array (and, thus, another Latin square) is obtained. For example, we can replace each triple (r,c,s) by (c,r,s) which corresponds to transposing the square (reflecting about its main diagonal), or we could replace each triple (r,c,s) by (c,s,r), which is a more complicated operation. Altogether there are 6 possibilities including "do nothing", giving us 6 Latin squares called the conjugates (also parastrophes) of the original square.

Finally, we can combine these two equivalence operations: two Latin squares are said to be paratopic, also main class isotopic, if one of them is isotopic to a conjugate of the other. This is again an equivalence relation, with the equivalence classes called main classes, species, or paratopy classes. Each main class contains up to 6 isotopy classes.

The number of Latin squares


There is no known easily-computable formula for the number L(n) of n × n Latin squares with symbols 1,2,...,n. The most accurate upper and lower bounds known for large n are far apart. One classic result is

(this given by van Lint and Wilson).

Here we will give all the known exact values. It can be seen that the numbers grow exceedingly quickly. For each n, the number of Latin squares altogether is n! (n-1)! times the number of reduced Latin squares .

For each n, each isotopy class contains up to (n!)3 Latin squares (the exact number varies), while each main class contains either 1, 2, 3 or 6 isotopy classes.

Examples


We give one example of a Latin square from each main class up to order 5.







They present, respectively, the multiplication tables of the following groups:
  • - the trivial 1-element group
  • - the binary
    Binary numeral system

    The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
     group
  • - cyclic group
    Cyclic group

    In group theory, a cyclic group or monogenous group is a group that can be generating set of a group by a single element, in the sense that the group has an element g such that, when written multiplicatively, every element of the group is a power of g ....
     of order 3
  • - the Klein four-group
    Klein four-group

    In mathematics, the Klein four-group is the group Z2 × Z2, the direct product of two copies of the cyclic group of Order 2 ....
  • - cyclic group of order 4
  • - cyclic group of order 5
  • the last one is an example of a quasigroup
    Quasigroup

    In mathematics, especially in abstract algebra, a quasigroup is an algebraic structure resembling a group in the sense that "division " is always possible....
    , or rather a loop, which is not associative


Applications


Error correcting codes


Sets of Latin squares that are orthogonal to each other have found an application as error correcting codes in situations where communication is disturbed by more types of noise than simple white noise
White noise

White noise is a random signal with a flat power spectral density. In other words, the signal contains equal power within a fixed bandwidth at any center frequency....
, such as when attempting to transmit broadband internet over powerlines.

Firstly, the message is sent by using several frequencies, or channels, a common method that makes the signal less vulnerable to noise at any one specific frequency. A letter in the message to be sent is encoded by sending a series of signals at different frequencies at successive time intervals. In the example below, the letters A to L are encoded by sending signals at four different frequencies, in four time slots. The letter C for instance, is encoded by first sending at frequency 3, then 4, 1 and 2.



The encoding of the twelve letters are formed from three Latin squares that are orthogonal to each other. Now imagine that there's added noise in channels 1 and 2 during the whole transmission. The letter A would then be picked up as:

In other words, in the first slot we receive signals from both frequency 1 and frequency 2; while the third slot has signals from frequencies 1, 2 and 3. Because of the noise, we can no longer tell if the first two slots were 1,1 or 1,2 or 2,1 or 2,2. But the 1,2 case is the only one that yields a sequence matching a letter in the above table, the letter A. Similarly, we may imagine a burst of static over all frequencies in the third slot:

Again, we are able to infer from the table of encodings that it must have been the letter A being transmitted. The number of errors this code can spot is one less than the number of time slots. It has also been proved that if the number of frequencies is a prime or a power of a prime, the orthogonal Latin squares produce error detecting codes that are as efficient as possible.

Mathematical puzzles


The problem of determining if a partially filled square can be completed to form a Latin square is NP-complete
NP-complete

In computational complexity theory, the complexity class NP-complete is a class of problems having two properties:* Any given solution to the problem can be verified quickly ; the set of problems with this property is called NP ....
.

The popular Sudoku
Mathematics of Sudoku

The class of Sudoku puzzles consists of a partially completed row-column grid of cells partitioned into N regions each of size N cells, to be filled in using a prescribed set of N distinct symbols , so that each row, column and region contains exactly one of each element of the set....
 puzzles are a special case of Latin squares; any solution to a Sudoku puzzle is a Latin square. Sudoku imposes the additional restriction that nine particular 3×3 adjacent subsquares must also contain the digits 1–9 (in the standard version). The more recent KenKen
KenKen

KenKen or KEN-KEN is a style of arithmetic and logical puzzle sharing several characteristics with sudoku. The name comes from Japanese language and is translated as "the square of wisdom" or "cleverness squared"....
 puzzles are also examples of latin squares.

Heraldry
Heraldry

Heraldry is the profession, study, or art of devising, granting, and blazoning Coat of arms and ruling on questions of rank or protocol, as exercised by an officer of arms....


The Latin square also figures in the blazon of the arms of the Statistical Society of Canada
Statistical Society of Canada

The Statistical Society of Canada is a professional organization whose mission it is to promote the use and development of statistics and probability....
. Also, it appears in the logo of the International Biometric Society.

See also

  • Latin hypercube sampling
    Latin hypercube sampling

    The statistics method of Latin hypercube sampling was developed to generate a distribution of plausible collections of parameter values from a multidimensional distribution....
  • Graeco-Latin square
    Graeco-Latin square

    In mathematics, a Graeco-Latin square or Euler square of order n over two Set s S and T, each consisting of n symbols, is an n×n arrangement of cells, each cell containing an ordered pair , where s ∈ S and a t ∈ T, such that...
  • Magic Square
    Magic square

    In recreational mathematics, a magic square of order n is an arrangement of n? numbers, usually distinct integers, in a square , such that the n numbers in all rows, all columns, and both diagonals sum to the same constant....
  • Problems in Latin squares
    Problems in Latin squares

    In mathematics, the theory of Latin squares is an active research area with many open problems. As in other areas of mathematics, such problems are often made public at professional conferences and meetings....
  • Small Latin squares and quasigroups
    Small Latin squares and quasigroups

    Below the Latin squares and quasigroups of some small orders are considered....
  • Sudoku
    Sudoku

    is a logic-based, combinatorial number-placement puzzle. The objective is to fill a 9?9 grid so that each column, each row, and each of the nine 3?3 boxes contains the digits from 1 to 9 only one time each....
  • Futoshiki
    Futoshiki

    or Unequal is a logic puzzle game from Japan. Its name means "Inequality". It is also spelled hutosiki .The puzzle is played on a square grid, such as 5 x 5....
  • Rook's graph
    Rook's graph

    In graph theory, a rook's graph is a graph that represents all legal moves of the Rook chess Chess piece on a chessboard: each vertex represents a square on a chessboard and each edge represents a legal move....
    , a graph that has Latin squares as its colorings
    Graph coloring

    In graph theory, graph coloring is a special case of graph labeling; it is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints....
    .
  • Eight queens puzzle
    Eight queens puzzle

    The eight queens puzzle is the problem of putting eight chess Queen s on an 8?8 chessboard such that none of them is able to capture any other using the standard chess queen's moves....


External links

  • in the Encyclopaedia of Mathematics
    Encyclopaedia of Mathematics

    The Encyclopaedia of Mathematics is a large reference work in mathematics. It is available in book form, on CD-ROM, and can also be browsed online for free: http://eom.springer.de/...
  • at cut-the-knot
    Cut-the-knot

    Cut-the-knot is an educational website maintained by Alexander Bogomolny and devoted to popular exposition of a great variety of topics in mathematics....
  • at cut-the-knot
    Cut-the-knot

    Cut-the-knot is an educational website maintained by Alexander Bogomolny and devoted to popular exposition of a great variety of topics in mathematics....