residue
compute the algebraic residue of an expression
Calling Sequence
Parameters
Description
Examples
Compatibility
residue(f, x=a)
residue(f, x=a, n)
f
-
arbitrary algebraic expression
x
variable
a
algebraic value at which the residue is evaluated
n
(optional) positive integer
Computes the algebraic residue of the expression f for the variable x around the point a. The residue is defined as the coefficient of in the Laurent series expansion of f.
Maple compute the residue by successively performing series expansions at , by default of orders , and then extracts the coefficient of . If this is unsuccessful, for example, because does not have a Laurent expansion, or because order is still too small, the residue command returns unevaluated.
The maximal order of series expansions being tried can be raised by providing a positive integer n as third argument.
In the following example, there is no Laurent expansion.
In the next example, the default order is too small.
The reason is that the series expansion of order does not have enough terms:
Raising the order to 28 helps:
The residue command was updated in Maple 2019.
The n parameter was introduced in Maple 2019.
For more information on Maple 2019 changes, see Updates in Maple 2019.
See Also
numapprox[laurent]
series
singular
Download Help Document