Sine and cosine – Serlo

In this chapter we introduce the two trigonometric functions sine and cosine. They are the most important trigonometric functions and are used in geometry for triangle calculations and trigonometry. Waves such as electromagnetic waves and harmonic oscillations can be described by sine and cosine functions, so they are also omnipresent in physics.

Definition via unit circle

Bearbeiten

There are several ways to define the sine and cosine. The visually most accessible one is that on the unit circle. Here, a point   is considered that is located on a circle around the origin with radius  . The   axis includes the angle   with the distance from the origin to  :

 
The point P on the unit circle with coordinates (x,y)


The angle   uniquely determines where the point   is located. Thus the  -coordinate and the  -coordinate can be described by a function depending on  . We call these functions   and   the sine function   and cosine function   respectively:

 
The sine and cosine function on the unit circle

In the following we take   as the angle and write   instead of   and   instead of  . This results in the following definition:

Definition (Definition of sine and cosine on the unit circle)

Let   be the point on the unit circle whose position vector with the horizontal coordinate axis encloses the angle  . The coordinates of   are then defined as  . Here   is called the cosine of   and   the sine of  .

Graph of the sine and cosine function

Bearbeiten

The following animation shows how the graphs of the sine and cosine functions are constructed step by step:

 
Animation of the sine and cosine on the unit circle

This gives the following graph for the sine function:

 
Graph of the sine function

For the cosine function we get:

 
Graph of the cosine function

Definition via exponential function

Bearbeiten

Representation by the complex exponential function

Bearbeiten

The sine and cosine function can also be defined as the sum of certain complex exponential functions. With this representation, properties of the sine and cosine can be demonstrated in a particularly elegant way.

Definition (Sine and cosine via complex exponential function)

We define the functions   (sine) and   (cosine) by

 

These functions are well-defined: For every real number   the complex number   is the complex conjugate of  . Thus   is a real number and there is  . In an analogous way, one can show that  .

Deriving the exponential definition

Bearbeiten

One can show that   is the point on the unit circle whose position vector with the   axis encloses the angle  :

 
e^(i ) on the unit circle

The real part of the complex number   is  , and the imaginary part is  . There is hence  . At   we consider the angle  . The point   is mirrored on the real axis on the other side:

 
e^(-i ) on the unit circle


Thus the real part of   is the same as for  , i.e.  . However, the imaginary part is   multiplied by the number   and thus equal to  . We get  . So we have:

 

By adding both equations we get:

 

And by subtracting the two equations we get:

 

Thus we have derived the two definitions   and  . This derivation is illustrated again in the following figure:

 
Derivation of the complex exponential representation of the sine and cosine

Series expansion of sine and cosine

Bearbeiten

Definition as a series

Bearbeiten
 
This animation illustrates the definition of the sine function by a series. The higher the number  , the more summands are used in the series definition. Thus, for  , in addition to the sine function, the cubic polynomial   is drawn in

.

Another mathematically precise definition that does not require geometrical notions is the so-called series representation, in which the sine and cosine are defined as a series. The series representation is less visual than the definition over the unit circle, but with it some properties of the sine and cosine can be proved more easily. It can also be used to extend the sine and cosine to complex numbers.

Definition (sine and cosine)

We define the functions   (sine) and   (cosine) by

 

Well-definedness

Bearbeiten

We have to prove that our series representation of the sine and cosine function is well-defined. That is, we have to show that for all   the series   and   converge to a real number.

Theorem

For all real numbers   the series   and   converge.

Proof

We prove the theorem explicitly for the series   of the sine function. The proof for the series of the cosine function can be done analogously. For   we first find:

 

For   the series therefore converges. For   we apply the ratio test. For this, let   for all  , so that we have  . There is:

 

Since   the series converges according to the ratio test.

Equivalence of exponential and series definition

Bearbeiten

We have learned several definitions of the sine and cosine function. We have already established a connection between the exponential representation and the definition on the unit circle. Now we need to show that the exponential and series definitions are equivalent to each other.

Theorem

There is for all  :

 

Thus it does not matter whether the sine or cosine function is defined via its series representation or via its exponential representation.

Proof

We already know from the chapter on the exponential function (missing) that the exponential function has the series representation  . If we now substitute   for   in the series representation, we get:

 

Now we plug   into the series representation of the exponential function:

 

If we write   and   then we have shown that

 

For the difference, we get

 

So:

 

And analogously:

 

Hence: