Solve the differential equation $$x^2y_2=2y$$
My try:
Let $$z=x^2y_1$$
Differentiating with respect to $x$ we get
$$z_1=x^2y_2+2xy_1=x^2y_2+\frac{2z}{x}$$
$\implies$
$$z_1-\frac{2z}{x}=2y$$
So again differentiating with respect to $x$ we get
$$z_2-\frac{2z_1}{x}+\frac{2z}{x^2}=2y_1=\frac{2z}{x^2}$$
Hence
$$z_2=\frac{2}{x}z_1$$
Letting $z_1=p$
we have
$$\frac{dp}{dx}=\frac{2p}{x}$$
So we get
$$p=Cx^2$$
$$\frac{dz}{dx}=Cx^2$$
$$z=\frac{Cx^3}{3}+D$$
$$x^2y_1=\frac{Cx^3}{3}+D$$
$$\frac{dy}{dx}=\frac{Cx}{3}+\frac{D}{x^2}$$
Hence
$$y=\frac{Cx^2}{6}-\frac{D}{x}+E$$
Where $C,D,E$ are arbitrary constants
But as the Order of D.E is $2$ why am i getting three constants?
HINT
If you plug your solution in the original DE, you will see it is not true for all values of $E$.