{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $p$ be a [[prime number|01826KMG2H]].\nFor a nonzero rational number $x$, let $v_p(x)$ be its [[p-adic valuation|03HDF50VN4]], the integer $k$ with $x = p^k a / b$ for integers $a, b$ not divisible by $p$.\nThe *$p$-adic absolute value* is the map $\\abs{\\cdot}_p \\colon \\Q \\to \\R$ given by\n$$\\abs{x}_p = p^{-v_p(x)} \\text{ for } x \\neq 0, \\qquad \\abs{0}_p = 0.$$\n\n## Remarks\n\nIt is an [[absolute value|0FFXKTKKQC]] on $\\Q$ in the sense of fields:\n\n1. $\\abs{x}_p = 0$ exactly when $x = 0$;\n2. $\\abs{xy}_p = \\abs{x}_p \\abs{y}_p$;\n3. $\\abs{x + y}_p \\le \\max(\\abs{x}_p, \\abs{y}_p)$, which is stronger than the triangle inequality.\n\nExample: $\\abs{12}_2 = 2^{-2} = 1/4$ and $\\abs{3/8}_2 = 2^{3} = 8$.\nNon-example: the map $x \\mapsto p^{v_p(x)}$, without the minus sign, is not an absolute value.\nIndeed, it gives $1$ to both $p^2 - 1$ and $1$, but $p^2$ to their sum $p^2$, so the triangle inequality fails.\nProduct formula: for every nonzero rational $x$, $\\abs{x} \\prod_p \\abs{x}_p = 1$, where $\\abs{x}$ is the usual absolute value.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "WGN82TCEF2",
    "kind": "definition",
    "msc": [
      "12J25",
      "11S99"
    ],
    "name": "p-adic absolute value",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/P-adic_valuation"
      }
    ],
    "tag": "55J3D3SACQ",
    "uses": [
      "01826KMG2H",
      "03HDF50VN4",
      "0NCJ5WXN6Z",
      "0FFXKTKKQC"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/55J3D3SACQ/",
  "links": [
    {
      "field": "defines",
      "target": "WGN82TCEF2"
    },
    {
      "field": "uses",
      "target": "01826KMG2H"
    },
    {
      "field": "uses",
      "target": "03HDF50VN4"
    },
    {
      "field": "uses",
      "target": "0NCJ5WXN6Z"
    },
    {
      "field": "uses",
      "target": "0FFXKTKKQC"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/55J3D3SACQ.md",
  "msc": [
    "12J25",
    "11S99"
  ],
  "name": "p-adic absolute value",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/55J/55J3D3SACQ.md",
  "status": null,
  "tag": "55J3D3SACQ",
  "uri": "m2://55J3D3SACQ",
  "url": "https://math2.tamnd.com/wiki/p-adic-absolute-value-definition/",
  "writing": {
    "tag": "55J3D3SACQ",
    "kind": "definition",
    "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
      }
    ]
  }
}
