To determine y(0) , we start by solving the differential equation given:
(1+x2)dxdy+y=etan−1x
First, we rewrite it in the standard form for a linear differential equation:
dxdy+1+x2y=1+x2etan−1x
Next, we find the integrating factor (I.F.):
I.F.=e∫1+x21dx=etan−1x
Multiply through by the integrating factor:
y⋅etan−1x=∫etan−1x⋅1+x2etan−1xdx
This simplifies to:
y⋅etan−1x=∫1+x2e2tan−1xdx
Make the substitution tan−1x=t , then 1+x21dx=dt :
∫e2tdt=2e2t+2C
Rewrite in terms of x :
y⋅etan−1x=2e2tan−1x+2C
Use the initial condition y(1)=0 :
0=2e2⋅tan−11+2C
Since tan−11=4π :
0=2eπ/2+2C⟹C=−eπ/2
Thus, the solution is:
y⋅etan−1x=2e2tan−1x−eπ/2
Evaluating y(0) :
y(0)=y⋅1=21−eπ/2
Therefore,
y(0)=21(1−eπ/2)
Hence, the correct answer is:
Option B
21(1−eπ/2)