Takes a symbolic derivative of an expression.

*d*(*expression*,*variable*[,*order*])

**Menu Location**

- Press 2nd MATH to enter the MATH popup menu.
- Press B to enter the Calculus submenu.
- Press 1 to select
*d*(.

This command works on all calculators.

2 bytes

NOTE: Due to the limitations of the wiki markup language, thed() command on this page does not appear as it would on the calculator. See Wiki Markup Limitations for more information.

The *d*() command takes the derivative of an expression with respect to a given variable. All other variables are treated as constant.

Optionally, you can give it a third argument (an integer), and take the derivative that many times. If the argument is negative, it will actually integrate.

```
:d(x^2,x)
2*x
:d(x^5,x,4)
120*x
:d(x^2+y^2+2*x*y,x)
2*x+2*y
```