Question
Question: Solve the following differential equation \(({\tan ^{ - 1}}y - x)dy = (1 + y)dx\)...
Solve the following differential equation (tan−1y−x)dy=(1+y)dx
Solution
Differential equation is an equation that relates one or more functions and their derivatives. And an integrating factor is a function that is chosen to facilitate the solving of a given equation. The general for of differential equation is
dydx+P(y)x=Q(y)
I.F=e∫P(y)dy
Stepwise solution
Given:
(tan−1y−x)dy=(1+y2)dx
Stepwise solution:
(1+y2)dx=(tan−1y−x)dy
⇒dydx=1+y2tan−1y=1+y2x
⇒dydx+1+y2x=1+y2tan−1y
Hence,
I.F=e∫P(y)dy
=e∫1+y21dy
I.F=etan−1y
Hence, the above differential equation changes to
etan−1ydxdy+1+y2xetan−1y=1+y2etan−1ytan−1y
⇒etan−1ydx+1+y2xetan−1ydy=1+y2etan−1ytan−1ydy
⇒d(etan−1y.x)=d(etan−1y)
Integration of both the sides will result as
⇒∫d(etan−1yx)=∫d(etan−1y)
⇒etan−1yx=etan−1y+c
⇒xetan−1y−etan−1y+c
Note:
The student must not forget to integrate and always remember to follow the general solution of differential equations.