On the unit circle, the point corresponding to α is
(cosα,sinα). By the Pythagorean theorem,
sin2α+cos2α=1. By Euler's formula,
eiθ=cosθ+isinθ. Since ei(α+β)=eiαeiβ, we obtain
cos(α+β)+isin(α+β)=(cosα+isinα)(cosβ+isinβ)=cosαcosβ−sinαsinβ+i(sinαcosβ+cosαsinβ). Equating real and imaginary parts gives
cos(α+β)=cosαcosβ−sinαsinβ and
sin(α+β)=sinαcosβ+cosαsinβ. Setting β=α, we obtain
sin2α=2sinαcosα and
cos2α=cos2α−sin2α. Using sin2α+cos2α=1, we also get
cos2α=2cos2α−1=1−2sin2α. Next,
cos3α=cos(α+2α)=cosαcos2α−sinαsin2α=cosα(2cos2α−1)−2sin2αcosα=2cos3α−cosα−2(1−cos2α)cosα=4cos3α−3cosα. For tangent,
tan(α+β)=cos(α+β)sin(α+β)=cosαcosβ−sinαsinβsinαcosβ+cosαsinβ. Dividing numerator and denominator by cosαcosβ, we obtain
tan(α+β)=1−tanαtanβtanα+tanβ. Since cot(α+β)=1/tan(α+β), we get
cot(α+β)=tanα+tanβ1−tanαtanβ=cotα+cotβcotαcotβ−1. Finally,
2sin(x+45∘)=2(sinxcos45∘+cosxsin45∘)=sinx+cosx, and
2sin(x−45∘)=2(sinxcos45∘−cosxsin45∘)=sinx−cosx. Thus all the stated identities follow.