{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "21RJ8035KP"
    },
    {
      "field": "uses",
      "target": "833XVEEZCJ"
    },
    {
      "field": "uses",
      "target": "NJ1PDJ3S4R"
    }
  ],
  "body": "\n## Statement\n\nLet $(X, \\mathcal{A}, \\mu)$ be a [[probability space|0NFPJVJJHX]], let $T \\colon X \\to X$ be a [[measure-preserving transformation|556WBDAHNP]], and let $f \\colon X \\to \\R$ be [[integrable|X7GTF3D98F]].\nLet $A_n f = \\frac{1}{n} \\sum_{k=0}^{n-1} f \\circ T^k$ be the [[Birkhoff averages|8TD2KCVH5N]] of $f$, and let $\\mathcal{I} = \\set{A \\in \\mathcal{A} : T^{-1}(A) = A}$ be the $\\sigma$-algebra of invariant sets.\nThen:\n\n1. $A_n f(x)$ converges as $n \\to \\infty$ for [[almost every|RARTMA0ZEC]] $x \\in X$, to the [[conditional expectation|0TTDGTEFMN]] $f^* = \\mathbb{E}(f \\mid \\mathcal{I})$;\n2. the limit satisfies $f^* \\circ T = f^*$ almost everywhere and $\\int_X f^* \\, d\\mu = \\int_X f \\, d\\mu$;\n3. $A_n f \\to f^*$ also in $L^1(\\mu)$;\n4. if $T$ is [[ergodic|AZRPHS478B]], then $f^* = \\int_X f \\, d\\mu$ almost everywhere.\n\n## Remarks\n\nThe usual proof combines the [[maximal ergodic theorem|V7PA1V3N0K]] with a density argument.\nFor functions of the form $h + g - g \\circ T$, with $h$ invariant and $g$ bounded, the averages converge everywhere, because the sums of $g - g \\circ T$ telescope.\nThe maximal inequality bounds $\\sup_n \\abs{A_n f}$ in measure by $\\norm{f}_1$, and this lets convergence pass to all integrable $f$.\nFor $f \\in L^2(\\mu)$, convergence in $L^2$ is the content of the [[mean ergodic theorem|PQPDQCCD02]].\n\nExample: let $T(x) = 2x \\bmod 1$ on $[0, 1)$ with Lebesgue measure, which is ergodic, and let $f$ be the indicator of $[1/2, 1)$.\nThen $f(T^k(x))$ is the $(k+1)$-st binary digit of $x$, so the theorem says that almost every $x$ has, in the limit, half of its binary digits equal to $1$.\n\nApplied to a sequence of independent identically distributed random variables, viewed as a shift on a product space, the theorem gives the [[strong law of large numbers|0DFWHQ839T]].\n\nThe measure must be invariant: for $T(x) = x/2$ on $[0, 1]$ with Lebesgue measure, which is not $T$-invariant, and $f(x) = x$, the averages tend to $0$ everywhere, while $\\int_0^1 f \\, dx = 1/2$, so conclusion 2 fails.\n\n## Explanations\n\n### L1 human\n\nFollow one orbit for a long time and average a quantity along it: this is a time average.\nAverage the same quantity over the whole space: this is a space average.\nFor an ergodic system the two agree for almost every starting point.\nSo watching one typical trajectory long enough reveals the statistics of the whole system.\n\n### L2 human\n\nThe theorem is the basic convergence result of ergodic theory.\nWithout ergodicity, the limit is still defined almost everywhere, but it can differ on different invariant pieces, and it equals the conditional expectation on the invariant sets.\nIt is used to prove the strong law of large numbers, the normality of almost every real number, and statistical properties of billiards and geodesic flows.\nThe same statement holds for measure-preserving flows, with sums replaced by integrals over time.\nKingman's subadditive ergodic theorem extends it from sums $S_n f$ to subadditive sequences, and the ergodic decomposition reduces the non-ergodic case to the ergodic one.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "8TD2KCVH5N",
      "AZRPHS478B"
    ],
    "kind": "statement",
    "msc": [
      "37A30",
      "28D05",
      "37A05"
    ],
    "name": "Birkhoff's ergodic theorem",
    "role": "theorem",
    "sources": [
      {
        "locator": "Ergodic theorems",
        "url": "https://en.wikipedia.org/wiki/Ergodic_theory"
      }
    ],
    "tag": "J6NMBX3E55",
    "uses": [
      "556WBDAHNP",
      "0NFPJVJJHX",
      "X7GTF3D98F",
      "RARTMA0ZEC",
      "8TD2KCVH5N",
      "0TTDGTEFMN",
      "AZRPHS478B",
      "V7PA1V3N0K",
      "PQPDQCCD02",
      "0DFWHQ839T"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/J6NMBX3E55/",
  "links": [
    {
      "field": "about",
      "target": "8TD2KCVH5N"
    },
    {
      "field": "about",
      "target": "AZRPHS478B"
    },
    {
      "field": "uses",
      "target": "556WBDAHNP"
    },
    {
      "field": "uses",
      "target": "0NFPJVJJHX"
    },
    {
      "field": "uses",
      "target": "X7GTF3D98F"
    },
    {
      "field": "uses",
      "target": "RARTMA0ZEC"
    },
    {
      "field": "uses",
      "target": "8TD2KCVH5N"
    },
    {
      "field": "uses",
      "target": "0TTDGTEFMN"
    },
    {
      "field": "uses",
      "target": "AZRPHS478B"
    },
    {
      "field": "uses",
      "target": "V7PA1V3N0K"
    },
    {
      "field": "uses",
      "target": "PQPDQCCD02"
    },
    {
      "field": "uses",
      "target": "0DFWHQ839T"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/J6NMBX3E55.md",
  "msc": [
    "37A30",
    "28D05",
    "37A05"
  ],
  "name": "Birkhoff's ergodic theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/J6N/J6NMBX3E55.md",
  "status": null,
  "tag": "J6NMBX3E55",
  "uri": "m2://J6NMBX3E55",
  "url": "https://tamnd.github.io/math2/wiki/birkhoffs-ergodic-theorem/",
  "writing": {
    "tag": "J6NMBX3E55",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
