First-order non-linear differential equation $\frac{dy}{dx} + \frac{1}{y} = f(x)$

45 Views Asked by At

I was trying to solve the following question: $\frac{dy}{dx} + \frac{1}{y} = f(x)$, with f(x) is a function we know.
I tried seperable method and exact function but it did not work. Is there anyway to solve it?