D

Derivative (WMA)


D[f, x]

gives the partial derivative of f with respect to x.

D[f, x, y, ...]

differentiates successively with respect to x, y, etc.

D[f, {x, n}]

gives the multiple derivative of order n.

D[f, {{$x_1$, $x_2$, ...}}]

gives the vector derivative of f with respect to $x_1$, $x_2$, etc.

First-order derivative of a polynomial:

Second-order derivative:

Trigonometric derivatives:

Unknown variables are treated as constant:

Derivatives of unknown functions are represented using Derivative:

Chain rule:

Compute the gradient vector of a function:

Hesse matrix:

Complexes
Derivative