Let k be a non-zero real parameter and consider the integral
I(k)=∫x2+2kx+k2+1kx+1dx.
(a) Show that the denominator can be expressed in the form (x+k)2+1.
(b) Hence obtain a simplified exact expression for I(k) in terms of elementary functions of x and the parameter k.