HOME

TheInfoList



OR:

Latin square In combinatorics and in experimental design, a Latin square is an ''n'' × ''n'' array filled with ''n'' different symbols, each occurring exactly once in each row and exactly once in each column. An example of a 3×3 Latin sq ...
s and
quasigroup In mathematics, especially in abstract algebra, a quasigroup is an algebraic structure resembling a group in the sense that " division" is always possible. Quasigroups differ from groups mainly in that they need not be associative and need not h ...
s are equivalent mathematical objects, although the former has a combinatorial nature while the latter is more algebraic. The listing below will consider the examples of some very small ''orders'', which is the side length of the square, or the number of elements in the equivalent quasigroup.


The equivalence

Given a quasigroup with elements, its
Cayley table Named after the 19th century British mathematician Arthur Cayley, a Cayley table 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 multipl ...
(almost universally called its ''multiplication table'') is an table that includes borders; a top row of column headers and a left column of row headers. Removing the borders leaves an array that is a Latin square. This process can be reversed, starting with a Latin square, introduce a bordering row and column to obtain the multiplication table of a quasigroup. While there is complete arbitrariness in how this bordering is done, the quasigroups obtained by different choices are sometimes equivalent in the sense given below.


Isotopy and isomorphism

Two Latin squares, 1 and 2 of size are ''isotopic'' if there are three bijections from the rows, columns and symbols of 1 onto the rows, columns and symbols of 2, respectively, that map 1 to 2. Isotopy is an
equivalence relation In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation. Each equivalence relatio ...
and the equivalence classes are called ''isotopy classes''. A stronger form of equivalence exists. Two Latin squares, 1 and 2 of side with common symbol set that is also the index set for the rows and columns of each square, are ''isomorphic'' if there is a bijection such that for all , in . An alternate way to define isomorphic Latin squares is to say that a pair of isotopic Latin squares are isomorphic if the three bijections used to show that they are isotopic are, in fact, equal. Isomorphism is also an equivalence relation and its equivalence classes are called ''isomorphism classes''. An alternate representation of a Latin square is given by an
orthogonal array In mathematics, an orthogonal array is a "table" (array) whose entries come from a fixed finite set of symbols (typically, ), arranged in such a way that there is an integer ''t'' so that for every selection of ''t'' columns of the table, all order ...
. For a Latin square of order this is an 2 × 3 matrix with columns labeled , and and whose rows correspond to a single position of the Latin square, namely, the row of the position, the column of the position and the symbol in the position. Thus for the order three Latin square, the orthogonal array is given by: The condition for an appropriately sized matrix to represent a Latin square is that for ''any'' two columns the ordered pairs determined by the rows in those columns are all the pairs () with 1 ≤ , once each. This property is not lost by permuting the three columns (but not the labels), so another orthogonal array (and thus, another Latin square) is obtained. For example, by permuting the first two columns, which corresponds to transposing the square (reflecting about its main diagonal) gives another Latin square, which may or may not be isotopic to the original. In this case, if the quasigroup corresponding to this Latin square satisfies the
commutative law In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Most familiar as the name of ...
, the new Latin square is the same as the original one. Altogether there are six possibilities including "do nothing", giving at most six Latin squares called the ''conjugates'' (also parastrophes) of the original square. 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 also an equivalence relation, with the equivalence classes called ''main classes'', ''species'', or ''paratopy classes''. Each main class contains up to six isotopy classes. A main class is a disjoint union of isotopy classes and an isotopy class is a disjoint union of isomorphism classes.


Isotopic quasigroups

Let and be two quasigroups. An ordered triple of bijections from onto is called an ''isotopism'' of onto if for all in . Such quasigroups are said to be ''isotopic''. If in the above definition then the quasigroups are said to be ''isomorphic''. Unlike the situation with Latin squares, when two isotopic quasigroups are represented by Cayley tables (bordered Latin squares), the permutations and operate only on the border headings and do not move columns and rows, while operates on the body of the table. Permuting the rows and columns of a Cayley table (including the headings) does not change the quasigroup it defines, however, the Latin square associated with this table will be permuted to an isotopic Latin square. Thus, normalizing a Cayley table (putting the border headings in some fixed predetermined order by permuting rows and columns including the headings) preserves the isotopy class of the associated Latin square. Furthermore, if two normalized Cayley tables represent isomorphic quasigroups then their associated Latin squares are also isomorphic. Hence, the number of distinct quasigroups of a given order is the number of isomorphism classes of Latin squares of that order.


Notation

The set of symbols used in a Latin square (or quasigroup) is arbitrary and individual symbols carry no meaning, even if they may have a meaning in other contexts. Thus, since it is most common to see the symbol sets or used, one must remember that these symbols carry no numerical meaning. To stress this point, small Latin squares sometimes use letters of the alphabet as a symbol set.


Counting Latin squares

As a Latin square is a combinatorial object, the symbol set used to write the square is immaterial. Thus, as Latin squares, these should be considered the same: :\begin a & b \\ b & a \end   and   \begin 1 & 2 \\ 2 &1 \end. Similarly, and for the same reason, :\begin b & a \\ a & b \end   and   \begin 1 & 2 \\ 2 &1 \end should be thought of as the same. Thus, :\begin a & b \\ b & a \end   and   \begin b & a \\ a &b \end can not be thought of as different Latin squares. This intuitive argument can be made more precise. The Latin squares :\begin a & b \\ b & a \end   and   \begin b & a \\ a &b \end, are isotopic, in several ways. Let () be the involutorial permutation on the set , sending to and to . Then the isotopy will interchange the two rows of the first square to give the second square ( is the identity permutation). But, which interchanges the two columns is also an isotopy, as is which interchanges the two symbols. However, is also an isotopy between the two squares, and so, this pair of squares are isomorphic.


Reduced squares

Finding a given Latin square's isomorphism class can be a difficult computational problem for squares of large order. To reduce the problem somewhat, a Latin square can always be put into a standard form known as a ''reduced square''. A reduced square has its top row elements written in some natural order for the symbol set (for example, integers in increasing order or letters in alphabetical order). The left column entries are put in the same order. As this can be done by row and column permutations, every Latin square is isotopic to a reduced square. Thus, every isotopy class must contain a reduced Latin square, however, a Latin square may have more than one reduced square that is isotopic to it. In fact, there may be more than one reduced square in a given isomorphism class. For example, the reduced Latin squares of order four, :\begin 1 & 2 & 3 & 4 \\ 2 & 4 & 1 & 3 \\ 3 & 1 &4&2\\4&3&2&1 \end   and   \begin 1 & 2 &3&4\\ 2 &1&4&3\\3&4&2&1\\4&3&1&2 \end are both in the isomorphism class that also contains the reduced square :\begin 1 & 2 & 3 & 4 \\ 2 & 3 & 4 & 1 \\ 3 & 4 &1&2\\4&1&2&3 \end. This can be shown by the isomorphisms and respectively. Since isotopy classes are disjoint, the number of reduced Latin squares gives an upper bound on the number of isotopy classes. Also, the total number of Latin squares is times the number of reduced squares. One can normalize a Cayley table of a quasigroup in the same manner as a reduced Latin square. Then the quasigroup associated to a reduced Latin square has a (two sided) identity element (namely, the first element among the row headers). A quasigroup with a two sided identity is called a ''
loop Loop or LOOP may refer to: Brands and enterprises * Loop (mobile), a Bulgarian virtual network operator and co-founder of Loop Live * Loop, clothing, a company founded by Carlos Vasquez in the 1990s and worn by Digable Planets * Loop Mobile, ...
''. Some, but not all, loops are groups. To be a group, the associative law must also hold.


Isotopy invariants

The counts of various substructures in a Latin square can be useful in distinguishing them from one another. Some of these counts are the same for every isotope of a Latin square and are referred to as isotopy invariants. One such invariant is the number of 2 × 2 subsquares, called ''intercalates''. Another is the total number of ''transversals'', a set of positions in a Latin square of order , one in each row and one in each column, that contain no element twice. Latin squares with different values for these counts must lie in different isotopy classes. The number of intercalates is also a main class invariant.


Order 1

For order one there is only one Latin square with symbol 1 and one quasigroup with underlying set ; it is a group, the
trivial group In mathematics, a trivial group or zero group is a group consisting of a single element. All such groups are isomorphic, so one often speaks of the trivial group. The single element of the trivial group is the identity element and so it is usual ...
.


Order 2

There is only one reduced Latin square of order two (and only two in total), namely :\begin 1 & 2 \\ 2 & 1 \end. Since there is only one reduced square of this order, there is only one isotopy class. In fact, this isotopy class is also an isomorphism class ( shown above). As there is only one isomorphism class of Latin squares, there is only one quasigroup of order two (up to isomorphism) and it is the group usually denoted by ℤ/2ℤ, the cyclic group of order two.


Order 3

There is also only one reduced Latin square of order three (out of 12), :\begin 1 & 2 & 3 \\ 2 & 3 &1 \\3&1&2 \end. Thus, there is only one isotopy class. However, this isotopy class is the union of five isomorphism classes. Three of the five isomorphism classes contain three Latin squares each, one contains two and one contains just one. The reduced square is in an isomorphism class with three elements and so the corresponding quasigroup is a loop, in fact it is a group, ℤ/3ℤ, the cyclic group of order three. A Latin square representative of each of these isomorphism classes is given by (the number below each is the number of squares in the corresponding isomorphism class): :\begin 1 & 2 & 3 \\ 2 & 3 &1 \\3&1&2 \\ &(3)& \end\qquad\qquad\begin 2 & 3 & 1 \\ 1 & 2 &3 \\3&1&2\\ &(3)& \end\qquad\qquad\begin 2 & 1 & 3 \\ 3 & 2 &1 \\1&3&2\\ &(3) \end\qquad\qquad\begin 3 & 2 & 1 \\ 2 & 1 &3 \\1&3&2 \\ &(2)& \end\qquad\qquad\begin 1 & 3 & 2 \\ 3 & 2 &1 \\2&1&3\\ &(1)& \end.


Order 4

There are four reduced Latin squares of order four (out of 576 squares). These are: :\begin 1 & 2 & 3 &4 \\ 2 & 1 &4 &3\\3&4&1&2 \\ 4&3&2&1 \end\qquad\begin 1 & 2 &3&4\\ 2 &1&4&3\\3&4&2&1\\4&3&1&2 \end\qquad\begin 1 & 2 & 3 & 4 \\ 2 & 3 & 4 & 1 \\ 3 & 4 &1&2\\4&1&2&3 \end\qquad\begin 1 & 2 & 3 & 4 \\ 2 & 4 & 1 & 3 \\ 3 & 1 &4&2\\4&3&2&1 \end. The last three of these are isomorphic ( see above). There are two main classes, two isotopy classes and 35 isomorphism classes. Among the 35 quasigroups, only two are loops, and they are in fact groups. Corresponding to the first square above is the Klein four group, while corresponding to any of other three squares is the cyclic group ℤ/4ℤ. The first square has eight transversals and 12 intercalates, while each of the others have no transversals and four intercalates. The isomorphism class of the Klein four group has four members, while the isomorphism class of the cyclic group has 12 members. Of the 576 Latin squares, 288 are solutions of the 4×4 version of
Sudoku Sudoku (; ja, 数独, sūdoku, digit-single; originally called Number Place) is a logic-based, combinatorics, combinatorial number-placement puzzle. In classic Sudoku, the objective is to fill a 9 × 9 grid with digits so that each co ...
, sometimes called Shi Dok


Order 5

Of the 161,280 Latin squares of order five, there are 56 reduced squares. There are two main classes and only two isotopy classes, but 1,411 isomorphism classes. There are six isomorphism classes that contain reduced squares, that is, there are six loops, only one of which is a group, the cyclic group of order five. Below are two reduced Latin squares of order five, one from each isotopy class. :\begin 0&1&2&3&4 \\1&2&3&4&0\\2&3&4&0&1 \\ 3&4&0&1&2 \\4&0&1&2&3 \end\qquad\qquad\begin 0&1&2&3&4\\ 1&0&3&4&2\\2&3&4&0&1\\3&4&1&2&0 \\4&2&0&1&3 \end The first square has 15 transversals, no intercalates and is the unbordered Cayley table of the cyclic group ℤ/5ℤ. The second square has three transversals and four intercalates. It represents a loop that is not a group, since, for instance, 2 + (3 + 4) = 2 + 0 = 2, while (2 + 3) + 4 = 0 + 4 = 4, so the associative law does not hold.


Orders 6 to 10

The number of Latin squares, as the order increases, exhibits the phenomenon known as
combinatorial explosion In mathematics, a combinatorial explosion is the rapid growth of the complexity of a problem due to how the combinatorics of the problem is affected by the input, constraints, and bounds of the problem. Combinatorial explosion is sometimes used to ...
; for even small increases in size there correspond huge increases in varieties. The basic counts are given in the next two tables, and not much beyond what is presented here is known with exactness.


History

This account follows . The counting of Latin squares has a long history, but the published accounts contain many errors.
Euler Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
in 1782, and Cayley in 1890, both knew the number of reduced Latin squares up to order five. In 1915, MacMahon approached the problem in a different way, but initially obtained the wrong value for order five. M.Frolov in 1890, and Tarry in 1901, found the number of reduced squares of order six. M. Frolov gave an incorrect count of reduced squares of order seven.
R.A. Fisher Sir Ronald Aylmer Fisher (17 February 1890 – 29 July 1962) was a British polymath who was active as a mathematician, statistician, biologist, geneticist, and academic. For his work in statistics, he has been described as "a genius who a ...
and F. Yates, unaware of earlier work of E. Schönhardt, gave the number of isotopy classes of orders up to six. In 1939, H. W. Norton found 562 isotopy classes of order seven, but acknowledged that his method was incomplete. A. Sade, in 1951, but privately published earlier in 1948, and P. N. Saxena found more classes and, in 1966, D. A. Preece noted that this corrected Norton's result to 564 isotopy classes. However, in 1968, J. W. Brown announced an incorrect value of 563, which has often been repeated. He also gave the wrong number of isotopy classes of order eight. The correct number of reduced squares of order eight had already been found by M. B. Wells in 1967, and the numbers of isotopy classes, in 1990, by G. Kolesova, C.W.H. Lam and L. Thiel. The number of reduced squares for order nine was obtained by S. E. Bammel and J. Rothstein, for order 10 by B. D. McKay and E. Rogoyski, and for order 11 by B. D. McKay and I. M. Wanless.


See also

*
List of small groups The following list in mathematics contains the finite groups of small order up to group isomorphism. Counts For ''n'' = 1, 2, … the number of nonisomorphic groups of order ''n'' is : 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, ...


Notes


References

* * * {{citation, url=http://cs.anu.edu.au/~bdm/papers/ls_final.pdf , last1=McKay, first1=Brendan D., last2=Meynert, first2=Alison, last3=Myrvold, first3=Wendy, author1-link=Brendan McKay (mathematician), title=Small Latin Squares, Quasigroups and Loops, journal=Journal of Combinatorial Designs, year=2007, volume=15, issue=2, pages=98–119, doi=10.1002/jcd.20105, zbl=1112.05018 , citeseerx=10.1.1.151.3043, s2cid=82321 Non-associative algebra Latin squares