TOPICS
Search

Sultan's Dowry Problem


The sultan's dowry problem asks for an optimal selection strategy in the following scenario. A sultan has granted a commoner a chance to marry one of his n daughters. The commoner will be presented with the daughters one at a time and, when each daughter is presented, the commoner will be told the daughter's dowry (which is fixed in advance). Upon being presented with a daughter, the commoner must immediately decide whether to accept or reject her (he is not allowed to return to a previously rejected daughter). However, the sultan will allow the marriage to take place only if the commoner picks the daughter with the overall highest dowry. Then what is the commoner's best strategy, assuming the dowries are distinct and the daughters are presented in a uniformly random order, but he knows nothing else about the dowries (Mosteller 1987)?

SultansDowryProblem

The optimal strategy rejects the first x daughters and then selects the first subsequent daughter whose dowry exceeds every dowry seen so far (Havil 2003, p. 134). For n>1 and 1<=x<=n-1, the probability of selecting the maximum dowry is

 P(n,x)=(1+x(H_(n-1)-H_x))/n,
(1)

where H_x is a harmonic number (Havil 2003, p. 135). For x=0, the first daughter is selected and P(n,0)=1/n. The probability is illustrated above as a function of x and as a surface in n and x.

For 1<=x<=n-2, the difference between successive probabilities is

 P(n,x+1)-P(n,x)=(H_(n-1)-H_x-1)/n.
(2)

Thus, for n>1, an optimal cutoff is the smallest positive integer x such that

 H_x>=H_(n-1)-1.
(3)

For n=1, the cutoff is 0. At n=2, cutoffs 0 and 1 tie, and the convention here selects 1. Solving

 H_x=H_(n-1)-1
(4)

for real x and taking max(1,[x]), where [x] is the ceiling function, gives the cutoffs for n>1. For n=1, 2, ..., the cutoffs are 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, ... (OEIS A054404).

The listed convergents for the continued fraction of 1/e, given by 0, 1/2, 1/3, 3/8, 4/11, 7/19, 32/87, 39/106, 71/193, 465/1264, ... (OEIS A007676 and A007677), give pairs (x,n) with an optimal cutoff x for n daughters (Havil 2003, p. 137).

An approximate solution can be obtained by using a series expansion for H_x about infinity,

 H_x=gamma+lnx+1/(2x)+O(x^(-2)),
(5)

where gamma is the Euler-Mascheroni constant, and using it for H_x and H_(n-1) in (1), giving

 1/(2x)+lnx=-1/(2n)+lnn-1.
(6)

This can be solved in closed form to give an approximate solution to x,

 x^^_1=-1/(2W(-(e^(1+1/(2n)))/(2n))),
(7)

where W is the principal branch of the Lambert W-function. This expression is real for integers n>=5. It approximates the continuous threshold, and rounding it up is not a substitute for the exact harmonic number inequality.

Another approximation can be obtained by taking a series expansion of P(n,x) to obtain

 P(n,x) approx (n-x+2xnln(n/x))/(2n^2).
(8)

Taking the derivative and setting equal to 0 then gives

 x^^_2=ne^(-[1+1/(2n)]),
(9)

which approximates the continuous maximizer of P(n,x).

Both approximations have series expansions of the form

 x^^∼a_0+n/e+(a_(-1))/n+...,
(10)

where a_0 and a_(-1) are small constants.

The problem is most commonly stated with n=100 daughters, which gives the result that the commoner should wait until he has seen 37 of the daughters, then pick the first daughter with a dowry that is bigger than any preceding one. With this strategy, his odds of choosing the daughter with the highest dowry are surprisingly high: about 37.10% (Honsberger 1979, pp. 104-110; Mosteller 1987; Havil 2003, p. 136). As the number of daughters increases, this tends towards 1/e approx 36.787...% (OEIS A068985).


See also

Birthday Problem

Explore with Wolfram|Alpha

References

Havil, J. "Optimal Choice." §13.13 in Gamma: Exploring Euler's Constant. Princeton, NJ: Princeton University Press, pp. 134-138, 2003.Honsberger, R. "Some Surprises in Probability." Ch. 5 in Mathematical Plums (Ed. R. Honsberger). Washington, DC: Math. Assoc. Amer., pp. 104-110, 1979.Mosteller, F. "Choosing the Largest Dowry." Problem 47 in Fifty Challenging Problems in Probability with Solutions. New York: Dover, pp. 73-77, 1987.Sloane, N. J. A. Sequences A007676/M0869, A007677/M2343, A054404 and A068985 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Sultan's Dowry Problem

Cite this as:

Weisstein, Eric W. "Sultan's Dowry Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SultansDowryProblem.html

Subject classifications