Is it possible to find the limit as a function approaches a complex number?
18 views (last 30 days)
Show older comments
Hello
I am trying to find the limit of a function as it approaches a complex number but I get an error that says "Limit Points must be real, 'infinity', or '-infinity'". Does anyone know if there are work arounds for complex limits in matlab or if this is just not a supported functinality of the software?
syms m2
limit(m2,m2,complex(1,1))
Here is some small sample code that produces the same error I am encountering.
Here is some context for the problem I am working on for those who might be interested.
0 Comments
Accepted Answer
Walter Roberson
on 12 Nov 2022
The MATLAB limit function calculates the limit from below and the limit from above, and tells you the limit is undefined if the two are not equal.
If you were working with complex numbers then there are not just two directions to consider, there are an infinite number of directions to consider. Complex numbers can be characterized by magnitude and angle, and in a limit you would shrink the magnitude towards 0 but that leaves open all angles. The limit along angle π/5 might be different than the limit along 3π/11 or π+1/18. So taking a complex limit turns into a proof that the limit does not vary with complex angle, rather than simply evaluating the limit at two specific angles and comparing them.
8 Comments
Walter Roberson
on 12 Nov 2022
The user indicated "Provided I know that the limit does not vary with complex angle" but 1-1i and 1+1i can be interpreted as being different complex angles with the same magnitude . If the limit at 1-1i is different than the limit at 1+1i then the hypothesis that the limit does not vary with complex angles is incorrect for the function being examined.
Bruno Luong
on 13 Nov 2022
Edited: Bruno Luong
on 13 Nov 2022
Read diagonally the debate it looks like there is a confusion by Walter of
- the limit directional about a single point (even it's the same does NOT ensure the limits to a value) and
- argument (angle) of two points related to the origin of complex plane.
Those are entirely different.
More Answers (1)
Bruno Luong
on 13 Nov 2022
Edited: Bruno Luong
on 13 Nov 2022
If seem that what you want can be derived from the the Laurent series of G about p_i
I have no idea if Matlab symbolc can compute Laurent series (I don't have the toolbox, but I see it mentions in taylor document page)
0 Comments
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!