{
  "id": "fubinis-theorem",
  "title": "Fubini's Theorem",
  "lang": "en",
  "source_lang": "en",
  "summary": "Fubini’s theorem identifies conditions under which an integral over a product space equals either order of iterated integration.",
  "category": "mathematics",
  "subcategory": "analysis",
  "type": "concept",
  "aliases": [
    "Fubini theorem"
  ],
  "generated_at": "2026-11-05",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/fubinis-theorem/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/fubinis-theorem/",
      "json": "https://aiwiki.page/zh/fubinis-theorem.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "Fubini’s theorem is a fundamental result in measure theory that allows an integral over a product space to be evaluated as successive integrals over its factors. In its standard form, it states that a measurable function with a finite integral of its absolute value can be integrated one variable at a time, in either order, with the same result. Together with the closely related Tonelli theorem for nonnegative functions, it provides the main justification for changing the order of integration in calculus, probability, and analysis."
    },
    {
      "heading": "Statement in measure theory",
      "text": "Let \\((X,\\mathcal A,\\mu)\\) and \\((Y,\\mathcal B,\\nu)\\) be sigma-finite measure spaces. Sigma-finiteness means that each space is a countable union of measurable sets of finite measure. Equip their Cartesian product \\(X\\times Y\\) with the product sigma-algebra \\(\\mathcal A\\otimes\\mathcal B\\) and the product measure \\(\\mu\\times\\nu\\).\n\nSuppose that \\(f:X\\times Y\\to\\mathbb R\\) or \\(\\mathbb C\\) is a measurable function and is absolutely integrable:\n\n\\[\\int_{X\\times Y}|f(x,y)|\\,d(\\mu\\times\\nu)(x,y)<\\infty.\\]\n\nThen:\n\n- For \\(\\mu\\)-almost every \\(x\\), the section \\(y\\mapsto f(x,y)\\) is integrable with respect to \\(\\nu\\).\n- For \\(\\nu\\)-almost every \\(y\\), the section \\(x\\mapsto f(x,y)\\) is integrable with respect to \\(\\mu\\).\n- The functions obtained by taking these inner integrals are integrable, after assigning arbitrary finite values on any exceptional null sets.\n- The product integral and both iterated integrals agree:\n\n\\[\\int_{X\\times Y}f\\,d(\\mu\\times\\nu) = \\int_X\\left(\\int_Y f(x,y)\\,d\\nu(y)\\right)d\\mu(x) = \\int_Y\\left(\\int_X f(x,y)\\,d\\mu(x)\\right)d\\nu(y).\\]\n\nHere, “almost everywhere” allows exceptions on a set of measure zero. The theorem does not require every section to have a finite integral.\n\nIn the language of L^p spaces, the hypothesis is \\(f\\in L^1(X\\times Y,\\mu\\times\\nu)\\). Real- and complex-valued functions are both covered."
    },
    {
      "heading": "Tonelli’s theorem and absolute integrability",
      "text": "Tonelli’s theorem concerns measurable functions\n\n\\[f:X\\times Y\\to[0,\\infty].\\]\n\nUnder the same sigma-finiteness assumptions, it gives\n\n\\[\\int_{X\\times Y}f\\,d(\\mu\\times\\nu) = \\int_X\\int_Y f(x,y)\\,d\\nu(y)\\,d\\mu(x) = \\int_Y\\int_X f(x,y)\\,d\\mu(x)\\,d\\nu(y),\\]\n\nwhere the common value may be \\(+\\infty\\).\n\nThe distinction is important:\n\n- Tonelli: nonnegativity permits interchange without first proving finiteness.\n- Fubini: absolute integrability permits interchange for functions that may take both positive and negative values, or complex values.\n\nThese results are often presented together as the Fubini–Tonelli theorem.\n\nA standard way to establish Fubini’s hypothesis is to apply Tonelli to \\(|f|\\). If either iterated integral\n\n\\[\\int_X\\int_Y |f(x,y)|\\,d\\nu(y)\\,d\\mu(x)\\]\n\nor its reverse-order counterpart is finite, then the product integral of \\(|f|\\) is finite and Fubini applies.\n\nBy contrast, the existence of both iterated integrals of \\(f\\) itself, even as finite numbers, does not imply absolute integrability or equality."
    },
    {
      "heading": "Interpretation in multivariable calculus",
      "text": "For a continuous function on a compact rectangle, Fubini’s theorem takes the familiar form\n\n\\[\\int_{[a,b]\\times[c,d]}f(x,y)\\,d(x,y) = \\int_a^b\\left(\\int_c^d f(x,y)\\,dy\\right)dx = \\int_c^d\\left(\\int_a^b f(x,y)\\,dx\\right)dy.\\]\n\nThe product measure here is two-dimensional Lebesgue measure. Under these continuity assumptions, the integrals also agree with the corresponding Riemann integrals. Continuity is a sufficient condition, not a necessary one; the measure-theoretic theorem applies to much more irregular functions.\n\nChanging the description of a region\n\nFor a measurable region \\(D\\), integration over \\(D\\) can be expressed by extending the integrand to be zero outside \\(D\\), or equivalently by using its indicator function:\n\n\\[\\int_D f(x,y)\\,d(x,y) = \\int_{\\mathbb R^2}f(x,y)\\mathbf 1_D(x,y)\\,d(x,y).\\]\n\nChanging the order then requires describing the same region by slices in the other direction.\n\nFor example, the triangular region\n\n\\[D=\\{(x,y):0\\le y\\le x\\le1\\}\\]\n\nhas the two descriptions\n\n\\[0\\le x\\le1,\\quad 0\\le y\\le x\\]\n\nand\n\n\\[0\\le y\\le1,\\quad y\\le x\\le1.\\]\n\nConsequently, for an integrable \\(f\\),\n\n\\[\\int_0^1\\int_0^x f(x,y)\\,dy\\,dx = \\int_0^1\\int_y^1 f(x,y)\\,dx\\,dy.\\]\n\nChanging the order of integration is distinct from changing variables: the latter generally requires a factor derived from a Jacobian matrix."
    },
    {
      "heading": "Why the hypotheses matter",
      "text": "Consider\n\n\\[f(x,y)=\\frac{x^2-y^2}{(x^2+y^2)^2}, \\qquad 0<x<1,\\quad 0<y<1.\\]\n\nFor fixed \\(x>0\\),\n\n\\[\\frac{\\partial}{\\partial y} \\left(\\frac{y}{x^2+y^2}\\right) = \\frac{x^2-y^2}{(x^2+y^2)^2},\\]\n\nso\n\n\\[\\int_0^1f(x,y)\\,dy=\\frac{1}{1+x^2}.\\]\n\nThus\n\n\\[\\int_0^1\\left(\\int_0^1f(x,y)\\,dy\\right)dx =\\frac{\\pi}{4}.\\]\n\nIn the reverse order,\n\n\\[\\frac{\\partial}{\\partial x} \\left(\\frac{x}{x^2+y^2}\\right) = -\\frac{x^2-y^2}{(x^2+y^2)^2},\\]\n\ngiving\n\n\\[\\int_0^1\\left(\\int_0^1f(x,y)\\,dx\\right)dy =-\\frac{\\pi}{4}.\\]\n\nBoth iterated integrals are finite, but they disagree. There is no contradiction: the function is not absolutely integrable near the origin. In polar coordinates,\n\n\\[|f(x,y)|=\\frac{|\\cos(2\\theta)|}{r^2},\\]\n\nand the area element contributes a factor \\(r\\), producing a divergent radial integral proportional to\n\n\\[\\int_0^\\varepsilon\\frac{dr}{r}.\\]\n\nIts positive and negative parts both have infinite integral, so its signed Lebesgue integral over the square is undefined.\n\nOther technical qualifications\n\nSigma-finiteness is a standard sufficient assumption for the product-measure construction and the stated interchange results. Versions with weaker hypotheses exist, but removing sigma-finiteness without replacement can make the conclusions fail.\n\nThere is also a distinction between the product sigma-algebra and its completion. For functions measurable only with respect to the completed product measure, section measurability and the corresponding conclusions are generally formulated almost everywhere, using the appropriate completed factor measures.\n\nThe theorem does not automatically justify arbitrary manipulations of improper integrals or principal values. Such procedures may involve different limiting operations and require separate arguments."
    },
    {
      "heading": "Main ideas of the proof",
      "text": "The standard proof develops the result from simple functions to general measurable functions.\n\nFirst, for a measurable rectangle \\(A\\times B\\), the defining property of product measure is\n\n\\[(\\mu\\times\\nu)(A\\times B)=\\mu(A)\\nu(B).\\]\n\nThis yields the integration identity for rectangle indicators. Measure-theoretic extension arguments then establish the corresponding statement for general measurable sets and nonnegative simple functions.\n\nA nonnegative measurable function can be approximated from below by an increasing sequence of nonnegative simple functions. The monotone convergence theorem passes the integration identities to the limit, proving Tonelli’s theorem.\n\nFor an absolutely integrable real-valued function, write\n\n\\[f=f^+-f^-, \\qquad f^+=\\max(f,0),\\quad f^-=\\max(-f,0).\\]\n\nSince \\(f^++f^-=|f|\\), both parts have finite integrals. Applying Tonelli separately to them and subtracting proves Fubini’s theorem. Complex-valued functions are handled through their real and imaginary parts."
    },
    {
      "heading": "Applications",
      "text": "Probability and expectations\n\nIf random variables \\(X\\) and \\(Y\\) have a joint probability density function \\(p(x,y)\\), then\n\n\\[\\mathbb E[g(X,Y)] = \\int_{\\mathbb R^2}g(x,y)p(x,y)\\,dx\\,dy.\\]\n\nFubini permits evaluation in either order when\n\n\\[\\int_{\\mathbb R^2}|g(x,y)|p(x,y)\\,dx\\,dy<\\infty.\\]\n\nFor nonnegative \\(g\\), Tonelli permits the same interchange even if the expectation is infinite.\n\nUnder independence, the joint law is a product measure. If \\(u(X)\\) and \\(v(Y)\\) are integrable, Tonelli first establishes the absolute integrability of their product, and Fubini gives\n\n\\[\\mathbb E[u(X)v(Y)] = \\mathbb E[u(X)]\\,\\mathbb E[v(Y)].\\]\n\nInfinite sums\n\nUsing counting measure on the natural numbers turns integration into summation. Fubini then gives the rearrangement rule for an absolutely summable double series:\n\n\\[\\sum_{m=1}^{\\infty}\\sum_{n=1}^{\\infty}a_{mn} = \\sum_{n=1}^{\\infty}\\sum_{m=1}^{\\infty}a_{mn}, \\qquad \\sum_{m,n}|a_{mn}|<\\infty.\\]\n\nFor nonnegative terms, Tonelli gives equality without requiring a finite sum.\n\nCombining counting measure with another measure similarly justifies exchanging a sum and an integral when\n\n\\[\\sum_{n=1}^{\\infty}\\int_X|f_n|\\,d\\mu<\\infty.\\]\n\nConvolution and integral transforms\n\nFor integrable functions on \\(\\mathbb R^d\\), Tonelli and translation invariance give\n\n\\[\\int_{\\mathbb R^d}\\int_{\\mathbb R^d} |f(x-y)g(y)|\\,dy\\,dx = \\|f\\|_1\\|g\\|_1.\\]\n\nThis establishes that their convolution exists almost everywhere and satisfies\n\n\\[\\|f*g\\|_1\\le\\|f\\|_1\\|g\\|_1.\\]\n\nFubini also justifies exchanges of integration used in proving identities for the Fourier transform, provided the relevant absolute-integrability conditions hold."
    },
    {
      "heading": "Historical background",
      "text": "The theorem is named after the Italian mathematician Guido Fubini, whose 1907 work established an important interchange theorem for Lebesgue integration. Leonida Tonelli subsequently developed the complementary nonnegative-function result. Together, these theorems extended the classical treatment of repeated integration to the broader setting of the Lebesgue integral and abstract measure spaces."
    }
  ],
  "links": [
    "measure-theory",
    "calculus",
    "probability",
    "mathematical-analysis",
    "cartesian-product",
    "sigma-algebra",
    "measurable-function",
    "almost-everywhere",
    "lp-space",
    "continuous-function",
    "lebesgue-measure",
    "riemann-integral",
    "indicator-function",
    "jacobian-matrix",
    "polar-coordinates",
    "probability-density-function",
    "expected-value",
    "statistical-independence",
    "infinite-series",
    "convolution",
    "fourier-transform",
    "lebesgue-integral"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}