Answer :

To solve the differential equation [tex]\( 2 y' + y = y^3 (x - 1) \)[/tex], we will go through the following steps:

1. Rewrite the equation in standard form: The given differential equation is already in a form that facilitates simplification:
[tex]\[ 2 \frac{dy}{dx} + y = y^3 (x - 1). \][/tex]

2. Separate variables (consider rearranging it to isolate like terms involving [tex]\( y \)[/tex] on one side and terms involving [tex]\( x \)[/tex] on the other):
[tex]\[ 2 \frac{dy}{dx} = y^3 (x - 1) - y. \][/tex]
This can be rewritten as:
[tex]\[ 2 \frac{dy}{dx} = y(y^2 (x - 1) - 1). \][/tex]
Thus:
[tex]\[ \frac{2}{y(y^2 (x - 1) - 1)} \, dy = dx. \][/tex]

3. Integrate both sides: It is crucial to handle the integral on the left by considering partial fractions or a more complex method, but we won't dig into the detailed integration steps here. Integrating the left side with respect to [tex]\( y \)[/tex] and the right side with respect to [tex]\( x \)[/tex] gives us:
[tex]\[ \int \frac{2}{y(y^2 (x - 1) - 1)} \, dy = \int dx. \][/tex]

4. Simplify and solve for [tex]\( y \)[/tex]: This step involves simplifying the integrals and solving for [tex]\( y \)[/tex]. Assuming that this integral process is completed and noting potential difficulties in explicit form without advanced methods, solving the differential equation yields the general solution:
[tex]\[ y(x) = \pm \sqrt{\frac{1}{C_1 e^x + x}}, \][/tex]
where [tex]\( C_1 \)[/tex] is the constant of integration.

5. Express the final solution: The solution comprises two branches due to the square root function:
[tex]\[ y(x) = -\sqrt{\frac{1}{C_1 e^x + x}} \quad \text{and} \quad y(x) = \sqrt{\frac{1}{C_1 e^x + x}}. \][/tex]
Hence, the solutions to the differential equation are:
[tex]\[ y(x) = -\sqrt{\frac{1}{C_1 e^x + x}} \quad \text{or} \quad y(x) = \sqrt{\frac{1}{C_1 e^x + x}}. \][/tex]

In summary, the general solutions to the differential equation [tex]\( 2 y' + y = y^3 (x - 1) \)[/tex] are:
[tex]\[ y(x) = -\sqrt{\frac{1}{C_1 e^x + x}} \quad \text{and} \quad y(x) = \sqrt{\frac{1}{C_1 e^x + x}}, \][/tex]
where [tex]\( C_1 \)[/tex] is the constant of integration.