Given that(1+y2)dx=(tan−1y−x)dy ⇒dxdy=tan−1y1+y2−x1+y2 ⇒dxdy+x1+y2=tan−1y1+y2The differential equation is in the form dxdy+P(y)x=Q(y) where P(y)=11+y2 and Q(y)=tan−1y1+y2So, Integration factor, (I.F.)=e∫11+y2dy=etan−1y∴solution is given as : x×etan−1y=∫etan−1y×tan−1y1+y2dy+CPut tan−1y=t⇒11+y2dy=dt. ∴xetan−1y=∫ettdt+C⇒xetan−1y=t∫etdt−∫(ddt(t)∫etdt)+C ⇒xetan−1y=tet−et+C⇒xetan−1y=etan−1y(tan−1y−1)+C or, x=tan−1y−1+Ce−tan−1y is the required solution