{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $c \u003e 0$ and let $y \\in \\C$ with $\\operatorname{Re} y \u003e 0$.\nLet $y^{-s} = e^{-s \\log y}$, with the principal branch of $\\log y$.\nThen\n$$e^{-y} = \\frac{1}{2\\pi i} \\int_{c - i\\infty}^{c + i\\infty} \\Gamma(s) \\, y^{-s} \\, ds,$$\nwhere $\\Gamma$ is the [[gamma function|0H5SYBSED9]] and the integral converges absolutely.\n\n## Remarks\n\nFor real $y \u003e 0$ this is the [[inverse Mellin transform|CHESR1W1CY]] of $\\Gamma = \\mathcal{M}[e^{-x}]$, so it follows from the Mellin inversion theorem.\nFor complex $y$, put $\\abs{\\arg y} = \\theta \u003c \\pi/2$; then $\\abs{y^{-c - it}} = \\abs{y}^{-c} e^{t \\arg y} \\le \\abs{y}^{-c} e^{\\theta \\abs{t}}$, while $\\abs{\\Gamma(c + it)}$ decays like $\\abs{t}^{c - 1/2} e^{-\\pi \\abs{t}/2}$ by Stirling's formula.\nSo the integral converges absolutely and locally uniformly, it is holomorphic in $y$, and the identity extends from $y \u003e 0$ by the identity theorem.\nA direct proof moves the line of integration to the left: by the [[residue theorem|032HKYS329]], the poles of $\\Gamma$ at $s = -k$ with residues $(-1)^k / k!$ give $\\sum_{k \\ge 0} (-1)^k y^k / k! = e^{-y}$.\nThe hypothesis $c \u003e 0$ is needed: for $-1 \u003c c \u003c 0$ the line passes to the left of the pole at $0$, and the integral equals $e^{-y} - 1$.\n\n## Explanations\n\n### L1 human\n\nThe exponential function $e^{-y}$ can be written as an integral of powers $y^{-s}$ against the gamma function along a vertical line.\nIt is the inverse of the fact that the gamma function is the Mellin transform of $e^{-x}$.\n\n### L2 human\n\nThis integral is the prototype of [[Mellin–Barnes integrals|1PDGBGEHM2]] and of the method of shifting contours.\nIn analytic number theory it is applied to $y = n x$ and summed over $n$: the sum $\\sum_n a(n) e^{-n x}$ then becomes $\\frac{1}{2\\pi i} \\int \\Gamma(s) F(s) x^{-s} \\, ds$ with $F$ the Dirichlet series of the $a(n)$.\nShifting the line past the poles of $\\Gamma(s) F(s)$ gives asymptotic expansions of the exponential sum as $x \\to 0^+$.\nIt is the smooth counterpart of Perron's formula, which uses the kernel $x^{s}/s$ instead of $\\Gamma(s) x^{-s}$ and has worse convergence.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "0H5SYBSED9",
      "CHESR1W1CY"
    ],
    "kind": "statement",
    "msc": [
      "44A15",
      "33B15",
      "30E20"
    ],
    "name": "Cahen–Mellin integral",
    "role": "proposition",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Mellin_transform"
      }
    ],
    "tag": "9C8SS4522J",
    "uses": [
      "0H5SYBSED9",
      "CHESR1W1CY",
      "0RNGDMHT7M"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/9C8SS4522J/",
  "links": [
    {
      "field": "about",
      "target": "0H5SYBSED9"
    },
    {
      "field": "about",
      "target": "CHESR1W1CY"
    },
    {
      "field": "uses",
      "target": "0H5SYBSED9"
    },
    {
      "field": "uses",
      "target": "CHESR1W1CY"
    },
    {
      "field": "uses",
      "target": "0RNGDMHT7M"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/9C8SS4522J.md",
  "msc": [
    "44A15",
    "33B15",
    "30E20"
  ],
  "name": "Cahen–Mellin integral",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/9C8/9C8SS4522J.md",
  "status": null,
  "tag": "9C8SS4522J",
  "uri": "m2://9C8SS4522J",
  "url": "https://tamnd.github.io/math2/wiki/cahen-mellin-integral/",
  "writing": {
    "tag": "9C8SS4522J",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
