It has been a long time since I did QM, and I am getting stuck at the most basic stuff.
Assume I have a Hamiltonian: \begin{equation} H = \int_{-\pi}^\pi f(q) \left[\alpha^\dagger_q, \alpha_q \right]\text{d}q \end{equation} I am asked for to prove that the ground state energy of the system is: \begin{equation} E_0 = -\frac{N}{2\pi}\int_{-\pi}^\pi f(q) \text{d}q \end{equation}
My Work \begin{equation} E_0 = \left<0\right| H \left|0\right> \end{equation} \begin{equation} E_0 = \int_{-\pi}^\pi f(q) \left<0\right|2\alpha^\dagger_q \alpha_q - 1\left|0\right>\text{d}q \end{equation} \begin{equation} E_0 = -\int_{-\pi}^\pi f(q) \text{d}q \end{equation}
Is there something wrong with the way I am computing the ground state energy?