Let $X_1,\cdots,X_{10}$ be i.i.d. random variables, where $X_i$ is from Gamma$(\alpha,\beta)$ with $\alpha>0$ and $\beta>0$. I want to find $E(X_1|\sum_{i=1}^{10} X_i=10)$.
Here's my attempt: Since $X_i$ are i.i.d., $E(X_1|\sum_{i=1}^{10} X_i=10)=E(X_2|\sum_{i=1}^{10} X_i=10)=\cdots=E(X_{10}|\sum_{i=1}^{10} X_i=10)$. Thus, we can find $$\sum_{i=1}^{10}E(X_i|\sum_{i=1}^{10} X_i=10)=E(\sum_{i=1}^{10}X_i|\sum_{i=1}^{10} X_i=10)$$ then divide by 10. However, given $\sum_{i=1}^{10} X_i=10$, the expectation of $\sum_{i=1}^{10}X_i$ should be 10. Thus, $E(X_1|\sum_{i=1}^{10} X_i=10)$ should be 1.
Am I wrong?