Difference between revisions of "Integral Command"

From GeoGebra Manual
Jump to: navigation, search
m (changed CAS syntax description)
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function}}
;Integral[ <Function> ]
+
;Integral( <Function> )
 
:Gives the indefinite integral with respect to the main variable.
 
:Gives the indefinite integral with respect to the main variable.
 
:{{example|1=<div><code><nowiki>Integral[x^3]</nowiki></code> yields <math>x^4 \cdot 0.25</math>.</div>}}
 
:{{example|1=<div><code><nowiki>Integral[x^3]</nowiki></code> yields <math>x^4 \cdot 0.25</math>.</div>}}
;Integral[ <Function>, <Variable> ]
+
;Integral( <Function>, <Variable> )
 
:Gives the partial integral with respect to the given variable.
 
:Gives the partial integral with respect to the given variable.
 
:{{Example|1=<code><nowiki>Integral[x³+3x y, x]</nowiki></code>  gives'' <math>\frac{1}{4}x^4</math> + <math>\frac{3}{2}</math> x² y '' .}}
 
:{{Example|1=<code><nowiki>Integral[x³+3x y, x]</nowiki></code>  gives'' <math>\frac{1}{4}x^4</math> + <math>\frac{3}{2}</math> x² y '' .}}
;Integral[ <Function>, <Start x-Value>, <End x-Value> ]
+
;Integral( <Function>, <Start x-Value>, <End x-Value> )
 
:Gives the definite integral over the interval ''[Start x-Value , End x-Value]'' with respect to the main variable.
 
:Gives the definite integral over the interval ''[Start x-Value , End x-Value]'' with respect to the main variable.
 
:{{note| 1=This command also shades the area between the function graph of ''f'' and the ''x''-axis.}}
 
:{{note| 1=This command also shades the area between the function graph of ''f'' and the ''x''-axis.}}
;Integral[ <Function>, <Start x-Value>, <End x-Value>, <Boolean Evaluate> ]
+
;Integral( <Function>, <Start x-Value>, <End x-Value>, <Boolean Evaluate> )
 
:Gives the definite integral of the function over the interval ''[Start x-Value , End x-Value]'' with respect to the main variable and shades the related area if ''Evaluate'' is ''true''.  In case ''Evaluate'' is ''false'' the related area is shaded but the integral value is not calculated.
 
:Gives the definite integral of the function over the interval ''[Start x-Value , End x-Value]'' with respect to the main variable and shades the related area if ''Evaluate'' is ''true''.  In case ''Evaluate'' is ''false'' the related area is shaded but the integral value is not calculated.
 
==CAS Syntax==
 
==CAS Syntax==
Line 17: Line 17:
 
Furthermore, the following command is only available in the [[File:Menu view cas.svg|link=|16px]] ''CAS View'':
 
Furthermore, the following command is only available in the [[File:Menu view cas.svg|link=|16px]] ''CAS View'':
  
;Integral[ <Function>, <Variable>, <Start x-Value>, <End x-Value> ]
+
;Integral( <Function>, <Variable>, <Start x-Value>, <End x-Value> )
 
:Gives the definite integral over the interval ''[Start x-Value , End x-Value]'' with respect to the given variable.
 
:Gives the definite integral over the interval ''[Start x-Value , End x-Value]'' with respect to the given variable.
 
:{{example|1=<div><code><nowiki>Integral[cos(t), t, a, b]</nowiki></code> yields <math>- sin(a) + sin(b)</math>.</div>}}
 
:{{example|1=<div><code><nowiki>Integral[cos(t), t, a, b]</nowiki></code> yields <math>- sin(a) + sin(b)</math>.</div>}}

Revision as of 17:16, 7 October 2017


Integral( <Function> )
Gives the indefinite integral with respect to the main variable.
Example:
Integral[x^3] yields x^4 \cdot 0.25.
Integral( <Function>, <Variable> )
Gives the partial integral with respect to the given variable.
Example: Integral[x³+3x y, x] gives \frac{1}{4}x^4 + \frac{3}{2} x² y .
Integral( <Function>, <Start x-Value>, <End x-Value> )
Gives the definite integral over the interval [Start x-Value , End x-Value] with respect to the main variable.
Note: This command also shades the area between the function graph of f and the x-axis.
Integral( <Function>, <Start x-Value>, <End x-Value>, <Boolean Evaluate> )
Gives the definite integral of the function over the interval [Start x-Value , End x-Value] with respect to the main variable and shades the related area if Evaluate is true. In case Evaluate is false the related area is shaded but the integral value is not calculated.

CAS Syntax

In the Menu view cas.svg CAS View undefined variables are allowed as input as well.

Example:
Integral[cos(a t), t] yields \frac{sin(a t)}{a} + c_1.


Furthermore, the following command is only available in the Menu view cas.svg CAS View:

Integral( <Function>, <Variable>, <Start x-Value>, <End x-Value> )
Gives the definite integral over the interval [Start x-Value , End x-Value] with respect to the given variable.
Example:
Integral[cos(t), t, a, b] yields - sin(a) + sin(b).
© 2024 International GeoGebra Institute