{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $A \\in \\R^{m \\times n}$, $b \\in \\R^m$ and $L \\in \\R^{p \\times n}$ with $\\ker A \\cap \\ker L = \\set{0}$.\nFor $\\lambda \u003e 0$ let $x_\\lambda$ be the unique minimizer of the [[Tikhonov|M68V0M5A3R]] functional\n$$\\norm{A x - b}_2^2 + \\lambda^2 \\norm{L x}_2^2.$$\nThe *L-curve* is the plane curve\n$$\\lambda \\mapsto \\bigl( \\log \\norm{A x_\\lambda - b}_2, \\ \\log \\norm{L x_\\lambda}_2 \\bigr), \\qquad \\lambda \u003e 0,$$\ndefined where both norms are positive.\nThe *L-curve criterion* chooses $\\lambda$ at the point of maximal curvature of this curve.\n\n## Remarks\n\nThe residual norm $\\norm{A x_\\lambda - b}$ is non-decreasing in $\\lambda$, and the seminorm $\\norm{L x_\\lambda}$ is non-increasing.\nSo the curve runs from upper left (small $\\lambda$, noise-dominated) to lower right (large $\\lambda$, over-smoothed).\nExample: for $A = L = I$ and $b \\ne 0$, one gets $x_\\lambda = b/(1 + \\lambda^2)$.\nThen $\\norm{A x_\\lambda - b} = \\lambda^2 \\norm{b}/(1 + \\lambda^2)$ and $\\norm{x_\\lambda} = \\norm{b}/(1 + \\lambda^2)$, so the first increases and the second decreases with $\\lambda$, as stated.\nNon-example: the curve $\\lambda \\mapsto (\\lambda, \\norm{A x_\\lambda - b})$ is not the L-curve, since it plots the parameter itself instead of the solution seminorm.\nSome authors use the squared norms or linear axes, but the corner is clearest on log-log axes.\nThe criterion is a heuristic: it is not a convergent [[regularization|WTY54BFC46]] parameter choice in the worst-case sense, yet it works well on many practical problems.\n\n## Explanations\n\n### L1 human\n\nThe L-curve shows the trade-off between fitting the data and keeping the solution tame, one point for each value of the regularization parameter.\nIts corner marks a good compromise.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "5SE9H1SPBN",
    "kind": "definition",
    "msc": [
      "65F22",
      "65J20"
    ],
    "name": "L-curve",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/L-curve"
      }
    ],
    "tag": "KF26RN3E8P",
    "uses": [
      "WTY54BFC46",
      "M68V0M5A3R",
      "0BYTQ4X1HC"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/KF26RN3E8P/",
  "links": [
    {
      "field": "defines",
      "target": "5SE9H1SPBN"
    },
    {
      "field": "uses",
      "target": "WTY54BFC46"
    },
    {
      "field": "uses",
      "target": "M68V0M5A3R"
    },
    {
      "field": "uses",
      "target": "0BYTQ4X1HC"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/KF26RN3E8P.md",
  "msc": [
    "65F22",
    "65J20"
  ],
  "name": "L-curve",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/KF2/KF26RN3E8P.md",
  "status": null,
  "tag": "KF26RN3E8P",
  "uri": "m2://KF26RN3E8P",
  "url": "https://tamnd.github.io/math2/wiki/l-curve-definition/",
  "writing": {
    "tag": "KF26RN3E8P",
    "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
      }
    ]
  }
}
