Talk:Latin square

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Latin squares and mathematical puzzles[edit]

I added a paragraph on a mathematical puzzle that illustrates a generalized version of Latin-square orthogonality. Cullinane 17:33, 14 August 2005 (UTC)[reply]

Explanation of reverts[edit]

User:Patrick made quite a few changes which I reverted. The main error is in the interprettation of the square as a multiplication table. In this case the rows and columns are assumed indexed by the elements of the quasigroup. It is not the first row and first column that form the index. Reduced Latin squares correspond to quasigroups with an identity element, aka loops. For quasigroups without identity, the multiplication table is not reduced. Also, it is certainly NOT true that all the quasigroups on 4 elements are groups; the discussion of squares of order 4 is inaccurate. --Zero 01:07, 22 November 2005 (UTC)[reply]

I made some clarifications and corrections:
There are 576 Latin squares of size 4. Each can be interpreted as a multiplication table of a loop (i.e., a quasigroup with an identity element) where the indexes of the first row and first column both are the identity, hence the element in the first row and column is the identity, and the first element in each row is the row index, and the first element in each column is the column index.
Rearranging the 2nd to 4th row such that the order of the row indexes is the same as that of the column indexes, the number of possibilities reduces by a factor 6 to 96. Considering that the order of the elements is only a matter of notation of the table, the number of possibilities reduces again by a factor 6 to 16. Thus for a given set {a,b,c,d} we get 16 loops, which all turn out to be groups. There are 4 versions of the Klein four-group, differing only by the choice of which of the 4 elements is the identity. Apart from that there is only one, corresponding to the fact that the permutations of the other three elements form the automorphism group of this group, i.e., all three play the same role. The remaining 12 are all versions of the cyclic group of order 4, differing by the choice of which of the 4 elements is the identity, and which of the other 3 has order 2. Apart from that there is only one, corresponding to the fact that interchanging the remaining two elements generate the automorphism group of this group.
Frankly I don't see the point of any of the above. --Zero 11:41, 22 November 2005 (UTC)[reply]
The article only gives two 4x4 examples. My text discusses all Latin squares and is obviously more comprehensive. If you have criticism, that should be much more specific (errors, unclarities, etc.).--Patrick 12:23, 22 November 2005 (UTC)[reply]
This article is primarily about the combinatorial objects called Latin squares, not so much about algebraic structures related to them. From the combinatorial point of view, there are only two types of Latin square of order 4 since the others are all paratopic to one of those. So the existing list is complete (for order 5, also). Latin square do not have row and column indices (other than row and column numbers like every matrix has); rather, those indices are what must be added to a Latin square to make it into a multiplication table. Most of what you wrote above is about loops and groups and I don't think it would improve this page. --203.113.233.38 22:53, 22 November 2005 (UTC)[reply]
But it looks like the algebraic structures are not so different from "combinatorial objects", it is a way of explaining how 576 cases reduce to 2. If you like you can present the reasoning without (quasi)group terminology.--Patrick 00:30, 23 November 2005 (UTC)[reply]
The equivalence class operations are correctly defined in the article without any reference to algebraic structures or index rows/columns. That is the correct approach in an article on Latin squares, imo. Given those definitions, a demonstration of what happens for n=4 ought to use those definitions and not go off to another domain. --Zero 09:26, 23 November 2005 (UTC)[reply]

To see how many equivalence classes of each type there are is trivial for n=4. There are 4 reduced squares - two (A,B) with 2 in the (2,2) position and one each (C,D) with 3 or 4 in the (2,2) position. Every square is isotopic to one of A,B,C,D since every square can be reduced by sorting the rows and columns.

B is isotopic to C (swap rows 2,3, columns 2,3, and symbols 2,3). C is isotopic to D (swap rows 3,4, columns 3,4, and symbols 3,4). Next note that A contains six 2x2 Latin subsquares but B,C,D contain only four. Since all the operations that define paratopism preserve Latin subsquares, A lies in a different main class from B, C, D. Therefore there are two isotopy classes and two main classes. --Zero 09:26, 23 November 2005 (UTC)[reply]

I made a separate article, Small Latin squares and quasigroups. There seems to be an error in the above: of A and B, one is isotopic to C and D. Swapping the first two columns and the last two rows of A does not preserve the reduced form.--Patrick 10:31, 23 November 2005 (UTC)[reply]
Also, three have one Latin subsquare, and one has 6. The reasoning can still be used.--Patrick 10:54, 23 November 2005 (UTC)[reply]
Sorry, it is now fixed, I hope. --Zero 11:42, 23 November 2005 (UTC)[reply]
Of the 576 Latin squares, 288 are solutions of the 2 ×2 version of Sudoku, sometimes called Shi Doku [1]. With first row abcd and first column acbd this reduces to 2.
That could be mentioned in the existing section on Sudoku squares. --Zero 11:41, 22 November 2005 (UTC)[reply]
What do you think?--Patrick 03:01, 22 November 2005 (UTC)[reply]

Name[edit]

Doesn't the name Latin Square originate from the ?first known example (from Roman times), namely the word square Sator Arepo Tenet Opera Rotas? Ben Finn 16:39, 2 April 2006 (UTC)[reply]

No, that is not a Latin square in the meaning of this article. For example, it has no "T" in the second row. As far as I have heard, the earliest known Latin squares appeared in Arabic manuscripts around the 12th century; this needs to be researched and put in the article. The name "Latin square" was coined by Euler in his paper of 1782 with a rather weak justification: he used Latin letters as the symbols. McKay 07:19, 17 May 2006 (UTC)[reply]

I believe that the term "Latin square" originates with Cayley (can't remember where I read that though), who was referring to Euler's work of 1782. Euler was using orthogonal Latin squares, one written with Latin letters and the other with Greek letters, so when Cayley wanted to talk about only one of the pair, he referred to the "Latin" square of Euler. Wcherowi (talk) 21:32, 10 August 2011 (UTC)[reply]

Donald Knuth has found references back to the 14th century for orthogonal latin squares. See [[2]]. —Preceding unsigned comment added by Neilerdwien (talkcontribs) 05:56, 5 December 2007 (UTC)[reply]

Nonetheless, I have to call into question whether Introduction to Combinatorics is a reliable source for the origins of the name. The book isn't meant to be a historical text, and (from my brief perusal of the citation) seems to show no sources or citations of its own in this regard. The assertion is literally a parenthetic aside. I think someone should look into the reliability of the source, and find another source to back it up or reconsider whether the one source is sufficient to merit the inclusion in this article. 2001:4898:80E8:B:B4AD:6815:7211:DDA5 (talk) 22:32, 21 May 2021 (UTC)[reply]

The French version of the name, "le quarré latin" is used near the bottom of page 90 of Euler's 1782 paper, and again towards the top of page 91. I don't think we need to ascribe its coinage to later authors. —David Eppstein (talk) 00:19, 22 May 2021 (UTC)[reply]

Isotopy classes of order 7[edit]

The correct value is 564, not 563. See [3] for the history of this error. This is accepted by Colbourn and Dinitz. --McKay 07:29, 12 April 2006 (UTC)[reply]

References[edit]

Where are the references for this article?

The article looks really useful for my purposes. I have found vague allusions to some of these concepts in other resources, and discovered others on my own, but this is the only resource I have found that clearly and succinctly explains all of these concepts in one place (with better notation and terminology than I have found elsewhere).

However, for me to refer to this material for my project, I need to know where it came from, so I need references. In particular, I need to know the origin of the orthogonal array representation, and the table of latin square equivalence classes.

I will try to find a journal article that introduces these concepts, and if I do I will try to remember to come back and post those references here.DonkeyKong the mathematician (in training) 04:26, 16 May 2006 (UTC)[reply]

It seems that the paper ([4]) that McKay mentioned above is a suitable reference for most of the information in this article.
I'm new to Wiki editing, so I don't know how to put references into an article. If someone else could put that reference in there that would be good. Thanks.
You can download a citation from [5] (i don't know if that's helpful)
DonkeyKong the mathematician (in training) 06:19, 16 May 2006 (UTC)[reply]

Question[edit]

If all Latin squares can be reduced, does this not mean that every quasigroup is a loop? —The preceding unsigned comment was added by 149.135.97.128 (talk) 11:08, 10 January 2007 (UTC).[reply]

No. The operations which can be used to reduce a Latin square (permutation of the rows and columns) change the quasigroup to a different quasigroup. These operations are called isotopies, so the conclusion is that every quasigroup is isotopic to a loop. It is not true that every quasigroup is a loop. McKay 02:40, 11 January 2007 (UTC)[reply]

Latin Squares and projective \ affine planes[edit]

I might be missing something, but shouldn't the article include a note (or a section) about the relation of Latin squares to projective (or affine) planes? Denes and Keedwell show a proof of this in "Latin Squares and Their Applications" (although I don't think the proof is theirs).

Gal Diskin —The preceding unsigned comment was added by 85.65.215.115 (talk) 17:23, 11 January 2007 (UTC).[reply]

Orthogonal Latin Squares[edit]

This note is a reminder for me and others that it might be worthwhile to include something about Orthogonal latin squares, as detailed e.g in [6]. The problem of constructing such matrixes and especially the impossible 6x6 matrix problem has been popularized in a number of books and articles and might make a good read. Also, in the section about error correcting codes, I committed the sin of writing "orthogonal latin squares" without defining what it means. :-] EverGreg 15:34, 13 May 2007 (UTC)[reply]

Problem with mention of orthogonal Latin squares[edit]

The article states, in its first reference to orthogonal Latin squares:

"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, such as when attempting to transmit broadband internet over powerlines. [1] [2] [3]"

Unfortunately, the word orthogonal in this sense has *not* been defined previously, which makes this mention of the word orthogonal inappropriate. Further, the word "orthogonal" *has* been used previously (unnecessarily, in my opinion) to discuss the simple ordinary representation of a Latin square as a matrix, which the article somehow feels the need to refer to as an "orthogonal array".

It is certainly a good idea to discuss orthogonal Latin squares in this article, but this must be done in such a way that the concept is defined and the terminology is clear before it starts to be used without definition.

I hope this problem can be fixed.Daqu (talk) 22:44, 20 February 2009 (UTC)[reply]

Eleven years later (!!), I've added a link to the article on orthogonal Latin squares. Joriki (talk) 18:40, 23 March 2020 (UTC)[reply]

Applications for experimental design[edit]

I came here looking for how Latin squares are used in experimental design. It's mentioned in the intro, but I wonder if an expert could add a paragraph under applications. I'm at a conference and a lot of people have mentioned how they used Latin squares for randomizing their experiments, and I don't know what they mean, so I thought that might be a good thing to have here. Thanks 209.255.241.2 (talk) 16:54, 25 March 2010 (UTC)[reply]

You've got a good point. Information on this is rather fragmented on wikipedia. OK starting points are Blocking (statistics), Randomized block design and especially Hyper-Graeco-Latin square design. The bigger picture may perhaps be found in Design of experiments. None of these are the readable introductions they should have been, but hopefully they work as pointers to further reading in the literature. The gist of it is that when you do an experiment where say four variables can each take two values (high/low) you want to try every possible combination but there may not be time or money to do that. So you want to get as much info with as few experiments as possible. First you ofcourse avoid doing the same experiment twice, but you also want to avoid that two of your variables change in lockstep in each experiment, because then you wouldn't have been able to tell their effects apart. Following a latin square is one way to design a good set of experiments. EverGreg (talk) 18:17, 25 March 2010 (UTC)[reply]
I'll start adding some references on Latin squares here. When I'm done, I'll update the article. Kiefer.Wolfowitz (talk) 20:22, 22 May 2010 (UTC)[reply]
  • Dénes, J.; Keedwell, A. D. (1974). Latin squares and their applications. New York-London: Academic Press. p. 547. MR 0351850.
  • Dénes, J. H.; Keedwell, A. D. (1991). Latin squares: New developments in the theory and applications. Annals of Discrete Mathematics. Vol. 46. Amsterdam: Academic Press. pp. xiv+454. ISBN 0-444-88899-3. MR 1096296. {{cite book}}: Unknown parameter |Note= ignored (help); Unknown parameter |foreword= ignored (help)
  • 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. ISBN 0-471-24064-8. MR 1644242.
  • Bailey, R.A. (2008). "6 Row-Column designs and 9 More about Latin squares". Design of Comparative Experiments. Cambridge University Press. ISBN 978-0-521-68357-9. MR 2422352. Pre-publication chapters are available on-line.
  • Caliński, Tadeusz and Kageyama, Sanpei (2000). Block designs: A Randomization approach, Volume I: Analysis. Lecture Notes in Statistics. Vol. 150. New York: Springer-Verlag. ISBN 0-387-98578-6.{{cite book}}: CS1 maint: multiple names: authors list (link)
  • Ghosh, S. and Rao, C. R., ed. (1996). Design and Analysis of Experiments. Handbook of Statistics. Vol. 13. North-Holland. ISBN 0-444-82061-2.{{cite book}}: CS1 maint: multiple names: editors list (link)
  • Hinkelmann, Klaus and Kempthorne, Oscar (2008). Design and Analysis of Experiments. Vol. I and II (Second ed.). Wiley. ISBN 978-0-470-38551-7. {{cite book}}: External link in |publisher= (help)CS1 maint: multiple names: authors list (link)
  • Shah, Kirti R.; Sinha, Bikas K. (1989). "4 Row-Column Designs". Theory of Optimal Designs. Lecture Notes in Statistics. Vol. 54. Springer-Verlag. pp. 66–84. ISBN 0-387-96991-8. MR 1016151. {{cite book}}: External link in |series= (help)
  • Shah, K. R.; Sinha, Bikas K. (1996). "Row-column designs". In S. Ghosh and C. R. Rao (ed.). Design and analysis of experiments. Handbook of Statistics. Vol. 13. Amsterdam: North-Holland Publishing Co. pp. 903–937. ISBN 0-444-82061-2. MR 1492586.

Merger proposal[edit]

An anonymous user proposed a merger. It seems straightforward to me to put Graeco-Latin square as a chapter of Latin square. In addition: As the previous discussions on this page shows, it's a problem that orthogonal latin squares are not properly defined here, they seem to tie in closely with the text. The Graeco-Latin article seems to go a long way in defining it, so this could be a good start, though the text in the Graeco-Latin article is less accessible than that of Latin square. (That is, I still don't know what "a orthogonal latin square" is, and barely what two mutually orthogonal ones are.) EverGreg (talk) 22:10, 5 April 2010 (UTC)[reply]

Don't merge There are enough subtopics of Latin square to need different articles. A basic Latin square is essentially about one factor in addition to rows or columns, a Graeco-Latin square about two or more. As for orthogonal Latin squares, they have to come in comparison of pairs: there must be at least one cell (and so implicitly exactly one out of the n2 cells) which has any particular combination of the n posible values of each of the two symbols being considered.--Rumping (talk) 16:41, 22 July 2010 (UTC)[reply]
Due to the fact that no agreement has been reached — and only two comments — in eight months, I am removing the merge templates from each page. Supertouch (talk) 00:31, 4 November 2010 (UTC)[reply]

Error in example[edit]

The examples for the two latin squares of order 5 at the end of the text are from the same main class. Correct representatives for the two main classes are given at http://cs.anu.edu.au/~bdm/data/latin.html . In one of the main classes, all ordered pairs of numbers must be at most once within the square, none of the currently given squares have this property.Random rings (talk) 12:45, 4 June 2010 (UTC)[reply]

Orthogonal array representation (refers to non-existing figure)[edit]

It says" the orthogonal array representation of the first Latin square displayed above is:" But this example refers to a square with numbers which is not displayed in the article.(maybe it has been edited out at some time) Should we change this to (1,1,A), (1,2,B) and so on? Or put back the original figure. The whole expression "the first latin square displayed above" is also a bit vague. (figure number nn might be better?)Bj norge (talk) 19:00, 14 April 2011 (UTC)[reply]

Error Correction Codes Example Unclear[edit]

Questions: 1. There are four frequencies and four time slots. What then is the meaning of 'the letter A would then be picked up as: 12 12 123 124'? 2. 'But the 1,2 case is the only one that yields a sequence matching a letter in the above table...'. Should it read 'sequence' instead of 'case'? 3. 'Again, we are able to infer from the table of encodings that it must have been the letter A being transmitted.' Is it too much to spell out *why* we are able to infer this? — Preceding unsigned comment added by Polariseke (talkcontribs) 15:54, 24 February 2012 (UTC)[reply]

formula for computing total number of Latin Squares[edit]

Can I show my formula for computing the total number of Latin Squares? It isn't a research idea. I just saw how to compute them and I thought that someone should know. It took me about 10 minutes. It isn't correct to say that no known formula exists. You can contact me at leavemsg1@gmail.com Bill Bouris 67.184.226.32 (talk) 15:54, 23 May 2015 (UTC)[reply]

No, wikipedia is not an appropriate venue for publishing original research. You can see our policy on this here: WP:OR. In the (unlikely) event that you are correct, you should write it up for publication in an appropriate peer-reviewed journal. --JBL (talk) 16:08, 23 May 2015 (UTC)[reply]
It's too bad that someone is in charge of such a wonderful venue. My idea is very sound, and what would make it unlikely? There isn't the need for a peer to review anything that's just pure algebra. Oh well... JBL doubts my autistic ability, so the rest of you will just suffer! 108.242.169.13 (talk) 17:45, 23 May 2015 (UTC)[reply]
You might try the Math Reference Desk if you're looking for someone to discuss mathematics with. This is not the appropriate venue. --JBL (talk) 19:40, 23 May 2015 (UTC)[reply]

There is a paper from 1992 in a discrete mathematics journal which gives a formula for the number of Latin squares. http://www.sciencedirect.com/science/article/pii/0012365X9290722R The paper does state that it is not easily computable, though it is still probably worth adding to the article. I'm incorporating that into the number section. Yosho27 (talk) 23:30, 9 September 2015 (UTC)[reply]

"Not easily computable" is, if anything, a major understatement. --JBL (talk) 23:42, 9 September 2015 (UTC)[reply]
On the other hand, here's a great survey article on counting Latin squares and rectangles. It includes some form of the formula you mention (with two citations, including this one) and much more. --JBL (talk) 23:59, 9 September 2015 (UTC)[reply]
A formula is useless unless the meaning of the symbols in it is explained. McKay (talk) 03:11, 10 September 2015 (UTC)[reply]
Agreed, so I put the definitions in. If we are going to do this, then I think we should put all the explicit formulas mentioned in Joel's reference into the article with the proper attributions. The section would also need a bit of a rewrite since the first sentence seems to contradict the existence of explicit formulae. As this is a computability question, I'm a little out of my depth and hope that someone else can put this together. Bill Cherowitzo (talk) 03:50, 10 September 2015 (UTC)[reply]

External links modified[edit]

Hello fellow Wikipedians,

I have just modified one external link on Latin square. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 18 January 2022).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 03:54, 12 May 2017 (UTC)[reply]

A Commons file used on this page or its Wikidata item has been nominated for deletion[edit]

The following Wikimedia Commons file used on this page or its Wikidata item has been nominated for deletion:

Participate in the deletion discussion at the nomination page. —Community Tech bot (talk) 16:23, 10 June 2020 (UTC)[reply]