Consider 1t(t+1)2 Let us solve this by the method of partial fractions,
1t(t+1)2=At+B(t+1)+C(t+1)2
⇒1=A(t+1)2+Bt(t+1)+Ct for A,B,C∈R
Put t=0⇒1=A
∴A=1
Put t=−1⇒1=A(0)+B×0+c×−1
∴C=−1
Put t=1⇒2A+2B+C=1
⇒2+2B−1=1 where A=1,C=−1
⇒2B=1−1=0
∴∫dtt(t+1)2=∫(At+B(t+1)+C(t+1)2)dt
⇒∫dtt(t+1)2=∫(1t+0(t+1)+−1(t+1)2)dt
=∫dtt−∫dt(t+1)2
=ln|t|−(t+1)−2+1−2+1+c using ∫xndx=xn+1n+1 and ∫dxx=ln|x|
=ln|t|−1t+1+c where c is the constant of integration.
=ln∣∣x2+1∣∣−1x2+1+1+c
=ln∣∣x2+1∣∣−1x2+2+c