The modular invariants and of an elliptic curve are given by the first two Eisenstein series: .
The article on modular invariants provides expressions for these two functions in terms of theta functions.