{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $x$ be a real number with $x \\ge 0$.\nThen $x$ has a [[decimal expansion|06XY4X9430]]: there are a natural number $a_0$ and digits $d_k \\in \\{0, \\dots, 9\\}$ for $k \\ge 1$ with $x = a_0 + \\sum_{k=1}^{\\infty} d_k 10^{-k}$.\n\n## Remarks\n\nOne choice is $a_0 = \\lfloor x \\rfloor$ and $d_k = \\lfloor 10^k x \\rfloor - 10 \\lfloor 10^{k-1} x \\rfloor$, with the [[floor function|0YVRNEDSVG]].\nWith this choice, the truncation $a_0.d_1 \\dots d_k$ satisfies $0 \\le x - a_0.d_1 \\dots d_k \u003c 10^{-k}$.\nThe expansion is unique, except for the numbers with a finite expansion. They also have a second expansion that ends in infinitely many $9$.\n\n## Explanations\n\n### L1 human\n\nYou can find the digits of a number one at a time.\nAt each step, you choose the largest digit that keeps the truncated decimal at or below the number.\nThe truncations then get closer to the number by a factor of ten at each step.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "11A63"
    ],
    "name": "Every real number has a decimal expansion",
    "role": "theorem",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Decimal_representation"
      },
      {
        "locator": "Finite decimal approximations",
        "url": "https://en.wikipedia.org/wiki/Decimal_representation"
      }
    ],
    "tag": "047KEVEZ9Q",
    "uses": [
      "06XY4X9430",
      "0YVRNEDSVG",
      "0AXWET80YW"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/047KEVEZ9Q/",
  "links": [
    {
      "field": "uses",
      "target": "06XY4X9430"
    },
    {
      "field": "uses",
      "target": "0YVRNEDSVG"
    },
    {
      "field": "uses",
      "target": "0AXWET80YW"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/047KEVEZ9Q.md",
  "msc": [
    "11A63"
  ],
  "name": "Every real number has a decimal expansion",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/047/047KEVEZ9Q.md",
  "status": null,
  "tag": "047KEVEZ9Q",
  "uri": "m2://047KEVEZ9Q",
  "url": "https://math2.tamnd.com/wiki/every-real-number-has-a-decimal-expansion/",
  "writing": {
    "tag": "047KEVEZ9Q",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
