Let X and Y be continuous random variables having the joint pdf $$f(x,y) = 8xy , 0\leq{y}\leq{x}\leq{1}$$ Find $g(x|y=\frac{1}{2})$ the conditional pdf of $X$ given $Y = \frac{1}{2}$
I found that the marginal pdf of Y is $f_2(y) = 4y - 4y^3$.
And $g(x|y=\frac{1}{2}) = \frac{f(x,\frac{1}{2})}{f_2(\frac{1}{2})} = \frac{8x}{3}$. I thought that the support of this function would be $y ≤ x ≤ 1$, $0 ≤ y ≤ 1$. But when I evaluate the integral from $y$ to $1$, I don't get $1$. Does this mean I've done something wrong? Or is it that the support (domains) are incorrect?