{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $n \\ge m \\ge 1$ be integers and let $u \\colon \\R^n \\to \\R^m$ be [[Lipschitz|0AW1E6YTJY]].\nBy Rademacher's theorem, $u$ is differentiable at [[Lebesgue|2Z2QVWZ262]]-almost every $x$, with [[Jacobian matrix|047NDTEPCV]] $Du(x)$ of size $m \\times n$.\nLet $J_m u(x) = \\sqrt{\\det\\big(Du(x) \\, Du(x)^T\\big)}$ at those points.\nLet $\\mathcal{H}^{n-m}$ be the $(n-m)$-dimensional [[Hausdorff measure|Q1TGZK8RN6]] on $\\R^n$.\nThen for every Lebesgue [[measurable|YYNCJSR0PJ]] $g \\colon \\R^n \\to [0, \\infty]$,\n$$\\int_{\\R^n} g(x) \\, J_m u(x) \\, dx = \\int_{\\R^m} \\left( \\int_{u^{-1}(y)} g \\, d\\mathcal{H}^{n-m} \\right) dy.$$\nThe same holds for every Lebesgue integrable $g \\colon \\R^n \\to \\R$, the inner integral being defined for almost every $y$.\n\n## Remarks\n\nThe [[level sets|0B2RZ0778N]] $u^{-1}(y)$ slice $\\R^n$, and the formula says that integrating over $\\R^n$ is the same as integrating over each slice and then over the parameter $y$.\nThe weight $J_m u$ measures how much $u$ squeezes volume across the slices.\nFor a linear $u$ of full rank, the formula is a computation with Fubini's theorem; the general case uses approximation of a Lipschitz map by $C^1$ maps on large sets.\n\nExample: with $m = 1$ and $u(x) = \\abs{x}$, one has $J_1 u = \\abs{\\nabla u} = 1$ for $x \\ne 0$, and the level sets are spheres.\nThe formula becomes integration in polar coordinates: $\\int_{\\R^n} g \\, dx = \\int_0^\\infty \\int_{\\set{\\abs{x} = r}} g \\, d\\mathcal{H}^{n-1} \\, dr$.\n\nFor $m = 1$ and $g = 1$ on a set $A$, it reads $\\int_A \\abs{\\nabla u} \\, dx = \\int_{\\R} \\mathcal{H}^{n-1}(A \\cap \\set{u = t}) \\, dt$.\nFor $m = n$, $\\mathcal{H}^0$ is counting measure and the formula is the area formula for maps $\\R^n \\to \\R^n$.\n\n## Explanations\n\n### L1 human\n\nCut a solid into thin layers along the level sets of a function, like slicing an onion.\nThe volume of the solid equals the sum of the areas of the layers, weighted by how far apart neighbouring layers are.\nWhere the function changes fast, the layers are close together, and the weight $\\abs{\\nabla u}$ corrects for that.\n\n### L2 human\n\nThe coarea formula generalises Fubini's theorem from straight slices to curved ones.\nFor $m = 1$ and $g = 1$ it links the total variation of a function to the perimeters of its level sets.\nThis is the starting point of the Fleming–Rishel formula for functions of bounded variation.\nIt is used to prove isoperimetric and Sobolev inequalities and to compute integrals over level sets in probability and geometry.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "about": [
      "Q1TGZK8RN6",
      "0B2RZ0778N"
    ],
    "kind": "statement",
    "msc": [
      "28A75",
      "26B15",
      "49Q15"
    ],
    "name": "Coarea formula",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q2591257",
      "wikipedia": "Coarea formula"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Coarea_formula"
      }
    ],
    "tag": "QK55379SXW",
    "uses": [
      "0AW1E6YTJY",
      "Q1TGZK8RN6",
      "2Z2QVWZ262",
      "047NDTEPCV",
      "0B2RZ0778N",
      "YYNCJSR0PJ"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/QK55379SXW/",
  "links": [
    {
      "field": "about",
      "target": "Q1TGZK8RN6"
    },
    {
      "field": "about",
      "target": "0B2RZ0778N"
    },
    {
      "field": "uses",
      "target": "0AW1E6YTJY"
    },
    {
      "field": "uses",
      "target": "Q1TGZK8RN6"
    },
    {
      "field": "uses",
      "target": "2Z2QVWZ262"
    },
    {
      "field": "uses",
      "target": "047NDTEPCV"
    },
    {
      "field": "uses",
      "target": "0B2RZ0778N"
    },
    {
      "field": "uses",
      "target": "YYNCJSR0PJ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/QK55379SXW.md",
  "msc": [
    "28A75",
    "26B15",
    "49Q15"
  ],
  "name": "Coarea formula",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/QK5/QK55379SXW.md",
  "status": null,
  "tag": "QK55379SXW",
  "uri": "m2://QK55379SXW",
  "url": "https://math2.tamnd.com/wiki/coarea-formula/",
  "writing": {
    "tag": "QK55379SXW",
    "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
      }
    ]
  }
}
