I am studying conditional expectations and am stuck with this issue. Consider an expectation conditional on a fixed sum of random variables, e.g. $E[\; X \; |\; X+Y = \alpha]$. Then we can retrieve it from joint density $f(x,y)$ as in here.
What if our conditional part is more complicated such as a linear combination of random variables? What can we say about
$$E[X_i \mid a_1 X_1 + a_2 X_2 + \dots + a_n X_n = \beta] ?$$
Can we get a nice formula as in the case of two random variables? It seems that the joint density won't be enough, what else is needed? I'm hesitating here since we cannot rewrite $X_j$ as a function of $X_i$-only anymore as in the previous case.
If possible, I'd like it to be quite general but you may simplify all this with additional assumptions if it's easier to write it out. Are there any references where I could read more about this particular problem?