You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A limit with real and imaginary parts both infinite takes the real part's infinity: i x + ln(x) at +oo is +oo, not +ooi #2707
On master (409d688), a limit whose real and imaginary parts both grow without bound is answered with the real part's infinity, whichever part grows faster. Reference values are from mpmath at x = 1e10, 1e20 and 1e40 on the principal branch.
limit at +oo
master
value at the three points
true limit
i * x + ln(x)
+oo
23.0 + 1e10 i, 46.1 + 1e20 i, 92.1 + 1e40 i
+ooi
i * x - ln(x)
-oo
arg/pi → 0.5
+ooi
arccos(exp(x)) + ln(x)
+oo
arg/pi → 0.5
+ooi
arcsin(x) - ln(ln(x))
-oo
arg/pi -0.521, -0.515, -0.510
-ooi
arcsin(x) * ln(x)
+oo
arg/pi -0.479, -0.489, -0.495
-ooi
i * x + x
+oo
arg/pi = 0.25
(1 + i)/sqrt(2) * oo, not on the real axis
sqrt(arcsin(x) * x)
+oo
arg/pi -0.239, -0.245, -0.247
direction e^(-i pi/4)
The same sums are sometimes left unresolved instead: exp(x) + sqrt(-x) at +oo is +oo + +ooi where the limit is +oo, and 2 * ln(x) + sqrt(-x) is +oo + +ooi where it is +ooi.
A real infinity plus an imaginary one has to compare their rates; where they are of the same order the limit has no direction on either axis and should be declined (or answered with its direction, if the library has one). Related: #2697 settled a single function's direction on a side that is not real.
Activity