9
$\begingroup$

Three numbers are chosen at random between 0 and 2. What is the probability that the difference between the largest number and the least number is less than 1/4?

This is a problem from JHMT Calculus 2011. I'm trying to see if there are any better solutions than the one provided.

Here is the solution provided: enter image description here enter image description here

  • 0
    What is the solution provided ?2017-01-01
  • 0
    Added it to the original post2017-01-01
  • 0
    the provided solution looks pretty sweet2017-01-01
  • 1
    Topic reference : Problems like this can be solved with the methods of Order Statistics, which can be found in a good university-level introductory statistics text.2017-01-01

2 Answers 2

1

Basically along the same lines as provided answer.

First note that the answer won't change if we assume $X_1,X_2,X_3$ are IID $\mbox{U}[0,1]$, and we're asking what is the probability that the difference between the maximum and the minimum is at most $\frac 18$.

More generally, suppose that $X_1,\dots,X_n$ are IID $\mbox{U}[0,1]$, and we're asked for the probability that the difference between the maximum and minimum is at most $\alpha$. The answer then is

$$ n \times \int_0^1 P( \bigcap_{j=2}^n \{t

The expression on the right is

$$ n \times \left ( \alpha^{n-1}\times (1-\alpha) + \int_0^\alpha u^{n-1} du\right)=n \alpha^{n-1} (1-\alpha) + \alpha^n = n \alpha^{n-1} -(n-1) \alpha^n. $$

In the case $n=3$ and $\alpha=\frac 18$, this formula gives $\frac{11}{256}$.

0

Given: parent random variable $X \sim \text{Uniform}(0,2)$ with pdf $f(x)$:

enter image description here

Order Statistics

A more general framework for solving such problems is to use order statistics. In particular, given a random sample of size $n$ drawn on parent $X$, the joint pdf of the sample minimum (the $1^{\text{st}}$ order statistic) and sample maximum (the $n^{\text{th}}$ order statistic), say $g(x_1, x_n)$ is:

enter image description here

where I am using the OrderStat function from the mathStatica package for Mathematica to automate the mechanics. We could just as easily find the joint pdf of the $2^{\text{nd}}$ and $n^{\text{th}}$ order statistics in the same way, or indeed any combination of 3 or more such ordered variables.

In this instance, we seek $P(X_n - X_1 < \frac14)$:

enter image description here

When the sample size $n = 3$, this is equal to $\frac{11}{256}$.

Notes

  1. The Prob function used above is also from mathStatica. As disclosure, I should add that I am one of the authors.