How to choose a replacement that leads an integral from a given function to an integral function from a rational function and decompose on simple fractions by the method of undefined coefficients with the help of Wolfram Mathematica?
Answer 1
You can try this:
f [x _] = ... - initial function
F [x_] = functionInterpolation [f [x] {x, x0, x1}]
INTEGRATE [F [x], x]