This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Derivative

f'
represents the derivative of a function f of one argument.
Derivative[n1, n2, ...][f]
is the general form, representing a function obtained from f by differentiating times with respect to the first argument, times with respect to the second argument, and so on.
  • You can think of Derivative as a functional operator which acts on functions to give derivative functions.
  • Derivative is generated when you apply D to functions whose derivatives Mathematica does not know.
  • Mathematica attempts to convert Derivative[n][f] and so on to pure functions. Whenever Derivative[n][f] is generated, Mathematica rewrites it as D[f[#], {#, n}]&. If Mathematica finds an explicit value for this derivative, it returns this value. Otherwise, it returns the original Derivative form.
  • Derivative[-n][f] represents the ^(th) indefinite integral of f.
  • Derivative[{n1, n2, ...}][f] represents the derivative of taken times with respect to . In general, arguments given in lists in f can be handled by using a corresponding list structure in Derivative.
  • N will give a numerical approximation to a derivative.
Derivative of a defined function:
This is equivalent to :
Derivative at a particular value:
This is equivalent to :
The second derivative:
Derivative of a defined function:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
This is equivalent to :
In[3]:=
Click for copyable input
Out[3]=
Derivative at a particular value:
In[4]:=
Click for copyable input
Out[4]=
This is equivalent to :
In[5]:=
Click for copyable input
Out[5]=
The second derivative:
In[6]:=
Click for copyable input
Out[6]=
The derivative of a function returns a function:
Partial derivatives with respect to different arguments:
The partial derivative with respect to the first argument:
A mixed partial evaluated at a particular value:
Partial derivatives for functions with list arguments:
The partial derivative with respect to the first element:
A mixed partial evaluated at a particular value:
Define a derivative for a function:
Define partial derivatives for a function:
This effectively defines the gradient:
Show the vector field:
Derivative with a negative integer order can do integrals:
Use N to find a numerical approximation to the derivative:
New in 1 | Last modified in 4