You're not reading the latest revision of this page, which is here.

Derivative

Creates a new function representing the derivative of the expression/variable that was passed into it.

1
\derivative[<action>]{<variable>}{<expression>}{<free_variable>}
  • action, variable and expression are identical to the input of a \function command.
  • free_variable defines the free variable in the given expression.
  • $$f_1 = 4x^3 + 2 \cdot 3x^2$$ is the output of

    1
    2
    3
    4
    5
    6
    \derivative{f_1}{x^4 + 2*x^3}{x}
     
    % and is equal to the following
     
    \function{f}{x^4 + 2*x^3}
    \derivative{f_1}{f}{x}