How to solve
Liouville first proved in 1835 that if f (x) and g(x) are rational functions (where g(x) is not a constant), then is elementary if and only if there exists a rational function R(x) such that .
There are several other theorems that can prove that integrals of various sorts have no elementary primitive. Here is the briefest of brief reviews that barely scratches the surface.
There is even an entire branch to math on this. Part of Galois theory answers which polynomials can be solved and which cannot. Similarly, differencial Galois theory address the question which primitive can be solved and which cannot. It looks interesting to me, because algebra is what I study the most, maybe one day I learn more about it.