I am trying to revise for my analysis exam and am struggling to understand how to express $\cos(z-1)$ as the sum of a power series of the form:
$$\sum_{n\ge0} a_n(z-a)^n.$$
I think it's a pretty basic question I'm just unclear on the answer.
thanks.
I am trying to revise for my analysis exam and am struggling to understand how to express $\cos(z-1)$ as the sum of a power series of the form:
$$\sum_{n\ge0} a_n(z-a)^n.$$
I think it's a pretty basic question I'm just unclear on the answer.
thanks.
Use $\cos(z-1)=\cos((z-a)+(a-1))=\cos(z-a)\cos(a-1)-\sin(z-a)\sin(a-1)$, so $$ \cos(z-1)=\cos(a-1)\sum_{n=0}^{\infty}\frac{(-1)^n(z-a)^{2n}}{(2n!)}- \sin(a-1)\sum_{n=0}^{\infty}\frac{(-1)^n(z-a)^{2n+1}}{(2n+1)!} $$
You know that
$$\cos(z)=\sum_{n=0}^\infty \frac{(-1)^n}{(2n)!} z^{2n}$$
since for instance
$$e^z=\cos(z)+i\sin(z)$$
and
$$e^z=\sum_{n=0}^\infty \frac{1}{n!} z^{n}.$$
So now just do "$z\to z-1$".
$$\cos(z-1)={\bf Re}(e^{i(z-1)})={\bf Re}\left(e^{-i}\sum_{n=0}^\infty\frac{(iz)^n}{n!}\right)=\sum_{n=0}^\infty\frac{{\bf Re}(e^{-i}i^nz^n)}{n!}$$