{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0E70M92FE3"
    },
    {
      "field": "uses",
      "target": "0JXTQ392ZM"
    }
  ],
  "body": "\n## Definition\n\nLet $[a_0; a_1, a_2, \\dots]$ be a [[simple continued fraction|06XF7BCFFJ]].\nFor each $n$ such that $a_n$ exists, the $n$-th convergent is the rational number $\\dfrac{p_n}{q_n} = [a_0; a_1, \\dots, a_n]$.\nHere $p_n$ and $q_n$ are given by $p_{-2} = 0$, $p_{-1} = 1$, $q_{-2} = 1$, $q_{-1} = 0$ and\n$$p_n = a_n p_{n-1} + p_{n-2}, \\qquad q_n = a_n q_{n-1} + q_{n-2} \\quad (n \\ge 0).$$\n\n## Remarks\n\nThe recurrences give $p_n q_{n-1} - p_{n-1} q_n = (-1)^{n-1}$. So $\\gcd(p_n, q_n) = 1$, and the fraction $p_n / q_n$ is in lowest terms.\nFor $\\sqrt{2} = [1; 2, 2, \\dots]$, the convergents are $1, \\frac{3}{2}, \\frac{7}{5}, \\frac{17}{12}, \\frac{41}{29}, \\dots$.\nFor a general [[continued fraction|0BK6JBK58W]], the same recurrences hold with $p_n = b_n p_{n-1} + a_n p_{n-2}$ and $q_n = b_n q_{n-1} + a_n q_{n-2}$.\n\n## Explanations\n\n### L1 human\n\nThe convergents are the fractions that you get when you cut a continued fraction off after finitely many terms.\nThey approach the value of the continued fraction, alternately from below and from above.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0D474C7ES1",
    "kind": "definition",
    "msc": [
      "11A55"
    ],
    "name": "Convergents of a continued fraction",
    "sources": [
      {
        "locator": "Infinite continued fractions and convergents",
        "url": "https://en.wikipedia.org/wiki/Simple_continued_fraction"
      }
    ],
    "tag": "0SRWNR42BQ",
    "uses": [
      "06XF7BCFFJ"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0SRWNR42BQ/",
  "links": [
    {
      "field": "defines",
      "target": "0D474C7ES1"
    },
    {
      "field": "uses",
      "target": "06XF7BCFFJ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0SRWNR42BQ.md",
  "msc": [
    "11A55"
  ],
  "name": "Convergents of a continued fraction",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0SR/0SRWNR42BQ.md",
  "status": null,
  "tag": "0SRWNR42BQ",
  "uri": "m2://0SRWNR42BQ",
  "url": "https://math2.tamnd.com/wiki/convergents-of-a-continued-fraction-definition/",
  "writing": {
    "tag": "0SRWNR42BQ",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
