In a bucket there are 5 envelopes, where envelope i has value i written on top of it ie. 1,2,3,4,5.
We randomly pick 3 envelopes (without returning them). let X be the sum of values written on those 3 envelopes. Calculate E(X).
How can I approach this question? I cant write X as num of indicators.
we have 10 different options to pick:
1,2,3 = 6 1,2,4 = 7 1,2,5 = 8 1,3,4 = 8 1,3,5 = 9 2,3,4 = 9 1,4,5 = 10 2,3,5 = 10 2,4,5 = 11 3,4,5 = 12
Converting comments:
Let us pick the envelopes one at a time. Let $X_1$ be the value of the first envelope. Let $X_2$ be the value of the second, similarly for $X_3$.
Recognize that $X=X_1+X_2+X_3$. You say "I can't write $X$ as sum of indicators" but clearly you can.
We have that $E[X]=E[X_1+X_2+X_3] = E[X_1]+E[X_2]+E[X_3]$, each of which is simply going to be the average value which is $3$ and so the final answer is $3+3+3=9$. We get to completely ignore the dependence of these random variables here thanks to the linearity of expectation.
As per Chris's suggestion, if we were to write out the sum of everything so we can take the average of the sums, this would be $(1+2+3)+(1+2+4)+(1+2+5)+(1+3+4)+\dots$ and is a bit annoying and tedious to calculate. You could certainly do it here, however it is by no means recommended (especially if we were to increase the size of the problem).
Instead, if we were to organize our thoughts as performing the sum such that each parenthetical phrase lies on its own row, and we space things out so that all the same digits occur in their own respective columns:
$$\begin{array}{rlllll}&1+&2+&3\\+&1+&2+&&4\\+&1+&2+&&&5\\+&1+&&3+&4\\+&1+&&3+&&5\\+&1+&&&4+&5\\+&&2+&3+&4+\\\vdots&&\vdots&&\vdots\\\hline&6(1)+&6(2)+&(6)3+&(6)4+&(6)5\end{array}$$
You can see that there are six copies of $1$ being added, six copies of $2$, etc... giving the overall sum as $6(1+2+3+4+5)$ making the final average $$\dfrac{6(1+2+3+4+5)}{10}=9$$
If it is difficult to see why there are six copies of each, that can be done with a bit of combinatorics as well, there being $\binom{4}{2}$ ways to pick two other digits than the digit in the question to be added to it. If it is difficult to see why there are ten outcomes possible, that is simply $\binom{5}{3}$.