Ménage Problem
   HOME

TheInfoList



OR:

In
combinatorial mathematics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many a ...
, the ménage problem or problème des ménages asks for the number of different ways in which it is possible to seat a set of male-female couples at a round dining table so that men and women alternate and nobody sits next to his or her partner. (''Ménage'' is the
French French may refer to: * Something of, from, or related to France ** French language, which originated in France ** French people, a nation and ethnic group ** French cuisine, cooking traditions and practices Arts and media * The French (band), ...
word for "household", referring here to a male-female couple.) This problem was formulated in 1891 by
Édouard Lucas __NOTOC__ François Édouard Anatole Lucas (; 4 April 1842 – 3 October 1891) was a French mathematician. Lucas is known for his study of the Fibonacci sequence. The related Lucas sequences and Lucas numbers are named after him. Biography Luc ...
and independently, a few years earlier, by
Peter Guthrie Tait Peter Guthrie Tait (28 April 18314 July 1901) was a Scottish Mathematical physics, mathematical physicist and early pioneer in thermodynamics. He is best known for the mathematical physics textbook ''Treatise on Natural Philosophy'', which he ...
in connection with
knot theory In topology, knot theory is the study of knot (mathematics), mathematical knots. While inspired by knots which appear in daily life, such as those in shoelaces and rope, a mathematical knot differs in that the ends are joined so it cannot be und ...
. For a number of couples equal to 3, 4, 5, ... the number of seating arrangements is :12, 96, 3120, 115200, 5836320, 382072320, 31488549120, ... . Mathematicians have developed formulas and recurrence equations for computing these numbers and related
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is cal ...
s of numbers. Along with their applications to etiquette and knot theory, these numbers also have a graph theoretic interpretation: they count the numbers of matchings and
Hamiltonian cycle In the mathematics, mathematical field of graph theory, a Hamiltonian path (or traceable path) is a path (graph theory), path in an undirected or directed graph that visits each vertex (graph theory), vertex exactly once. A Hamiltonian cycle (or ...
s in certain families of
graphs Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties * Graph (topology), a topological space resembling a graph in the sense of discre ...
.


Touchard's formula

Let ''M''''n'' denote the number of seating arrangements for ''n'' couples. derived the formula :M_n = 2 \cdot n! \sum_^n (-1)^k \frac (n-k)!. Much subsequent work has gone into alternative
proofs Proof most often refers to: * Proof (truth), argument or sufficient evidence for the truth of a proposition * Alcohol proof, a measure of an alcoholic drink's strength Proof may also refer to: Mathematics and formal logic * Formal proof, a con ...
for this formula and into various generalized versions of the problem. A different umbral formula for ''M''''n'' involving Chebyshev polynomials of first kind was given by .


Ménage numbers and ladies-first solutions

There are 2×''n''! ways of seating the women: there are two sets of seats that can be arranged for the women, and there are ''n''! ways of seating them at a particular set of seats. For each seating arrangement for the women, there are :A_n=\sum_^n (-1)^k \frac (n-k)! ways of seating the men; this formula simply omits the 2×''n''! factor from Touchard's formula. The resulting smaller numbers (again, starting from ''n'' = 3), :1, 2, 13, 80, 579, 4738, 43387, 439792, ... are called the ménage numbers. The factor \frac is the number of ways of forming non-overlapping pairs of adjacent seats or, equivalently, the number of matchings of edges in a
cycle graph In graph theory, a cycle graph or circular graph is a graph that consists of a single cycle, or in other words, some number of vertices (at least 3, if the graph is simple) connected in a closed chain. The cycle graph with vertices is called ...
of vertices. The expression for is the immediate result of applying the principle of inclusion–exclusion to arrangements in which the people seated at the endpoints of each edge of a matching are required to be a couple. Until the work of , solutions to the ménage problem took the form of first finding all seating arrangements for the women and then counting, for each of these partial seating arrangements, the number of ways of completing it by seating the men away from their partners. Bogart and Doyle argued that Touchard's formula may be derived directly by considering all seating arrangements at once rather than by factoring out the participation of the women. However, found the even more straightforward ladies-first solution described above by making use of a few of Bogart and Doyle's ideas (although they took care to recast the argument in non-gendered language). The ménage numbers satisfy the
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
:A_n = n A_ + \frac A_ + \frac and the simpler four-term recurrence :\displaystyle A_n = n A_ + 2 A_ - (n-4)A_ - A_, from which the ménage numbers themselves can easily be calculated.


Graph-theoretical interpretations

Solutions to the ménage problem may be interpreted in
graph-theoretic In mathematics and computer science, graph theory is the study of ''graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''poi ...
terms, as
directed Direct may refer to: Mathematics * Directed set, in order theory * Direct limit of (pre), sheaves * Direct sum of modules, a construction in abstract algebra which combines several vector spaces Computing * Direct access (disambiguation), a ...
Hamiltonian cycle In the mathematics, mathematical field of graph theory, a Hamiltonian path (or traceable path) is a path (graph theory), path in an undirected or directed graph that visits each vertex (graph theory), vertex exactly once. A Hamiltonian cycle (or ...
s in
crown graph In graph theory, a branch of mathematics, a crown graph on vertices is an undirected graph with two sets of vertices and and with an edge from to whenever . The crown graph can be viewed as a complete bipartite graph from which the edges ...
s. A crown graph is formed by removing a
perfect matching In graph theory, a perfect matching in a graph is a matching that covers every vertex of the graph. More formally, given a graph with edges and vertices , a perfect matching in is a subset of , such that every vertex in is adjacent to exact ...
from a
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory ...
''Kn,n''; it has 2''n'' vertices of two colors, and each vertex of one color is connected to all but one of the vertices of the other color. In the case of the ménage problem, the vertices of the graph represent men and women, and the edges represent pairs of men and women who are allowed to sit next to each other. This graph is formed by removing the perfect matching formed by the male-female couples from a complete bipartite graph that connects every man to every woman. Any valid seating arrangement can be described by the sequence of people in order around the table, which forms a Hamiltonian cycle in the graph. However, two Hamiltonian cycles are considered to be equivalent if they connect the same vertices in the same cyclic order regardless of the starting vertex, while in the ménage problem the starting position is considered significant: if, as in
Alice Alice may refer to: * Alice (name), most often a feminine given name, but also used as a surname Literature * Alice (''Alice's Adventures in Wonderland''), a character in books by Lewis Carroll * ''Alice'' series, children's and teen books by ...
's tea party, all the guests shift their positions by one seat, it is considered a different seating arrangement even though it is described by the same cycle. Therefore, the number of oriented Hamiltonian cycles in a crown graph is smaller by a factor of 2''n'' than the number of seating arrangements, but larger by a factor of (''n'' âˆ’ 1)! than the ménage numbers. The sequence of numbers of cycles in these graphs (as before, starting at ''n'' = 3) is :2, 12, 312, 9600, 416880, 23879520, 1749363840, ... . A second graph-theoretic description of the problem is also possible. Once the women have been seated, the possible seating arrangements for the remaining men can be described as perfect matchings in a graph formed by removing a single Hamiltonian cycle from a complete bipartite graph; the graph has edges connecting open seats to men, and the removal of the cycle corresponds to forbidding the men to sit in either of the open seats adjacent to their wives. The problem of counting matchings in a
bipartite graph In the mathematics, mathematical field of graph theory, a bipartite graph (or bigraph) is a Graph (discrete mathematics), graph whose vertex (graph theory), vertices can be divided into two disjoint sets, disjoint and Independent set (graph theo ...
, and therefore ''a fortiori'' the problem of computing ménage numbers, can be solved using the permanents of certain 0-1 matrices. In the case of the ménage problem, the
matrix Matrix (: matrices or matrixes) or MATRIX may refer to: Science and mathematics * Matrix (mathematics), a rectangular array of numbers, symbols or expressions * Matrix (logic), part of a formula in prenex normal form * Matrix (biology), the m ...
arising from this view of the problem is the
circulant matrix In linear algebra, a circulant matrix is a square matrix in which all rows are composed of the same elements and each row is rotated one element to the right relative to the preceding row. It is a particular kind of Toeplitz matrix. In numerica ...
in which all but two adjacent elements of the generating row equal 1.; ; ; .


Knot theory

Tait's motivation for studying the ménage problem came from trying to find a complete listing of
mathematical knot In mathematics, a knot is an embedding of the circle () into three-dimensional Euclidean space, (also known as ). Often two knots are considered equivalent if they are ambient isotopic, that is, if there exists a continuous deformation o ...
s with a given number of crossings, say ''n''. In Dowker notation for knot diagrams, an early form of which was used by Tait, the 2''n'' points where a knot crosses itself, in consecutive order along the knot, are labeled with the 2''n'' numbers from 1 to 2''n''. In a reduced diagram, the two labels at a crossing cannot be consecutive, so the set of pairs of labels at each crossing, used in Dowker notation to represent the knot, can be interpreted as a perfect matching in a graph that has a vertex for every number in the range from 1 to 2''n'' and an edge between every pair of numbers that has different parity and are non-consecutive
modulo In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the '' modulus'' of the operation. Given two positive numbers and , mo ...
2''n''. This graph is formed by removing a Hamiltonian cycle (connecting consecutive numbers) from a complete bipartite graph (connecting all pairs of numbers with different parity), and so it has a number of matchings equal to a ménage number. For
alternating knot In knot theory, a knot or link diagram is alternating if the crossings alternate under, over, under, over, as one travels along each component of the link. A link is alternating if it has an alternating diagram. Many of the knots with crossing ...
s, this matching is enough to describe the knot diagram itself; for other knots, an additional positive or negative sign needs to be specified for each crossing pair to determine which of the two strands of the crossing lies above the other strand. However, the knot listing problem has some additional symmetries not present in the ménage problem: one obtains different Dowker notations for the same knot diagram if one begins the labeling at a different crossing point, and these different notations should all be counted as representing the same diagram. For this reason, two matchings that differ from each other by a
cyclic permutation In mathematics, and in particular in group theory, a cyclic permutation is a permutation consisting of a single cycle. In some cases, cyclic permutations are referred to as cycles; if a cyclic permutation has ''k'' elements, it may be called a ''k ...
should be treated as equivalent and counted only once. solved this modified enumeration problem, showing that the number of different matchings is :1, 2, 5, 20, 87, 616, 4843, 44128, 444621, ... .


See also

*
Oberwolfach problem In mathematics, the Oberwolfach problem is an open problem that may be formulated either as a problem of scheduling seating assignments for diners, or more abstractly as a problem in graph theory, on the edge cycle covers of complete graphs. It i ...
, a different mathematical problem involving the arrangement of diners at tables *
Problème des rencontres In combinatorics, the rencontres numbers are a triangular array of integers that enumerate permutations of the set with specified numbers of fixed points: in other words, partial derangements. (''Rencontre'' is French for ''encounter''. By some a ...
, a similar problem involving partial derangements


Notes


References

*. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. Includes (pp. 388–391) an addition by
Arthur Cayley Arthur Cayley (; 16 August 1821 – 26 January 1895) was a British mathematician who worked mostly on algebra. He helped found the modern British school of pure mathematics, and was a professor at Trinity College, Cambridge for 35 years. He ...
. *. *. *. *. *. *.


External links

* * {{DEFAULTSORT:Menage problem Permutations Integer sequences Recurrence relations Knot theory