The given integral is,
∫ 1 x 2 +2x+2 dx
Substitute the value of x 2 +2x+2 as ( x 2 +2x+1 )+1 in the above expression.
∫ 1 x 2 +2x+2 dx= ∫ 1 ( x 2 +2x+1 )+1 dx = ∫ 1 ( x+1 ) 2 + ( 1 ) 2 dx = tan −1 ( x+1 )+C
The correct option is (B).