{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\n1. Let $x \u003e 0$, and let $y = \\ln x$, where $\\ln$ is the [[natural logarithm|0044CPHJBV]].\n2. By the inequality [[$1 + y \\le e^y$|012C7GFF20]], we get $1 + \\ln x \\le e^{\\ln x}$.\n3. By [[the inverse relation of $\\ln$ and $\\exp$|0RKW2X63YR]], $e^{\\ln x} = x$. So $1 + \\ln x \\le x$, that is, $\\ln x \\le x - 1$.\n4. The same inequality says that $1 + y = e^y$ holds if and only if $y = 0$. So $\\ln x = x - 1$ holds if and only if $\\ln x = 0$.\n5. If $\\ln x = 0$, then $x = e^{\\ln x} = e^0 = 1$. Here $e^0 = 1$ by the [[series of the exponential|0RMVS7RXZX]], since all terms after the first vanish at $0$.\n6. Conversely, if $x = 1$, then $\\ln x = \\ln(e^0) = 0$, since $\\ln(e^y) = y$ for every real $y$.\n7. So $\\ln x \\le x - 1$ for every $x \u003e 0$, with equality if and only if $x = 1$.\n\n## Idea\n\nThe line $y = 1 + t$ lies below the graph of $e^t$ and touches it only at $t = 0$. Substituting $t = \\ln x$ moves this fact over to the logarithm. The line $y = x - 1$ is the tangent to $\\ln$ at $x = 1$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "33B10",
      "26D15"
    ],
    "name": "Proof that log x is at most x - 1",
    "proves": "04CBRA4JRK",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Bounds_of_Natural_Logarithm"
      }
    ],
    "tag": "22ECWEKEB0",
    "uses": [
      "012C7GFF20",
      "0044CPHJBV",
      "0RKW2X63YR",
      "0RMVS7RXZX"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/22ECWEKEB0/",
  "links": [
    {
      "field": "proves",
      "target": "04CBRA4JRK"
    },
    {
      "field": "uses",
      "target": "012C7GFF20"
    },
    {
      "field": "uses",
      "target": "0044CPHJBV"
    },
    {
      "field": "uses",
      "target": "0RKW2X63YR"
    },
    {
      "field": "uses",
      "target": "0RMVS7RXZX"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/22ECWEKEB0.md",
  "msc": [
    "33B10",
    "26D15"
  ],
  "name": "Proof that log x is at most x - 1",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/22E/22ECWEKEB0.md",
  "status": null,
  "tag": "22ECWEKEB0",
  "uri": "m2://22ECWEKEB0",
  "url": "https://math2.tamnd.com/wiki/proof-that-log-x-is-at-most-x-1/",
  "writing": {
    "tag": "22ECWEKEB0",
    "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
      }
    ]
  }
}
