Difference between revisions of "Derivative Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|function}}
 
{{command|function}}
; Derivative[Function]: Returns the derivative of the function.  
+
; Derivative[<Function>]: Returns the derivative of the function.  
; Derivative[Function, Number n]: Returns the ''n''<sup>th</sup> derivative of the function.
+
; Derivative[<Function>, <Number n>]: Returns the ''n''<sup>th</sup> derivative of the function.
; Derivative[Curve]: {{description}}
+
; Derivative[<Curve>]: {{description}}
; Derivative[Curve, Number n]: {{description}}
+
; Derivative[<Curve>, <Number n>]: {{description}}
  
 
{{Note| You can use <code>f'(x)</code> instead of <code>Derivative[f]</code>, or <code>f<nowiki>''</nowiki>(x)</code> instead of <code>Derivative[f, 2]</code>, and so on.}}
 
{{Note| You can use <code>f'(x)</code> instead of <code>Derivative[f]</code>, or <code>f<nowiki>''</nowiki>(x)</code> instead of <code>Derivative[f, 2]</code>, and so on.}}
 +
 +
==CAS Syntaxes==
 +
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''<sup>th</sup> derivative of ''f'' with respect to ''a''.
 +
 +
: {{Example|1=&nbsp;
 +
:* <code>Derivative[x^2]</code> gives you "2x".
 +
:* Assuming you've declared ''f'' as <code>f(x):=a*x^3</code>
 +
:* <code>Derivative[f(x)];</code> gives you ''3a x²''.
 +
:* <code>Derivative[f(x), a];</code> gives you ''x³''.
 +
:* <code>Derivative[f(x), x, 2];</code> gives you ''6a x''.}}

Revision as of 11:43, 29 July 2011


Derivative[<Function>]
Returns the derivative of the function.
Derivative[<Function>, <Number n>]
Returns the nth derivative of the function.
Derivative[<Curve>]


Derivative[<Curve>, <Number n>]


Note: You can use f'(x) instead of Derivative[f], or f''(x) instead of Derivative[f, 2], and so on.

CAS Syntaxes

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 nth 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 .
  • Derivative[f(x), x, 2]; gives you 6a x.
© 2024 International GeoGebra Institute