{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\n1. Let $x$ and $y$ be real numbers with $x \u003c y$.\n2. By the [[existence of square roots|068BZBXE0C]], there is a real $s \\ge 0$ with $s^2 = 2$. Since $s^2 \\ne 0$, we have $s \\ne 0$, so $s \u003e 0$.\n3. The number $s$ is irrational, by the [[irrationality of the square root of 2|0DZGSDHD92]].\n4. Dividing by $s \u003e 0$ keeps the order in the [[ordered field|0QSPNASE50]] $\\R$. So $x/s \u003c y/s$.\n5. By the [[density of the rationals|0STX0WRDNG]], there is a rational $q_1$ with $x/s \u003c q_1 \u003c y/s$. Again by density, there is a rational $q_2$ with $q_1 \u003c q_2 \u003c y/s$.\n6. Since $q_1 \\ne q_2$, at least one of them is nonzero. Call it $q$. Then $q$ is rational, $q \\ne 0$ and $x/s \u003c q \u003c y/s$.\n7. Multiply by $s \u003e 0$: $x \u003c q s \u003c y$. Let $z = q s$.\n8. Suppose $z$ is a [[rational number|0NCJ5WXN6Z]] $r$. Then $s = r/q$ is a quotient of rationals with $q \\ne 0$, so $s$ is rational. This contradicts step 3.\n9. So $z$ is an [[irrational number|080T2TXVQV]] with $x \u003c z \u003c y$.\n\n## Idea\n\nA nonzero rational multiple of $\\sqrt{2}$ is irrational. Scale the interval by $1/\\sqrt{2}$, find a nonzero rational inside it, and scale back.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "26A03"
    ],
    "name": "Proof of the density of the irrationals",
    "proves": "04J6G4H78J",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Between_two_Real_Numbers_exists_Irrational_Number"
      }
    ],
    "tag": "JR1Z7GC7J0",
    "uses": [
      "0STX0WRDNG",
      "068BZBXE0C",
      "0DZGSDHD92",
      "080T2TXVQV",
      "0NCJ5WXN6Z",
      "0QSPNASE50"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/JR1Z7GC7J0/",
  "links": [
    {
      "field": "proves",
      "target": "04J6G4H78J"
    },
    {
      "field": "uses",
      "target": "0STX0WRDNG"
    },
    {
      "field": "uses",
      "target": "068BZBXE0C"
    },
    {
      "field": "uses",
      "target": "0DZGSDHD92"
    },
    {
      "field": "uses",
      "target": "080T2TXVQV"
    },
    {
      "field": "uses",
      "target": "0NCJ5WXN6Z"
    },
    {
      "field": "uses",
      "target": "0QSPNASE50"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/JR1Z7GC7J0.md",
  "msc": [
    "26A03"
  ],
  "name": "Proof of the density of the irrationals",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/JR1/JR1Z7GC7J0.md",
  "status": null,
  "tag": "JR1Z7GC7J0",
  "uri": "m2://JR1Z7GC7J0",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-density-of-the-irrationals/",
  "writing": {
    "tag": "JR1Z7GC7J0",
    "kind": "proof",
    "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
      }
    ]
  }
}
