Next, we claim there exists a positive
x such that
cos(x)=0. As
cos(0)=1>0, cos(x)>0 for
x near
0. Namely, there is some
y>0 such that
cos(x)>0 on
[0,y). Then
sin(x) is strictly increasing on
[0,y). As
sin(0)=0, we have
sin(x)>0 for
x∈(0,y). Take
a∈(0,y). By the mean value theorem, there is a
c∈(a,y) such that
2≥cos(a)−cos(y)=sin(c)(y−a)≥sin(a)(y−a).
As
a∈(0,y), we have
sin(a)>0 and so
y≤sin(a)2+a.
Hence there is some largest
y such that
cos(x)>0 in
[0,y), and let
y be the largest such number. By continuity,
cos(y)=0. In fact,
y is the smallest positive
y such that
cos(y)=0. As mentioned,
π is defined to be
2y.
As
cos(π/2)=0, we find
(sin(π/2))2=1. As
sin is positive on
(0,π/2), we have
sin(π/2)=1. Hence,
eiπ/2=i,
and by the law of exponents,
eiπ=−1,ei2π=1.
So
ei2π=1=e0. The law of exponents also says
ez+i2π=ezei2π=ez
for all
z∈C. Immediately, we also obtain
cos(z+2π)=cos(z) and
sin(z+2π)=sin(z). So
sin and
cos are
2π-periodic.
Finally, we wish to show that
eix is one-to-one and onto from the set
[0,2π) to the set of
z∈C such that
∣z∣=1. Suppose
eix=eiy and
x>y. Then
ei(x−y)=1, meaning
x−y is a multiple of
2π and hence only one of them can live in
[0,2π). To show
eix is onto, pick
(a,b)∈R2 such that
a2+b2=1. Suppose first that
a,b≥0. By the intermediate value theorem, there must exist an
x∈[0,π/2] such that
cos(x)=a, and hence
b2=(sin(x))2. As
b and
sin(x) are nonnegative,
b=sin(x). Since
−sin(x) is the derivative of
cos(x) and
cos(−x)=cos(x), we have that
sin(x)<0 for
x∈[−π/2,0). Using the same reasoning, we obtain that if
a>0 and
b≤0, we can find an
x in
[−π/2,0), and by periodicity,
x∈[3π/2,2π) such that
cos(x)=a and
sin(x)=b. Multiplying by
−1 is the same as multiplying by
eiπ or
e−iπ. So we can always assume that
a≥0 (details are left as an exercise).