dxdy(x)=sin(xy(x))+xy(x)
Let y(x)=xv(x), which gives dxdy(x)=xdxdv(x)+v(x):
xdxdv(x)+v(x)=sin(v(x))+v(x)
Solve for dxdv(x):
dxdv(x)=xsin(v(x))
Divide both sides by sin(v(x)):
csc(v(x))dxdv(x)=x1
Integrate both sides with respect to x:
∫csc(v(x))dxdv(x)dx=∫x1dx
Evaluate the integrals:
−log(cos(2v(x)))+log(sin(2v(x)))=log(x)+c1, where c1 is an arbitrary constant.
Solve for v(x):
v(x)=2cot−1(xc−c1)
Simplify the arbitrary constant:
v(x)=2cot−1(xc1)
Substitute back for y(x)=xv(x):
y(x)=2xcot−1(xc1)