Question:
How to choose a replacement that brings the integral of a given function to an integral of a rational function and decompose into simple fractions by the method of undefined coefficients using wolfram mathematica?
Answer:
you can try like this:
f[x_]=... - изначальная функция
F[x_] = FunctionInterpolation[f[x],{x, x0, x1}]
Integrate[F[x],x]