{
  "aliases": [
    "left-derivative",
    "right-derivative"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0CQ9ZM383N"
    },
    {
      "field": "uses",
      "target": "0Q5A47J48D"
    }
  ],
  "body": "\n## Definition\n\nLet $f$ be a real function defined on an interval $[a, a + r)$ with $r \u003e 0$.\nThe right derivative of $f$ at $a$ is the [[one-sided limit|0909PWZR62]]\n$$f'_+(a) = \\lim_{h \\to 0^+} \\frac{f(a + h) - f(a)}{h},$$\nwhen it exists.\nThe left derivative $f'_-(a)$ is defined in the same way, for $f$ on $(a - r, a]$ and $h \\to 0^-$.\n\n## Remarks\n\nA function on an open interval is differentiable at $a$ if and only if both one-sided derivatives exist and are equal. Their common value is the [[derivative|0F1WR9C83K]].\nOne-sided derivatives give a meaning to derivatives at the endpoints of a closed interval.\nFor $|x|$ at $0$, the right derivative is $1$ and the left derivative is $-1$.\nMathlib expresses them with `HasDerivWithinAt` on a half line.\n\n## Explanations\n\n### L1 human\n\nA one-sided derivative only looks at one side of the point.\nAt a corner of a graph, the slopes from the left and from the right exist but differ.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "left-derivative",
      "right-derivative"
    ],
    "defines": "0R9PHTGVNW",
    "kind": "definition",
    "msc": [
      "26A24"
    ],
    "name": "One-sided derivative",
    "sources": [
      {
        "locator": "Definitions",
        "url": "https://en.wikipedia.org/wiki/Semi-differentiability"
      }
    ],
    "tag": "0HXEX0DPRA",
    "uses": [
      "0F1WR9C83K",
      "0909PWZR62"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0HXEX0DPRA/",
  "links": [
    {
      "field": "defines",
      "target": "0R9PHTGVNW"
    },
    {
      "field": "uses",
      "target": "0F1WR9C83K"
    },
    {
      "field": "uses",
      "target": "0909PWZR62"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0HXEX0DPRA.md",
  "msc": [
    "26A24"
  ],
  "name": "One-sided derivative",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0HX/0HXEX0DPRA.md",
  "status": null,
  "tag": "0HXEX0DPRA",
  "uri": "m2://0HXEX0DPRA",
  "url": "https://math2.tamnd.com/wiki/one-sided-derivative-definition/",
  "writing": {
    "tag": "0HXEX0DPRA",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
