{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mu, \\nu \\in \\C$ be such that neither $\\mu + \\nu$ nor $\\mu - \\nu$ is a negative odd integer, and let $z \\in \\C \\setminus (-\\infty, 0]$ with the principal branch of powers.\nThe *Lommel function* $s_{\\mu,\\nu}$ is\n$$s_{\\mu,\\nu}(z) = \\sum_{k=0}^{\\infty} \\frac{(-1)^k\\, z^{\\mu + 1 + 2k}}{\\prod_{j=0}^{k} \\left( (\\mu + 2j + 1)^2 - \\nu^2 \\right)}.$$\n\n## Remarks\n\nThe hypothesis on $\\mu \\pm \\nu$ says exactly that no factor $(\\mu + 2j + 1)^2 - \\nu^2$ vanishes.\nThe function $s_{\\mu,\\nu}$ is a particular solution of\n$$z^2 w'' + z w' + (z^2 - \\nu^2)\\, w = z^{\\mu + 1}.$$\nCheck: the operator $w \\mapsto z^2 w'' + z w' - \\nu^2 w$ multiplies $z^p$ by $p^2 - \\nu^2$, and $z^2 w$ shifts each term up by two powers.\nSo the coefficients $c_k$ of $z^{\\mu + 1 + 2k}$ must satisfy $\\left( (\\mu + 1)^2 - \\nu^2 \\right) c_0 = 1$ and $\\left( (\\mu + 2k + 1)^2 - \\nu^2 \\right) c_k = -c_{k-1}$, which the series does.\nExample: for $\\mu = 1$ and $\\nu = 0$ the first factor is $4$, so $s_{1,0}$ starts with $\\frac{z^2}{4}$.\nIn fact $s_{1,0}$ is $1 - J_0(z)$, where $J_0$ is the [[Bessel function of the first kind|CZCMRDWDYW]].\nA non-example: for $\\mu = -2$ and $\\nu = 1$ one has $\\mu + \\nu = -1$, so the factor with $j = 0$ is $(-2 + 1)^2 - 1 = 0$ and $s_{-2,1}$ is not defined by the series.\nThe second Lommel function $S_{\\mu,\\nu}$ is obtained from $s_{\\mu,\\nu}$ by adding a suitable combination of $J_\\nu$ and $Y_\\nu$ so that it has a simple asymptotic expansion at infinity.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "YJ1JWF6ZDG",
    "kind": "definition",
    "msc": [
      "33C10"
    ],
    "name": "Lommel function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Lommel_function"
      }
    ],
    "tag": "QEFSJXTCZA",
    "uses": [
      "CZCMRDWDYW"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/QEFSJXTCZA/",
  "links": [
    {
      "field": "defines",
      "target": "YJ1JWF6ZDG"
    },
    {
      "field": "uses",
      "target": "CZCMRDWDYW"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/QEFSJXTCZA.md",
  "msc": [
    "33C10"
  ],
  "name": "Lommel function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/QEF/QEFSJXTCZA.md",
  "status": null,
  "tag": "QEFSJXTCZA",
  "uri": "m2://QEFSJXTCZA",
  "url": "https://tamnd.github.io/math2/wiki/lommel-function-definition/",
  "writing": {
    "tag": "QEFSJXTCZA",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
