Given this pdf: $$f(y_1,y_2)=\begin{cases} 4y_1y_2 & 0\leq y_1\leq1 \\ 0 & \text{otherwise} \\ \end{cases} $$
The goal is to show that $\text{Cov}(Y_1,Y_2) = 0$.
First I found the marginal pdfs: $$f_1(y_1) = \int_0^1 4y_1y_2\text{ d}y_2 = 2y_1$$ $$f_2(y_2) = \int_0^1 4y_1y_2\text{ d}y_1 = 2y_2$$
Then I found the Expected Values: $$E[Y_1] = \int_0^1 2y_1\text{ d}y_1 = 1$$ $$E[Y_2] = \int_0^1 2y_2\text{ d}y_2 = 1$$ $$E[Y_1Y_2] = \int_0^1 \int_0^1 y_1y_24y_1y_2 \text{ d}y_1\text{d}y_2 = \frac{4}{9}$$
Then trying to find the Covariance I get: $$\text{Cov}(Y_1,Y_2) = E[Y_1Y_2] - E[Y_1]E[Y_2]$$ $$\text{Cov}(Y_1,Y_2) = \frac{4}{9} - 1\cdot1 = -\frac{5}{9}$$
However, I know that the Covariance should be 0 because they are independent (The limits don't depend on each other and the joint pdf can be factored without having the random variables combined).
I'm not sure where I made a mistake.
$$E[Y_1] = \int_0^1 2y_1^2dy_1 = \frac23$$ $$E[Y_2] = \int_0^1 2y_2^2dy_2 = \frac23$$