Question
Mathematics Question on Differential equations
Find the general solution: xdxdy+y−x+xy cot x=0, (x=0)
Answer
xdxdy + y - x + xy cot x = 0
⇒xdxdy+y(1 + xcot x) = x
⇒dxdy + (x1 + cot x)y = 1
This equation is a linear differential equation of the form:
dxdy + py = Q (where p = x1 + cotx and Q = 1)
Now, I.F. = e∫pdx = e∫(x1+cot x)dx = elog x+log(sin x) = elog(xsin x) = xsin x.
The general solution of the given differential equation is given by the relation,
y(I.F.) = ∫(Q×I.F.)dx+C
⇒y(xsin x) = ∫(1×xsin x)dx + C
⇒y(xsin x) = ∫(xsin x)dx + C
⇒y(xsin x) = x∫sin x dx-∫[dxd(x).∫sin xdx] + C
⇒y(xsin x) = x(-cos x)-∫1.(-cos x)dx + C
⇒y(xsin x) = -xcos x + sinx + C
⇒y= -xsin xxcos x + xsin xSin x + xsin xC
⇒y= − cot x + x1 + xsin xC