Examples using real or complex options
limit(f, x=a, left)
limit(f, x=a, right)
limit(f, x=a, dir)
equation, where x is a name and a is the limit point
(optional) direction, can be left, right, real , or complex
If dir is left or right, the limit is a directional limit, taken from the left or right, respectively. If dir is real, the limit is the bidirectional real limit. If dir is complex, the limit is omni-directional, from all complex directions to the point.
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 or from the right to -infinity respectively.
If dir is complex, the limit point infinity denotes complex infinity, that is, all infinities in the complex plane. If dir is real, the limit point infinity denotes both positive and negative infinity, and the limit is done bidirectionally. Otherwise, the limit point infinity denotes positive infinity, and -infinity denotes negative infinity.
You can enter the command limit using either the 1-D or 2-D calling sequence.
To use the real and complex arguments, the limit command must be written in 1-D Math notation.
limit(1/x, x=0, real);
limit(1/x, x=0, complex);
limit(1/x, x=infinity, real);
limit(-x, x=infinity, complex);
Download Help Document