Cosecant 2026-10-05
The cosecant is , wherever the sine denominator is nonzero. The square of the cosecant occurs in the derivative of the cotangent.
For , integrate around large squares whose sides have half-integer coordinates. The cotangent is uniformly bounded on these sides and the integral tends to zero. The residue theorem gives residues at the integers and at , proving the identity. For , the geometric-series formula for the cotangent also gives .
The displayed definition uses iterated Eisenstein summation in weight two: the sum in is evaluated before the sum in , with the single term omitted. This order is essential. The two-dimensional lattice series does not have absolute convergence, so arbitrary rearrangement would not be justified.
For noninteger , the cosecant partial-fraction identity is
For completeness, apply the residue theorem to on squares with large half-integer sides. The cotangent is bounded on the contours and the integral is . Its residues at the integers are and its residue at is , proving the formula. If , the geometric-series expression , differentiated termwise, gives the cotangent partial-fraction Fourier kernel
Put with in the complex upper half-plane. For positive , this gives . Negative gives the same value, by replacing with in its inner sum. The row is , by the Basel problem. The resulting series in does have absolute convergence, locally uniformly in , so collecting the coefficient at is legitimate:
The coefficient is the sum-of-divisors function, since runs over the positive divisors of . Thus
There is no conflict with vanishing of weight-two level-one modular forms: the Eisenstein series of weight two has an anomalous transformation term, so it is not a weight-two modular form.