Math.diff.js demo

Get the source code on GitHub!

Enter the expression you wish to differentiate below.

Operators: + , - , *, /, ^ . Constants: e , pi . Functions: sqrt , log (natural logarithm) , sin , cos , tan , sec , csc , cot

The derivative with respect to is:

12*x^2 + 6*x + 2