TITLE: The notion of "infinitely differentiable"
QUESTION [5 upvotes]: Wiki takes me to the section "smoothness" which I don't entirely get, it's just too much stuff for me.
My question is, what exactly is it?

An infinitely differentiable function is one that is infinitely differentiable.

Literally, that's what my lecture note says. So I thought the notion is very obvious, so what I had in mind was

Not infinitely differentiable $\to$ those that reaches a "dead end"
$f(x)=a_0+a_1x+a_2x^2+...+a_nx^n$ since $n+1$ differetiations will make it $0$ and I thought this can be considered a "dead end" for instance.

Then,

Infinitely differentiable $\to$ doesn't have a dead end
$f(x)=\sin{x}$ or $f(x)=e^{nx}$ say. These can be differentiated as many times as one wishes, but it doesn't have a dead end. It keeps changing to another function, coming back, or staying like itself.

However, it seems like my understanding has been wrong. In a probelem's solution in class, I have been told,

$f(x)=xy$ is a polynomial so it is infinitely differentiable.

In my way of thinking, polynomials meet a dead end so they are not. But my class has claimed otherwise. So what exactly are functions that are infinitely differentiable, and what are not? Sure, $0$ differentiated then it is $0$ so we can differentiate it a million or gazzilion times in a sense.
But what functions aren't? Functions that cannot be defined at a certain point then?

REPLY [5 votes]: in most situations, infinitely differentiable means that you are allowed to differentiate the function as many times as you wish, since these derivatives exist (everywhere). The value of the derivatives is irrelevant, of course.
A function is not infinitely differentiable if there exist an integer $n \geq 1$ and a point $x_0$ such that the derivative of order $n$ at $x_0$ does not exist.