Let us use our definition to prove common properties of sine and cosine. In the process, we also define the number \(\pi\text{.}\)
Proof.
The first three items follow directly from the definition. The computation of the power series for both is left as an exercise. As complex conjugate is a continuous function, the definition of \(e^z\) implies \(\overline{e^z} = e^{\bar{z}}\text{.}\) If \(x\) is real,
\begin{equation*}
\overline{e^{ix}} = e^{-ix} .
\end{equation*}
Thus for real \(x\text{,}\) \(\cos(x) =
\frac{e^{ix}-e^{-ix}}{2} =
\frac{e^{ix}-\overline{e^{ix}}}{2} =
\Re (e^{ix})\) and similarly \(\sin(x) = \Im (e^{ix})\text{.}\)
For real \(x\text{,}\) we compute
\begin{equation*}
1 = e^{ix} e^{-ix}
= e^{ix} \, \overline{e^{ix}}
= \sabs{e^{ix}}^2
= \babs{\cos(x) + i \sin(x)}^2
= {\bigl( \cos(x) \bigr)}^2 + {\bigl( \sin(x) \bigr)}^2 .
\end{equation*}
A slightly more complicated computation shows this fact for complex numbers, see
Exercise 11.4.6. In particular, is
\(e^{ix}\) is unimodular for real
\(x\text{;}\) the values lie on the unit circle. A square of a real number is always nonnegative:
\begin{equation*}
{\bigl(\sin(x)\bigr)}^2 = 1-{\bigl(\cos(x)\bigr)}^2 \leq 1 .
\end{equation*}
So \(\sabs{\sin(x)} \leq 1\) and similarly \(\sabs{\cos(x)} \leq 1\text{.}\)
We leave the computation of the derivatives to the reader as exercises. Let us prove that \(\sin(x) \leq x\) for \(x \geq 0\text{.}\) Consider \(f(x) \coloneqq x-\sin(x)\) and differentiate:
\begin{equation*}
f'(x) = \frac{d}{dx} \bigl[ x - \sin(x) \bigr]
=
1 -\cos(x) \geq 0 ,
\end{equation*}
for all \(x \in \R\) as \(\sabs{\cos(x)} \leq 1\text{.}\) In other words, \(f\) is increasing and \(f(0) = 0\text{.}\) So \(f\) must be nonnegative when \(x \geq 0\) and hence, \(\sin(x) \geq x\text{.}\)
Next, we claim there exists a positive \(x\) such that \(\cos(x) = 0\text{.}\) As \(\cos(0) = 1 > 0\text{,}\) \(\cos(x) > 0\) for \(x\) near \(0\text{.}\) Namely, there is some \(y > 0\text{,}\) such that \(\cos(x) > 0\) on \([0,y)\text{.}\) Then \(\sin(x)\) is strictly increasing on \([0,y)\text{.}\) As \(\sin(0) = 0\text{,}\) then \(\sin(x) > 0\) for \(x \in (0,y)\text{.}\) Take \(a \in (0,y)\text{.}\) By the mean value theorem, there is a \(c \in (a,y)\) such that
\begin{equation*}
2 \geq \cos(a)-\cos(y) = \sin(c)(y-a) \geq \sin(a)(y-a) .
\end{equation*}
As \(a \in (0,y)\text{,}\) then \(\sin(a) > 0\) and so
\begin{equation*}
y \leq \frac{2}{\sin(a)} + a .
\end{equation*}
Hence there is some largest \(y\) such that \(\cos(x) > 0\) in \([0,y)\text{,}\) and let \(y\) be the largest such number. By continuity, \(\cos(y) = 0\text{.}\) In fact, \(y\) is the smallest positive \(y\) such that \(\cos(y) = 0\text{.}\) As mentioned, \(\pi\) is defined to be \(2y\text{.}\)
As \(\cos(\nicefrac{\pi}{2}) = 0\text{,}\) then \({\bigl(\sin(\nicefrac{\pi}{2})\bigr)}^2 = 1\text{.}\) As \(\sin\) is positive on \((0,\nicefrac{\pi}{2})\text{,}\) we have \(\sin(\nicefrac{\pi}{2}) = 1\text{.}\) Hence,
\begin{equation*}
e^{i \pi /2} = i ,
\end{equation*}
and by the law of exponents,
\begin{equation*}
e^{i \pi} = -1 ,
\qquad
e^{i 2\pi} = 1 .
\end{equation*}
So \(e^{i2\pi} = 1 = e^0\text{.}\) The law of exponents also says
\begin{equation*}
e^{z+i2\pi} = e^z e^{i2\pi} = e^z
\end{equation*}
for all \(z \in \C\text{.}\) Immediately, we also obtain \(\cos(z+2\pi) = \cos(z)\) and \(\sin(z+2\pi) = \sin(z)\text{.}\) So \(\sin\) and \(\cos\) are \(2\pi\)-periodic.
We claim that \(\sin\) and \(\cos\) are not periodic with a smaller period. It would suffice to show that if \(e^{ix} = 1\) for the smallest positive \(x\text{,}\) then \(x = 2\pi\text{.}\) Let \(x\) be the smallest positive \(x\) such that \(e^{ix} = 1\text{.}\) Of course, \(x \leq 2\pi\text{.}\) By the law of exponents,
\begin{equation*}
{\bigl(e^{ix/4}\bigr)}^4 = 1 .
\end{equation*}
If \(e^{ix/4} = a+ib\text{,}\) then
\begin{equation*}
{(a+ib)}^4
=a^4-6a^2b^2+b^4 + i\bigl(4ab(a^2-b^2)\bigr)
=1 .
\end{equation*}
Then either \(a = 0\) or \(a^2 = b^2\text{.}\) As \(\nicefrac{x}{4} \leq \nicefrac{\pi}{2}\text{,}\) then \(a = \cos(\nicefrac{x}{4}) \geq 0\) and \(b = \sin(\nicefrac{x}{4}) > 0\text{.}\) If \(a^2=b^2\text{,}\) then \(a^4-6a^2b^2+b^4 = -4a^4 < 0\) and in particular not equal to 1. Therefore \(a=0\text{,}\) in which case \(\nicefrac{x}{4} = \nicefrac{\pi}{2}\text{.}\) Hence \(2\pi\) is the smallest period we could choose for \(e^{ix}\) and so also for \(\cos\) and \(\sin\text{.}\)
Finally, we wish to show that \(e^{ix}\) is one-to-one and onto from the set \([0,2\pi)\) to the set of \(z \in \C\) such that \(\sabs{z} = 1\text{.}\) Suppose \(e^{ix} = e^{iy}\) and \(x > y\text{.}\) Then \(e^{i(x-y)} = 1\text{,}\) meaning \(x-y\) is a multiple of \(2\pi\) and hence only one of them can live in \([0,2\pi)\text{.}\) To show onto, pick \((a,b) \in \R^2\) such that \(a^2+b^2 = 1\text{.}\) Suppose first that \(a,b \geq 0\text{.}\) By the intermediate value theorem, there must exist an \(x \in [0,\nicefrac{\pi}{2}]\) such that \(\cos(x) = a\text{,}\) and hence \(b^2 = \bigl(\sin(x)\bigr)^2\text{.}\) As \(b\) and \(\sin(x)\) are nonnegative, \(b = \sin(x)\text{.}\) Since \(-\sin(x)\) is the derivative of \(\cos(x)\) and \(\cos(-x) = \cos(x)\text{,}\) then \(\sin(x) < 0\) for \(x \in [\nicefrac{-\pi}{2},0)\text{.}\) Using the same reasoning, we obtain that if \(a > 0\) and \(b \leq 0\text{,}\) we can find an \(x\) in \([\nicefrac{-\pi}{2},0)\text{,}\) and by periodicity, \(x \in [\nicefrac{3\pi}{2},2\pi)\) such that \(\cos(x) = a\) and \(\sin(x)=b\text{.}\) Multiplying by \(-1\) is the same as multiplying by \(e^{i\pi}\) or \(e^{-i\pi}\text{.}\) So we can always assume that \(a \geq 0\) (details are left as exercise).