Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Derivative as a function (derivative)

The derivative operator: derivative(n) is of order n, derivative(0, 1) is the partial in the second argument.

How to write it

derivative(n, ...)

The derivative f' of a function f is construct(derivative(1), f).

n
The order, or the order in each argument. Takes a whole number.

Examples

  • sin⁡′=cos⁡(#1) &\displaystyle \sin' = \cos(\#1) \, \&
    construct(derivative(1), sin)

    In the solver, construct(derivative(1), sin) gives function(cos(slot(1))).

    Open in the solver

Functions its examples use

  • construct

    Apply a head that is itself computed to arguments, as in f'(0) or (x => body)(a).

  • diff

    Derivative of an expression with respect to one or more variables.

  • curl

    Curl of a vector field in three variables.

  • div

    Divergence of a vector field.

  • certified_value

    An enclosure of a definite integral or a closed constant, with radius at most 10^-digits.

  • grad

    Gradient of an expression: the list of its partial derivatives.

  • total_diff

    Total derivative of an expression with respect to a variable.