# Trigonometry/Cosine and Sine

## Two Approaches

The cosine and sine functions relate the angles in right triangles as the ratio of lengths of the corresponding sides. For example, the cosine function (${\displaystyle \cos }$) relates the angle theta, ${\displaystyle \theta }$, from the adjacent side of the angle to the opposite side of the right angle on the right traingle (i.e. the ${\displaystyle \cos \theta }$ is the ratio between the adjacent side of that angle to the hypotenuse of the right triangle).

There are two usual approaches of introducing the cosine and sine functions.

• In one approach, the sine and cosine function are defined in terms of right angle triangles. This works fine for angles between ${\displaystyle 0^{\circ }}$ and ${\displaystyle 90^{\circ }}$ . Later on, the definition has to be extended to angles outside that range.
• An alternative approach introduces sine and cosine in terms of 'the unit circle'. This approach is a little more sophisticated but works for all angles.

The two approaches amount to exactly the same thing in the end. However, we prefer to deal with the full range of angles from the start, which is why in the previous exercise we had you plotting ${\displaystyle {\big (}\cos(t),\sin(t){\big )}}$ to get a 'unit circle'.

### Unit Circle Definition

If a line of radius length ${\displaystyle 1}$ is drawn at an angle, ${\displaystyle \theta }$, to the ${\displaystyle x}$ axis (where the angle is anti-clockwise to the ${\displaystyle x}$ axis), then the ${\displaystyle x}$ coordinate is given by

${\displaystyle x=\cos \left(\theta \right)}$,

and the ${\displaystyle y}$ coordinate is given by

${\displaystyle y=\sin \left(\theta \right)}$.
 Notation and pronunciation ${\displaystyle \cos }$ is of course just an abbreviation for 'cosine', and ${\displaystyle \sin }$ is just an abbreviation for sine. Rather confusingly ${\displaystyle \cos }$ can be pronounced either 'cos' or 'coz' always with 'o' as in 'bottle', rather than 'o' as in 'code' and ${\displaystyle \sin }$ is often pronounced 'sine' rather than 'sin'. It's not very logical, it is just how it is.

### Ratios of Sides Definition

The figure below shows what we are considering:

Here, we shall denote the angles by ${\displaystyle A,B,C}$

• We already know that the longest side is called the hypotenuse.
• The side next to the angle we have chosen is called the base of the triangle.
• The remaining side which is opposite the angle is called the perpendicular or latitude of the triangle.

The angle determines the ratios of the side. Once the angle is selected we can make the whole triangle larger or smaller but all lengths change in the same proportions. We can't change the length of one side without also changing the length of all sides in the same proportion, or else we have changed the angles. So, once we know the angle we know the ratio of the sides. The functions that give us those ratios are defined as:

${\displaystyle \sin(A)={\frac {a}{c}}}$ and ${\displaystyle \cos(A)={\frac {b}{c}}}$

### 'Unit Hypotenuse' Definition

This definition of sine and cosine isn't usually given, but it is also valid.

Draw a line of unit length, ${\displaystyle 1}$, from the origin to a point ${\displaystyle \left(x,y\right)}$ that is angled ${\displaystyle \theta ^{\circ }}$ anti-clockwise from the horizontal axis. Then, indicate a line parallel to the vertical axis and a line parallel to the horizontal axis from the point ${\displaystyle \left(x,y\right)}$.

If the line of unit length, ${\displaystyle 1}$, is the hypotenuse of the right triangle, then for the right triangle that has a width of ${\displaystyle x}$ and a length of ${\displaystyle y}$, the following functions are true:

• ${\displaystyle \cos \left(\theta \right)={\frac {x}{1}}}$.
• ${\displaystyle \sin \left(\theta \right)={\frac {y}{1}}}$.

Because any rational number divided by 1 is the same number:

• ${\displaystyle \cos \left(\theta \right)=x}$.
• ${\displaystyle \sin \left(\theta \right)=y}$.

Another definition remains. Let ${\displaystyle y={\text{opposite}}}$ and ${\displaystyle x={\text{adjacent}}}$:

${\displaystyle {\text{opposite}}=\sin \left(\theta \right)}$
${\displaystyle {\text{adjacent}}=\cos \left(\theta \right)}$

### Exercises

 Exercise: These definitions amount to the same thing Use this third definition to convince yourself that the three different ways of defining sine and cosine amount to the same thing, at least for angles between ${\displaystyle 0^{\circ }}$ and ${\displaystyle 90^{\circ }}$ .
 Exercise: Unit Circle Did you do the exercise on Plotting (cos(t), sin(t)) on the previous page? It really is important to have had a go and seen how cosine and sine are related to the unit circle. If nothing else you MUST be able to use ${\displaystyle \cos }$ and ${\displaystyle \sin }$ on your calculator or you will not get very far with trigonometry.
 Exercise: To think about The unit circle definition of the trig functions shows that we can work with angles greater than ${\displaystyle 90^{\circ }}$ . ${\displaystyle 90^{\circ }}$ represents a quarter of a circle. ${\displaystyle 360^{\circ }}$ represents a complete circle. What happens or what should happen for ${\displaystyle \cos }$ and ${\displaystyle \sin }$ if we have angles greater than ${\displaystyle 360^{\circ }}$?

## Tangent

There is one more trigonometric function that we want to introduce on this page. It's the tangent function or just ${\displaystyle \tan }$ .

For the unit circle definition we define the tangent of theta as:

${\displaystyle \tan(\theta )={\frac {\sin(\theta )}{\cos(\theta )}}}$

For the ratios of sides definition we define the tangent of theta as:

${\displaystyle \tan(\theta )={\frac {\text{opposite}}{\text{adjacent}}}}$

Using the definition of sine and cosine in terms of a triangle with unit hypotenuse it is immediately clear that these are the same thing.

 These definitions of Tan amount to the same thing If we didn't have the definition of sine and cosine in terms of the triangle with unit hypotenuse we'd need to do slightly more work to show that the two definitions of tan were equivalent. We'd do something like this: ${\displaystyle \tan(\theta )={\frac {\sin(\theta )}{\cos(\theta )}}=\overbrace {{\frac {\sin(\theta )}{1}}\times {\frac {1}{\cos(\theta )}}={\frac {\text{opposite}}{\text{hypotenuse}}}\times {\frac {\text{hypotenuse}}{\text{adjacent}}}} ^{{\text{Using definitions of}}\sin {\text{and}}\cos {\text{as ratios}}}={\frac {\text{opposite}}{\text{adjacent}}}}$ It is worth checking every step in this.
 Tan or Tangent? When talking about the tangent function ${\displaystyle \tan }$ it is usually better to always just say 'Tan' rather than 'Tangent'. The reason is that 'Tangent' also has another meaning in mathematics. A 'tangent' to a circle is a straight line that touches the circle but does not cross it – a tangent to a circle, even when extended as far as you like in both directions, meets a circle at just one point. The line from the one point where it meets the circle to the centre of the circle is always at right angles to the tangent line.