{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0X4NT20S3G"
    }
  ],
  "body": "\n## Summary\n\nThe method of undetermined coefficients finds a particular solution of a [[linear equation with constant coefficients|0A6PGTTP2A]] $L y = b(x)$ when $b$ has a special form.\nThe right side must be a sum of terms $x^k e^{\\lambda x}$, $x^k e^{\\lambda x} \\cos(\\omega x)$ and $x^k e^{\\lambda x} \\sin(\\omega x)$.\nFor such a term, one tries a function of the same type, with a general polynomial of degree $k$ and unknown coefficients. If $\\lambda$ (or $\\lambda + i\\omega$) is a root of multiplicity $s$ of the [[characteristic polynomial|0QDXMG46QW]], one multiplies the trial function by $x^s$.\nSubstitution into the equation gives linear equations for the unknown coefficients.\n\n## Remarks\n\nExample: for $y'' + y = x$, try $y_p = A x + B$. Then $A x + B = x$, so $y_p = x$.\nExample with resonance: for $y'' + y = \\cos x$, the number $i$ is a simple root of $r^2 + 1$. So try $y_p = x (A \\cos x + B \\sin x)$, which gives $y_p = \\frac{1}{2} x \\sin x$.\nThe method works because the derivatives of these functions stay in a finite-dimensional space. For other right sides, use [[variation of parameters|0Y6TH5PQVS]].\n\n## Explanations\n\n### L1 human\n\nGuess that the answer looks like the right side, with unknown numbers in it.\nPut the guess into the equation and match the coefficients.\nIf the guess already solves the homogeneous equation, multiply it by $x$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "concept",
    "msc": [
      "34A30"
    ],
    "name": "Method of undetermined coefficients",
    "same_as": {
      "wikidata": "Q1036452",
      "wikipedia": "Method of undetermined coefficients"
    },
    "sources": [
      {
        "locator": "Description of the method",
        "url": "https://en.wikipedia.org/wiki/Method_of_undetermined_coefficients"
      }
    ],
    "tag": "0XRB469Z32",
    "uses": [
      "0A6PGTTP2A",
      "0QDXMG46QW",
      "0GHWEH6H15"
    ]
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/0XRB469Z32/",
  "links": [
    {
      "field": "uses",
      "target": "0A6PGTTP2A"
    },
    {
      "field": "uses",
      "target": "0QDXMG46QW"
    },
    {
      "field": "uses",
      "target": "0GHWEH6H15"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0XRB469Z32.md",
  "msc": [
    "34A30"
  ],
  "name": "Method of undetermined coefficients",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0XR/0XRB469Z32.md",
  "status": null,
  "tag": "0XRB469Z32",
  "uri": "m2://0XRB469Z32",
  "url": "https://math2.tamnd.com/wiki/method-of-undetermined-coefficients/",
  "writing": {
    "tag": "0XRB469Z32",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
