I think the really neat piece of software behind this is maxima (https://maxima.sourceforge.io/), a rather influential computer algebra system of ancient lineage still in use today in more places than you might think.
> In order to show the steps, the calculator applies the same integration techniques that a human would apply. The program that does this has been developed over several years and is written in Maxima's own programming language. It consists of more than 17000 lines of code. When the integrand matches a known form, it applies fixed rules to solve the integral (e. g. partial fraction decomposition for rational functions, trigonometric substitution for integrands involving the square roots of a quadratic polynomial or integration by parts for products of certain functions). Otherwise, it tries different substitutions and transformations until either the integral is solved, time runs out or there is nothing left to try. The calculator lacks the mathematical intuition that is very useful for finding an antiderivative, but on the other hand it can try a large number of possibilities within a short amount of time. The step by step antiderivatives are often much shorter and more elegant than those found by Maxima.
Does one know if mathematica uses that too ? I rememebr an HN post where one could see that sympy, maxima and the likes where way behind for a lot of more peculiar integrals..
The syntax it's the same, I even made a plot and 'printed' into the host from an ARDS output from the plot command, by converting the file into PPM->PNG or PPM->PDF.
Maxima ist absolutely great. It can be somewhat confusing, but it is actually quite advanced.
Calculating integrals is extremely hard (unlike calculating derivatives, which is very easy to do) and maxima comes with some of the more advanced and comprehensive strategies to solve integrals.
It's integration functionalities are less advanced and comprehensive than those of Fricas. Interestingly, the latter is, like Maxima, implemented using Lisp and stems from an ancient software lineage. Both systems are free and open-source.
Ugly and cranky is quite subjective... As much as I like Mathematica the language, the user interfaces that they propose are so wonky and ugly (in my eyes) that Maxima feels like a breath of fresh air and elegance.