Skip to content

Derivative

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

  \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
      \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}