{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "03J8BS7FMV"
    },
    {
      "field": "uses",
      "target": "067F8YVYMH"
    },
    {
      "field": "uses",
      "target": "0T8M3YC5RG"
    }
  ],
  "body": "\n## Definition\n\nLet $R$ be a [[ring|0894J980RK]] and let $f = a_0 + a_1 x + \\dots + a_n x^n \\in R[x]$.\nThe formal derivative of $f$ is the polynomial\n$$f' = a_1 + 2 a_2 x + 3 a_3 x^2 + \\dots + n a_n x^{n-1},$$\nwhere $k a_k$ is the sum of $k$ copies of $a_k$.\n\n## Remarks\n\nThe derivative is additive, and $(r f)' = r f'$ for each constant $r \\in R$.\nIf $R$ is commutative, the product rule holds: $(f g)' = f' g + f g'$.\nIn characteristic $p$, the derivative of $x^p$ is $p x^{p-1} = 0$. So a nonconstant polynomial can have derivative $0$.\nThe derivative detects [[repeated roots|067F8YVYMH]].\n\n## Explanations\n\n### L1 human\n\nThe formal derivative uses the rule from calculus, but it is pure algebra.\nYou never take a limit, so it works over the integers modulo $p$ too.\nFor example, the derivative of $x^3 + 2x$ is $3x^2 + 2$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0EGN1E1JPB",
    "kind": "definition",
    "msc": [
      "13N15"
    ],
    "name": "Formal derivative",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Formal_derivative"
      }
    ],
    "tag": "0AD4VS02H3",
    "uses": [
      "0Q9EZS90GY"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0AD4VS02H3/",
  "links": [
    {
      "field": "defines",
      "target": "0EGN1E1JPB"
    },
    {
      "field": "uses",
      "target": "0Q9EZS90GY"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0AD4VS02H3.md",
  "msc": [
    "13N15"
  ],
  "name": "Formal derivative",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0AD/0AD4VS02H3.md",
  "status": null,
  "tag": "0AD4VS02H3",
  "uri": "m2://0AD4VS02H3",
  "url": "https://math2.tamnd.com/wiki/formal-derivative-definition/",
  "writing": {
    "tag": "0AD4VS02H3",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
