Limit - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


limit

calculate limit

Limit

inert form of limit

 

Calling Sequence

Parameters

Options

Description

Examples

References

Compatibility

Calling Sequence

limit(f, x=a)

limxaf

Limit(f, x=a)

limxaf

limit(f, x=a, dir, parametric=p)

 

Limit(f, x=a, dir)

 

Parameters

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)

Options

• 

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.

Description

• 

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.

Examples

The inert Limit function returns unevaluated.

Limit1x,x=0

limx01x

(1)

Limitlnx2,x=

limxlnx2

(2)

limit1x,x=3

13

(3)

limitx2,x=

(4)

limitsinxx,x=0

1

(5)

limitexpx,x=

(6)

limitexpx,x=

0

(7)

limitexpx21erfx,x=

0

(8)

limit1x,x=

0

(9)

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.

limit1x,x=0,real

undefined

(10)

limit1x,x=0,complex

+I

(11)

Directional limits are possible. For more information see limit/dir.

limit1x,x=0,right

(12)

limit1x,x=0,left

(13)

gpiecewisex<3&comma;x26&comma;3x&comma;2x1

gx26x<32x13x

(14)

limitg&comma;x=3

undefined

(15)

limitg&comma;x=3&comma;right

5

(16)

limitg&comma;x=3&comma;left

3

(17)

Unknown functions are assumed to be regular at a finite expansion point.

limitfx&comma;x=a

fa

(18)

Limits with parameters may only be computable when the domain for the parameters is limited via assumptions:

limitsinaxx&comma;x=

limxsinaxx

(19)

limitsinaxx&comma;x=assuminga::real

0

(20)

limitxa&comma;x=

limxxa

(21)

limitxa&comma;x=assuminga<0

0

(22)

limitxa&comma;x=assuming0<a

(23)

Examples for the parametric option:

limitxa&comma;x=

limxxa

(24)

limitxa&comma;x=&comma;parametric

0a<01a=00<alimxxaa0

(25)

limitxa&comma;x=0&comma;parametric

limx0xaa<01a=000<alimx0xaa0

(26)

limitxa&comma;x=0&comma;right&comma;parametric

a<01a=000<alimx0+xaa0

(27)

limitxa&comma;x=0&comma;left&comma;parametric

&ExponentialE;Iπaa<01a=000<alimx0xaa0

(28)

limittanx+aπ2&comma;x=0&comma;rightassuminga::integer

limx0+tanx+πa2

(29)

limittanx+aπ2&comma;x=0&comma;right&comma;parametricassuminga::integer

0a::evena::odd

(30)

The use of the inert Limit function can lead to mathematically incorrect results.

combineLimit1x&comma;x=0Limitx&comma;x=0

limx01

(31)

combinelimit1x&comma;x=0limitx&comma;x=0

undefined

(32)

References

  

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.

Compatibility

• 

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