MATLAB What Interesting Pattern Do Complex Numbers Reveal in Matlab?

AI Thread Summary
The discussion revolves around the exploration of complex numbers in Matlab, specifically focusing on the expression a = (e^{x})^{i \pi/2}. It highlights a pattern where incrementing x by integer powers results in a rotation of a by π/2 radians in the complex plane. Starting at 0 radians for x = 0, the value of a rotates to π/2 radians for x = 1, then to π for x = 2, and continues around the unit circle. The user expresses excitement about this discovery and shares a link to a Wikipedia article on Euler's formula in complex analysis, which reinforces their findings. The discussion emphasizes the intuitive understanding gained from this exploration of complex exponentiation, even if the discovery is not groundbreaking.
MathAmateur
Messages
67
Reaction score
8
I was playing around with complex numbers in Matlab this evening and noticed this interesting pattern:

Given:

a = (e^{x})^{i \pi/2}

When x is incremented an integer power (0,1,2,3), the a is rotated {\pi/2} radians in the complex plane. It started out at 0 radians with x = 0 and then rotated to {\pi/2} radians with x= 1 (the familiar Euler result) and then then to {\pi}, etc, around and around the unit circle.

I found this very interesting and just wanted to share it and ask if there were any comments on why this may be so.
 
Last edited:
Physics news on Phys.org
You might find this Wiki article on http://en.wikipedia.org/wiki/Euler%27s_formula_in_complex_analysis" interesting.
 
Last edited by a moderator:
Thank you for pointing out the interesting article. I now see that what I found out above was:

e^{a}e^{a}=e^{a+a} for complex numbers.

This maybe isn't Earth shaking but it does give me a more intuitive feel for what is going on to discover it on my own.
 
Back
Top