{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe compare $X$ with a multiple of an indicator function.\n\n1. Let $X$ be a random variable with values in $[0, \\infty)$ on a probability space $(\\Omega, \\mathcal{F}, P)$, and let $a \u003e 0$.\n2. By the definition of the [[expected value|0DCT0QZVQ1]], $E[X] \\in [0, \\infty]$. If $E[X] = \\infty$, the right side is $\\infty$ and the inequality holds. So assume $E[X] \u003c \\infty$.\n3. Let $A = \\set{X \\ge a}$, an event, and let $\\mathbf{1}_A$ be its [[indicator function|0VSB0XF4G7]].\n4. We claim $a \\mathbf{1}_A \\le X$ pointwise. On $A$, the left side is $a$ and $X \\ge a$. Off $A$, the left side is $0$ and $X \\ge 0$.\n5. The integral of an indicator is the probability of its set, so $E[a \\mathbf{1}_A] = a P(A)$.\n6. By step 4, $X - a \\mathbf{1}_A \\ge 0$. The integral of a nonnegative function is nonnegative, so $E[X - a \\mathbf{1}_A] \\ge 0$.\n7. Both $X$ and $a \\mathbf{1}_A$ are integrable. By [[linearity of expectation|0P7PTC8DDE]] and step 5, $E[X] - a P(A) \\ge 0$.\n8. Dividing by $a \u003e 0$ gives $P(X \\ge a) \\le E[X]/a$.\n\n## Idea\n\nThe variable $X$ is at least $a$ on the event $\\set{X \\ge a}$ and at least $0$ elsewhere. So $X$ dominates $a$ times the indicator of that event. Taking expectations turns this pointwise bound into the inequality.\n",
  "commit": "68a8c3dc73fd55004b2796431c607c30960d1a85",
  "front": {
    "kind": "proof",
    "msc": [
      "60E15"
    ],
    "name": "Proof of Markov's inequality",
    "proves": "05PWWHYBX5",
    "sources": [
      {
        "locator": "Proofs",
        "url": "https://en.wikipedia.org/wiki/Markov's_inequality"
      }
    ],
    "tag": "WG62E3JE2K",
    "uses": [
      "0DCT0QZVQ1",
      "0VSB0XF4G7",
      "0P7PTC8DDE"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/WG62E3JE2K/",
  "links": [
    {
      "field": "proves",
      "target": "05PWWHYBX5"
    },
    {
      "field": "uses",
      "target": "0DCT0QZVQ1"
    },
    {
      "field": "uses",
      "target": "0VSB0XF4G7"
    },
    {
      "field": "uses",
      "target": "0P7PTC8DDE"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/WG62E3JE2K.md",
  "msc": [
    "60E15"
  ],
  "name": "Proof of Markov's inequality",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/WG6/WG62E3JE2K.md",
  "status": null,
  "tag": "WG62E3JE2K",
  "uri": "m2://WG62E3JE2K",
  "url": "https://math2.tamnd.com/wiki/proof-of-markovs-inequality/",
  "writing": {
    "tag": "WG62E3JE2K",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
