{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "FWRW7BYX6T"
    }
  ],
  "body": "\n## Summary\n\nA variational integrator is a numerical method for Lagrangian mechanics obtained by discretising Hamilton's principle of stationary action instead of the equations of motion.\nOne approximates the action over a single time step by a discrete Lagrangian.\nAsking the sum of these to be stationary gives the discrete Euler–Lagrange equations.\nThese methods are automatically symplectic and keep the momenta that come from symmetries, by a discrete Noether theorem, so they are [[geometric integrators|VQ2BTYFST4]].\n\n## Explanations\n\n### L1 human\n\nIn mechanics, the true motion makes a quantity called the action stationary.\nA variational integrator copies this principle on a time grid: it looks for a list of positions that makes a discrete action stationary.\nBecause it inherits the principle and not only the equations, it inherits the structure that comes with it, such as conservation of angular momentum for a rotation-invariant system.\nThe Störmer–Verlet method used in molecular dynamics is the simplest example.\nIt comes from the discrete action with kinetic energy $\\frac12((q_{k+1} - q_k)/h)^2$ and the potential averaged at the two ends of each step.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65P10",
      "37M15"
    ],
    "name": "Variational integrator",
    "same_as": {
      "wikidata": "Q7915797",
      "wikipedia": "Variational integrator"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Variational_integrator"
      }
    ],
    "specializes": [
      "VQ2BTYFST4"
    ],
    "tag": "4KZ458T2QA"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/4KZ458T2QA/",
  "links": [
    {
      "field": "specializes",
      "target": "VQ2BTYFST4"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/4KZ458T2QA.md",
  "msc": [
    "65P10",
    "37M15"
  ],
  "name": "Variational integrator",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/4KZ/4KZ458T2QA.md",
  "status": null,
  "tag": "4KZ458T2QA",
  "uri": "m2://4KZ458T2QA",
  "url": "https://tamnd.github.io/math2/wiki/variational-integrator/",
  "writing": {
    "tag": "4KZ458T2QA",
    "kind": "concept",
    "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
      }
    ]
  }
}
