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
The limits of x^(x - 1) and (e^x - 1)^(x - 1) at 0- are +oo; the principal value tends to -oo + pi i #2693
On master (52a6530), two limits from the left of 0 return +oo where the principal value tends to infinity along the negative real axis:
limit at 0-
master
principal value at x = -1e-20 (mpmath)
x^(x - 1)
+oo
-1.0E+20 + 3.1415927i
(e^x - 1)^(x - 1)
+oo
-1.0E+20 + 3.1415927i
x^x
1
1.0 - 3.1415927E-20i (right)
sin(x)^x
1
1.0 - 3.1415927E-20i (right)
x^(x - 1) is x^x / x. x^x tends to 1 and 1/x to -oo, so the real part tends to -oo and the imaginary part to pi. +oo is the limit from the right and is wrong from the left.
Other limits from the left whose values are not real are left unevaluated, by the convention the tests AComplexSideIsNotRead and AnExponentThatOnlyTendsToAWholeNumberIsLeftAloneUnderANegativeBase pin: sin(x^x) and sin(x)^(x - 1) at 0- stay as limitleft(…). So the rows above are answered where the convention says they should be declined, and two of the four are answered wrongly. Which PR introduced them has not been bisected.
Activity
Answer a limit on a side that is not real with the infinity its direc…