If you take a look at WolframAlpha, or other computer algebraic system, you will find that it is able to do symbolic manipulation like real humans.
For example, if you type in an integral, it can show you step by step on how to solve the integration.
What are the algorithms behind all this?