Euler's formula states that: $$e^{iθ} = cos(θ) + i*sin(θ)$$ Plugging in 2π for theta gives 1, but so does plugging in 0 for theta. Therefore: $$e^0 = e^{2iπ}$$ Taking the natural logarithm of both sides gives: $$ 0 = 2πi$$ Dividing both sides by 2pi yields: $$0 = i$$.
Clearly, I have a mistake somewhere, but I don't know where. Am I misusing Euler's formula or is it something else? Thanks in advance for any help.