Solve the following differential equation by finding an appropriate integrating factor $$ −3x\,\mathrm{d}x+(x^2y+3y)\,\mathrm{d}y=0$$
My attempt:
The equation is the same as: $$\frac{\mathrm{d}y}{\mathrm{d}x}=\frac{3x}{(x+3)y}$$
Make y=z^{1/2}
Then $$\frac{\mathrm{d}y}{\mathrm{d}x}=\frac{1}{2}z^{-1/2}\frac{\mathrm{d}z}{\mathrm{d}x}=\frac{3x}{x^2+3}y^{-1}$$
replace y with $$y=z^{1/2}
$$\frac{1}{2}z^{-1/2}\frac{\mathrm{d}z}{\mathrm{d}x}=\frac{3x}{x^2+3}z^{-1/2}$$ $$ z=3\ln(x^2+3)+C, \quad \text{ while } \quad y=z^{1/2} $$ so $$ y^2-3\ln(x^2+3)=c $$
the assignment system said my attemp was wrong without giving the correct answer. Please let me know where I am wrong. thanks a lot!
thanks for the help guys. it turns to be a bug of the website.

$$−3x\,\mathrm{d}x+(x^2y+3y)\,\mathrm{d}y=0$$ $$−3x\,\mathrm{d}x+(x^2+3)y\,\mathrm{d}y=0$$ $$−3\frac {x}{(x^2+3)}\,\mathrm{d}x+y\,\mathrm{d}y=0$$ $$−\frac 32\frac {2x}{(x^2+3)}\,\mathrm{d}x+\frac 12 {d}y^2=0$$ $$−\frac 32\,\mathrm{d}\ln |{(x^2+3)}|+\frac 12 {d}y^2=0$$ Integrate: $$− 3\ln |{(x^2+3)}|+ y^2=C$$ Therefore: $$\boxed {y^2− 3\ln {(x^2+3)}=C}$$ Your answer seems correct to me. Maybe the webpage is expecting another form for the solution.Did you try to type the absolute value for the $\ln$ function ? Maybe it's just a formatting question. Try: $$− 3\ln |x^2+3|+ y^2=C$$