We need to solve the differential equation (tan−1y−x)dy=(1+y2)dx.
Rewriting: dydx=1+y2tan−1y−x
dydx+1+y2x=1+y2tan−1y
This is a linear ODE in x with P(y)=1+y21 and Q(y)=1+y2tan−1y.
Integrating factor: μ=e∫1+y2dy=etan−1y
The solution is:
x⋅etan−1y=∫1+y2tan−1y⋅etan−1ydy
Let t=tan−1y, so dt=1+y2dy:
x⋅etan−1y=∫t⋅etdt=t⋅et−et+C=et(t−1)+C
x⋅etan−1y=etan−1y(tan−1y−1)+C
Using the initial condition (x,y)=(1,0): tan−1(0)=0, so:
1⋅e0=e0(0−1)+C⟹1=−1+C⟹C=2
Therefore: x⋅etan−1y=etan−1y(tan−1y−1)+2
x=(tan−1y−1)+2e−tan−1y
Now we find x when y=tan(1), so tan−1y=1:
x=(1−1)+2e−1=e2
The correct answer is Option B: e2.