{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $D \\subseteq \\R^k$, let $f \\colon D \\to D$ be [[continuous|0X3WGX95FE]], and consider the difference equation $x_{n+1} = f(x_n)$.\nLet $x^* \\in D$ be an [[equilibrium|D62PEKHRV5]], so $f(x^*) = x^*$.\nLet $G \\subseteq D$ be a [[neighbourhood|0ZCY0Z80B6]] of $x^*$ relative to $D$.\nA *Lyapunov function* for the equation on $G$ is a continuous function $V \\colon G \\to \\R$ such that:\n\n1. $V(x^*) = 0$.\n2. $V(x) \u003e 0$ for every $x \\in G$ with $x \\ne x^*$.\n3. $\\Delta V(x) = V(f(x)) - V(x) \\le 0$ for every $x \\in G$ with $f(x) \\in G$.\n\nThe function $V$ is a *strict* Lyapunov function if moreover $\\Delta V(x) \u003c 0$ for every $x \\ne x^*$ in $G$ with $f(x) \\in G$.\n\n## Remarks\n\nExample: for $f(x) = x / (1 + x^2)$ on $\\R$ with $x^* = 0$, take $V(x) = x^2$.\nThen $V(0) = 0$, $V(x) \u003e 0$ for $x \\ne 0$, and $\\Delta V(x) = x^2 \\left( (1 + x^2)^{-2} - 1 \\right) \u003c 0$ for $x \\ne 0$, so $V$ is a strict Lyapunov function.\n\nNon-example: for $f(x) = 2x$ and $V(x) = x^2$, clauses 1 and 2 hold but $\\Delta V(x) = 3x^2 \u003e 0$ for $x \\ne 0$, so clause 3 fails.\n\nThe quantity $\\Delta V$ is the forward difference of $V$ along solutions, the analogue of the derivative $\\dot V$ along solutions of a differential equation.\nIf a Lyapunov function exists, the equilibrium is stable; if a strict one exists, it is asymptotically stable.\nFor a linear map $f(x) = Ax$ one often uses a quadratic form $V(x) = x^T P x$ with $P$ positive definite and $A^T P A - P$ negative definite.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "E9G05M7CE6",
    "kind": "definition",
    "msc": [
      "39A30",
      "93D05"
    ],
    "name": "Lyapunov function for a difference equation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Lyapunov_function"
      }
    ],
    "tag": "CJDS1BGDVH",
    "uses": [
      "D62PEKHRV5",
      "0X3WGX95FE",
      "0ZCY0Z80B6"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/CJDS1BGDVH/",
  "links": [
    {
      "field": "defines",
      "target": "E9G05M7CE6"
    },
    {
      "field": "uses",
      "target": "D62PEKHRV5"
    },
    {
      "field": "uses",
      "target": "0X3WGX95FE"
    },
    {
      "field": "uses",
      "target": "0ZCY0Z80B6"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/CJDS1BGDVH.md",
  "msc": [
    "39A30",
    "93D05"
  ],
  "name": "Lyapunov function for a difference equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/CJD/CJDS1BGDVH.md",
  "status": null,
  "tag": "CJDS1BGDVH",
  "uri": "m2://CJDS1BGDVH",
  "url": "https://tamnd.github.io/math2/wiki/lyapunov-function-for-a-difference-equation-definition/",
  "writing": {
    "tag": "CJDS1BGDVH",
    "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
      }
    ]
  }
}
