{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "FEZ2HAFZTM"
    }
  ],
  "body": "\n## Summary\n\nRamanujan's general theta function is $f(a, b) = \\sum_{n \\in \\Z} a^{n(n+1)/2} b^{n(n-1)/2}$ for complex $a, b$ with $\\abs{ab} \u003c 1$.\nIt is a two-variable form of the Jacobi [[theta function|2F5CYQJVAF]], symmetric in $a$ and $b$.\nBy the [[Jacobi triple product|JFP2DGMNXT]] it is an infinite product.\nIts special cases $\\varphi(q)$, $\\psi(q)$ and $f(-q)$ are the theta functions that Ramanujan used for partitions and modular equations.\n\n## Explanations\n\n### L1 human\n\nThe function $f(a, b)$ is a sum over all integers $n$, where positive $n$ mostly use powers of $a$ and negative $n$ mostly use powers of $b$.\nChoosing $a$ and $b$ as powers of one variable $q$ gives famous series.\nFor example, $f(q, q) = \\sum_{n \\in \\Z} q^{n^2} = 1 + 2q + 2q^4 + 2q^9 + \\cdots$, where each square $n^2 \u003e 0$ appears twice, once for $n$ and once for $-n$.\nIts square counts the ways to write a number as a sum of two squares.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "11F27",
      "33D15"
    ],
    "name": "Ramanujan theta function",
    "same_as": {
      "wikidata": "Q2630765",
      "wikipedia": "Ramanujan theta function"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Ramanujan_theta_function"
      }
    ],
    "specializes": [
      "2F5CYQJVAF"
    ],
    "tag": "1CBZA8MQJW"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/1CBZA8MQJW/",
  "links": [
    {
      "field": "specializes",
      "target": "2F5CYQJVAF"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/1CBZA8MQJW.md",
  "msc": [
    "11F27",
    "33D15"
  ],
  "name": "Ramanujan theta function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/1CB/1CBZA8MQJW.md",
  "status": null,
  "tag": "1CBZA8MQJW",
  "uri": "m2://1CBZA8MQJW",
  "url": "https://tamnd.github.io/math2/wiki/ramanujan-theta-function/",
  "writing": {
    "tag": "1CBZA8MQJW",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
