4 ms·
> There is no universal algorithm for solving integral. Not that I want to dispute this, but depending on what you meant, there is in fact such an algorithm: h
by jcla1 3y ago
> There is no universal algorithm for solving integral.
Not that I want to dispute this, but depending on what you meant, there is in fact such an algorithm: https://en.wikipedia.org/wiki/Risch_algorithm https://en.wikipedia.org/wiki/Risch_algorithm
Though often it is not implemented because it is quite complex (its details covering two thick books) and many of the special cases it covers rarely crop up in the real world, so the effort isn't worth it.
The caveat of Risch's algorithm is that it only "works" if the function you are trying to integrate has an elementary antiderivative. Many of the problems that Mathematica can solve (but SymPy fails at) involved special (i.e. non-elementary) functions.
- epistasis 3y agoThat is an excellent caveat, and well cited, thanks.