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 ($$\cos$$) relates the angle theta, $$\theta$$, from the adjacent side of the angle to the opposite side of the right angle on the right traingle (i.e. the $$\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 $$0^\circ$$ and $$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 $$\big(\cos(t),\sin(t)\big)$$ to get a 'unit circle'.

Unit Circle Definition


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


 * $$x=\cos\left(\theta\right)$$,

and the $$y$$ coordinate is given by


 * $$y=\sin\left(\theta\right)$$.

$$\cos$$ is of course just an abbreviation for 'cosine', and $$\sin$$ is just an abbreviation for sine.

Rather confusingly $$\cos$$ can be pronounced either 'cos' or 'coz' always with 'o' as in 'bottle', rather than 'o' as in 'code' and $$\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 $$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:
 * $$\sin(A)=\frac{a}{c}$$ and $$\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, $$1$$, from the origin to a point $$\left(x,y\right)$$ that is angled $$\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 $$\left(x,y\right)$$.



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


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

Because any rational number divided by 1 is the same number:
 * $$\cos\left(\theta\right)=x$$.
 * $$\sin\left(\theta\right)=y$$.

Another definition remains. Let $$y=\text{opposite}$$ and $$x=\text{adjacent}$$:
 * $$\text{opposite}=\sin\left(\theta\right)$$
 * $$\text{adjacent}=\cos\left(\theta\right)$$

Exercises
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 $$0^\circ$$ and $$90^\circ$$.

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 $$\cos$$ and $$\sin$$ on your calculator or you will not get very far with trigonometry.

The unit circle definition of the trig functions shows that we can work with angles greater than $$90^\circ$$. $$90^\circ$$ represents a quarter of a circle. $$360^\circ$$ represents a complete circle. What happens or what should happen for $$\cos$$ and $$\sin$$ if we have angles greater than $$360^\circ$$?

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

For the unit circle definition we define the tangent of theta as:
 * $$\tan(\theta)=\frac{\sin(\theta)}{\cos(\theta)}$$

For the ratios of sides definition we define the tangent of theta as:
 * $$\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.

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:


 * $$\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.

When talking about the tangent function $$\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.