Choose the correct answer in each of the question.
∫dxx(x2+1) equals
(a)log|x|−12log(x2+1)+C(b)log|x|+12log(x2+1)+C(c)−log|x|+12log(x2+1)+C(d)12log|x|+log(x2+1)+C
Let 1x(x2+1)=A2+Bx+Cx2+1⇒1=A(x2+1)+(Bx+C)x
On equating the coefficients of x2, x and constant term on both sides, we get
A+B=0, C =0 and A =1
On solving these equations, we get
A=1, B=-1 and C=0
∴1x(x2+1)=1x+−xx2+1∴∫1x(x2+1)dx=∫{1x−xx2+1dx}=log|x|−12log(x2+1)+C[Let x2+1=t⇒2xdx=dt⇒xdx=dt2∴∫xx2+1dx=∫1tdt2=12logt]
So, the option (a) is correct.