visualizing complex vector based on eulerโs formular
๐ โโ๏ธํด๋ํฐ์ผ๋ก ๋ณผ ๋ ํน์ ๊ธ์๋ ์ซ์๊ฐ ํ๋ฉด์ ๋ค ์๋์ค๋ฉด, ํด๋ํฐ ๊ฐ๋ก๋ก ๋๋ฆฌ์๋ฉด ๋ฉ๋๋ค
1
2
3
4
5
6
<๋ชฉ์ฐจ>
1. ๋ค์ด๊ฐ๋ฉฐ 
2. ํ์ ํ๋ ฌ์ ๊ณ ์ณ๊ฐ, ๊ณ ์ ๋ฒกํฐ
3. ๋ณต์์์ ์ค์ผ๋ฌ๊ณต์ 
4. ํ์ ๋ณํ๊ณผ ๊ณ ์ ๋ฒกํฐ์ ์ํธ์์ฉ
1. ๋ค์ด๊ฐ๋ฉฐ
์ด๋ฒ์๊ฐ์๋ ํ์ ํ๋ ฌ์ ๊ณ ์ณ๊ฐ๊ณผ ๊ณ ์ ๋ฒกํฐ๊ฐ ์ค์ผ๋ฌ์ ๊ณต์๊ณผ ์ด๋ค ์ฐ๊ด์ด ์๋์ง ์์๋ณผ ๊ฒ์ ๋๋ค.
Prerequisites
- ์์ฐ์์(e)์ ์๋ฏธ 
- ๊ณ ์ณ๊ฐ, ๊ณ ์ ๋ฒกํฐ 
- ๋ณต์๋ฒกํฐ 
- ์ค์ผ๋ฌ ๊ณต์์ ๊ธฐํํ์  ์๋ฏธ 
2. ํ์ ํ๋ ฌ์ ๊ณ ์ณ๊ฐ, ๊ณ ์ ๋ฒกํฐ
๐ฒํ์ ํ๋ ฌ์ ๊ณ ์ณ๊ฐ ๊ณ์ฐ
\(A\vec{x} = \gamma \vec{x} \\ \begin{bmatrix} cos \theta & -sin \theta \\ sin \theta & cos \theta \end{bmatrix} \vec{x} = \gamma \vec{x}\) 
$(A-\gamma I_2)\vec{x} = 0$ 
์ฐธ๊ณ ๋ก ์์ ํ๋ ฌ์ B๋ผ ํ๋ฉด ์ญํ๋ ฌ์ธ \(B^{-1}\)์ ๊ฐ์ง๋ฉด ์๋จ 
 \(det \left( \gamma I_2 -A \right) \\ \rightarrow det\begin{pmatrix} cos \theta-\gamma & -sin \theta \\ sin \theta & cos \theta-\gamma \end{pmatrix} = 0 \\ \rightarrow (cos \theta-\gamma)^2 + sin^2\theta = 0 \\ \rightarrow \gamma^2 - 2cos \theta \gamma + cos^2\theta + sin^2 \theta = 0 \\ \gamma^2 -2cos\theta\gamma + 1 = 0\) 
์ฌ๊ธฐ์ 2์ฐจ๋ฐฉ์ ์์ ๊ทผ์๊ณต์์ ์ด์ฉํ์ 
 ๊ทผ์๊ณต์ \(\rightarrow\) \(ax^2+bx+c=0\) ์ผ ๋, ย  \(x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}\) 
 \(\therefore \gamma = \frac{2cos \theta \pm \sqrt{4cos^2\theta-4}}{2} \\ \rightarrow \gamma^2 = cos^2\theta \pm (cos^2 \theta-1)\) 
์ ๊น ์๋์ ์ฐธ๊ณ ! 
 $sin^2\theta+cos^2\theta=1$๋ฅผ ์ด์ฉํ์ฌ ์ด๋ ๊ฒ ๋ณํํด๋ณด์ $ \color{pink}{\Rightarrow} $ \(cos^2\theta-1=-sin^2\theta\) 
 \(\gamma^2 = cos^2\theta \pm -sin^2\theta \\ \gamma = cos\theta \pm isin\theta\) 
์ค์ผ๋ฌ ๊ณต์์ผ๋ก ๋ณํ ๊ฐ๋ฅํ๊ฒ ๋ค 
 \(e^{\pm i\theta} = cos\theta \pm isin\theta\) 
 ์ผ๋จ ์ค์ผ๋ฌ๊ณต์์ ๋ํ ์์ธํ ์ค๋ช
์ ๊ณ ์ ๋ฒกํฐ ๊ตฌํ๊ณ  ์งํํ๊ฒ ๋ค 
๐งฉํ์ ํ๋ ฌ์ ๊ณ ์ ๋ฒกํฐ ๊ณ์ฐ
case 1) ย \(\gamma = cos\theta + isin\theta\)
\(Ax = \gamma x \\ \begin{bmatrix} cos \theta & -sin \theta \\ sin \theta & cos \theta \end{bmatrix} \vec{x} = (cos\theta + isin\theta) \vec{x}\) 
 ์ฌ๊ธฐ์ \(\gamma x\)๋ฅผ \(\gamma I_2 x\)๋ก ๋ฐ๊ฟ์ฃผ์ 
 \(\rightarrow\) \((cos\theta + isin\theta) \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} (cos\theta + isin\theta) & 0 \\ 0 & (cos\theta + isin\theta) \end{bmatrix}\) 
๊ทธ๋ฌ๋ฉด \(Ax = \gamma I_2 x\)์ด ๋๋๋ฐ, ์ฌ๊ธฐ์ ์ฐ๋ณ์ ์ข๋ณ์ผ๋ก ๋๊ธฐ๋ฉด? 
 \(\Rightarrow (A-\gamma I_2)x = 0 \\ \Rightarrow \begin{bmatrix} cos \theta-cos \theta-isin\theta & -sin \theta \\ sin \theta & cos \theta - cos \theta- isin\theta \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = 0 \\ \Rightarrow \begin{bmatrix} -isin\theta & -sin \theta \\ sin \theta & - isin\theta \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = 0\) 
Ax=0 ๊ผด์ด ๋๋๋ฐ ์ฌ๊ธฐ์ ์ฐ๋ฆฝ๋ฐฉ์ ์ ํ๋ฉด ์๋์ฒ๋ผ ๊ณ ์ ๋ฒกํฐ๊ฐ ๋์จ๋ค 
 ๋ฐ๋ผ์ ย  \(\vec{x} = \begin{bmatrix} i \\ 1 \end{bmatrix}\) 
case 2) ย \(\gamma = cos\theta - isin\theta\)
์์ ๋๊ฐ์ด ๊ณ์ฐํด์ฃผ๋ฉด \(\vec{x} = \begin{bmatrix} -i \\ 1 \end{bmatrix}\) 
3. ๋ณต์์์ ์ค์ผ๋ฌ๊ณต์
์ฐ์  ๋ณต์์๋ฅผ ์๊ธฐ ์ํด์ ์ค์๋ถ์ ํ์๋ฅผ ์์์ผ ํ๋ค. 
 \(\color{pink}{\Rightarrow}\) \(x+iy\) 
 ์ฐธ ๋ณต์์ ๋ฒกํฐ ๋ด์ (๊ธธ์ด)์ ๊ตฌํ๋ ๊ฑด ์๋ฅผ ๋ค์ด \(v = \begin{bmatrix} 1 \\ i \end{bmatrix}\)๋ผ๊ณ  ํ  ๋, 
 \(||v|| = \sqrt{v\cdot \bar v} = \sqrt{(1,i)\cdot(1,-i)} = \sqrt{1+1} \\ \therefore \sqrt2\) 
์ด์  \(x+iy\) ์ animation์ผ๋ก ๋ํ๋ด๋ฉด ์๋์ ๊ฐ๋ค 
 ์์ ๋ด์ฉ์์ \(x+iy\)์ \(\sqrt{(1,i)\cdot(1,i)}\)๋ฅผ ์ดํดํ๋ค๋ฉด, ์๋ ์์์ด ๋ฌด์จ ๋ง์ธ์ง ๋ฐ๋ก ์ดํดํ  ๊ฒ์ด๋ค 
  
 
1์์ i๋ฅผ ๊ณฑํ๋ฉด 90๋ ๋์์ i, 
 i์์ i ๊ณฑํ๋ฉด 90๋ ๋ ๋์์ -1 
 ์ฆ ์ค์นผ๋ผ๋ฐฐ๋ฅผ ์๊ฐํด๋ณด๋ฉด ์์๋ฅผ ๊ณฑํ๋ ๊ฒ์ ๋ฐ๋๋ฐฉํฅ์ผ๋ก์ ๋ณํ, 
 ๋ณต์์๋ฅผ ๊ณฑํ๋ ๊ฑด ํ์  ์ ์๋ฏธํ๋ค. 
 ํน์ ์ง๊ธ๋ ๋ฌด์จ๋ง์ธ์ง ์ ๋ชฐ๋ผ๋ ๊ด์ฐฎ๋ค. 
 ๋ฐ์ ์๋ฎฌ๋ ์ด์
์ ์กฐ์ํด๋ณด๊ณ  ์์์ ๋ณด๋ฉด 100ํผ ์ดํดํ  ๊ฒ์ด๋ค 
๐Eulerโs Formula
\(e^{\pm i\theta} = rcos\theta \pm risin\theta\) 
์ฌ๊ธฐ์ \(e^{i\theta}\)์ ์๋ฏธ: 
 \(\color{pink}{\Rightarrow}\) r(๋ฐ์ง๋ฆ)์ด๋ผ๋ ์ซ์๋ฅผ ์์์ \(\theta\)๋ผ๋์ ๋งํผ ํ์ ์ํค๊ฒ ๋ค 
์ง์ง ์์  ์ฌ์ด ์ดํด \(\Rightarrow sin90=1\), ย  \(cos90 = 0\)์ด๋๊น, 
 ์ค์ผ๋ฌ ๊ณต์์ ์ฐธ๊ณ ํ์ฌ ์๋ฎฌ๋ ์ด์
์ ๋๋ฆด ๋ \(n\): 1~20 ๋ฒ์์ธ๋ฐ, 
 n์ด ์ปค์ง์๋ก sin ๊ฐ์ด ์ปค์ง๋๊น 1์ ๊ฐ๊น์์ง๋ค 
 ์ด์  ์ค์ผ๋ฌ ๊ณต์์์ \(\theta\)๊ฐ ์ปค์ง ๋์ ๊ด๊ณ๊ฐ ๋์ ๋ณด์ด์ง ์๋๊ฐ? 
(ํน์ n์ด ์ปค์ง๋๊ฑฐ๋ 1์ ๊ฐ๊น์์ง๋๊ฒ ๋ฌด์จ๋ง์ธ์ง ๋ชจ๋ฅด๊ฒ ์ผ๋ฉด ์๋ ๋งํฌ๋ก ๋ค์ด๊ฐ์)
ส ยทแดฅยทส ย ๋ฐ๊ฐ๊ณฐ
4. ํ์ ๋ณํ๊ณผ ๊ณ ์ ๋ฒกํฐ์ ์ํธ์์ฉ
์ฐ์  ํ๊ณ์ ์ผ๋ก ๋ณต์ ๊ณ ์ ๋ฒกํฐ๋ ์๊ฐํํ๋๊ฒ ๋งค์ฐ ์ด๋ ต๋ค. 
 ๋ณต์์ ์์ฒด๊ฐ ์ด๋ฏธ 2์ฐจ์์ ์๋ผ์ ๊ทธ๋ ๋ค 
 ์ฆ $R^2$์ ๋ณต์๋ฒกํฐ๋ ์ค์ 4๊ฐ๊ฐ ์์ด์ผ ํํ ๊ฐ๋ฅํ๋ค ย  ๋ฌด์จ๋ง์ธ์ง RG? 
 ํ์ง๋ง ์ฐ๋ฆฌ๊ฐ ์๊น ์์์ ์ป์ ๊ณ ์ ๋ฒกํฐ 2๊ฐ์ธ \(\vec{v} = \begin{bmatrix} \pm i \\ 1 \end{bmatrix}\)๋ก 2์ฐจ์ ๋ณต์๋ฒกํฐ๋ฅผ ์๊ฐํ ํด๋ณด์! 
$c_1$: ์ฒซ ๋ฒ์งธ ์ฑ๋ถ
$c_2$: ๋ ๋ฒ์งธ ์ฑ๋ถ 
๐์๊ฐํ
์ฐ์  ๋ฐ์ง๋ฆ(r)์ 1์ด๋ผ ํ๊ฒ ๋ค ๊ทธ๋ฌ๋ฉด ์ค์ผ๋ฌ๊ณต์์ ์๋์ ๊ฐ์ด ๋๋ค 
 \(e^{\pm i\theta} = cos\theta \pm isin\theta\) 
- ์ฌ๊ธฐ์ ๊ณ ์ ๋ฒกํฐ์ ๋ํ ์ ํ๋ณํ์ ๋ฑ ๊ณ ์ณ๊ฐ ๋งํผ๋ง ์์๋ฐฐํ๋ค 
- ๊ณ ์ณ๊ฐ $e^{i\theta}$์ $e^{-i\theta}$๋ ์๊ณ or ๋ฐ์๊ณ๋ฐฉํฅ์ผ๋ก $\theta$๋ผ๋์ ๋งํผ์ ํ์ ์ ์๋ฏธํ๋ค 
 (๋ณต์๋ฒกํฐ, $\bar v_1$๊ณผ $\bar v_2$์ ๋ํด ๊ณ ์ณ๊ฐ ๋งํผ ์์๋ฐฐ
 $\Rightarrow$ ๊ณ ์ ๋ฒกํฐ๋ฅผ ์๊ณ or ๋ฐ์๊ณ๋ก $\theta$๋ผ๋์ ๋งํผ ํ์ )
์๋ ์๋ฎฌ๋ ์ด์
 2๊ฐ๋ฅผ ์กฐ์ํ๋ฉด์ ์ฐ์ธก ์๋จ์ ๋์ค๋ ๊ฐ๋๋ ํ์ธ ๊ฐ๋ฅํ๋ค 







