Derivative (')
Usage
Notes
Further Examples
Here is a function of one variable.
In[1]:=
|
This is the derivative of f evaluated at z.
In[2]:=
|
Out[2]=
|
You can take the derivative of the expression defining f directly, without having to define f.
In[3]:=
|
Out[3]=
|
This doesn't work.
In[4]:=
|
Out[4]=
|
However, this works.
In[5]:=
|
Out[5]=
|
This is the third derivative of g at z.
In[6]:=
|
Out[6]=
|
Entering the third derivative directly as g to the power (3) doesn't work. Instead of taking the third derivative of g, we get the cube of g, because the (3) evaluates to .
In[7]:=
|
Out[7]=
|
In[8]:=
|
Out[8]//FullForm=
|
Here is a function of three variables.
In[9]:=
|
This differentiates h once with respect to x, twice with respect to y and three times with respect to z. The result is represented as a pure function.
In[10]:=
|
Out[10]=
|
Here the derivative is evaluated at the point with coordinates x, y, z.
In[11]:=
|
Out[11]=
|
In[12]:=
|
|