$f(x) = x + \int_{0}^{1} (xy^2 + x^2y) f(y) dy$. Find $f(x)$
I've tried taking $\int_{0}^{1} (xy^2 + x^2y) f(y) dy$ to be $k(x)$ since it comes out to be a function of $x$. That transforms our equation to $f(x) = x + k(x)$.
$f(y) = y + k(y) \implies (xy^2 + x^2y)f(y) = (xy^2 + x^2y)y + (xy^2 + x^2y)k(y)$ Now I tried integrating on both sides against $dy$ from $0$ to $1$ in an attempt to find $k(x)$
$\int_{0}^{1} (xy^2 + x^2y)f(y).dy = k(x) = \int_{0}^{1} ((xy^2 + x^2y)y + (xy^2 + x^2y)k(y)).dy$
But I got stuck trying to integrate the right hand side. Any solutions or ideas are appreciated.