{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\operatorname{erf}$ be the [[error function|7Y56QCZSZJ]].\nThe *complementary error function* is the function $\\operatorname{erfc} \\colon \\R \\to \\R$ given by\n$$\\operatorname{erfc} x = 1 - \\operatorname{erf} x.$$\n\n## Remarks\n\nSince $\\frac{2}{\\sqrt{\\pi}} \\int_0^\\infty e^{-t^2}\\, dt = 1$, the definition is equivalent to\n$$\\operatorname{erfc} x = \\frac{2}{\\sqrt{\\pi}} \\int_x^\\infty e^{-t^2}\\, dt.$$\n\nExample: $\\operatorname{erfc} 0 = 1$, and $\\operatorname{erfc}(-x) = 2 - \\operatorname{erfc} x$ because $\\operatorname{erf}$ is odd.\n\nNon-example: $x \\mapsto 1 + \\operatorname{erf} x$ is not $\\operatorname{erfc}$; it tends to $2$ rather than $0$ as $x \\to \\infty$.\n\nFor large $x \u003e 0$, $\\operatorname{erfc} x \\sim \\frac{e^{-x^2}}{x\\sqrt{\\pi}}$.\nThe definition extends to complex $z$ by $\\operatorname{erfc} z = 1 - \\operatorname{erf} z$, which is an entire function.\nThe scaled function $e^{x^2} \\operatorname{erfc} x$ is often used in numerical work.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "TZ3CT1YA9B",
    "kind": "definition",
    "msc": [
      "33B20"
    ],
    "name": "Complementary error function",
    "sources": [
      {
        "locator": "Complementary error function",
        "url": "https://en.wikipedia.org/wiki/Error_function"
      }
    ],
    "tag": "ZGYA090JP2",
    "uses": [
      "7Y56QCZSZJ"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/ZGYA090JP2/",
  "links": [
    {
      "field": "defines",
      "target": "TZ3CT1YA9B"
    },
    {
      "field": "uses",
      "target": "7Y56QCZSZJ"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/ZGYA090JP2.md",
  "msc": [
    "33B20"
  ],
  "name": "Complementary error function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ZGY/ZGYA090JP2.md",
  "status": null,
  "tag": "ZGYA090JP2",
  "uri": "m2://ZGYA090JP2",
  "url": "https://tamnd.github.io/math2/wiki/complementary-error-function-definition/",
  "writing": {
    "tag": "ZGYA090JP2",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
