For the thermal state :
For the pure state :
By mathematical induction, you can prove:
In the textbook (p.57), the critical value is written as . I guess the last is a typo.
I'm not sure what's the explicit representation of the root squrare of the ladder operators...