Let y=y(x) be the solution curve of the differential equation (1+x2)dy+(y−tan−1x)dx=0,y(0)=1. Then the value of y(1) is :
Solutions · 1
Official solution
Given
(1+x2)dy+(y−tan−1x)dx=0,y(0)=1,
divide by dx:
(1+x2)dxdy+y−tan−1x=0dxdy+1+x21y=1+x2tan−1x.
This is linear. Integrating factor:
μ(x)=exp(∫1+x21dx)=etan−1x.
So
dxd(yetan−1x)=etan−1x⋅1+x2tan−1x.
Let t=tan−1x, then dt=1+x2dx. Hence
yet=∫tetdt+C=et(t−1)+C.
Therefore
y=t−1+Ce−t=tan−1x−1+Ce−tan−1x.
Use y(0)=1 and tan−10=0:
1=0−1+C⟹C=2.
So
y(1)=4π−1+2e−π/4=eπ/42+4π−1.
Correct option: B.