You draw cards at random and without replacement from a deck of N cards, each of which is marked with a unique integer from 1 to N, inclusive. You create two piles, as follows. The first card is placed on the table in front of you. If the second card drawn has a smaller number, you place it to the left of the first; if it's larger, you place it to the right of the first card. You now have a left pile and a right pile.
You continue until all N cards have been drawn. Each card is placed on the left pile if it has a smaller number than the previous card, and on the right pile if its number is larger than the previously drawn card. Note, there is never a tie: each card has a unique number.
What is the expected number of cards in the left pile after all N cards have been drawn?
OK, that answer is not difficult to determine, since the definitions of the piles are symmetrical.
Here's the real question: what is the expected value of the largest number in the left pile?
Example for N=10 and the order of the shuffled deck is 2 7 5 3 6 1 4 9 10 8.
2 is placed on the table
7 is placed to the right of the 2 (7>2)
So 2 has become the left pile, and 7 is the right pile.
5 is placed on the left pile (5<7)
3 is placed on the left pile (3<5)
6 is placed on the right pile (6>3)
1 is placed on the left pile (1<6)
4 is placed on the right pile (4>1)
9 is placed on the right pile (9>4)
10 is placed on the right pile (10>9)
8 is placed on the left pile (8<10)
The left pile contains 2 5 3 1 8, and its highest-numbered card is 8.
Question
bonanova
You draw cards at random and without replacement from a deck of N cards, each of which is marked with a unique integer from 1 to N, inclusive. You create two piles, as follows. The first card is placed on the table in front of you. If the second card drawn has a smaller number, you place it to the left of the first; if it's larger, you place it to the right of the first card. You now have a left pile and a right pile.
You continue until all N cards have been drawn. Each card is placed on the left pile if it has a smaller number than the previous card, and on the right pile if its number is larger than the previously drawn card. Note, there is never a tie: each card has a unique number.
What is the expected number of cards in the left pile after all N cards have been drawn?
OK, that answer is not difficult to determine, since the definitions of the piles are symmetrical.
Here's the real question: what is the expected value of the largest number in the left pile?
Example for N=10 and the order of the shuffled deck is 2 7 5 3 6 1 4 9 10 8.
- 2 is placed on the table
- 7 is placed to the right of the 2 (7>2)
- 5 is placed on the left pile (5<7)
- 3 is placed on the left pile (3<5)
- 6 is placed on the right pile (6>3)
- 1 is placed on the left pile (1<6)
- 4 is placed on the right pile (4>1)
- 9 is placed on the right pile (9>4)
- 10 is placed on the right pile (10>9)
- 8 is placed on the left pile (8<10)
The left pile contains 2 5 3 1 8, and its highest-numbered card is 8.So 2 has become the left pile, and 7 is the right pile.
What is the expected value for N=1000?
Link to comment
Share on other sites
19 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.