Solving Linear Differential Equations of First Order
For the diffe...
Question
For the differential equation (1+y+x2y)dx+(x+x3)dy=0. If y(π4)=0 then find the absolute value of the constant.
Open in App
Solution
(1+y+x2y)dx+(x+x3)dy=0 dydx=−1x(1+x2)−yx ⇒dydx+yx=−1x(1+x2) which is a linear differential eqn with y as dependent variable. Here, P=1x;Q=−1x(1+x2) Integrating factor I.F.=ePdx =e∫(1x)dx =elogx ⇒I.F.=x Solution of given differential eqn is yx=∫x−1x(1+x2)dx ⇒xy=cot−1x+C Given y(π4)=0 ⇒0=cot−1π4+C ⇒C=−cot−1π4 |C|=1