I am curious how many ways there are to solve this integral:
$$\int \frac{2x+5}{x^2+2x+5} \,dx $$
I have a solution with one method, but I would like to know how you solve the integral with the method you prefer.
If it's possible, could you tell me the country you're come from, please? I'm making an experiment.
Thanks.
Well note that $$\int\frac{2x+5}{x^{2}+2x+5}= \int \frac{2x+2}{x^{2}+2x+5} + \int \frac{3}{x^{2}+2x+5}$$
The first integral is easy. For the second one note that $$x^{2}+2x+5 = (x+1)^{2} + 2^{2}$$ and so put $x+1 = 2\tan(t)$ and try to solve it.