I'm getting a little confused about Taylor series.
For a function
f to have a Taylor series then
f must have a power series representation and must be infinitely differentiable at some point that is where the Taylor series is centered on. But how do we know that such a power series exists for a given function.
Take sin x for example, obviously it has a power series/Taylor series representation but where does that come from? How do we know
sin(x) can be expressed as
sin(x)=a0+a1(x−a)+a2(x−a)2+...+ar(x−a)r+... thus leaving it open to a Taylor expansion?
Also
ex can be defined in terms of a power series so is the taylor series of
ex the same as
ex in this context (about zero)?
I'm guessing there is something fundamental I'm not understanding here if anyone could give me some reasoning and try to clear this up for me I would be grateful.
I tried looking online but I couldn't really find an answer.
Thanks.