I am reading Nakahara Geometry, Topology, and Physics. In the section on fermionic harmonic oscillator, after some math, the partition function is given by $$\begin{aligned} Z(\beta) &=\mathrm{e}^{\beta \omega / 2} \lim _{N \rightarrow \infty} \prod_{k=-N / 4}^{N / 4}\left[\mathrm{i}(1-\varepsilon \omega) \frac{\pi(2 n-1)}{\beta}+\omega\right] \\ &=\mathrm{e}^{\beta \omega / 2} \mathrm{e}^{-\beta \omega / 2} \prod_{k=1}^{\infty}\left[\left(\frac{2 \pi(n-1 / 2)}{\beta}\right)^{2}+\omega^{2}\right] \\ &=\prod_{k=1}^{\infty}\left[\frac{\pi(2 k-1)}{\beta}\right]^{2} \prod_{n=1}^{\infty}\left[1+\left(\frac{\beta \omega}{\pi(2 n-1)}\right)^{2}\right], \end{aligned}$$ where $\varepsilon = \beta/N$. I don't understand how it goes from the first line to the second line.
References:
- M. Nakahara, Geometry, Topology and Physics, 2003; section 1.5.10 p. 69.