Question: Write the exponential form of $\sqrt{i}$.
My approach: Let $z=x+iy$ be such that $e^z=\sqrt{i}$. Thus we have $e^{2z}=i$. Hence we have $e^{2x+2iy}=i.$ This also implies that $|e^{2z}|=e^{2x}=1\implies 2x=\ln 1=0\implies x=0.$
Thus we have $e^{2x}\cos (2y)=\cos(2y)=0$ and $e^{2x}\sin (2y)=\sin(2y)=1.$ Thus $2y=\frac{\pi}{2}\pm 2n\pi, n\in\mathbb{W}$, which in turn implies that, $y=\frac{\pi}{4}\pm n\pi.$
Thus we have $\Re(z)=0$ and $\Im(z)=\frac{\pi}{4}\pm n\pi$.
Now observe that, $$e^z=\frac{1}{\sqrt 2}+\frac{1}{\sqrt 2}i,\text{ when $n$ is even, and}\\ e^z=-\frac{1}{\sqrt 2}-\frac{1}{\sqrt 2}i,\text{ when $n$ is odd}.$$
Also observe that indeed $e^{2z}=i,$ in both the cases. Hence, we can conclude that $$\sqrt i=\frac{1}{\sqrt 2}+\frac{1}{\sqrt 2}i, -\frac{1}{\sqrt 2}-\frac{1}{\sqrt 2}i.$$ Thus in exponential form, $$\sqrt{i}=e^{\frac{\pi i}{4}},e^{\frac{5\pi i}{4}}.$$
Is this solution correct and is there a better way to solve this problem?
sqrt i
into Google or Wolfram|Alpha and get an answer. Google and the linked question have the root in rectangular form, but it should be very apparent that $1/\sqrt2=\sqrt2/2$ corresponds to the special angle $π/4$. – gen-ℤ ready to perish May 05 '20 at 20:10