{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $p$ be a [[prime number|01826KMG2H]] and let $\\abs{\\cdot}_p$ be the [[p-adic absolute value|WGN82TCEF2]] on the [[rational numbers|0NCJ5WXN6Z]] $\\Q$.\nThe field $\\Q_p$ of *$p$-adic numbers* is the [[completion|06RW4RKWH7]] of $\\Q$ for the metric $d(x, y) = \\abs{x - y}_p$.\nA $p$-adic number is an element of $\\Q_p$.\nThe field operations and the absolute value $\\abs{\\cdot}_p$ extend from $\\Q$ to $\\Q_p$ by continuity.\n\n## Remarks\n\nEvery $x \\in \\Q_p$ with $x \\neq 0$ has a unique expansion $x = \\sum_{n \\ge m} a_n p^n$ with $m \\in \\Z$, digits $a_n \\in \\set{0, 1, \\ldots, p - 1}$ and $a_m \\neq 0$.\nThen $\\abs{x}_p = p^{-m}$.\nExample: $-1 = \\sum_{n \\ge 0} (p - 1) p^n$ in $\\Q_p$.\nCheck: the partial sum up to $p^{N-1}$ is $p^N - 1$, and $\\abs{(p^N - 1) - (-1)}_p = p^{-N}$ tends to $0$.\nNon-example: the formal sum $\\sum_{n \\ge 0} p^{-n}$ is not a $p$-adic number, because its terms have $\\abs{p^{-n}}_p = p^n$ and do not tend to $0$.\nThe elements with $\\abs{x}_p \\le 1$ are the [[p-adic integers|V6TJAFZ4MD]] $\\Z_p$.\nBy [[Ostrowski's theorem|GCQ23XT6VD]], the completions of $\\Q$ are $\\R$ and the fields $\\Q_p$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "BT6T702C28",
    "kind": "definition",
    "msc": [
      "12J25",
      "11S99"
    ],
    "name": "p-adic number",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/P-adic_number"
      }
    ],
    "tag": "CHT5JYM6QW",
    "uses": [
      "01826KMG2H",
      "WGN82TCEF2",
      "06RW4RKWH7",
      "0NCJ5WXN6Z",
      "04C5ZBG1WT"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/CHT5JYM6QW/",
  "links": [
    {
      "field": "defines",
      "target": "BT6T702C28"
    },
    {
      "field": "uses",
      "target": "01826KMG2H"
    },
    {
      "field": "uses",
      "target": "WGN82TCEF2"
    },
    {
      "field": "uses",
      "target": "06RW4RKWH7"
    },
    {
      "field": "uses",
      "target": "0NCJ5WXN6Z"
    },
    {
      "field": "uses",
      "target": "04C5ZBG1WT"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/CHT5JYM6QW.md",
  "msc": [
    "12J25",
    "11S99"
  ],
  "name": "p-adic number",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/CHT/CHT5JYM6QW.md",
  "status": null,
  "tag": "CHT5JYM6QW",
  "uri": "m2://CHT5JYM6QW",
  "url": "https://math2.tamnd.com/wiki/p-adic-number-definition/",
  "writing": {
    "tag": "CHT5JYM6QW",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
