{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $I \\subseteq \\R$ be an open interval and let $f \\colon I \\to \\R$.\n\n1. The function $f$ is of *class* $C^0$ on $I$ if it is [[continuous|0P27W9RW0G]] on $I$.\n2. Let $k \\ge 1$ be an integer. The function $f$ is of *class* $C^k$ on $I$ if the [[higher derivatives|084NGSTWM7]] $f', \\ldots, f^{(k)}$ exist on $I$. Moreover $f^{(k)}$ must be continuous on $I$.\n3. The function $f$ is of *class* $C^\\infty$ on $I$ if it is of class $C^k$ for every $k \\ge 0$.\n\nThe set of functions of class $C^k$ on $I$ is written $C^k(I)$.\n\n## Remarks\n\nThe classes are nested: $C^\\infty(I) \\subseteq \\cdots \\subseteq C^2(I) \\subseteq C^1(I) \\subseteq C^0(I)$.\nThe class $C^1$ is the class of [[continuously differentiable functions|06SKCHDQT5]], and $C^\\infty$ is the class of [[smooth functions|0BE3QDH73A]].\nThe class $C^\\omega$ of real [[analytic functions|0JD5ZNW0F4]] lies inside $C^\\infty$.\nFor functions of several variables, $C^k$ is defined by continuous partial derivatives up to order $k$; see [[the characterisation by derivatives|0TCBZMEYGN]].\n\nExample: $f(x) = x \\abs{x}$ on $\\R$ is of class $C^1$.\nIts derivative is $f'(x) = 2 \\abs{x}$, which is continuous.\nIt is not of class $C^2$, because $2\\abs{x}$ is not differentiable at $0$.\nMore generally, $x^k \\abs{x}$ is of class $C^k$ but not of class $C^{k+1}$.\n\nNon-example: $g(x) = x^2 \\sin(1/x)$ for $x \\ne 0$, with $g(0) = 0$, is differentiable on $\\R$ but not of class $C^1$.\nIts derivative is $g'(x) = 2x \\sin(1/x) - \\cos(1/x)$ for $x \\ne 0$ and $g'(0) = 0$, and $g'$ has no limit at $0$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "WK5HPW5Y24",
    "kind": "definition",
    "msc": [
      "26A24",
      "26E10"
    ],
    "name": "Smoothness classes",
    "sources": [
      {
        "locator": "Differentiability classes",
        "url": "https://en.wikipedia.org/wiki/Smoothness"
      }
    ],
    "tag": "CRJSW18XVM",
    "uses": [
      "0P27W9RW0G",
      "084NGSTWM7",
      "06SKCHDQT5",
      "0BE3QDH73A",
      "0JD5ZNW0F4",
      "0TCBZMEYGN"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/CRJSW18XVM/",
  "links": [
    {
      "field": "defines",
      "target": "WK5HPW5Y24"
    },
    {
      "field": "uses",
      "target": "0P27W9RW0G"
    },
    {
      "field": "uses",
      "target": "084NGSTWM7"
    },
    {
      "field": "uses",
      "target": "06SKCHDQT5"
    },
    {
      "field": "uses",
      "target": "0BE3QDH73A"
    },
    {
      "field": "uses",
      "target": "0JD5ZNW0F4"
    },
    {
      "field": "uses",
      "target": "0TCBZMEYGN"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/CRJSW18XVM.md",
  "msc": [
    "26A24",
    "26E10"
  ],
  "name": "Smoothness classes",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/CRJ/CRJSW18XVM.md",
  "status": null,
  "tag": "CRJSW18XVM",
  "uri": "m2://CRJSW18XVM",
  "url": "https://math2.tamnd.com/wiki/smoothness-classes-definition/",
  "writing": {
    "tag": "CRJSW18XVM",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
