De Moivre's theorem relates trigonometry of sine and cosine functions to the exponential function. As a special case of this theorem, we substitute θ=π, and obtain the equation eiπ+1=0.