A very long line...

Assume there are 7.6 billion people in the world. They all line up in a very long line and are given the numbers 1 to 7.6B:

Then two are randomly picked out and it is determined that the first one has a number higher than the second one.

What is the approximate probability that the first one has the highest value of all in the world?

1 7.6 B \frac{1}{7.6B} 1.5 7.6 B \frac{1.5}{7.6B} 2 7.6 B \frac{2}{7.6B} 3 7.6 B \frac{3}{7.6B}

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Blan Morrison
Oct 19, 2018

According to Bayes' Theorem: P(A|B) = P(A) P(B|A) P(B) \text{P(A|B)}=\frac{\text{P(A)}\cdot \text{P(B|A)}}{\text{P(B)}}

Let A be the event of the first one being the highest, and let B be the event of the first one being the higher of the 2.

  • P(A) is obviously 1 7.6 B \frac{1}{7.6\text{B}} , since there is only 1 possibility out of the 7.6 billion.

  • P(B|A) is 1, because if we are given that the first one is the highest value, then it is obviously guaranteed to be higher than the second choice.

  • P(B) is a bit trickier. Imagine choosing the first person. On average, half of the population will be below him. Therefore, the probability is 1 2 \frac{1}{2} .

Therefore,

1 7.6 B 1 1 2 = 2 7.6 B \frac{\frac{1}{7.6\text{B}}\cdot 1}{\frac{1}{2}}=\frac{2}{7.6\text{B}} β \beta_{\lceil \mid \rceil}

Small typo on Bayes theorem. The denominator should be P(B) instead of P(A).

Entropy Uncertainty - 2 years, 7 months ago

Log in to reply

Ah, thanks!

Blan Morrison - 2 years, 7 months ago
Geoff Pilling
Oct 19, 2018

Originally, the first person had a 1 7.6 B \dfrac{1}{7.6B} chance of having the largest number in the world. However, the new information eliminates exactly half of the permutations, without eliminating any of those involving him/her having the highest number. Therefore, he/she has twice the chance they had originally, or 2 7.6 B \boxed{\dfrac{2}{7.6B}} .

Note, this is not only approximate, but in fact an exact answer! :^)

And in general, if n n individuals so numbered are picked randomly one after the other from N N people, the the probability that the first person has the highest overall value, given that they have the highest value among the group of n n people, is n N \dfrac{n}{N} .

Brian Charlesworth - 2 years, 7 months ago

Log in to reply

Good point... And I wonder what the probability is that they are the m m th highest... 🤔

Geoff Pilling - 2 years, 7 months ago

Log in to reply

With just two people chosen, I think that the probability that they are the m m th highest is 2 ( N m ) N ( N 1 ) \dfrac{2(N - m)}{N(N - 1)} . So for m = 1 m = 1 we get 2 N \dfrac{2}{N} as found previously, and with, say, m = N 2 m = \dfrac{N}{2} , (supposing even N N ), the probability would be 1 N 1 \dfrac{1}{N - 1} .

Brian Charlesworth - 2 years, 7 months ago

Nice.

And oddly enough, I seem to recognize Ella, Bella and Frabduzella. :D

Varsha Dani - 2 years, 7 months ago

Log in to reply

Hahaha... Yup! Guess I was two lazy to draw up a new image! :0)

Geoff Pilling - 2 years, 7 months ago
Parth Sankhe
Oct 19, 2018

All the others solutions to this problem are pretty logical, this might seem a little stupid :-

Since the second person picked is already numbered lower than the first, his probability of being the highest in the world is vanished.

And since the total probability should be 1 1 , and the other people remain unaffected, we could say the second person gave his initial probability to the first, hence the answer.

Yes. I know what you mean Parth... This is similar to the popular argument often given for the Monty Hall problem! :)

Geoff Pilling - 2 years, 7 months ago

Bayes' Theorem is probably the "correct" way to determine the answer, but this is the reason "why" the solution is what it is, intuitively. The question is essentially "If two numbers are chosen uniformly and randomly from the numbers between 1 and n, what is the probability that one of them is n?", the answer to which is of course 2/n. Replacing "one of them" with "the higher of the two" doesn't change the problem, because if one is n, it has to be the higher one.

William Allbritain - 2 years, 7 months ago
Tolga Gürol
Dec 22, 2018

A: number of first person, B: number of second person

There are 7.6B! different sorting alternatives. In ( 7.6 B 1 ) ! (7.6B-1)! of them A is the highest number. The information A>B eliminates 7.6 B ! 2 \dfrac{7.6B!}{2} alternatives where B>A

Obiviously none of these eliminated alternatives contains the previously mentioned ( 7.6 B 1 ) ! (7.6B-1)! alternatives where A is the highest number. So the new probablity is ( 7.6 B 1 ) ! 7.6 B ! 7.6 B ! 2 = 2 7.6 B ! \frac{(7.6B-1)!}{7.6B! - \frac{7.6B!}{2}} = \frac{2}{7.6B!}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...