# Second order differential equation

Find a solution to the following second order differential equation
xy'+y=1/y^2

My Attempt:

P= y'= dy/dx

x dy/dx + y = 1/y^2

dy/dx + y/x = 1/xy^2

Integrating Factor = e^∫1/x dx = e^lnx

y e^lnx=∫ (e^lnx)(1/xy^2) dx