Is following equality true: $$E[X_{1}X_{2}|X_{1}=2]=E[2X_{2}|X_{1}=2]$$
If no how to calculate/simplify this, assuming that we have joint density and marginal densities of those RV and they are not independent.
Also what is generally speaking:
$$E[X|X=x]$$??
For discrete distributions
Suppose that $X_1$ and $X_2$ take their values from the set $\{1,2,\dots,n\}$ and let the common probability mass function be given: $P(X_1=i\cap X_2=j)$. Also, assume that $P(X_1=2)>0.$
By definition
$$E[X_1X_2 \mid X_2=2]=\sum_{u=1}^{n^2}\sum_{\{i,j\ :\ i\cdot j=u\}}uP(X_1=i\ \cap\ X_2=j\mid X_1=2)=$$ $$=\sum_{u=1}^{n^2}\sum_{\{i,j\ :\ i\cdot j=u\}}u\frac{P(X_1=i\ \cap\ X_2=j\ \cap X_1=2)}{P(X_1=2)}=$$ $$=\sum_{u=1}^{n^2}\sum_{\{j\ :\ 2\cdot j=u\}}u\frac{P(X_1=2\ \cap\ X_2=j)}{P(X_1=2)}=$$ $$=\sum_{j=1}^n2jP(X_2=j\mid X_1=2)=E[2X_2\mid X_1=2].$$
$$E[X\mid X=x]=\sum_{i=1}^niP(X=i\mid X=x)=x.$$