(x2+1)2dxdy+2x(x2+1)y=1
⇒dxdy+x2+12xy=(x2+1)21
Which is a linear differential equation with integrating factor
I.F. = e\int 2xx2+1dx=eln(x2+1)=x2+1
The solution of the given differential equation will be,
y.(x2+1)=∫(x2+1).(x2+1)21dx=∫x2+1dx=tan−1x+c
Now, y(0)=0 ⇒C=0 and y=(x2+1)1tan−1x
ay(1)=32π⇒a=π/8π/32=41
⇒a=161