{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $p$ be a [[prime number|0SN0MAEKYX]], and let $f$ be a polynomial with integer coefficients, with derivative $f'$.\nLet $r$ be an integer such that $f(r) \\equiv 0 \\pmod p$ and $f'(r) \\not\\equiv 0 \\pmod p$.\nThen for each positive integer $k$ there is an integer $r_k$ with $r_k \\equiv r \\pmod p$ and $f(r_k) \\equiv 0 \\pmod{p^k}$.\nThis $r_k$ is unique modulo $p^k$.\n\n## Remarks\n\nThe proof gives the lifts step by step. If $f(r_k) \\equiv 0 \\pmod{p^k}$ and $t$ is an inverse of $f'(r)$ modulo $p$, then $r_{k+1} = r_k - t f(r_k)$ is a root modulo $p^{k+1}$.\nFor example, $3^2 \\equiv 2 \\pmod 7$ and $f'(3) = 6$ for $f = x^2 - 2$. The step gives $3 - 6 \\cdot 7 = -39 \\equiv 10 \\pmod{49}$, and $10^2 = 100 \\equiv 2 \\pmod{49}$.\nIn the language of $p$-adic numbers, a simple root modulo $p$ lifts to a unique root in the $p$-adic integers.\nThe lemma is the analogue of Newton's method for congruences.\n\n## History\n\nThe lemma is named after Kurt Hensel.\n\n## Explanations\n\n### L1 human\n\nA solution of a polynomial congruence modulo $p$ often gives solutions modulo $p^2$, $p^3$, and so on.\nThe condition $f'(r) \\not\\equiv 0 \\pmod p$ says that $r$ is a simple root modulo $p$.\nUnder this condition, each step of the lifting has exactly one answer.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A07"
    ],
    "name": "Hensel's lemma",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q1424496",
      "wikipedia": "Hensel's lemma"
    },
    "sources": [
      {
        "locator": "Lifting simple roots",
        "url": "https://en.wikipedia.org/wiki/Hensel%27s_lemma"
      }
    ],
    "tag": "010QVB71T2",
    "uses": [
      "0TPW25CBN6",
      "0SN0MAEKYX"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/010QVB71T2/",
  "links": [
    {
      "field": "uses",
      "target": "0TPW25CBN6"
    },
    {
      "field": "uses",
      "target": "0SN0MAEKYX"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/010QVB71T2.md",
  "msc": [
    "11A07"
  ],
  "name": "Hensel's lemma",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/010/010QVB71T2.md",
  "status": null,
  "tag": "010QVB71T2",
  "uri": "m2://010QVB71T2",
  "url": "https://math2.tamnd.com/wiki/hensels-lemma/",
  "writing": {
    "tag": "010QVB71T2",
    "kind": "statement",
    "level": "W1",
    "next": [
      {
        "what": "edge about out",
        "note": "the concepts that the statement is about",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge proves in",
        "note": "at least one proof node",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of or illustrates in",
        "note": "one example that shows the statement at work",
        "have": 0,
        "want": 1
      },
      {
        "what": "explanation L2",
        "have": 0,
        "want": 1
      }
    ]
  }
}
