The step-by-step of the SymPy package procedure

maoc
Sat, 11 Mar 2023 04:36:22 +0000
General Usage

I am reading the tutorial of the SymPy package. I would like to know if there is a way to show the step-by-step calculations that the package performs. For example, we know that this works well:

using SymPy
x = symbols("x")
integrate((x^4 + x^2*exp(x) - x^2 - 2*x*exp(x) - 2*x - exp(x))*exp(x)/((x - 1)^2*(x + 1)^2*(exp(x) + 1)), x)

But I would like to know which were the different procedures (integration methods, algebraic manipulations, etc.) that were used to arrive at the result. Perhaps SymPy does not offer this option, but do you know of another solution?

4 posts - 2 participants