I am currently studying affine Lie algebras and the WZW coset construction. I have a minor technical problem in calculating the (specialized) character of $\widehat{\mathfrak{su}}(2)_k$ for an affine weight $\hat{\lambda} = [k-\lambda_1,\lambda_1]$. Given the generalized theta function $$\Theta_{\lambda_1}^{(k)}(z,\tau) = \sum_{n\in\mathbb Z}e^{-2\pi i\left[knz+\frac 12\lambda_1 z-kn^2\tau-n\lambda_1\tau- \lambda_1^2\tau/4k\right]}$$ I want to evaluate $$\chi^{(k)}_{\lambda_1} = \frac{\Theta^{(k+2)}_{\lambda_1+1} - \Theta^{(k+2)}_{-\lambda_1-1}}{\Theta^{(2)}_1 - \Theta^{(2)}_{-1}}$$ at $z=0$. Putting $z=0$ directly, both the numerator and denomerator vanish (since there is no difference between $\lambda_1$ and $-\lambda_1$ due to the sum). So my question is; what is the appropriate way to take the limit $z\rightarrow 0$? [This is from Di Francesco et al, section 14.4.2, page 585]. The result should be $$\chi^{(k)}_{\lambda_1} = q^{(\lambda_1+1)^2/4(k+2)-\frac 18}\frac{\sum_{n\in\mathbb Z}\left[\lambda_1 + 1 + 2n(k+2)\right]q^{n[\lambda_1+1+2(k+2)n]}}{\sum_{n\in\mathbb Z}\left[1+4n\right]q^{n[1+2n]}}$$ where $q=e^{2\pi i\tau}$.

Since I fear the solution to my question is rather trivial, I have a bonus question. Do you know any paper which works out the details for the coset $$\frac{\widehat{\mathfrak{su}}(N)_k\oplus \widehat{\mathfrak{su}}(N)_1}{\widehat{\mathfrak{su}}(N)_{k+1}}$$ for arbitrary $N$? I am thinking about something like what Di Francesco et al. does in section 18.3 for $N=2$. It would be nice if the reference relates this to $\mathcal W$-algebras.

This post has been migrated from (A51.SE)