{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "6D73FFD9DC"
    },
    {
      "field": "uses",
      "target": "CDMXAH4A7G"
    },
    {
      "field": "uses",
      "target": "F7H4H711MY"
    },
    {
      "field": "uses",
      "target": "M7XKVNATFA"
    },
    {
      "field": "uses",
      "target": "RJEK60G28F"
    },
    {
      "field": "uses",
      "target": "WHK8D383YT"
    },
    {
      "field": "defines",
      "target": "YY6P3RSDWC"
    }
  ],
  "body": "\n## Summary\n\nThe local truncation error of a method for an [[initial value problem|0FXDW992DS]] is the error of one step started from exact values of the solution.\nIt measures how well the formula of the method matches the differential equation, and it defines the order of consistency of the method.\nTogether with a stability condition it controls the global error.\nFor a one-step method with local error $O(h^{p+1})$ per step, the global error after $O(1/h)$ steps is $O(h^p)$.\nIt is a special case of [[truncation error|4AKCQERM89]].\n\n## Explanations\n\n### L1 human\n\nImagine standing exactly on the true solution curve and taking one step with the method.\nThe local truncation error is how far from the curve that single step lands.\nFor the [[Euler method|0JARTXX4XP]] applied to $y' = y$ starting at $y = 1$, one step of length $h$ gives $1 + h$, while the truth is $e^h = 1 + h + \\frac{h^2}{2} + \\cdots$, so the local error is about $\\frac{h^2}{2}$.\nOver the whole interval many such small errors add up to the global error.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65L70",
      "65L05",
      "65L06"
    ],
    "name": "Local truncation error",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Truncation_error_(numerical_integration)"
      }
    ],
    "specializes": [
      "4AKCQERM89"
    ],
    "tag": "T220HF0562"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/T220HF0562/",
  "links": [
    {
      "field": "specializes",
      "target": "4AKCQERM89"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/T220HF0562.md",
  "msc": [
    "65L70",
    "65L05",
    "65L06"
  ],
  "name": "Local truncation error",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/T22/T220HF0562.md",
  "status": null,
  "tag": "T220HF0562",
  "uri": "m2://T220HF0562",
  "url": "https://tamnd.github.io/math2/wiki/local-truncation-error/",
  "writing": {
    "tag": "T220HF0562",
    "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
      }
    ]
  }
}
