ArticleslgStudy

mathematics

Glove problem

Glove problem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Glove problem rather than just read about it. In short: In operations research and combinatorics, the glove problem (also known as the condom problem) is an optimization problem asking for the minimum number of two-sided protective barriers needed for every member of one group to interact with every member of another without any barrier surface being exposed to two different people. It first appeared in print, in the form of doctors, patients and surgical gloves, in Mart…

Key takeaways

  • Glove problem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Glove problem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Glove problem from memory before moving on to harder problems.

Reference excerpt

In operations research and combinatorics, the glove problem (also known as the condom problem) is an optimization problem asking for the minimum number of two-sided protective barriers needed for every member of one group to interact with every member of another without any barrier surface being exposed to two different people. It first appeared in print, in the form of doctors, patients and surgical gloves, in Martin Gardner's column in Isaac Asimov's Science Fiction Magazine. It is also used as an example that the cheapest capital cost often leads to a dramatic increase in operational time, but that the shortest operational time need not be given by the most expensive capital cost.

Problem statement M doctors are each to examine each of N patients, wearing gloves to avoid contamination, giving MN examinations in total. Gloves may be reused any number of times, turned inside out, and worn several at a time, but no decontamination is permitted: once a surface has been contaminated it remains so permanently, and a surface becomes contaminated whether by contact with a person or by contact with an already-contaminated surface. The requirement is that no doctor wear a glove contaminated by a patient, and no patient be exposed to a glove worn by another doctor. A naive approach would use MN gloves, one per examination. This can be reduced substantially by exploiting the fact that each glove has two sides and that both sides need not be used simultaneously: giving every participant a single glove for the entire operation, so that each encounter is protected by a double layer and the outer surface of a doctor's glove meets only the inner surface of a patient's, already brings the count down to M + N.

Solution Assume without loss of generality that M ≥ N. The minimum number of gloves G(M, N) required for all the doctors to examine all the patients is

G(M,N)={2M=N=212(M+1)N=1, M odd⌈M2+2N3⌉otherwise, where ⌈x⌉ is the ceiling function. Hajnal and Lovász proved a lower bound of ⌈M/2+2N/3−1/3⌉ for all M, N and an upper bound of ⌈M/2+2N/3⌉+1 when M = N = 6k, leaving a gap of one; Vardi closed it by constructing the required "master glove" from gloves already in use rather than adding an extra one. The two exceptional cases are the original formulations of the puzzle, and both are settled by counting surfaces. For M = N = 2, two gloves provide four clean surfaces for four people. For N = 1 and M = 2k + 1, the k + 1 gloves are again exactly half the number of participants. The case M = 3, N = 1 – three doctors, one patient, two gloves – is the version given by Martin Gardner.

Graph formulation The analysis of Hajnal and Lovász, followed by Vardi, represents a protocol as a directed graph whose vertices are the participants and whose edges are the gloves. If one side of a glove is first contaminated by person D1 and the other side subsequently by person D2, a directed edge is drawn from D1 to D2; simultaneous contaminations and permanently clean sides are directed arbitrarily. The efficiency of a protocol is determined by the connected components of this graph. The most efficient component is D1→D2, in which one person uses a glove for all encounters and then passes it on inverted: two people, one glove. The next most efficient is D1→D2→D3: three people, two gloves. Because a person must complete all encounters before passing a glove on, components of the first kind cannot occur among the doctors and the patients simultaneously. An optimal protocol therefore assigns the cheaper two-person components to whichever group is more numerous and three-person components to the other, which is the origin of the coefficients ⁠1/2⁠ and ⁠2/3⁠.

Makespan Assigning each participant a single glove for the entire operation, so that every encounter is protected by a double layer, uses M + N gloves. The makespan with this scheme is K · max(M, N), where K is the duration of one pairwise encounter. Note that this is exactly the same makespan if MN gloves were used. Clearly in this case, increasing capital cost has not produced a shorter operation time. Schemes using fewer gloves rely on gloves being planted, passed and collected in sequence, and have correspondingly longer makespans; which scheme is preferable depends on the cost of a glove relative to the cost of a longer operation.

Generalizations Vardi poses several extensions. One asks for the analogous formula when every pair of individuals interacts, rather than only doctor–patient pairs. Another, attributed to A. Orlitzky and L. Shepp, treats M men and N women with M ≥ N where all the men are bisexual. The most general form replaces the complete bipartite graph of required encounters by an arbitrary preference graph, in which two people interact if and only if they are joined by an edge; Vardi marks this case as difficult.

References

Worked examples

Example 1 — a first encounter with Glove problem

Start with the simplest possible case. Write down what Glove problem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Glove problem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Glove problem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Glove problem

In research
Glove problem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Glove problem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Glove problem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Combinatorics, Mathematical optimization in business, so understanding it makes those chapters shorter.
In everyday life
Look for Glove problem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Glove problem” →

How to study Glove problem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Glove problem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Glove problem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Glove problem in simple terms?

In operations research and combinatorics, the glove problem (also known as the condom problem) is an optimization problem asking for the minimum number of two-sided protective barriers needed for every member of one group to interact with every member of another without any barrier surface being ex…

Why does Glove problem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Glove problem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Glove problem.

Tags

  • Combinatorics
  • Mathematical optimization in business

Keep exploring