Latin Square Design
Latin Square Design
Latin square
In combinatorics and in experimental design, a Latin square is annn array filled withn different symbols, each occurring exactly once in each row and exactly once in each column. Here is an example:
Displaying a 7 7 Latin square, this stained glass window honors Ronald Fisher, whose Design of Experiments discussed Latin squares. Fisher's student, A.W.F. Edwards, designed this window for Caius College, Cambridge.
A B C C A B B C A
The name "Latin square" is motivated by mathematical papers by Leonhard Euler, who used Latin characters as symbols. Of course, other symbols can be used instead of Latin letters: in the above example, the alphabetic sequence A,B,C can be replaced by the integer sequence 1,2,3.
Latin square
Reduced form
A Latin square is said to be reduced (also, normalized or in standard form) if both its first row and its first column are in their natural order. For example, the above Latin square is not reduced because its first column is A,C,B rather than A,B,C. We can make any Latin square reduced by permuting (reordering) the rows and columns. Here switching the above matrix's second and third rows yields
A B C B C A C A B
which is reduced: Both its first row and its first column are alphabetically ordered A,B,C.
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: { (1,1,1),(1,2,2),(1,3,3),(2,1,2),(2,2,3),(2,3,1),(3,1,3),(3,2,1),(3,3,2) }, 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: A Latin square is the set of all triples (r,c,s), where 1 r, c, s n, such that all ordered pairs (r,c) are distinct, all ordered pairs (r,s) are distinct, and all ordered pairs (c,s) are distinct. For any Latin square, there are n2 triples since choosing any two uniquely determines the third. (Otherwise, an ordered pair would appear more than once in the Latin square.) The orthogonal array representation shows that rows, columns and symbols play rather similar roles, as will be made clear below.
Latin square
Number
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 (sequence A002860 in OEIS) is n! (n-1)! times the number of reduced Latin squares (sequence A000315 in OEIS).
11 5363937773277371298119673540771840 776966836171770144107444346734230682311065600000
For each n, each isotopy class (sequence A040082 in OEIS) contains up to (n!)3 Latin squares (the exact number varies), while each main class (sequence A003090 in OEIS) contains either 1, 2, 3 or 6 isotopy classes.
11 2036029552582883134196099 12216177315369229261482540
Latin square
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: {0} the trivial 1-element group the binary group cyclic group of order 3 the Klein four-group cyclic group of order 4 cyclic group of order 5 the last one is an example of a quasigroup, or rather a loop, which is not associative.
Applications
Latin squares are used in statistics and in mathematics. In the design of experiments, Latin squares are a special case of row-column designs for two blocking factors:[1] Many row-column designs are constructed by concatenating Latin squares.[2] In algebra, Latin squares are generalizations of groups; in fact, Latin squares are characterized as being the multiplication tables (Cayley tables) of quasigroups.
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
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.[6] The popular Sudoku 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 33 adjacent subsquares must also contain the digits 19 (in the standard version). The more recent KenKen puzzles are also examples of Latin squares.
Heraldry
The Latin square also figures in the arms of the Statistical Society of Canada,[7] being specifically mentioned in its blazon. Also, it appears in the logo of the International Biometric Society.[8]
Notes
Bailey, R.A. (2008). "6 Row-Column designs and 9 More about Latin squares" (http:/ / www. maths. qmul. ac. uk/ ~rab/ DOEbook). Design of Comparative Experiments. Cambridge University Press. ISBN978-0-521-68357-9. MR2422352. . Pre-publication chapters are available on-line. Hinkelmann, Klaus and Kempthorne, Oscar (2008). Design and Analysis of Experiments. I and II (Second ed.). Wiley (http:/ / eu. wiley. com/ WileyCDA/ WileyTitle/ productCd-0470385510. html). ISBN978-0-470-38551-7. Hinkelmann, Klaus and Kempthorne, Oscar (2008). Design and Analysis of Experiments, Volume I: Introduction to Experimental Design (http:/ / books. google. com/ books?id=T3wWj2kVYZgC& printsec=frontcover& cad=4_0) (Second ed.). Wiley (http:/ / eu. wiley. com/ WileyCDA/ WileyTitle/ productCd-0471727563. html). ISBN978-0-471-72756-9. . Hinkelmann, Klaus and Kempthorne, Oscar (2005). Design and Analysis of Experiments, Volume 2: Advanced Experimental Design (http:/ / books. google. com/ books?id=GiYc5nRVKf8C) (First ed.). Wiley (http:/ / eu. wiley. com/ WileyCDA/ WileyTitle/ productCd-0471551775. html). ISBN978-0-471-55177-5. .
Raghavarao, Damaraju (1988). Constructions and Combinatorial Problems in Design of Experiments (corrected reprint of the 1971 Wiley ed.). New York: Dover. ISBN0-486-65685-3. Raghavarao, Damaraju and Padgett, L.V. (2005). Block Designs: Analysis, Combinatorics and Applications. World Scientific. ISBN981-256-360-1. Shah, Kirti R.; Sinha, Bikas K. (1989). "4 Row-Column Designs". Theory of Optimal Designs. Lecture Notes in Statistics (http:/ / www. springer. com/ series/ 694). 54. Springer-Verlag. pp.6684. ISBN0-387-96991-8. MR1016151. Shah, K. R.; Sinha, Bikas K. (1996). "Row-column designs". In S. Ghosh and C. R. Rao. Design and analysis of experiments. Handbook of Statistics. 13. Amsterdam: North-Holland Publishing Co.. pp.903937. ISBN0-444-82061-2. MR1492586. Street, Anne Penfold and Street, Deborah J. (1987). Combinatorics of Experimental Design. Oxford U. P. [Clarendon]. pp.400+xiv. ISBN0-19-853256-3. [3] C.J. Colbourn, T. Klve, and A.C.H. Ling, Permutation arrays for powerline communication, IEEE Trans. Inform. Theory, vol. 50, pp. 12891291, 2004. [4] Euler's revolution, New Scientist, 24th of March 2007, pp 4851 [5] Sophie Huczynska, Powerline communication and the 36 officers problem, Philosophical Transactions of the Royal Society A, vol 364, p 3199.
Latin square
[6] C. Colbourn (1984). "The complexity of completing partial latin squares". Discrete Applied Mathematics 8: 2530. doi:10.1016/0166-218X(84)90075-1. [7] (http:/ / www. ssc. ca/ main/ about/ history/ arms_e. html) [8] The International Biometric Society (http:/ / www. tibs. org)
References
Bailey, R.A. (2008). "6 Row-Column designs and 9 More about Latin squares" (http://www.maths.qmul.ac. uk/~rab/DOEbook). Design of Comparative Experiments. Cambridge University Press. ISBN978-0-521-68357-9. MR2422352. Pre-publication chapters are available on-line. Dnes, J.; Keedwell, A. D. (1974). Latin squares and their applications. New York-London: Academic Press. pp.547. ISBN0-12-209350-X. MR351850. Dnes, J. H.; Keedwell, A. D. (1991). Latin squares: New developments in the theory and applications. Annals of Discrete Mathematics. 46. Amsterdam: Academic Press. pp.xiv+454. ISBN0-444-88899-3. MR1096296. Hinkelmann, Klaus; Kempthorne, Oscar (2008). Design and Analysis of Experiments (http://eu.wiley.com/ WileyCDA/WileyTitle/productCd-0470385510.html). I , II (Second ed.). Wiley. ISBN978-0-470-38551-7. MR2363107. Hinkelmann, Klaus; Kempthorne, Oscar (2008). Design and Analysis of Experiments, Volume I: Introduction to Experimental Design (http://books.google.com/?id=T3wWj2kVYZgC&printsec=frontcover) (Second ed.). Wiley (http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0471727563.html). ISBN978-0-471-72756-9. MR2363107. Hinkelmann, Klaus; Kempthorne, Oscar (2005). Design and Analysis of Experiments, Volume 2: Advanced Experimental Design (http://books.google.com/books?id=GiYc5nRVKf8C) (First ed.). Wiley (http://eu. wiley.com/WileyCDA/WileyTitle/productCd-0471551775.html). ISBN978-0-471-55177-5. MR2129060. Knuth, Donald (2011). Volume 4A: Combinatorial Algorithms, Part 1. The Art of Computer Programming (First ed.). Reading, Massachusetts: Addison-Wesley. pp.xv+883pp. ISBN0-201-03804-8. Laywine, Charles F.; Mullen, Gary L. (1998). Discrete mathematics using Latin squares. Wiley-Interscience Series in Discrete Mathematics and Optimization. New York: John Wiley & Sons, Inc.. pp.xviii+305. ISBN0-471-24064-8. MR1644242. Shah, Kirti R.; Sinha, Bikas K. (1989). "4 Row-Column Designs". Theory of Optimal Designs. Lecture Notes in Statistics (http://www.springer.com/series/694). 54. Springer-Verlag. pp.6684. ISBN0-387-96991-8. MR1016151. Shah, K. R.; Sinha, Bikas K. (1996). "Row-column designs". In S. Ghosh and C. R. Rao. Design and analysis of experiments. Handbook of Statistics. 13. Amsterdam: North-Holland Publishing Co.. pp.903937. ISBN0-444-82061-2. MR1492586. Raghavarao, Damaraju (1988). Constructions and Combinatorial Problems in Design of Experiments (corrected reprint of the 1971 Wiley ed.). New York: Dover. ISBN0-486-65685-3. MR1102899. Street, Anne Penfold and Street, Deborah J. (1987). Combinatorics of Experimental Design. New York: Oxford University Press. pp.400+xiv pp.. ISBN0-19-853256-3, 0-19-853255-5. MR908490. J. H. van Lint, R. M. Wilson: A Course in Combinatorics. Cambridge University Press 1992,ISBN 0-521-42260-4, p.157
Latin square
External links
Latin Squares (http://eom.springer.de/L/l057620.htm) in the Encyclopaedia of Mathematics Latin Squares in Java (http://www.cut-the-knot.org/Curriculum/Algebra/Latin.shtml) at cut-the-knot Infinite Latin Square (Java) (http://www.cut-the-knot.org/Curriculum/Combinatorics/InfiniteLatinSquare. shtml) at cut-the-knot Magic Square in Latin Square (http://www.muljadi.org/MagicSudoku.htm)
License
Creative Commons Attribution-Share Alike 3.0 Unported //creativecommons.org/licenses/by-sa/3.0/