Obtain the general solution of the equation
x2dxdy+(xcotx+2)xy=4sinx0<x<π
Give your answer in the form y=f(x)
(8)
解答
x2dxdy+(xcotx+2)xy=4sinx
Divide through by x2:
dxdy+(cotx+x2)y=x24sinx
The integrating factor is
===e∫(cotx+x2)dxe∫cotxdx+∫x2dxeln(sinx)+2lnxx2sinx
So
dxd(x2sinxy)==4sin2x2(1−cos2x)
Hence
x2sinxy===∫4sin2xdx∫2(1−cos2x)dx2x−sin2x+C
Therefore
y=x2sinx2x−sin2x+C