#mathematic # [[Epistemic status]] #shower-thought #to-digest # Changelog ```dataview TABLE WITHOUT ID file.mtime AS "Last Modified" FROM [[#]] SORT file.mtime DESC LIMIT 3 ``` # Related # TODO > [!TODO] TODO # Automatic differentiation At school they teach you to derive like that: $f(x)=x²$ $f'(x)=2x$ or $g(x)=3x^3+4$ $g'(x)=9x²$ It's called symbolic differentiation It's good for education but for serious, efficient matter you use automatic differentiation using Dual Numbers See implementation here https://gist.github.com/louis030195/80ce2fdd2c475bef09267399b0be0b79 A differentiable function = does not contain any break, angle, or cusp, imagine a "wave" for example Similar topic links: [[en.wikipedia.org - Differentiable Function - Wikipedia]] [[en.wikipedia.org - Automatic Differentiation - Wikipedia]] [[en.wikipedia.org - Derivative - Wikipedia]]