limit
calculate limit
Limit
inert form of limit
Calling Sequence
Parameters
Options
Description
Examples
References
Compatibility
limit(f, x=a)
limx→a⁡f
Limit(f, x=a)
limit(f, x=a, dir, parametric=p)
Limit(f, x=a, dir)
f
-
algebraic expression
x
name
a
algebraic expression; limit point, possibly infinity, or -infinity
dir
(optional) symbol; direction chosen from: left, right, real, or complex
p
(optional) either true or false (default)
parametric=p
If parametric=true, or just parametric, is specified, then limit tries to compute an answer that is correct for all real values of any parameter(s) appearing in a. Typically, the result is a piecewise expression.
The limit(f, x=a, dir) function attempts to compute the limiting value of f as x approaches a.
You can enter the command limit using either the 1-D or 2-D calling sequence.
If dir is not specified, the limit is the real bidirectional limit, except in the case where the limit point is infinity or -infinity, in which case the limit is from the left to infinity and from the right to -infinity. For help with directional limits, see limit/dir.
The output from limit can be a range (meaning a bounded result) or an algebraic expression, possibly containing infinity. For further help with the return type, see limit/return.
To compute a limit in a multidimensional space, specify a set of points as the second argument. For more information, see limit/multi.
Most limits are resolved by computing series. By increasing the value of the global variable Order, the ability of limit to solve problems with significant cancellation improves.
If Maple cannot find a closed form for the limit, the function calling sequence is returned.
Note: The limit function always assumes that the limit variable approaches the limit point along (one or more) continuous paths (e.g., along the real axis from the left or from the right). It is not currently possible to compute limits where the limit variable takes only discrete or integer values.
Also, the limit function ignores any assumptions on the limit variable made via assume or assuming.
If f is a function not known to Maple, the limit function assumes that f is regular at a finite expansion point.
The capitalized function name Limit is the inert limit function, which returns unevaluated. It appears gray so that it is easily distinguished from a returned limit calling sequence.
Note: Since Limit does not try to evaluate or check the existence of the limit of the expression, it can lead to incorrect transformations. Therefore, the use of limit is more reliable. This is demonstrated by the last two examples.
The inert Limit function returns unevaluated.
Limit⁡1x,x=0
limx→0⁡1x
Limit⁡ln⁡x2,x=−∞
limx→−∞⁡ln⁡x2
limit⁡1x,x=3
13
limit⁡x2,x=∞
∞
limit⁡sin⁡xx,x=0
1
limit⁡exp⁡x,x=∞
limit⁡exp⁡x,x=−∞
0
limit⁡exp⁡x2⁢1−erf⁡x,x=∞
limit⁡1x,x=∞
To use the real and complex arguments, the limit command must be written in 1-D or 2-D command form and not in mathematical notation. See Entering Commands in 2-D Math for more information.
limit⁡1x,x=0,real
undefined
limit⁡1x,x=0,complex
∞+∞⁢I
Directional limits are possible. For more information see limit/dir.
limit⁡1x,x=0,right
limit⁡1x,x=0,left
−∞
g≔piecewise⁡x<3,x2−6,3≤x,2⁢x−1
g≔x2−6x<32⁢x−13≤x
limit⁡g,x=3
limit⁡g,x=3,right
5
limit⁡g,x=3,left
3
Unknown functions are assumed to be regular at a finite expansion point.
limit⁡f⁡x,x=a
f⁡a
Limits with parameters may only be computable when the domain for the parameters is limited via assumptions:
limit⁡sin⁡a⁢xx,x=∞
limx→∞⁡sin⁡a⁢xx
limit⁡sin⁡a⁢xx,x=∞assuminga::real
limit⁡xa,x=∞
limx→∞⁡xa
limit⁡xa,x=∞assuminga<0
limit⁡xa,x=∞assuming0<a
Examples for the parametric option:
limit⁡xa,x=∞,parametric
0a<01a=0∞0<alimx→∞⁡xaℑ⁡a≠0
limit⁡xa,x=0,parametric
limx→0⁡xaa<01a=000<alimx→0⁡xaℑ⁡a≠0
limit⁡xa,x=0,right,parametric
∞a<01a=000<alimx→0+⁡xaℑ⁡a≠0
limit⁡xa,x=0,left,parametric
ⅇI⁢π⁢a⁢∞a<01a=000<alimx→0−⁡xaℑ⁡a≠0
limit⁡tan⁡x+a⁢π2,x=0,rightassuminga::integer
limx→0+⁡tan⁡x+π⁢a2
limit⁡tan⁡x+a⁢π2,x=0,right,parametricassuminga::integer
0a::even−∞a::odd
The use of the inert Limit function can lead to mathematically incorrect results.
combine⁡Limit⁡1x,x=0⁢Limit⁡x,x=0
limx→0⁡1
combine⁡limit⁡1x,x=0⁢limit⁡x,x=0
Geddes, K. O., and Gonnet, G. H. "A New Algorithm for Computing Symbolic Limits Using Hierarchical Series." In Proceedings of ISSAC '88, pp. 490-495. Edited by Patrizia M. Gianni. Berlin: Springer-Verlag, 1988.
The limit command was updated in Maple 2016; see Advanced Math.
The limit command was updated in Maple 2020.
The parametric option was introduced in Maple 2020.
For more information on Maple 2020 changes, see Updates in Maple 2020.
See Also
combine
limit/dir
limit/multi
limit/return
RealDomain
series
signum
Download Help Document