I'm quite new to Taylor series and I have some questions.
Given a function $f$, can it be approximated with Taylor polynomials ($n$-degree) iff $f$ is $n$ times differentiable. Right? Or should I think about the interval convergence of Taylor series?
As the $n$ gets bigger, I can approximate further than the expansion point $x_0$, right?
The answer to both questions is negative. A classical example is this one: considere the function $f\colon\mathbb{R}\longrightarrow\mathbb R$ defined by$$f(x)=\begin{cases}e^{-1/x^2}&\text{ if }x\neq0\\0&\text{ otherwise.}\end{cases}$$It can be proved that $f$ is $n$ times differentiable, for any natural $n$. And it can also be proved that $(\forall n\in\mathbb{N}):f^{(n)}(0)=0$. Therefore, the $n$th Taylor polyonomial of $f$ at $0$ is the null polynomial. So, it is clear that the Taylor polynomials don't get more and more close to $f(x)$ (for any $x\neq0$) as $n\to\infty$.