ins- писал(а):
Please, take a look at this solution:
…
My goal here is to understand is there some similar "focus"
A trick is a trick exactly for the reason that it is not universal. One can expect that unsing representation of simple fractions he can always solve integral, but he cannot expect that there is a trick giving a nice-looking representation. I think to some degree it might be a fault of education system: students learn tricks without necessary stress that life is tough.
ins- писал(а):
Interesting moment with such integrals is that the denominator cannot be factored in some good looking way and general approach like described here sometimes doesn't work very well.
Actually, you are wrong on both counts. Firstly, the denominator is a polynomial of squares (
![$q(x) = q_*(x^2)$ $q(x) = q_*(x^2)$](https://dxdy-01.korotkov.co.uk/f/4/5/6/456ebce50dc55eedbb26d0b943162ac082.png)
). It means, that with every root
![$(-\xi)$ $(-\xi)$](https://dxdy-02.korotkov.co.uk/f/9/9/4/9943d7126b548c74adbb0d6de242747a82.png)
is a root also. So we can group roots and factor
![$(x^2-a x^2+bx -c)$ $(x^2-a x^2+bx -c)$](https://dxdy-01.korotkov.co.uk/f/8/7/b/87b14734d3f9d3a4ba3e39934066580482.png)
. Although coefficients are complex, factors are quite nice-looking.
Secondly, I have shown above how general approach works, and why one can simplify result of general approach is this particular case.
ins- писал(а):
Such kind of integrals are also a joke with integration software and may be used to show how difficult is to write a good integration software.
I doubt that. They probably used to be, but not any more…
Note on the margin:
![$\ln(x+{\rm i}y) = \frac12\ln(x^2+y^2) + {\rm i}\arctg(\frac{y}{x})$ $\ln(x+{\rm i}y) = \frac12\ln(x^2+y^2) + {\rm i}\arctg(\frac{y}{x})$](https://dxdy-01.korotkov.co.uk/f/8/1/5/815029f9aed1780aa50b20a6d05be5db82.png)
.