Difference between revisions of "Derivative Command"

From GeoGebra Manual
Jump to: navigation, search
Line 16: Line 16:
 
;Derivative[ <Function f> or <Expression f> ]
 
;Derivative[ <Function f> or <Expression f> ]
 
:Returns derivative of  ''f'' with respect to ''x''.
 
:Returns derivative of  ''f'' with respect to ''x''.
:{{example|1=<div><code><nowiki>Derivative[x^2]</nowiki></code> yields "2 x".</div>}}
+
:{{example|1=<div><code><nowiki>Derivative[x^2]</nowiki></code> yields ''2 x''.</div>}}
 
:{{example| 1=<div><code><nowiki>Derivative[a x^3]</nowiki></code> yields ''3 a x<sup>2</sup>''.</div>}}
 
:{{example| 1=<div><code><nowiki>Derivative[a x^3]</nowiki></code> yields ''3 a x<sup>2</sup>''.</div>}}
 
;Derivative[ <Function f> or <Expression f>, <Variable a> ]
 
;Derivative[ <Function f> or <Expression f>, <Variable a> ]

Revision as of 14:29, 7 September 2011


Derivative[ <Function> ]
Returns the derivative of the function.
Derivative[ <Function>, <Number n> ]
Returns the nth 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 nth 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.
Example:
Derivative[x^2] yields 2 x.
Example:
Derivative[a x^3] yields 3 a x2.
Derivative[ <Function f> or <Expression f>, <Variable a> ]
Returns derivative of f with respect to a.
Example:
Derivative[a x^3, a] yields x3.
Derivative[ <Function f> or <Expression f>, <Variable a>, <Number n> ]
Returns the nth derivative of f with respect to a.
Example:
Derivative[a x^3, x, 2] yields 6 a x.
© 2024 International GeoGebra Institute