I'm not sure if my mathematical knowledge allows to understand things correctly, so please correct me if I'm wrong.
The existence of an algorithm, which decides whether the given function has an elementary antiderivative or not, may exist or not - depending on what "elementary function" means?
Because we have https://en.wikipedia.org/wiki/Risch_algorithm however "if one adds the absolute value function to the list of elementary functions, it is known that no such algorithm exists; see Richardson's theorem" ("Decidability" in the wiki article cited above)?
If that is true, in what meaning of "elementary function" does the Risch algorithm work?
https://en.wikipedia.org/wiki/Elementary_function With solutions of algebraic equations, in particulary roots, included, I thought the function $|x|=(x^2)^{\frac{1}{2}}$ is elementary?
One more question:
http://mathworld.wolfram.com/LiouvillesPrinciple.html I'm not familiar with the differential field theory. What does the Principle say in standard case, I mean for continuous real functions defined on intervals? Is this some kind of generalisation of the famous Liouville's theorem?
You are right, "elementary function" must be defined properly. For example, the definition could something beginning like this:
Thus, in particular, things like $|x|$ in the real line or even worse the function $$ f(x) = \begin{cases}1, & x\text{ is rational}\\ -1, &x\text{ is irrational}\end{cases} $$ are not included. Even though $f$ satisfies the polynomial equation $f(x)^2=1$, it is not considered an "algebraic function".
One should beware of "amateur" definitions, such as the one on Wikipedia!