Consider given the given intigration,
Let,
I=∫xtan−1x1+x2dx
Put,
t=tan−1x⇒x=tant
dt=11+x2dx
dx=(1+x2)dt
I=∫(tant).t1+x2(1+x2)dt
I=∫t.tantdt ……(1)
∵∫t.tantdt=∫xtanxdx …….(2) ( by integration properties)
Since equation (1),
=t∫tantdt−∫1.logsectdt
=t.logsect−[logsect.t−∫1sect.secttant.tdt
I=t.logsect−logsect−∫t.tantdt
I=t.logsecx−logsecx−I (Since equation (2))
2I=t.logsect−logsect
now,
2I=tan−1x.logsectan−1x−logsectan−1x
I=tan−1x.logsectan−1x−logsectan−1x2
Hence, this is the answer.