# Derivative Command

From GeoGebra Manual

Revision as of 10:11, 4 August 2011 by Andrea.duringer (talk | contribs)

- Derivative[<Function>]
- Returns the derivative of the function.
- Derivative[<Function>, <Number n>]
- Returns the
*n*^{th}derivative of the function. - Derivative[<Curve>]
- Returns the derivative of the curve.
**Note:**It only works for parametric curves.- Derivative[<Curve>, <Number n>]
- Returns the
*n*^{th}derivative of the curve. **Note:**It only works for parametric curves.

**Note:**You can use

`f'(x)`

instead of `Derivative[f]`

, or `f''(x)`

instead of `Derivative[f, 2]`

, and so on.## CAS Syntax

In CAS View only following syntax is supported:

- Derivative[<Function f> or <Expression f>]
- Returns derivative of
*f*with respect to*x*. - Derivative[<Function f> or <Expression f>, <Variable a>]
- Returns derivative of
*f*with respect to*a*. - Derivative[<Function f> or <Expression f>, <Variable a>, <Number n>]
- Returns the
*n*^{th}derivative of*f*with respect to*a*.

**Example:**`Derivative[x^2]`

gives you "2x".

Assuming you've declared*f*as`f(x):=a*x^3`

`Derivative[f(x)];`

gives you*3a x²*.`Derivative[f(x), a];`

gives you*x³*.`Derivative[f(x), x, 2];`

gives you*6a x*.