For the differential equation given in the question find a particular solution satisfying the given condition.
(1+x2)dydx+2xy=11+x2,where y=0 and x=1.
Given, (1+x2)dydx+2xy=11+x2
On dividing by (1+x2) both sides, we get
dydx+2xy1+x2=1(1+x2)2
On comparing with the form dydx+Py=Q, we get
P=2x1+x2,Q=1(1+x2)2
∴IF=e∫2x1+x2dx
Put 1+x2=t⇒2x=dtdx⇒dx=dt2x
∴IF=e∫2xt×dt2x⇒IF=elog|t|=t⇒IF=1+x2
The general solution of the given equation is given by
y.IF=∫Q×IFdx+C⇒y(1+x2)=∫(1(1+x2)2×(1+x2))dx+C⇒y(1+x2)=∫11+x2dx+C⇒y(1+x2)=tan−1x+C
Now, y=0 and x=1, then
0(1+1)=tan−1(1)+C⇒0=π4+C⇒C=−π4
On putting the value of C in Eq. (ii), we get
(1+x2)y=tan−1x−π4
Which is the required solution of the given differential equation.