← Back to question

Answer explained

Solve: x dy/dx+y=y²logx.

This is a Bernoulli equation (n=2). Dividing by y² and substituting v=1/y gives the linear equation dv/dx-v/x=-logx/x. Integrating factor = e^(-∫dx/x)=1/x. Then d/dx(v/x)=-logx/x². Integrating by parts, v/x = logx/x+1/x+C, i.e. v=logx+1+Cx. Since v=1/y, the solution is y = 1/(1+logx+Cx).