Given the equation:
$$x^{2} \frac{d}{d x} y{\left(x \right)} + 2 x y{\left(x \right)} + x + \frac{d}{d x} y{\left(x \right)} = 0$$
This differential equation has the form:
$$f_1(x)*g_1(y)*y' = f_2(x)*g_2(y)$$
where
$$f_{1}{\left(x \right)} = 1$$
$$g_{1}{\left(y \right)} = 1$$
$$f_{2}{\left(x \right)} = - \frac{x}{x^{2} + 1}$$
$$g_{2}{\left(y \right)} = 2 y{\left(x \right)} + 1$$
We give the equation to the form:
$$\frac{g_1(y)}{g_2(y)}*y'= \frac{f_2(x)}{f_1(x)}$$
Divide both parts of the equation by $g_{2}{\left(y{\left(x \right)} \right)}$
$$2 y{\left(x \right)} + 1$$
we get
$$\frac{\frac{d}{d x} y{\left(x \right)}}{2 y{\left(x \right)} + 1} = - \frac{x}{x^{2} + 1}$$
We separated the variables x and y.
Now, multiply the both equation sides by dx,
then the equation will be the
$$\frac{dx \frac{d}{d x} y{\left(x \right)}}{2 y{\left(x \right)} + 1} = - \frac{dx x}{x^{2} + 1}$$
or
$$\frac{dy}{2 y{\left(x \right)} + 1} = - \frac{dx x}{x^{2} + 1}$$
Take the integrals from the both equation sides:
- the integral of the left side by y,
- the integral of the right side by x.
$$\int \frac{1}{2 y + 1}\, dy = \int \left(- \frac{x}{x^{2} + 1}\right)\, dx$$
Detailed solution of the integral with yDetailed solution of the integral with xTake this integrals
$$\frac{\log{\left(2 y + 1 \right)}}{2} = Const - \frac{\log{\left(x^{2} + 1 \right)}}{2}$$
Detailed solution of the equationWe get the simple equation with the unknown variable y.
(Const - it is a constant)
Solution is:
$$y_{1} = y{\left(x \right)} = \frac{- x^{2} + C_{1}}{2 \left(x^{2} + 1\right)}$$