Answer
The given equation
$$
\left(2 x y^{2}+2 y\right)+\left(2 x^{2} y+2 x\right) y^{\prime}=0
$$
is exact, and its solutions are
$$
x^{2}y^{2}+2xy =c
$$
where $c$ is an arbitrary constant
Work Step by Step
$$
\left(2 x y^{2}+2 y\right)+\left(2 x^{2} y+2 x\right) y^{\prime}=0 \quad \quad (i)
$$
this equation can be written as
$$
\left(2 x y^{2}+2 y\right) d x+\left(2 x^{2} y+2 x\right) d y=0
$$
Comparing this Equation with the differential form:
$$
M(x,y) d x+N(x,y) d y=0
$$
we observe that
$$
\begin{aligned}M(x,y) &=\left(2 x y^{2}+2 y\right)
\\ N(x,y) &=\left(2 x^{2} y+2 x\right) \end{aligned}
$$
By calculating $M_{y}$ and $N_{x}$ , we find that
$$
M_{y}(x, y)=4xy+2=N_{x}(x, y)
$$
so the given equation is exact. Thus there is a $ψ(x, y)$ such that
$$
\begin{aligned} \psi_{x}(x, y) &=M(x,y) =\left(2 x y^{2}+2 y\right),
\\ \psi_{y}(x, y) &=N(x,y) =\left(2 x^{2} y+2 x\right) \end{aligned} \quad \quad (ii)
$$
Integrating the first of these equations with respect to $x$ , we obtain
$$
\psi(x, y)=x^{2}y^{2}+2xy+h(y) \quad \quad (iii)
$$
where $h(y)$ is an arbitrary function of $y$ only. To try to satisfy the second of Eqs. (ii), we compute $\psi_{y}(x, y) $ from Eq. (iii) and set it equal to $N$, obtaining
$$
\psi_{y}(x, y)=2x^{2}y+2x+h^{\prime}(y)=\left(2 x^{2} y+2 x\right)
$$
Thus $h^{\prime}(y)=0$ and $h(y)=0$ The constant of integration can be omitted since any solution of the preceding differential equation is satisfactory.
Now substituting for h(y) in Eq. (iii) gives
$$
\psi(x, y)=x^{2}y^{2}+2xy
$$
Hence solutions of Eq. (i) are given implicitly by
$$
\psi(x, y)=x^{2}y^{2}+2xy =c
$$
where $c$ is an arbitrary constant