The correct option is
B x tan−1x−12log|1+x2|+c∫tan−1x .1 dx
Let us assume here tan−1x is the first function and constant 1 is the second function. Then the integral of the second function is x.
∫u.v dx=u∫v dx −∫(dudx∫v dx)dx
Now by integrating the functions by parts, we get
=tan−1x∫1 dx −∫(d tan−1xdx∫1 dx)dx
=xtan−1x−∫11+x2x dx
=xtan−1x+c−12∫2x dx1+x2
=− xtan−1x−12log(1+x2)+c
=∫tan−1x dx=xtan−1x−12log(1+x2)+c