The joint probability density function for random variables $X$, $Y$ is given by $$f(x, y)=\begin{cases} 2(x+y) & \text{if } 0<x<y<1 \\ 0 & \text{otherwise} & \end{cases}.$$ When the conditional expectation of $X$ is $E(X | Y=aX)=\frac{2}{9}$, what is the real number $a$?
I'm struggle with this problem. Any help please.
By definition, $$\begin{align}\mathsf E(X\mid Y{=}aX) ~&=~\dfrac{\displaystyle\int_\Bbb R x\, f(x,ax)\,\mathsf d x}{\displaystyle\int_\Bbb R f(x,ax)\,\mathsf d x}\\[2ex]~&=~\dfrac{\displaystyle\int_0^{1/a} 2(1+a)x^2\,\mathsf d x}{\displaystyle\int_0^{1/a} 2(1+a)x\,\mathsf d x}&&\text{if }a\geq 1\end{align}$$