If ∫(x−1)2x2+12dx=tan−1x+g(x)+K then
g(x) is equal to
tan−1(x/2)
1x2+1
12x2+1
none of these
(x−1)2x2+12=x2−2x+1x2+12=x2+1x2+12−2xx2+12=1x2+1−2xx2+12
so ∫(x−1)2x2+12dx=∫dxx2+1−∫2xx2+12dx=tan−1x+1x2+1+K
Therefore, g(x)=1x2+1