Latin square

From WikiMD's Wellness Encyclopedia

Fisher-stainedglass-gonville-caius
Ramanujan magic square construction
Latin cube order 4

Latin square is a concept in combinatorics, a branch of mathematics that deals with the arrangement, combination, and permutation of sets. A Latin square of order n is an n×n array filled with n different symbols, each occurring exactly once in each row and exactly once in each column. The name "Latin square" was inspired by Leonhard Euler, who used Latin characters as symbols.

Definition[edit | edit source]

A Latin square of order n is defined as an n×n grid in which each cell contains a single symbol from a set of n symbols, satisfying the condition that each symbol appears exactly once in each row and exactly once in each column. For example, a Latin square of order 3 might use the symbols 1, 2, and 3, and be arranged as follows:

\[ \begin{array}{ccc} 1 & 2 & 3 \\ 3 & 1 & 2 \\ 2 & 3 & 1 \\ \end{array} \]

Properties[edit | edit source]

Latin squares exhibit several interesting properties:

  • Two Latin squares are said to be orthogonal if, when superimposed, each ordered pair of symbols occurs exactly once. A set of Latin squares in which each pair is orthogonal is known as a set of mutually orthogonal Latin squares (MOLS).
  • A Latin square that remains unchanged when rotated 180 degrees is called a symmetric Latin square.
  • The concept of a reduced or normalized Latin square refers to a Latin square where the first row and the first column are in natural order of the symbols.

Applications[edit | edit source]

Latin squares have applications in various fields including experimental design, error correcting codes, and puzzle creation. In experimental design, Latin squares are used to control for two nuisance variables, thereby isolating the effect of the primary variable of interest. They are also foundational in the construction of certain types of error correcting codes and are the basis for popular puzzles like Sudoku.

Related Concepts[edit | edit source]

  • Sudoku: A puzzle that is essentially a partially completed 9×9 Latin square, where the challenge is to fill in the missing numbers.
  • Orthogonal Array: A generalization of Latin squares that allows for more than two dimensions.
  • Magic Square: Although not the same, magic squares are related in that they are square grids with numbers that meet certain sums, but they do not have the requirement of each symbol appearing exactly once per row and column.

See Also[edit | edit source]

WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD