Infinite Product – Simplification in the Infinite Product Formula for Cosine

convergence-divergenceinfinite-product

I am looking for the mistake in the reasoning below, which I just cannot find.


A book has this nice proof of

$$\sin(x) = x\prod_{n=1}^\infty \left(1-\frac{x^2}{n^2\pi^2}\right)$$

Then the authors proceed to get an infinite product for $\cos(x)$ as

$$\cos(x) = \frac{\sin(2x)}{2\sin(x)} = \prod_{n=1}^\infty \left(1-\frac{4x^2}{(2n-1)^2\pi^2}\right)$$

As this part isn't elaborated, I guess the authors imply that we should just write down infinite products for $\sin(x)$ and $\sin(2x)$ and note that every $n$th element in $\sin(x)$ is also present in $\sin(2x)$ at $2n$, so only odd numbered elements will stay in $sin(2x)$ resulting in the formula.

Now, what gives me a hard time, is when I rewrite $\sin(x)$ as

$$\sin(x) = x\prod_{n=1}^\infty \left(\frac{n^2\pi^2-x^2}{n^2\pi^2}\right)$$

And then do the division

$$\cos(x) = \frac{2x\prod_{n=1}^\infty(\frac{n^2\pi^2-4x^2}{n^2\pi^2})}{2x\prod_{n=1}^\infty(\frac{n^2\pi^2-x^2}{n^2\pi^2})} = \prod_{n=1}^\infty\frac{n^2\pi^2-4x^2}{n^2\pi^2-x^2}$$

and as the following sets {$n, n=1,2,…$} and {$2n, n=1,2,…$} are both countable then there is a bijective transformation from one set to another, meaning that again every $n$th element in the denominator corresponds to $2n$th element (this time multiplied by $4$) in the numerator and we will be left with

$$\prod_{n=1}^\infty[4((2n-1)^2\pi^2-4x)]$$

which (obviously) diverges.


I really cannot figure out the place where I made the mistake or maybe I used an illegal operation at some point, but as of this moment everything seems fine to me. I have thought maybe I somehow reordered the product, but in this case it converges absolutely, so reordering shouldn't change the limit. I also thought maybe I was wrong about infinite fraction reduction, but then again, seems like the authors use the same technique, also it doesn't contradict any law known to me. At this point I've become a bit paranoid about every operation used in the process, so please forgive me for possible stupid thoughts. Would be much appreciated if somebody pointed out the mistake.

Best Answer

You are considering a convergent product $$p=\prod_{n=1}^\infty\frac{x_n}{y_n}$$ such that, for every $n$, $$x_{2n}=4y_n\tag{$\ast$}$$ Can we use $(\ast)$ to get another formula for $p$? Well, not so easily...

To see why, let us remember that $p$ is defined as the limit of $$p_k=\prod_{n=1}^k\frac{x_n}{y_n}$$ when $k\to\infty$. Now, considering the even indices to simplify the notations and using $(\ast)$, one has $$p_{2k}=\prod_{n=1}^k\left(x_{2n-1}x_{2n}\right)\prod_{n=1}^{2k}\frac1{y_n}=\prod_{n=1}^k\left(x_{2n-1}(4y_{n})\right)\prod_{n=1}^{2k}\frac1{y_n}=\prod_{n=1}^k\left(4x_{2n-1}\right)\prod_{n=k+1}^{2k}\frac1{y_n}$$ hence the simplification you suggest is equivalent to omitting the products $$\prod_{n=k+1}^{2k}\frac1{y_n}$$ Since, in the present case, these products do not converge to $1$ (by far...), forgetting them is illicit.