{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $(x_n)_{n \\ge 1}$ be a sequence of real numbers.\nThen $(x_n)$ is [[equidistributed modulo one|RT62ZAN3JB]] if and only if, for every nonzero integer $h$,\n$$\\lim_{N \\to \\infty} \\frac{1}{N} \\sum_{n=1}^{N} e^{2 \\pi i h x_n} = 0.$$\nHere $e^{2\\pi i t}$ is the [[complex exponential|07GJV36896]].\n\n## Remarks\n\nEquidistribution modulo one is equivalent to $\\frac{1}{N} \\sum_{n \\le N} f(x_n) \\to \\int_0^1 f(t) \\, dt$ for every continuous function $f \\colon \\R \\to \\C$ of period $1$.\nThe functions $t \\mapsto e^{2\\pi i h t}$ are such functions, with integral $0$ for $h \\ne 0$, which gives one direction.\nFor the other direction, the condition gives the limit for every trigonometric polynomial.\nUniform approximation by the Weierstrass theorem extends it to every continuous periodic $f$.\nFinally, squeezing the indicator of an interval between continuous functions gives the counting condition.\nExample: for irrational $\\alpha$ and $x_n = n \\alpha$, the sum is a geometric sum bounded by $2 / \\abs{1 - e^{2\\pi i h \\alpha}}$, so the averages tend to $0$; this proves the [[equidistribution theorem|NCCGNTBEYV]].\nFor a rational $\\alpha = p/q$ the test fails at $h = q$, where every term equals $1$.\nThe same criterion holds in $\\R^k$, with $h$ running over nonzero vectors of $\\Z^k$ and $h x_n$ replaced by the dot product $h \\cdot x_n$.\n\n## Explanations\n\n### L1 human\n\nTo check that a sequence spreads evenly around a circle, it is enough to test it against waves.\nFor each frequency $h$, average the points $e^{2\\pi i h x_n}$ on the unit circle.\nThe sequence is evenly spread exactly when all these averages tend to zero.\n\n### L2 human\n\nThe criterion turns a question about counting points in intervals into estimates of [[exponential sums|97PBMQCPPM]].\nIt gives a short proof that $(n\\alpha)$ is equidistributed for irrational $\\alpha$.\nWith Weyl differencing, it also shows that $p(n)$ is equidistributed for a real polynomial $p$ with an irrational coefficient other than the constant term.\nIts proof is a first example of approximating indicator functions by trigonometric polynomials, a basic method of Fourier analysis.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "about": [
      "XM6DH57BWY"
    ],
    "kind": "statement",
    "msc": [
      "11K06",
      "11J71"
    ],
    "name": "Weyl's criterion",
    "role": "theorem",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Equidistributed_sequence"
      }
    ],
    "tag": "GS4RC7A7DJ",
    "uses": [
      "RT62ZAN3JB",
      "97PBMQCPPM",
      "07GJV36896",
      "NCCGNTBEYV"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/GS4RC7A7DJ/",
  "links": [
    {
      "field": "about",
      "target": "XM6DH57BWY"
    },
    {
      "field": "uses",
      "target": "RT62ZAN3JB"
    },
    {
      "field": "uses",
      "target": "97PBMQCPPM"
    },
    {
      "field": "uses",
      "target": "07GJV36896"
    },
    {
      "field": "uses",
      "target": "NCCGNTBEYV"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/GS4RC7A7DJ.md",
  "msc": [
    "11K06",
    "11J71"
  ],
  "name": "Weyl's criterion",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/GS4/GS4RC7A7DJ.md",
  "status": null,
  "tag": "GS4RC7A7DJ",
  "uri": "m2://GS4RC7A7DJ",
  "url": "https://math2.tamnd.com/wiki/weyls-criterion/",
  "writing": {
    "tag": "GS4RC7A7DJ",
    "kind": "statement",
    "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
      }
    ]
  }
}
