{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $a, b \\in \\C \\setminus \\set{0}$ with $\\abs{ab} \u003c 1$.\n*Ramanujan's general theta function* is\n$$f(a, b) = \\sum_{n=-\\infty}^{\\infty} a^{n(n+1)/2}\\, b^{n(n-1)/2}.$$\nIts standard special cases, for $q \\in \\C$ with $\\abs{q} \u003c 1$, are\n$$\\varphi(q) = f(q, q), \\qquad \\psi(q) = f(q, q^3), \\qquad f(-q) = f(-q, -q^2).$$\n\n## Remarks\n\nThe series converges absolutely: for $n \\ge 0$ the term is $(ab)^{n(n-1)/2} a^n$, and for $n \u003c 0$ it is $(ab)^{m(m-1)/2} b^{m}$ with $m = -n$, so the terms decay like $\\abs{ab}^{n^2/2}$.\nReplacing $n$ by $-n$ shows $f(a, b) = f(b, a)$.\nThe [[Jacobi triple product|JFP2DGMNXT]] gives $f(a, b) = (-a; ab)_\\infty\\, (-b; ab)_\\infty\\, (ab; ab)_\\infty$ with the [[q-Pochhammer symbol|Y1X8ZZQ7VM]].\n\nExample: $\\psi(q) = \\sum_{n \\in \\Z} q^{n(n+1)/2 + 3n(n-1)/2} = \\sum_{n \\in \\Z} q^{2n^2 - n}$.\nThe exponents for $n = 0, 1, -1, 2, -2, \\dots$ are $0, 1, 3, 6, 10, \\dots$, the triangular numbers, each once, so $\\psi(q) = \\sum_{k \\ge 0} q^{k(k+1)/2}$.\nAlso $f(-q) = \\sum_{n \\in \\Z} (-1)^n q^{n(3n-1)/2} = (q; q)_\\infty$, by [[Euler's pentagonal number theorem|R587SR9GNV]].\n\nNon-example: $f(a, b)$ is not defined for $a = b = 1$, since $\\abs{ab} = 1$ and the series $\\sum_{n \\in \\Z} 1$ diverges.\n\nIn the notation of the Jacobi theta function, $f(q e^{2iz}, q e^{-2iz}) = \\vartheta_3(z, q)$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "1CBZA8MQJW",
    "kind": "definition",
    "msc": [
      "11F27",
      "33D15"
    ],
    "name": "Ramanujan theta function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Ramanujan_theta_function"
      }
    ],
    "tag": "FEZ2HAFZTM",
    "uses": [
      "09FTAET5Z4",
      "Y1X8ZZQ7VM"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/FEZ2HAFZTM/",
  "links": [
    {
      "field": "defines",
      "target": "1CBZA8MQJW"
    },
    {
      "field": "uses",
      "target": "09FTAET5Z4"
    },
    {
      "field": "uses",
      "target": "Y1X8ZZQ7VM"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/FEZ2HAFZTM.md",
  "msc": [
    "11F27",
    "33D15"
  ],
  "name": "Ramanujan theta function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/FEZ/FEZ2HAFZTM.md",
  "status": null,
  "tag": "FEZ2HAFZTM",
  "uri": "m2://FEZ2HAFZTM",
  "url": "https://tamnd.github.io/math2/wiki/ramanujan-theta-function-definition/",
  "writing": {
    "tag": "FEZ2HAFZTM",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
