{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $I$ be an open [[interval|0TK8Y3J5RW]] of $\\R$, let $f \\colon I \\to \\R$ be a [[convex function|0VV0HSW1ZS]], and let $x_0 \\in I$.\nA real number $c$ is a *subderivative* of $f$ at $x_0$ if\n$$f(x) - f(x_0) \\ge c \\, (x - x_0) \\quad \\text{for all } x \\in I.$$\nThe *subdifferential* $\\partial f(x_0)$ is the set of all subderivatives of $f$ at $x_0$.\n\n## Remarks\n\nThe subdifferential is the closed interval $\\partial f(x_0) = [f'_-(x_0), f'_+(x_0)]$, where $f'_-$ and $f'_+$ are the one-sided derivatives, which exist for a convex function on an open interval.\nIn particular it is never empty.\nIt is the single point $\\set{f'(x_0)}$ exactly when $f$ has a [[derivative|0F1WR9C83K]] at $x_0$.\nFor a convex function on $\\R^n$, a vector $g$ with $f(x) - f(x_0) \\ge \\ip{g}{x - x_0}$ for all $x$ is called a *subgradient*.\n\nExample: $f(x) = \\abs{x}$ on $\\R$ and $x_0 = 0$.\nFor $c \\in [-1, 1]$ one has $\\abs{x} \\ge c x$ for all $x$, so $\\partial f(0) = [-1, 1]$.\n\nNon-example: $c = 2$ for the same $f$ and $x_0$.\nAt $x = 1$ the condition reads $1 \\ge 2$, which fails.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "9C5WXYYQEK",
    "kind": "definition",
    "msc": [
      "26A51",
      "49J52",
      "52A41"
    ],
    "name": "Subderivative",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Subderivative"
      }
    ],
    "tag": "A289X08MR1",
    "uses": [
      "0TK8Y3J5RW",
      "0VV0HSW1ZS",
      "0F1WR9C83K"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/A289X08MR1/",
  "links": [
    {
      "field": "defines",
      "target": "9C5WXYYQEK"
    },
    {
      "field": "uses",
      "target": "0TK8Y3J5RW"
    },
    {
      "field": "uses",
      "target": "0VV0HSW1ZS"
    },
    {
      "field": "uses",
      "target": "0F1WR9C83K"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/A289X08MR1.md",
  "msc": [
    "26A51",
    "49J52",
    "52A41"
  ],
  "name": "Subderivative",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/A28/A289X08MR1.md",
  "status": null,
  "tag": "A289X08MR1",
  "uri": "m2://A289X08MR1",
  "url": "https://math2.tamnd.com/wiki/subderivative-definition/",
  "writing": {
    "tag": "A289X08MR1",
    "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
      }
    ]
  }
}
