{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $n \\ge 1$, let $A$ be an $n \\times n$ complex [[matrix|0JXZKX526R]], and let $Q$ be an $n \\times n$ [[Hermitian matrix|0P17NGQQMQ]].\nWrite $A^*$ for the [[conjugate transpose|0DXKE10PHF]] of $A$.\n\n1. The *continuous Lyapunov equation* is $AX + XA^* + Q = 0$ for an unknown $n \\times n$ matrix $X$.\n2. The *discrete Lyapunov equation* is $AXA^* - X + Q = 0$ for an unknown $n \\times n$ matrix $X$.\n\n## Remarks\n\nThe continuous equation is the [[Sylvester equation|M9SW4NVP2H]] $AX + XA^* = -Q$.\nMany texts in control write it as $A^* P + PA + Q = 0$ instead, which is the same equation with $A^*$ in place of $A$; for real $A$ this reads $A^T P + PA + Q = 0$.\nIf every eigenvalue of $A$ has negative real part, the continuous equation has the unique solution $X = \\int_0^\\infty e^{At} Q e^{A^* t} \\, dt$, and $X$ is positive definite when $Q$ is.\nIf every eigenvalue of $A$ has absolute value less than $1$, the discrete equation has the unique solution $X = \\sum_{k=0}^{\\infty} A^k Q (A^*)^k$.\nExample: for $n = 1$, $A = -1$ and $Q = 2$, the continuous equation $-2X + 2 = 0$ gives $X = 1$.\nWithout the eigenvalue condition a solution may fail to exist: for $n = 1$, $A = 0$ and $Q = 1$, the continuous equation reads $1 = 0$.\n",
  "commit": "5fc425f97f1f6b11da5892c2948ef8c5d8805665",
  "front": {
    "defines": "92GVPZH9FT",
    "kind": "definition",
    "msc": [
      "15A24",
      "93D05",
      "34D20"
    ],
    "name": "Lyapunov equation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Lyapunov_equation"
      }
    ],
    "tag": "ZFSZCMKJD1",
    "uses": [
      "0JXZKX526R",
      "0P17NGQQMQ",
      "0DXKE10PHF",
      "M9SW4NVP2H"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/ZFSZCMKJD1/",
  "links": [
    {
      "field": "defines",
      "target": "92GVPZH9FT"
    },
    {
      "field": "uses",
      "target": "0JXZKX526R"
    },
    {
      "field": "uses",
      "target": "0P17NGQQMQ"
    },
    {
      "field": "uses",
      "target": "0DXKE10PHF"
    },
    {
      "field": "uses",
      "target": "M9SW4NVP2H"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/ZFSZCMKJD1.md",
  "msc": [
    "15A24",
    "93D05",
    "34D20"
  ],
  "name": "Lyapunov equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ZFS/ZFSZCMKJD1.md",
  "status": null,
  "tag": "ZFSZCMKJD1",
  "uri": "m2://ZFSZCMKJD1",
  "url": "https://math2.tamnd.com/wiki/lyapunov-equation-definition/",
  "writing": {
    "tag": "ZFSZCMKJD1",
    "kind": "definition",
    "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
      }
    ]
  }
}
