-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behaviour of z^Infinity and Infinity^z #24
Comments
Complex(Infinity).exp()
?
My understanding is that all mathematical operations that work in the complex plane work the same way on the Riemann sphere. So the results of complex exponential operations that land in the complex plane get mapped to the appropriate place on the Riemann sphere. This includes zero and all four infinities (which map to the poles).
… On Mar 9, 2018, at 5:36 AM, Harry Sarson ***@***.***> wrote:
What does the Riemann mapping say when it comes to the complex exponential?
@derknorton <https://github.com/derknorton>
@balagge <https://github.com/balagge>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#24>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFk1eYg5265IBEFelQUwroPF1Ie1_shAks5tcndUgaJpZM4SkNEU>.
|
What does that make |
Since z^n is the same as z * z * ... * z and Infinity * Infinity => Infinity I would say the answer should be Infinity.
… On Mar 9, 2018, at 8:46 AM, Harry Sarson ***@***.***> wrote:
What does that make Complex(Infinity).exp() equal to?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#24 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFk1eWHCXBVLQqHp6JEpvCkubJCgNAeGks5tcqPggaJpZM4SkNEU>.
|
indeterminate. (no value, NaN, whatever. same as 0 / 0) |
or, if you take the z values: 0, i*pi, 2 i*pi, 3 i*pi, etc. (clearly z goes to infinity) then the exp(z) values will be +1, -1, +1, ... as exp(n i pi) is -1 if n is odd and + 1 if n is even. |
truly confusing, I never liked this part of complex theory. |
this is how wikipedia pictures the complex exp function. pretty cool. Brightness means the absolute value, color means the direction. Now if you approach infinity "to the right", then you will have a sequence that also goes to infinity. However, if you approach it "to the top" (as in the example I wrote above), then you will be going around the unit circle. Same with the bottom direction. If you go left (to the same complex infinity) than the exponentiation will go to zero... https://upload.wikimedia.org/wikipedia/commons/a/a7/Complex_exp.jpg |
I think Harry was asking about Infinity^z rather than z^Infinity. The first should be Infinity. I think you are correct that the second should be indeterminate (NaN).
… On Mar 9, 2018, at 9:27 AM, Paál Balázs ***@***.***> wrote:
wolfram:
<https://user-images.githubusercontent.com/13258533/37217878-1069145a-23bf-11e8-92be-e8594f029ba3.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#24 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFk1ec-FmRT0CCgVU8626ah22wFIN2FZks5tcq1ygaJpZM4SkNEU>.
|
@derknorton Both cases are relivant but to clarify:
|
Sorry, my mistake...
… On Mar 9, 2018, at 11:29 AM, Harry Sarson ***@***.***> wrote:
@derknorton <https://github.com/derknorton> Both cases are relivant but to clarify:
Complex(Infinity).exp() calculates e^Infinity so I was talking about the second case.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#24 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFk1eZLnTvBQSoALVpXUiMjs0enyuLT7ks5tcsoQgaJpZM4SkNEU>.
|
To summarise for complex
maybe? |
I think #3 should result in Infinity for |z| > 1
… On Mar 9, 2018, at 11:36 AM, Harry Sarson ***@***.***> wrote:
To summarise for complex z :
0 ^ Infinity === 0
1 ^ Infinity === 1
z ^ Infinity === |z| < 1 ? 0 : NaN
Infinity ^ Infinity === NaN
Infinity ^ 0 === NaN
Infinity ^ 1 === Infinity
Infinity ^ z === Infinity
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#24 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFk1eVGBKrsd7RXaE1CKXj1aXgiOwA_Cks5tcsusgaJpZM4SkNEU>.
|
#24 (comment) says it should not |
That's fine, but we should clarify (especially in the code) that for real z the third one approaches Infinity for |z| > 1 ;-)
… On Mar 9, 2018, at 12:01 PM, Harry Sarson ***@***.***> wrote:
#24 (comment) <#24 (comment)> says it should not
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#24 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFk1eeBq_k-nR2CzcsMxIO17QWtuU7l-ks5tctGGgaJpZM4SkNEU>.
|
Wait. There are quite a few problems with exponentiation in the general cases. As a start, check out Whenever an exponentiation involves Infinity (which, on the Riemann sphere means a single complex infinity), the only way to define the meaning is by using limits, so e.g. I thought the question was about |
So I checked all of the other examples first on Wolfram Cloud, and actually most of them are indeterminate. I am still working on understanding each case, but there are serious challenges here, although I have a degree in math :) Ok, so:
|
|
Quote from wikipedia: "Trying to extend these functions to the general case of noninteger powers of complex numbers that are not positive reals leads to difficulties. Either we define discontinuous functions or multivalued functions. Neither of these options is entirely satisfactory." In other words, This means that the infinite case, However, for the positive real case: this is also indeterminate, unless |
|
Summary: Any exponentiation involving Infinity (either as base or exponent) is indeterminate, except: (6) And, the only question is the result of |
To summarise for any complex
Question: should |
On Mar 14, 2018, at 5:46 PM, Harry Sarson ***@***.***> wrote:
To summarise for any complex z:
z ^ Infinity === NaN
Infinity ^ z === Infinity if Im(z) === 0 and Re(z) > 0
Infinity ^ z === 0 if Re(z) < 0
Infinity ^ z === NaN otherwise
Question: should Infinity ^ 0 === 1 which would fit with behavour for Numbers in js?
I would think so, since I thought mathematicians had defined anything to the zeroth power as 1, but we should ask the real mathematician ;-)
… —
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#24 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFk1ec03ZkMb-ucHs4svV_Mmbjl_M_Ocks5teavwgaJpZM4SkNEU>.
|
Previous behaviour was inconsistant and was not tested for. This commit ensures that z^inf and inf^z return reasonable and consistant values. See rawify#24 for the dicussion on the behaviour which can be summaried as: z ^ Infinity === NaN Infinity ^ z === Infinity if Im(z) === 0 and Re(z) > 0 Infinity ^ z === 0 if Re(z) < 0 Infinity ^ 0 === 1 Infinity ^ z === NaN otherwise
you are right, provided that exponentiation is otherwise defined with a fixed branch cut of the Wikipedia has a good explanation on how to compute a complex power: https://en.wikipedia.org/wiki/Exponentiation#Computing_complex_powers So if we want to compute Then
This indeed converges if Generally, with multi-valued powers, this does not work, because Bottom line: if Complex.js defines |
For https://en.wikipedia.org/wiki/Indeterminate_form
The right way is with |
Funny that javascript has |
What does the Riemann mapping say when it comes to the complex exponential?
@derknorton
@balagge
The text was updated successfully, but these errors were encountered: