{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0CX86CR8JV"
    }
  ],
  "body": "\n## Statement\n\nLet $R = (\\alpha, \\beta) \\times (\\gamma, \\delta)$ be an open rectangle in $\\mathbb{R}^2$.\nLet $M, N : R \\to \\mathbb{R}$ be continuous functions such that the partial derivatives $\\partial M / \\partial y$ and $\\partial N / \\partial x$ exist and are continuous on $R$.\nThen the equation $M\\, dx + N\\, dy = 0$ is [[exact|0EC7AGJ0PX]] on $R$ if and only if\n$$\\frac{\\partial M}{\\partial y} = \\frac{\\partial N}{\\partial x} \\quad \\text{on } R.$$\n\n## Remarks\n\nThe condition is necessary on each open set: if $\\psi_x = M$ and $\\psi_y = N$, the mixed partial derivatives of $\\psi$ are equal, so $M_y = N_x$.\nFor the converse, fix $(x_0, y_0) \\in R$ and set $\\psi(x, y) = \\int_{x_0}^{x} M(s, y_0)\\, ds + \\int_{y_0}^{y} N(x, t)\\, dt$.\nThe converse holds on each simply connected open set. It can fail on other sets: $(-y\\, dx + x\\, dy)/(x^2 + y^2) = 0$ satisfies the condition on $\\mathbb{R}^2 \\setminus \\{0\\}$, but it is not exact there.\n\n## Explanations\n\n### L1 human\n\nIf $\\psi$ exists, then $M$ and $N$ are its two partial derivatives.\nTheir cross derivatives must agree, because the order of differentiation does not matter for nice functions.\nOn a rectangle, this easy test is also enough.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "34A05"
    ],
    "name": "Test for exactness",
    "role": "theorem",
    "sources": [
      {
        "locator": "Identifying first-order exact differential equations",
        "url": "https://en.wikipedia.org/wiki/Exact_differential_equation"
      }
    ],
    "tag": "0MSCQNFTM8",
    "uses": [
      "0EC7AGJ0PX"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0MSCQNFTM8/",
  "links": [
    {
      "field": "uses",
      "target": "0EC7AGJ0PX"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0MSCQNFTM8.md",
  "msc": [
    "34A05"
  ],
  "name": "Test for exactness",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0MS/0MSCQNFTM8.md",
  "status": null,
  "tag": "0MSCQNFTM8",
  "uri": "m2://0MSCQNFTM8",
  "url": "https://math2.tamnd.com/wiki/test-for-exactness/",
  "writing": {
    "tag": "0MSCQNFTM8",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
