# Real Analysis/Power Series

Please contribute to this section, it has been neglected. I have made a start, but it is not finished.

## Definition

We have already encountered series. A power series is a series of the form

${\displaystyle f(x)=\sum _{n=0}^{\infty }a_{n}x^{n}}$ where ${\displaystyle a_{n}\in \mathbb {R} \ \forall n\in \mathbb {N} }$.

${\displaystyle f}$ can also be seen as a real valued function. One of the first questions we will attempt to answer in this section is for which values of ${\displaystyle x}$ is ${\displaystyle f}$ is convergent.

## Convergence

We can use the root test here. We can see that

${\displaystyle \limsup _{n\to \infty }{\left\vert a_{n}x^{n}\right\vert }^{1/n}=\vert x\vert \limsup _{n\to \infty }{\left\vert a_{n}\right\vert }^{1/n}=\vert x\vert R}$

from before, so we see that there is a radius ${\displaystyle r=1/R}$ such that ${\displaystyle f}$ converges for ${\displaystyle \vert x\vert and diverges for ${\displaystyle \vert x\vert >r}$. This radius has a special significance in Complex analysis, but we will not be concerned with that here.

## Differentiability

We can see by the root test that if ${\displaystyle \sum _{n=0}^{\infty }a_{n}x^{n}}$ is convergent, then ${\displaystyle \sum _{n=0}^{\infty }(n+1)a_{n+1}x^{n}}$ is convergent, as ${\displaystyle \limsup _{n\to \infty }\vert (n+1)a_{n+1}\vert ^{1/n}=\limsup _{n\to \infty }\vert a_{n}\vert ^{1/n}}$, since ${\displaystyle \lim _{n\to \infty }(n+1)^{1/n}=1}$, so this power series has the same radius of convergence as the original power series. Intuitively, we would guess that this was the derivative of it, but that requires proof. We look at the newton quotient:

${\displaystyle f^{\prime }(x)=\lim _{h\to 0}{\frac {\sum _{n=0}^{\infty }a_{n}(x+h)^{n}-\sum _{n=0}^{\infty }a_{n}x^{n}}{h}}}$

${\displaystyle f^{\prime }(x)=\lim _{h\to 0}{\frac {\sum _{n=0}^{\infty }a_{n}(x+h)^{n}-a_{n}x^{n}}{h}}}$

${\displaystyle f^{\prime }(x)=\lim _{h\to 0}{\frac {\sum _{n=0}^{\infty }a_{n}(x^{n}+nhx^{n-1}+o(h^{2})-x^{n})}{h}}}$

${\displaystyle f^{\prime }(x)=\sum _{n=0}^{\infty }na_{n}x^{n}-1=\sum _{n=0}^{\infty }(n+1)a_{n+1}x^{n}}$

## Taylor Series

One use of power series is to approximate functions. We can see that ${\displaystyle f(0)=a_{0}}$, so if a power series ${\displaystyle f}$ is a good approximation for ${\displaystyle g}$, then ${\displaystyle a_{0}=g(0)}$.

We can also see from [[#Differentiability|]] that we need ${\displaystyle 1.f^{\prime }(0)=a_{1}}$, and that ${\displaystyle 2.f^{\prime \prime }(0)=a_{2}}$, and by induction that ${\displaystyle n!.f^{(n)}(0)=a_{n}}$, so we define the Taylor series of ${\displaystyle f}$ as

${\displaystyle \sum _{n=0}^{\infty }{\frac {f^{(n)}(0)}{n!}}x^{n}}$

By translation, we can also approximate ${\displaystyle f}$ by

${\displaystyle \sum _{n=0}^{\infty }{\frac {f^{(n)}(t)}{n!}}(x-t)^{n}}$

To do this, we of course require that ${\displaystyle f}$ is differentiable an infinite number of times at o or t.