{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nFor an integer $n \\ge 0$, the Dirichlet kernel is the function $D_n(x) = \\sum_{k=-n}^{n} e^{ikx}$ for real $x$.\nFor an integer $N \\ge 1$, the *Fejér kernel* $F_N$ is the [[Cesàro mean|0P0DJHBGBB]] of $D_0, \\dots, D_{N-1}$:\n$$F_N(x) = \\frac{1}{N} \\sum_{n=0}^{N-1} D_n(x) = \\sum_{k=-(N-1)}^{N-1} \\left(1 - \\frac{\\abs{k}}{N}\\right) e^{ikx}.$$\n\n## Remarks\n\nFor $x$ not a multiple of $2\\pi$, the closed form is\n$$F_N(x) = \\frac{1}{N} \\left( \\frac{\\sin(Nx/2)}{\\sin(x/2)} \\right)^2,$$\nand $F_N(2\\pi m) = N$ for integers $m$.\nSo $F_N \\ge 0$, $F_N$ is $2\\pi$-periodic, and $\\frac{1}{2\\pi} \\int_{-\\pi}^{\\pi} F_N(x) \\, dx = 1$, because only the term $k = 0$ has a nonzero integral.\nFor $\\delta \\le \\abs{x} \\le \\pi$ one has $F_N(x) \\le \\frac{1}{N \\sin^2(\\delta/2)}$, which tends to $0$.\n\nExample: $F_1 = D_0 = 1$, and $F_2(x) = \\frac12 (1 + (1 + 2\\cos x)) = 1 + \\cos x$, which agrees with $\\frac12 \\left(\\frac{\\sin x}{\\sin(x/2)}\\right)^2 = 2\\cos^2(x/2)$.\n\nNon-example: the Dirichlet kernel $D_1(x) = 1 + 2\\cos x$ is not a Fejér kernel, and it takes the negative value $-1$ at $x = \\pi$.\n\nFor a $2\\pi$-periodic integrable function $f$ with [[Fourier series|G12KXDHPPS]] partial sums $S_n f$, one has $\\frac{1}{N} \\sum_{n=0}^{N-1} S_n f(x) = \\frac{1}{2\\pi} \\int_{-\\pi}^{\\pi} F_N(x - t) f(t) \\, dt$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "DCCA2T9GKH",
    "kind": "definition",
    "msc": [
      "42A24",
      "40G05"
    ],
    "name": "Fejér kernel",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Fejér_kernel"
      }
    ],
    "tag": "3E740YTT9V",
    "uses": [
      "G12KXDHPPS",
      "0P0DJHBGBB"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/3E740YTT9V/",
  "links": [
    {
      "field": "defines",
      "target": "DCCA2T9GKH"
    },
    {
      "field": "uses",
      "target": "G12KXDHPPS"
    },
    {
      "field": "uses",
      "target": "0P0DJHBGBB"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/3E740YTT9V.md",
  "msc": [
    "42A24",
    "40G05"
  ],
  "name": "Fejér kernel",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/3E7/3E740YTT9V.md",
  "status": null,
  "tag": "3E740YTT9V",
  "uri": "m2://3E740YTT9V",
  "url": "https://math2.tamnd.com/wiki/fejer-kernel-definition/",
  "writing": {
    "tag": "3E740YTT9V",
    "kind": "definition",
    "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
      }
    ]
  }
}
