\(\int \frac{(x+1)^2}{x\left(x^2+1\right)} d x=\)

\(\int \frac{(x+1)^2}{x\left(x^2+1\right)} d x=\)
  1. \(\log \left[x\left(x^2+1\right)\right]+c\)
  2. \(\log |x|+c\)
  3. \(\log |x|+2 \tan ^{-1}(x)+c\)
  4. \(2 \log |x|+\tan ^{-1}(x)+c\)

Solution

\(\begin{aligned} I & =\int \frac{(x+1)^2}{x\left(x^2+1\right)} d x=\int \frac{\left(x^2+1\right)+2 x}{x\left(x^2+1\right)} d x \\ & =\int \frac{1}{x} d x+2 \int \frac{d x}{x^2+1}=\log _e|x|+2 \tan ^{-1} x+C \end{aligned}\) Hence, option (c) is correct.

Asked in: AP EAMCET 2020 (21 Sep Shift 1)

Practice more Indefinite Integration questions on Aicharya