We have,
I=∫xdxx2+1
Let t=x2+1
dtdx=2x+0
dt2=xdx
Therefore,
I=12∫dtt
I=12ln(t)+C
On putting the value of t, we get
I=12ln(x2+1)+C