I've always wondered how sites like Wolfram Alpha or tools like TI-89 calculators can give exact answers to complex problems. I.e. irrational numbers or exact solutions to calculus problems.
For example, take a simple problem of: $2\pi/4$. Wolfram Alpha gives an exact answer of $\pi/2$.
Having studied numerical analysis before, I know scientific tools like Matlab or Octave use approximations which is not what I'm looking for.
I'm interested in knowing what kind of techniques TI calculators or Wolfram Alpha use to give an exact answer. Granted my example was simple but you could ask Wolfram to solve a PDE and it will sometimes give an exact answer.

