Difference between revisions of "Derivative Command"

From GeoGebra Manual
Jump to: navigation, search
Line 25: Line 25:
 
;Derivative[ <Expression> ]
 
;Derivative[ <Expression> ]
 
:Returns derivative of an expression with respect to the main variable.
 
:Returns derivative of an expression with respect to the main variable.
:{{examples|1=<code><nowiki>Derivative[x^2]</nowiki></code> yields ''2x''.}}
+
:{{example|1=<code><nowiki>Derivative[x^2]</nowiki></code> yields ''2x''.}}
 
;Derivative[ <Expression>, <Variable> ]
 
;Derivative[ <Expression>, <Variable> ]
 
:Returns derivative of an expression with respect to the given variable.
 
:Returns derivative of an expression with respect to the given variable.
:{{example| 1=<div><code><nowiki>Derivative[y x^3, y]</nowiki></code> yields ''x³''.</div>}}
+
:{{example| 1=<code><nowiki>Derivative[y x^3, y]</nowiki></code> yields ''x³''.}}
 
;Derivative[ <Expression>, <Variable>, <Number> ]
 
;Derivative[ <Expression>, <Variable>, <Number> ]
 
:Returns the ''n''<sup>th</sup> derivative of an expression with respect to the given variable.
 
:Returns the ''n''<sup>th</sup> derivative of an expression with respect to the given variable.

Revision as of 13:37, 2 September 2013



Derivative[ <Function> ]
Returns the derivative of the function with respect to the main variable.
Example: Derivative[x^3 + x^2 + x] yields 3x² + 2x + 1.
Derivative[ <Function>, <Number> ]
Returns the nth derivative of the function with respect to the main variable.
Example: Derivative[x^3 y^2 + y^2 + xy, y] yields 2x³y + x + 2y.
Derivative[ <Function>, <Variable> ]
Returns the partial derivative of the function with respect to the given variable.
Example: Derivative[x^3 + 3x y, x] yields 3x² + 3y.
Derivative[ <Function>, <Variable>, <Number> ]
Returns the nth partial derivative of the function with respect to the given variable.
Example: Derivative[x^3 + 3x y, x, 2] yields 6x.
Derivative[ <Curve> ]
Returns the derivative of the curve.
Example: Derivative[Curve[cos(t), t sin(t), t, 0, π]] yields curve x = -sin(t), y = sin(t) + t cos(t).
Note: It only works for parametric curves.
Derivative[ <Curve>, <Number> ]
Returns the nth derivative of the curve.
Example: Derivative[Curve[cos(t), t sin(t), t, 0, π], 2] yields curve x = -cos(t), y = 2cos(t) - t sin(t).
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

Derivative[ <Expression> ]
Returns derivative of an expression with respect to the main variable.
Example: Derivative[x^2] yields 2x.
Derivative[ <Expression>, <Variable> ]
Returns derivative of an expression with respect to the given variable.
Example: Derivative[y x^3, y] yields .
Derivative[ <Expression>, <Variable>, <Number> ]
Returns the nth derivative of an expression with respect to the given variable.
Examples:
  • Derivative[y x^3, x, 2] yields 6xy.
  • Derivative[x³ + 3x y, x, 2] yields 6x.
© 2024 International GeoGebra Institute