I'm pretty new to to complex numbers and did some exercises with rotating a point by certain degrees. For example if I have the point $4+2i$ I can rotate it by 20° with $(4+2i)*(\cos(20)+i*\sin(20))$, right? WolframAlpha can plot this quite nice. But how would I plot rotating an entire function?
I read here that to rotate a sine wave by 45° you do $e^{i \pi n} * \frac{1+i}{\sqrt{2}}$, or did I misread that? Because WolframAlpha doesn't show a rotation. If it's correct, where can you plot things like this? And how would you rotate by 20° or any other amount?
To go one step further with the expectation that it gets complicated, how would you create a plot like this (bottom left), where you wrap a sine wave around an axis? Not talking about the animation, just the plot at one step.
For rotate any function in complex plane, first you must rewrite it with complex numbers where $x$ is real part, and $f(x)$ is imaginary part. For example, for sinusoid $f(x)=\sin(x)$ we get $x+i \sin (x)$. In this step, $x$ not mean x coordinate more, now $x$ mean parameter, and good practice change it to another variable: $t+i \sin (t)$. After that we can get coordinates back as $x=\Re(t+i \sin (t))$ and $y=\Im(t+i \sin (t))$. Second, multiply your complex function with $\exp(i a)$, where $a$ is rotating angle: $(t+i \sin (t)) e^{i a}$. Now you can draw rotated function using parametric plot. With Wolfram Mathematica it loоk like this