I understand how to find the MacLaurin series for $\sin(x)$. $$\sum_{n=1}^\infty \frac{x^{2n-1}\cdot\!(-1)^{n-1}}{(2n-1)!}$$ Now I am trying to find the MacLaurin series for $\cos(x)$ by taking the derivative of the above sum with respect to $x$. Using power rule, I got the following series: $$\cos(x) = \sum_{n=1}^\infty \frac{x^{2n-2}\cdot\!\mathrm{(-1)}^{n-1}}{(2n-2)!}$$
However, the MacLaurin series is: $$\cos(x) = \sum_{n=0}^\infty \frac{x^{2n}\cdot\!\mathrm{(-1)}^{n}}{(2n)!}$$ How are these two $\cos(x)$ MacLaurin series equal? What makes the second one more correct than the series I got by taking the derivative of the $\sin(x)$ series.
A sort of related question: if you choose to start at $n=1$ vs $n=0$, how would you change the terms of the $\sin(x)$ Maclaurin series?
You got twice the same series. Both$$\sum_{n=0}^\infty \frac{x^{2n}\cdot\!\mathrm{(-1)}^{n}}{(2n)!}\text{ and }\sum_{n=1}^\infty \frac{x ^{2n-2}\cdot\!\mathrm{(-1)}^{n-1}}{(2n-2)!}$$are equal to$$1-\frac{x^2}{2!}+\frac{x^4}{4!}-\frac{x^6}{6!}+\cdots$$