Difference between revisions of "Limit Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
(command syntax: changed [ ] into ( ))
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function}}
{{command|cas=true|function}}
+
;Limit( <Function>, <Value> )
;Limit[ <Function f>, <Value t> ]
+
:Computes the [[w:Limit_of_a_function|limit]] of the function for the given value of the main function variable. (This may also yield infinity.)
:Computes the [[w:Limit_of_a_function|limit]] of the function ''f'' for the given value ''t'' of the main function variable.
+
:{{example|1=<code><nowiki>Limit((x^2 + x) /  x^2, +∞)</nowiki></code> yields ''1''.}}
:{{example|1=<div><code><nowiki>Limit[(x^2 + x) /  x^2, +∞]</nowiki></code> yields ''1'' .</div>}}
 
 
{{note| 1=Not all limits can be calculated by GeoGebra, so ''undefined'' will be returned in those cases (as well as when the correct result is undefined).}}
 
{{note| 1=Not all limits can be calculated by GeoGebra, so ''undefined'' will be returned in those cases (as well as when the correct result is undefined).}}
 
==CAS Syntax==
 
==CAS Syntax==
;Limit[ <Expression f>, <Value t> ]
+
;Limit( <Expression>, <Value> )
:Computes the limit of the function ''f'' for the given value t of the main function variable.
+
:Computes the limit of the expression for the given value of the main function variable.
:{{example|1=<div><code><nowiki>Limit[a sin(x) / x, 0]</nowiki></code> yields ''a'' .</div>}}
+
:{{example|1=<code><nowiki>Limit(a sin(x) / x, 0)</nowiki></code> yields ''a''.}}
;Limit[ <Expression f>, <Variable v>, <Value t> ]
+
;Limit( <Expression>, <Variable>, <Value> )
:Computes the limit of the function ''f'' for the given value ''t'' of the given function variable ''v''.
+
:Computes the limit of the expression for the given value of the given function variable.
:{{example|1=<div><code><nowiki>Limit[a sin(v) / v, v, 0]</nowiki></code> yields ''a'' .</div>}}
+
:{{example|1=<code><nowiki>Limit(a sin(v) / v, v, 0)</nowiki></code> yields ''a''.}}
 
{{note| 1=<div>
 
{{note| 1=<div>
 
* Not all limits can be calculated by GeoGebra, so ''?'' will be returned in those cases (as well as when the correct result is undefined).
 
* Not all limits can be calculated by GeoGebra, so ''?'' will be returned in those cases (as well as when the correct result is undefined).
* See also [[Asymptote Command]], [[LimitAbove Command]] and [[LimitBelow Command]].</div>}}
+
* If you want the limit of a [[If Command|piecewise-defined function]] you need to use [[LimitAbove Command|LimitAbove]] or [[LimitBelow Command|LimitBelow]], for example <code><nowiki>LimitAbove(If(x>1, x^2, -2x), 1)</nowiki></code>
 +
* See also [[Asymptote Command]], [[LimitAbove Command]] and [[LimitBelow Command]].
 +
</div>}}

Latest revision as of 09:32, 9 October 2017


Limit( <Function>, <Value> )
Computes the limit of the function for the given value of the main function variable. (This may also yield infinity.)
Example: Limit((x^2 + x) / x^2, +∞) yields 1.
Note: Not all limits can be calculated by GeoGebra, so undefined will be returned in those cases (as well as when the correct result is undefined).

CAS Syntax

Limit( <Expression>, <Value> )
Computes the limit of the expression for the given value of the main function variable.
Example: Limit(a sin(x) / x, 0) yields a.
Limit( <Expression>, <Variable>, <Value> )
Computes the limit of the expression for the given value of the given function variable.
Example: Limit(a sin(v) / v, v, 0) yields a.
Note:
© 2024 International GeoGebra Institute