{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Summary\n\nLet $M\\, dx + N\\, dy = 0$ be an equation that is not [[exact|0EC7AGJ0PX]] on an open set $D$.\nAn integrating factor for it is a nowhere zero differentiable function $\\mu$ on $D$ such that $\\mu M\\, dx + \\mu N\\, dy = 0$ is exact.\nOn a rectangle, with $M$, $N$ and $\\mu$ of class $C^1$, the [[test for exactness|0MSCQNFTM8]] makes this condition $(\\mu M)_y = (\\mu N)_x$.\nThe two equations have the same solutions, because $\\mu$ has no zero.\n\n## Remarks\n\nIf $(M_y - N_x)/N$ is a function $g(x)$ of $x$ only, then $\\mu(x) = e^{\\int g(x)\\, dx}$ is an integrating factor.\nIf $(N_x - M_y)/M$ is a function $h(y)$ of $y$ only, then $\\mu(y) = e^{\\int h(y)\\, dy}$ is an integrating factor.\nThe [[integrating factor|01THH3Y3YP]] of a linear first-order equation is the first case: $y' + p y - q = 0$ has $M = p y - q$, $N = 1$ and $(M_y - N_x)/N = p$.\n\n## Explanations\n\n### L1 human\n\nSome equations are not exact, but they become exact after multiplication by a good function.\nIn general, it is hard to find this function.\nIn two common cases, the factor depends on one variable only, and a simple integral gives it.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "kind": "concept",
    "msc": [
      "34A05"
    ],
    "name": "Integrating factor for a non-exact equation",
    "sources": [
      {
        "locator": "Use",
        "url": "https://en.wikipedia.org/wiki/Integrating_factor"
      }
    ],
    "tag": "0CX86CR8JV",
    "uses": [
      "0EC7AGJ0PX",
      "0MSCQNFTM8",
      "07DJAZW32T"
    ]
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/0CX86CR8JV/",
  "links": [
    {
      "field": "uses",
      "target": "0EC7AGJ0PX"
    },
    {
      "field": "uses",
      "target": "0MSCQNFTM8"
    },
    {
      "field": "uses",
      "target": "07DJAZW32T"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0CX86CR8JV.md",
  "msc": [
    "34A05"
  ],
  "name": "Integrating factor for a non-exact equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0CX/0CX86CR8JV.md",
  "status": null,
  "tag": "0CX86CR8JV",
  "uri": "m2://0CX86CR8JV",
  "url": "https://math2.tamnd.com/wiki/integrating-factor-for-a-non-exact-equation/",
  "writing": {
    "tag": "0CX86CR8JV",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
