Skip to main content
\delimitershortfall1sp

SectionThe Sine and Cosine Functions

In the previous section, we found Cartesian coordinates of points on the unit circle corresponding to common angles. Next, we explore how these (x,y) coordinates are related to periodic functions.

SubsectionThe Definition of Sine and Cosine

The Sine and Cosine Functions

Given an angle θ (in either degrees or radians) and the (x,y) coordinates of the corresponding point on the unit circle, we define cosine and sine as

cos(θ)=xandsin(θ)=y

Note that sine and cosine are functions that take angles as inputs.

unit circle with (x,y) and theta

Using the (x,y) coordinates that we found in the last section, we can find the cosine and sine values of common angles on the unit circle.

Example23

Find cos(30) and sin(30).

Solution

Since \(30^\circ\) is a common angle on the unit circle, we have that

\begin{equation*} \cos(30^\circ)=\frac{\sqrt{3}}{2} \hspace{.25in} \text{and} \hspace{.25in} \sin(30^\circ)=\frac{1}{2} \end{equation*}
Example24

Find cos(5π4) and sin(5π4).

Solution

Since \(\displaystyle \frac{5\pi}{4}\) is a common angle on the unit circle, we have that

\begin{equation*} \cos\left(\frac{5\pi}{4}\right)=-\frac{\sqrt{2}}{2} \hspace{.25in} \text{and} \hspace{.25in} \sin\left(\frac{5\pi}{4}\right)=-\frac{\sqrt{2}}{2} \end{equation*}
Example25

Find cos(θ) and sin(θ) if θ=π.

Solution
\begin{equation*} \cos(\pi)=-1 \hspace{.25in} \text{and} \hspace{.25in} \sin(\pi)=0 \end{equation*}

The special values of sine and cosine in the first quadrant are very useful to know, since knowing them allows you to quickly evaluate the sine and cosine of common angles without needing to look at a reference sheet or use your calculator. However, scenarios do come up where we need to know the sine and cosine of other angles.

To find the cosine and sine of angles that are not common angles on the unit circle, we can use a calculator or a computer.

Example26

Find cos(20) and sin(20).

Solution

Since \(20^\circ\) is not a common angle on the unit circle, we need to use a calculator to find approximate values for \(\cos(20^\circ)\) and \(\sin(20^\circ)\text{.}\) Checking that our calculator is in degree mode, we get that

\begin{equation*} \cos(20^\circ)\approx 0.9397 \hspace{.25in} \text{and} \hspace{.25in} \sin(20^\circ)\approx 0.3420 \end{equation*}

Remember that these values correspond to the \(x\) and \(y\) coordinates of the point on the unit circle corresponding to an angle of 20 degrees.

unit circle with (x,y) and theta at 20 degrees
Caution27

Most calculators can be set into degree or radian mode, which tells the calculator the units for the input value. When you evaluate "cos(20)" on your calculator, it will evaluate it as the cosine of 20 degrees if the calculator is in degree mode or the cosine of 20 radians if the calculator is in radian mode. Always make sure to check what mode your calculator is in when working with trigonometric functions!

Example28

Find cos(2.5) and sin(2.5).

Solution

Since there is no degree symbol after the number 2.5, we assume that 2.5 is in radians. Since 2.5 radians is not a common angle on the unit circle, we need to use a calculator to find approximate values for \(\cos(2.5)\) and \(\sin(2.5)\text{.}\) Checking that our calculator is in radian mode, we get that

\begin{equation*} \cos(2.5)\approx -0.8011 \hspace{.25in} \text{and} \hspace{.25in} \sin(2.5)\approx 0.5985 \end{equation*}

Remember that these values correspond to the \(x\) and \(y\) coordinates of the point on the unit circle corresponding to an angle of 2.5 radians. To determine approximately where this is on the unit circle, we can find decimal approximations of a few common angles on the unit circle. Since \(\pi/2\) is approximately 1.57 and \(\pi\) is approximately 3.14, 2.5 radians is in between \(\pi/2\) radians and \(\pi\) radians. Therefore, 2.5 radians corresponds to a point on the unit circle in the second quadrant, and it makes sense that the cosine value or \(x\) coordinate is negative and the sine value or \(y\) coordinate is positive.

unit circle with (x,y) and theta at 2.5 radians

SubsectionRight Triangle Relationships

So far we have defined cosine and sine as the x and y coordinates of points on the unit circle. We can also state equivalent, but more general definitions of sine and cosine using a right triangle. On the right triangle, we label the hypotenuse as well as the side opposite the angle and the side adjacent (next to) the angle.

Given a right triangle with an angle of θ, we define sine and cosine as

sin(θ)=oppositehypotenusecos(θ)=adjacenthypotenuse
right triangle with labels

A common mnemonic for remembering these relationships is Soh-Cah-Toa formed by the first letters of "Sine is opposite over hypotenuse" and "Cosine is adjacent over hypotenuse." We will return to "Toa" in the next section.

Example29

Given the triangle shown below, find the value for cos(θ). right triangle example

Solution

The side adjacent to angle \(\theta\) is 15, and the hypotenuse of the triangle is 17. Using the definition of cosine given above, we get that

\begin{equation*} \cos(\theta) = \frac{\text{adjacent}}{\text{hypotenuse}} = \frac{15}{17} \end{equation*}

When working with general right triangles, the same rules apply regardless of the orientation of the triangle. In fact, we can evaluate the sine and cosine of either of the two acute angles in any right triangle.

rotated right triangle
Example30

Using the triangle shown below, find cos(α), sin(α), cos(β), and sin(β).

rotated right triangle example
Solution

Before solving for the cosine and sine values of \(\alpha\) and \(\beta\text{,}\) we must first find the length of the hypotenuse. Using the Pythagorean theorem, we get that

\begin{align*} c^2 \amp= 3^2 + 4^2 \\ c^2 \amp= 9 + 16 \\ c^2 \amp= 25 \\ c \amp = 5 \end{align*}
rotated right triangle example with hypotenuse labeled

Now solving for the cosine and sine values of \(\alpha\) and \(\beta\text{,}\) we get that

\begin{equation*} \cos(\alpha) = \frac{\text{adjacent to } \alpha}{\text{hypotenuse}}=\frac{3}{5} \hspace{.5in} \cos(\beta) = \frac{\text{adjacent to } \beta}{\text{hypotenuse}}=\frac{4}{5} \end{equation*}
\begin{equation*} \sin(\alpha) = \frac{\text{opposite to } \alpha}{\text{hypotenuse}}=\frac{4}{5} \hspace{.5in} \sin(\beta) = \frac{\text{opposite to } \beta}{\text{hypotenuse}}=\frac{3}{5} \end{equation*}
Example31

A right triangle is drawn with angle α opposite a side with length 33 and angle β opposite a side with length 56. Find the sine and cosine of α and β.

Solution

Before solving for the cosine and sine values of \(\alpha\) and \(\beta\text{,}\) we must first find the length of the hypotenuse. Using the Pythagorean theorem, we get that

\begin{align*} c^2 \amp= 56^2 + 33^2 \\ c^2 \amp= 4225 \\ c \amp = 65 \end{align*}
rotated right triangle example with hypotenuse labeled

Now solving for the cosine and sine values of \(\alpha\) and \(\beta\text{,}\) we get that

\begin{equation*} \cos(\alpha) = \frac{\text{adjacent to } \alpha}{\text{hypotenuse}}=\frac{56}{65} \hspace{.5in} \cos(\beta) = \frac{\text{adjacent to } \beta}{\text{hypotenuse}}=\frac{33}{65} \end{equation*}
\begin{equation*} \sin(\alpha) = \frac{\text{opposite to } \alpha}{\text{hypotenuse}}=\frac{33}{65} \hspace{.5in} \sin(\beta) = \frac{\text{opposite to } \beta}{\text{hypotenuse}}=\frac{56}{65} \end{equation*}

We have now discussed two different ways to define the sine and cosine values of an angle. By revisiting our first definition, which uses the unit circle, and comparing this to the second definition, which uses right triangle relationships, we can prove that these two definitions are equivalent.

We first defined cosine and sine as the x and y coordinates of a point on the unit circle. If we use that point to make a right triangle, as shown below, the radius of the unit circle corresponds to the hypotenuse of the right triangle and the x and y coordinates correspond to the legs of the right triangle.

unit circle with right triangle

Using our right triangle relationships, we get that

cos(θ)=adjacenthypotenuse=xrandsin(θ)=oppositehypotenuse=yr

Since the radius of the unit circle is 1, these simplify to

cos(θ)=xr=x1=xandsin(θ)=yr=y1=y

SubsectionThe Graphs of Sine and Cosine

Since sine and cosine are functions, we can create tables of input and output values and use them to sketch the graphs of these functions.

Consider the function f(θ)=sin(θ). Below is a table showing input values of θ and the corresponding output values of sin(θ). Note that for each angle, we use the y value of the corresponding point on the unit circle to determine the output value of the sine function.

θ
   0   
  π6  
  π4  
  π3  
  π2  
  2π3  
  3π4  
 5π6 
   π   
 7π6 
5π4
4π3
 3π2 
sin(θ)
 0 
12
22
32
1
32
22
12
 0 
12
22
32
1

Using this table, we can sketch the graph of f(θ)=sin(θ) as shown below. Recall that the horizontal axis of the graph corresponds to the input variable and the vertical axis corresponds to the output. Plotting more points gives the full shape of the sine function.

sine graph

Notice how the sine values are positive between 0 and π, which correspond to the values of sine in quadrants 1 and 2. Since the y values in quadrants 1 and 2 are positive, the sine values between 0 and π are positive. Also notice that the sine values are negative between π and 2π. These values correspond to the y values in quadrants 3 and 4, which are negative.

Now consider the function g(θ)=cos(θ). Below is a table showing input values of θ and output values of cos(θ). Note that for each angle, we use the x value of the point on the unit circle to determine the output value of the cosine function.

θ
   0   
  π6  
  π4  
  π3  
  π2  
 2π3 
3π4
5π6
   π   
7π6
5π4
 4π3 
 3π2 
cos(θ)
 1 
32
22
12
0
12
22
32
1
32
22
12
0

Using this table, we can sketch a graph of g(θ)=cos(θ) as shown below. Plotting more points gives the full shape of the cosine function.

cosine graph

Like the sine function, we can track the value of the cosine function through the four quadrants of the unit circle as we sketch it on the graph. Since cosine corresponds to the x coordinates of points on the unit circle, the values of cosine are positive in quadrants 1 and 4 and negative in quadrants 2 and 3.

The applet below shows how the graphs of sine and cosine relate to the x and y coordinates of the point P on the unit circle. Move the slider to change the angle θ and observe how the x and y values of point P relate to the outputs of cos(θ) and sin(θ).

Figure32How the Graphs of Sine and Cosine Relate to the Unit Circle

SubsectionExercises