{
  "aliases": null,
  "backlinks": [
    {
      "field": "about",
      "target": "462AEY7MWF"
    },
    {
      "field": "about",
      "target": "5F76XA1ABC"
    },
    {
      "field": "about",
      "target": "7VMYC7MB3Q"
    },
    {
      "field": "about",
      "target": "9ZC177PVPC"
    },
    {
      "field": "about",
      "target": "E4FMVDQ2GR"
    },
    {
      "field": "about",
      "target": "NW1XQ95R5P"
    },
    {
      "field": "about",
      "target": "VM1C9D8MX9"
    },
    {
      "field": "uses",
      "target": "462AEY7MWF"
    },
    {
      "field": "uses",
      "target": "7VMYC7MB3Q"
    },
    {
      "field": "uses",
      "target": "9ZC177PVPC"
    },
    {
      "field": "defines",
      "target": "8JYC7S28JX"
    }
  ],
  "body": "\n## Summary\n\nA root-finding algorithm computes approximations of a zero of a function, that is, a point $x$ with $f(x) = 0$.\nMost such algorithms are iterative: they produce a sequence of points, or of shrinking intervals, that tends to a zero.\nBracketing methods such as the [[bisection method|7VMYC7MB3Q]] and [[regula falsi|462AEY7MWF]] keep a sign change and always converge for continuous $f$.\nOpen methods such as [[Newton's method|07EXVNF9VP]] and the [[secant method|9ZC177PVPC]] converge faster near a simple zero, but only from good starting points.\nMethods are compared by their [[rate of convergence|YWZQC5E54B]] and by the number of function evaluations per step.\n\n## Explanations\n\n### L1 human\n\nSolving an equation such as $x^3 = x + 1$ means finding where the function $f(x) = x^3 - x - 1$ is $0$.\nThere is no simple formula for most such equations, so one guesses and improves the guess step by step.\nFor this $f$, $f(1) = -1 \u003c 0$ and $f(2) = 5 \u003e 0$, so a zero lies between $1$ and $2$, and halving this interval repeatedly closes in on it, near $1.3247$.\nFaster methods use the slope of $f$ to jump close to the zero in a few steps.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65H05",
      "65H04"
    ],
    "name": "Root-finding algorithm",
    "same_as": {
      "wikidata": "Q1085860",
      "wikipedia": "Root-finding algorithm"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Root-finding_algorithm"
      }
    ],
    "tag": "TR4CNS5PMJ"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/TR4CNS5PMJ/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/TR4CNS5PMJ.md",
  "msc": [
    "65H05",
    "65H04"
  ],
  "name": "Root-finding algorithm",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/TR4/TR4CNS5PMJ.md",
  "status": null,
  "tag": "TR4CNS5PMJ",
  "uri": "m2://TR4CNS5PMJ",
  "url": "https://tamnd.github.io/math2/wiki/root-finding-algorithm/",
  "writing": {
    "tag": "TR4CNS5PMJ",
    "kind": "concept",
    "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
      }
    ]
  }
}
