I have been scratching my head over this and I can't see to figure out the exact numbers to use for this problem.
The question is as stated:
"The numbers 1, 2, . . . , 20 are assigned at random to 10 people so that each one gets two numbers. A person gets happy if their two numbers add up to 20. On average, how many of them get happy?"
I figured I would use the formula for Expected Value for discrete distributions.
Where EX = Sum of (the probabilities of each i x i).
X is the random variable = the total number of people who are happy and i is the number of people who are happy, i = 1,2,...,9
As 2 of the numbers out of 1-20 can't make a pair that add to 20, namely 10 and 20, then for the first person I calculated that he/she had the probability of picking a successful pair to be:
(18/20)*(1/9) = 9/190
However, from here it is where I get stuck.
Some guidance will be greatly appreciated.
Thanks
Let $X_i$ for $1\leq i\leq10$ be the random variable which is $1$ of person $i$ is happy, and $0$ otherwise. Then what we are after is $$ E(X_1+X_2+\cdots+X_{10}) $$ Expectation is linear, meaning that this is equal to $$ E(X_1)+E(X_2)+\cdots+E(X_{10}) $$ Since the $X_i$ are identically distributed (although not independent), all the expectations in the expression above are equal, so this is just $$ 10E(X_1) $$ which is quite a bit more manageable.