The need for both a positive and negative spectrum in the definition is why the spectral asymmetry usually occurs in the study of Dirac operators.
Example
As an example, consider an operator with a spectrum
where n is an integer, ranging over all positive and negative values. One may show in a straightforward manner that in this case obeys for any integer , and that for we have . The graph of is therefore a periodic sawtooth curve.
Discussion
Related to the spectral asymmetry is the vacuum expectation value of the energy associated with the operator, the Casimir energy, which is given by
This sum is formally divergent, and the divergences must be accounted for and removed using standard regularization techniques.
References
MF Atiyah, VK Patodi and IM Singer, Spectral asymmetry and Riemannian geometry I, Proc. Camb. Phil. Soc., 77 (1975), 43-69.
Linas Vepstas, A.D. Jackson, A.S. Goldhaber, Two-phase models of baryons and the chiral Casimir effect, Physics Letters B140 (1984) p. 280-284.
Linas Vepstas, A.D. Jackson, Justifying the Chiral Bag, Physics Reports, 187 (1990) p. 109-143.