For any real θ and integer n, (cosθ+isinθ)n=cos(nθ)+isin(nθ).
Why is it true?
cosθ+isinθ is just the point on the unit circle at angle θ. Multiplying two such points together adds their angles — that is what complex multiplication does geometrically — so raising one point to the n-th power spins it around n times as fast, landing exactly at angle nθ.
Proof sketch
Induction on n≥0 using the angle-addition identities cos(a+b)=cosacosb−sinasinb and sin(a+b)=sinacosb+cosasinb to show (cosθ+isinθ)k+1=(cosθ+isinθ)k(cosθ+isinθ) simplifies to cos((k+1)θ)+isin((k+1)θ); negative n follows from (cosθ+isinθ)−1=cosθ−isinθ=cos(−θ)+isin(−θ).