I am currently reading Loring introduction to differential manifolds. There is something I don't really understand in the example below.
So a function $f$ is real analytic at $p$ if in some neighborhood of $p$ it is equal to its Taylor series at $p$. In the example below,
we can see f is analytic right? I mean if we get the Taylor expression of f and evaluate at p we find that the Taylor series of this function is zero, which has the same value as f at 0?
The key point is that a function $f$ is real analytic at $p$ if in some neighborhood of $p$ it is equal to its Taylor series at $p$. In your example, no such neighborhood exists at $p=0$ because $f(x)>0$ for any $x>0$.
There is a detailed article in Wikipedia regarding your example:
https://en.wikipedia.org/wiki/Non-analytic_smooth_function
Read in particular the section:
https://en.wikipedia.org/wiki/Non-analytic_smooth_function#The_function_is_not_analytic