Question: How would you prove the Taylor series for a function, and how would you find the exact value of it?
I know that$$e^x=\sum_{k=0}^{\infty}\frac {x^k}{k!}\\\frac 1{1-x}=\sum_{k=0}^\infty x^k\\\sin x=\sum_{k=0}^\infty \frac {(-1)^k}{(2k+1)!}x^{2k+1}\\\vdots$$
My question is: How would you prove the taylor expansion for any polynomial $f(x)$, and how would you evaluate the convergence?
For Example: With $e^x$, letting $x$ be a simple integer like $2$, we have\begin{align*}e^2=1+2+\frac 4{2!}+\frac 8{3!}+\ldots\tag1\end{align*} How would you solve for the exact value of $e^2$ when you have the infinite sequence? (Note that it does converge) And $x$ doesn't have to be an integer. It can also be a number such as $\pi\sqrt{19}$.\begin{align*}e^{\pi\sqrt{19}}=1+\pi\sqrt{19}+\frac {19\pi^2}{2!}+\frac {19\pi^3\sqrt{19}}{3!}+\frac {19^2\pi^4}{4!}+\ldots\tag2\end{align*} Which is intimating.
Assume the form: $$f(x) = \sum_{n=0}^{ \infty} c_n (x-a)^n$$ Differentiate both sides and set $x=a$ and equate the coefficients.
All but one of the $c_n$ coefficients will be multiplied by zero from $(x-a)^n$ terms.
$$f(a) = c_0$$
$$f^{(k)}(x) = \sum_{n=0}^{ \infty} c_n \frac{n!}{(n-k)!}(x-a)^{n-k}$$
$$f^{(k)}(a) = c_k \, k!$$
only the $(x-a)^0$ term survives so $n=k$.
$$c_k = \frac{f^{(k)}(a)}{k!}$$
$$f(x) = \sum_{n=0}^{ \infty} \frac{f^{(n)}(a)}{n!} (x-a)^n$$
Exact value: it might not be possible to find an exact value. e.g. infinite series.
Convergence: that's a large topic, one method is to find the $x$ range such that the limit of consecutive terms tends to zero:
$$\lim_{n\to \infty} \frac{f^{(n+1)}(a) (x-a)}{f^{(n)}(a)(n+1)} \to 0$$