$$\int_0^\infty\dfrac{1}{(x+1)(x^2+1)}\text dx $$
I need to integrate the above. I had tried to decompose given integrand into two fractions, but I realized this is not always available.
Any hint or advice to handle it?
$$\int_0^\infty\dfrac{1}{(x+1)(x^2+1)}\text dx $$
I need to integrate the above. I had tried to decompose given integrand into two fractions, but I realized this is not always available.
Any hint or advice to handle it?
$$\frac{a}{x+1}+\frac{b x+c}{x^2+1}$$ hence $$\frac{a x^2+a+b x^2+b x+c x+c}{(x+1) \left(x^2+1\right)}=\frac{1}{(x+1) \left(x^2+1\right)}$$ $$a+c=1,b+c=0,a+b=0\rightarrow a= \frac{1}{2},b= -\frac{1}{2},c= \frac{1}{2}$$ The integrand becomes $$\frac{1}{2} \left(\frac{1}{x^2+1}+\frac{1}{x+1}\right)-\frac{2 x}{4 \left(x^2+1\right)}$$ which gives $$\left[\frac{1}{4} \log \left(\frac{(x+1)^2}{x^2+1}\right)+\frac{1}{2} \arctan(x)\right]_0^\infty=\frac{\pi}{4}$$