Function: diff (expr, x_1, n_1, ..., x_m, n_m)
Function: diff (expr, x, n)
Function: diff (expr, x)
Function: diff (expr)
- derivative or differential of expr with respect to some or all variables in expr.
Example:
-
(%i) diff( exp(f(x)), x );
(%i) diff( exp(f(x)), x, 2 );
-
(%i) diff( log(x), x);
(%o) 1/x
- Trigonometric/Hyperbolic Functions
-
(%i) diff( csch(x), x);
(%o) -coth(x)*csch(x)
-
(%i) diff( f(x)*g(x), x);
(%o) f(x)*'diff(g(x),x,1)+g(x)*'diff(f(x),x,1)