Quasimodular form (source code)

= Quasimodular form

A <quasimodular form> is a holomorphic <function> on the <upper half-plane> whose transformation under a modular substitution differs from the <modular form> law by a <polynomial> correction in $c/(c\tau+d)$, together with suitable growth conditions at cusps. The correction has finite degree, called the depth; depth zero gives an ordinary <modular form>.

The basic example is $E_2(\tau)=1-24\sum_{n\ge1}\sigma_1(n)q^n$, with $q=e^{2\pi i\tau}$. It obeys
$$
E_2\left(\frac{a\tau+b}{c\tau+d}\right)=(c\tau+d)^2E_2(\tau)+\frac{6c}{\pi i}(c\tau+d)
$$
for $\left(\begin{smallmatrix}a&b\\c&d\end{smallmatrix}\right)\in\operatorname{SL}_2(\mathbb Z)$. The extra term is why it is quasimodular rather than modular. Quasimodular forms accommodate derivatives of <modular forms>, whose chain rule introduces precisely this kind of correction.