{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe write the middle point as a convex combination of the outer points and rearrange the convexity inequality.\n\n1. Let $x \u003c y \u003c z$ be points of $I$. Put $t = \\dfrac{z - y}{z - x}$. Then $0 \u003c t \u003c 1$ and $1 - t = \\dfrac{y - x}{z - x}$.\n2. We have $t x + (1 - t) z = \\dfrac{(z - y) x + (y - x) z}{z - x} = \\dfrac{y (z - x)}{z - x} = y$.\n3. By the definition of a [[convex function|0VV0HSW1ZS]], $f(y) \\le t f(x) + (1 - t) f(z)$.\n4. Multiplying by $z - x \u003e 0$ gives $(z - x) f(y) \\le (z - y) f(x) + (y - x) f(z)$. Call this inequality $(\\ast)$.\n5. Subtract $(z - x) f(x)$ from both sides of $(\\ast)$. Since $(z - y) - (z - x) = -(y - x)$, we get $(z - x)(f(y) - f(x)) \\le (y - x)(f(z) - f(x))$.\n6. Dividing by $(z - x)(y - x) \u003e 0$ gives $\\dfrac{f(y) - f(x)}{y - x} \\le \\dfrac{f(z) - f(x)}{z - x}$.\n7. Subtract $(z - x) f(z)$ from both sides of $(\\ast)$. Since $(y - x) - (z - x) = -(z - y)$, we get $(z - x)(f(y) - f(z)) \\le (z - y)(f(x) - f(z))$.\n8. Multiplying by $-1$ reverses the inequality: $(z - x)(f(z) - f(y)) \\ge (z - y)(f(z) - f(x))$.\n9. Dividing by $(z - x)(z - y) \u003e 0$ gives $\\dfrac{f(z) - f(x)}{z - x} \\le \\dfrac{f(z) - f(y)}{z - y}$.\n10. Steps 6 and 9 together are the two claimed inequalities.\n\n## Idea\n\nThe point $y$ splits $[x, z]$ in the ratio of the weights $t$ and $1 - t$. Convexity says the graph at $y$ lies below the chord from $x$ to $z$. Seen from $x$, this makes the chord to $y$ less steep. Seen from $z$, it makes the chord from $y$ steeper.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "26A51"
    ],
    "name": "Proof that slopes of a convex function are increasing",
    "proves": "0BY5FTHEEE",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Equivalence_of_Definitions_of_Convex_Real_Function"
      }
    ],
    "tag": "YQRMB9HE0Q",
    "uses": [
      "0VV0HSW1ZS"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/YQRMB9HE0Q/",
  "links": [
    {
      "field": "proves",
      "target": "0BY5FTHEEE"
    },
    {
      "field": "uses",
      "target": "0VV0HSW1ZS"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/YQRMB9HE0Q.md",
  "msc": [
    "26A51"
  ],
  "name": "Proof that slopes of a convex function are increasing",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/YQR/YQRMB9HE0Q.md",
  "status": null,
  "tag": "YQRMB9HE0Q",
  "uri": "m2://YQRMB9HE0Q",
  "url": "https://math2.tamnd.com/wiki/proof-that-slopes-of-a-convex-function-are-increasing/",
  "writing": {
    "tag": "YQRMB9HE0Q",
    "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
      }
    ]
  }
}
