This is how a simple charity game is played. There are people where . There are also tickets whose numbers on each of them is either 0 or 1. There are n tickets with number 1 on them, and tickets with number 0 on them. The ticket are randomly given to the people; each person gets one ticket. (So that people get tickets number 1 and the other people get ticket number 0.)
Then the people are randomly paired up into n pairs. In each pair the person who has lower number should donate the difference to the charity fund. The person with higher number does not donate. For example, if two people in a pair have ticket numbers 1 and 0, the person with ticket number 0 has to donate 1 baht. If two people in a pair have the same number, they do not donate.
Note: In this question, do not have to try too hard to reduce your answers to the minimal form. Any reasonable expressions are acceptable.
Two approaches There are basically two approach for analyzing the expectation and the variance. We can look at each person or we can look at each pair. The first solution analyzes each pair and is a bit simpler. The second one analyzes each person.
Solution 1
First note that the assignment of tickets is done independently of the pairing of people. Therefore, we can imaging a game where people start by pairing up and then random tickets are assigned. Note that since the tickets are assigned randomly the way people are paired up is essentially irrelevant; therefore, we can assume that the pairing is fixed. Under this assumption, there are pairs that we need to consider.
Expectation
(a) Let random variable denote the amount of money donated. Find . Show your work clearly.
Consider pair . Let random variable
Note that . Pair makes the donation if and only if the two people in the pair have different tickets. Let's distinguish two people in this pair by referring to them as the first person and the second person.
They have different ticket numbers with probability
because the first person can have any ticket, then the second person must get a different ticket (there are correct tickets out of tickets left).
Since
using the linearity of expectation we have that
Note that this is slightly larger than 1/4 of the people.
Variance
We start by calculating . Note that
Consider . We have that
and from the previous solution, we conclude that
Let's consider the second term, . Again note that the only way is non zero is when both and are one. You can check that this occurs with probability
.
Therefore, .
Note that from the linearity of expectation, we have
Plugging in the calculations yields
Therefore,
which is ...
Solution 2
Expectation
(a) Let random variable denote the amount of money donated. Find . Show your work clearly.
Consider person . Let random variable
Note that . Person donates if and only if the person gets ticket number 0, and the person's pair get ticket number 1. This occurs with probability
Since
using the linearity of expectation we have that
Note that this is slightly larger than 1/4 of the people.
Remarks: In this solution, we analyze the experiment in terms of the people, so there are people that we need to look at.
Variance
- To be added.