Solving Linear Differential Equations of First Order
For the diffe...
Question
For the differential equation (1+y2)+(x−e−tan−1y)dydx=0;y(0)=π4 then find the negative of the only constant in the solution to the given system.
Open in App
Solution
Given, (1+y2)+(x−e−tan−1y)dydx=0
⇒dxdy+x1+y2=e−tan−1y1+y2 ...(1) Here P=11+y2⇒∫Pdy=∫11+y2dy=tan−1y ∴I.F.=etan−1y Multiplying (1) by I.F. we get etan−1ydxdy+xetan−1y1+y2=11+y2 Integrating both sides we get xetan−1y=∫11+y2dy+c=tan−1y+c As y(0)=π4⇒0=1+c⇒c=−1
Hence the negative of the only constant is −(−1)=1