Kirkman's schoolgirl problem


Kirkman's schoolgirl problem is a problem in combinatorics proposed by Rev. Thomas Penyngton Kirkman in 1850 as Query VI in The Lady's and Gentleman's Diary. The problem states:

Fifteen young ladies in a school walk out three abreast for seven days in succession: it is required to arrange them daily so that no two shall walk twice abreast.

Solution

If the girls are numbered from 0 to 14, the following arrangement is one solution:
Sun.Mon.Tues.Wed.Thurs.Fri.Sat.
0, 5, 10 0, 1, 4 1, 2, 5 4, 5, 8 2, 4, 10 4, 6, 1210, 12, 3
1, 6, 11 2, 3, 6 3, 4, 7 6, 7, 10 3, 5, 11 5, 7, 1311, 13, 4
2, 7, 12 7, 8, 11 8, 9, 1211, 12, 0 6, 8, 14 8, 10, 114, 1, 7
3, 8, 13 9, 10, 1310, 11, 1413, 14, 2 7, 9, 0 9, 11, 2 0, 2, 8
4, 9, 1412, 14, 513, 0, 6 1, 3, 912, 13, 114, 0, 3 5, 6, 9

A solution to this problem is an example of a Kirkman triple system, which is a Steiner triple system having a parallelism, that is, a partition of the blocks of the triple system into parallel classes which are themselves partitions of the points into disjoint blocks.
There are seven non-isomorphic solutions to the schoolgirl problem. Two of these can be visualized as relations between a tetrahedron and its vertices, edges, and faces.
An approach using projective geometry of three dimensions over GF is given below.

XOR Triple Solution

If the girls are numbered in binary numbers 0001 to 1111, the following arrangement is one solution such that for any three girls that form a group, the bitwise XOR of any two is equal to the third:
Sun.Mon.Tues.Wed.Thurs.Fri.Sat.
0001, 0010, 00110001, 0100, 01010001, 0110, 01110001, 1000, 10010001, 1010, 10110001, 1100, 11010001, 1110, 1111
0100, 1000, 11000010, 1000, 10100010, 1001, 10110010, 1100, 11100010, 1101, 11110010, 0100, 01100010, 0101, 0111
0101, 1010, 11110011, 1101, 11100011, 1100, 11110011, 0101, 01100011, 0100, 01110011, 1001, 10100011, 1000, 1011
0110, 1011, 11010110, 1001, 11110100, 1010, 11100100, 1011, 11110101, 1001, 11000101, 1011, 11100100, 1001, 1101
0111, 1001, 11100111, 1011, 11000101, 1000, 11010111, 1010, 11010110, 1000, 11100111, 1000, 11110110, 1010, 1100

This solution has a geometric interpretation in connection with Galois geometry and PG. Take a tetrahedron and label its vertices as 0001, 0010, 0100 and 1000. Label its six edge centers as the XOR of the vertices of that edge. Label the four face centers as the XOR of the three vertices of that face, and the body center gets the label 1111. Then the 35 triads of the XOR solution correspond exactly to the 35 lines of PG. Each day corresponds to a spread and each week to a packing.

History

The first solution was published by Arthur Cayley. This was shortly followed by Kirkman's own solution which was given as a special case of his considerations on combinatorial arrangements published three years prior. J. J. Sylvester also investigated the problem and ended up declaring that Kirkman stole the idea from him. The puzzle appeared in several recreational mathematics books at the turn of the century by Lucas, Rouse Ball, Ahrens, and Dudeney.
Kirkman often complained about the fact that his substantial paper was totally eclipsed by the popular interest in the schoolgirl problem.

Galois geometry

In 1910 the problem was addressed using Galois geometry by George Conwell.
The Galois field GF with two elements is used with four homogeneous coordinates to form PG which has 15 points, 3 points to a line, 7 points and 7 lines in a plane. A plane can be considered a complete quadrilateral together with the line through its diagonal points. Each point is on 7 lines, and there are 35 lines in all.
The lines of PG are identified by their Plücker coordinates in PG with 63 points, 35 of which represent lines of PG. These 35 points form the surface S known as the Klein quadric. For each of the 28 points off S there are 6 lines through it which do not intersect S.
As there are seven days in a week, the is an important part of the solution:
A heptad is determined by any two of its points. Each of the 28 points off S lies in two heptads. There are 8 heptads. The projective linear group PGL is isomorphic the alternating group on the 8 heptads.
The schoolgirl problem consists in finding seven lines in the 5-space which do not intersect and such that any two lines always have a heptad in common.

Spreads and packing

A partition of points into lines is called a ', and the partition of the spreads of a geometry is called a '. When Hirschfeld considered the problem in his Finite Projective Spaces of Three Dimensions, he noted that some solutions correspond to packings of PG, essentially as described by Conwell above, and he presented two of them.

Generalization

The problem can be generalized to girls, where must be an odd multiple of 3, walking in triplets for days, with the requirement, again, that no pair of girls walk in the same row twice. The solution to this generalisation is a Steiner triple system, an S with parallelism, known as a Kirkman triple system. It is this generalization of the problem that Kirkman discussed first, while the famous special case was only proposed later. A complete solution to the general case was published by D. K. Ray-Chaudhuri and R. M. Wilson in 1968, though it had already been solved by Lu Jiaxi in 1965, but had not been published at that time.
Many variations of the basic problem can be considered. Alan Hartman solves a problem of this type with the requirement that no trio walks in a row of four more than once using Steiner quadruple systems.
More recently a similar problem known as the Social Golfer Problem has gained interest that deals with 32 golfers who want to get to play with different people each day in groups of 4, over the course of 10 days.
As this is a regrouping strategy where all groups are orthogonal, this process within the problem of organising a large group into smaller groups where no two people share the same group twice can be referred to as orthogonal regrouping. However, this term is currently not commonly used and evidence suggests that there is no common name for the process.
The Resolvable Coverings problem considers the general girls, groups case where each pair of girls must be in the same group at some point, but we want to use as few days as possible. This can, for example, be used to schedule a rotating table plan, in which each pair of guests must at some point be at the same table.
The Oberwolfach problem, of decomposing a complete graph into edge-disjoint copies of a given 2-regular graph, also generalizes Kirkman's schoolgirl problem. Kirkman's problem is the special case of the Oberwolfach problem in which the 2-regular graph consists of five disjoint triangles.

Other applications