With our basic coordinate geometry we are now able to locate objects in space. As we start discussing how those objects are moving through space we are going to need a description of direction which will require angles. To that end, let us look at some basic concepts from trigonometry that we will find useful.


In this section we will look at the two most common measures of angle. We will look at degrees because that is what we are most used to dealing with in our everyday lives. We will look at radians because those are the units used in C++.
An angle is a measure of rotation. This is usually represented graphically as the amount of rotation on a ray from some initial position to some terminal position.



One degree is defined as 1/360th of a revolution. In other words a complete revolution will be 360 degrees.


One radian is defined as the angle that would sweep out an arc length of 1 on the unit circle. This connection between the angle and the arc length is the main reason we use it exclusively in Calculus.

Converting Between Degrees and Radians

We know that one full rotation contains $360^{\circ}$. We also know that a full rotation would sweep out the entire circumference of the unit circle. Since the circumference of the unit circle is $C=2\pi$, we then know that one complete rotation is $2\pi$ radians. Now we simply set up the proportion,

\begin{align} \frac{\mbox{Degrees}}{\mbox{Radians}}=\frac{360}{2\pi} \end{align}

Solving this proportion for either degrees or radians gives us the following two conversion formulas

\begin{eqnarray} \mbox{Degrees}=\mbox{Radians} \times \frac{180}{\pi} \\ \mbox{Radians}=\mbox{Degrees} \times \frac{\pi}{180} \end{eqnarray}

The Trigonometric Functions

Trigonometric functions are a way in which we relate angles to either the xy-coordinate system or to the sides of a right triangle. The trigonometric functions are sine, cosine, tangent, secant, cosecant and cotangent.

Trigonometry on the Right Triangle

A right triangle is a triangle where one of the angles is a right angle(i.e. $90^{\circ} \mbox{ or } \frac{\pi}{2}$). We refer to the two sides that make up the right angle as the legs and the side opposite the right angle the hypotenuse.
We can define the values of the trigonometric function for an angle $0^\circ<\theta<90^\circ$ of a right triangle as the ratio of particular sides on that triangle as follows.

\begin{align} \sin \theta = \frac{\mbox{Opposite}}{\mbox{Hypotenuse}} & \cos \theta =\frac{\mbox{Adjacent}}{\mbox{Hypotenuse}} & \tan \theta =\frac{\mbox{Opposite}}{\mbox{Adjacent}}\\ & & \\ \sec \theta = \frac{\mbox{Hypotenuse}}{\mbox{Adjacent}} & \csc \theta = \frac{\mbox{Hypotenuse}}{\mbox{Opposite}} & \cot \theta = \frac{\mbox{Adjacent}}{\mbox{Opposite}}\\ \end{align}

Trigonometry on a Circle

The one limitation to defining the values of the trigonometric functions on the right triangle is the fact that $0^\circ<\theta<90^\circ$. Now we will connect the values of trigonometric functions to the points on a circle in the xy-plane and therefore allow any angle of $\theta$. The image below shows a circle of radius r centered at the origin. The right triangle has been superimposed in order to show how the trigonometric values from the right triangle relate to the points on the circle.


From this image we can see that the values of the trigonometric functions are as follows

\begin{align} \sin \theta = \frac{y}{r} & \cos \theta =\frac{x}{r} & \tan \theta =\frac{y}{x}\\ & & \\ \sec \theta = \frac{r}{x} & \csc \theta = \frac{r}{y} & \cot \theta = \frac{x}{y}\\ \end{align}

The most common circle to use is the unit circle. The unit circle is a circle of radius 1. In that case the previous formulae simplify to

\begin{align} \sin \theta = y & \cos \theta =x & \tan \theta =\frac{y}{x}\\ & & \\ \sec \theta = \frac{1}{x} & \csc \theta = \frac{1}{y} & \cot \theta = \frac{x}{y}\\ \end{align}

Reference Angles

Due to the symmetry of the unit circle, it is possible to relate the values of the trigonometric functions for angles in quadrants II, III and IV to the values of the trigonometric functions for angles in quadrant I. This is done through what is called the reference angle. In the image below, you can see that there are four angles that make an angle of $\theta$ with the x-axis. Since the four intersection points on the unit circle, have various axis symmetries, the coordinates are the same in absolute value.


The Inverse Trigonometric Functions

We have seen that trigonometric functions take an angle, in radians or degrees, as their input and output a dimensionless value that can be related to a right triangle or the unit circle. In many instances, we have that dimensionless value and are interested in the corresponding angle. This requires us to construct an inverse trigonometric function for each trigonometric function. There is only one catch. From algebra, we know that a function is invertible if and only if every element of the range corresponds to exactly one element in the domain. In other words, it must pass the horizontal line test. Due to their periodic nature, none of the trigonometric functions pass the horizontal line test and are therefore not invertible. All is not lost. If we restrict the domain of the trigonometric function, we can obtain a piece that is invertible.


If we restrict the function $y=\sin t$ to $-\frac{\pi}{2}\leq t \leq \frac{\pi}{2}$, it will pass the horizontal line test and therefore be invertible. The following graphs illustrate each.


The only problem with restricting the domain on $y=\sin t$ is that it restricts us to angles in the 1st and 4th quadrants. What about the angles in the 2nd and 3rd quadrants?


For the same reason as above, we restrict $y=\cos t$ to $0 \leq t \leq \pi$ in order to obtain the function $y=\cos^{-1}t$



Likewise we restrice $y=\tan t$ to $-\frac{\pi}{2} < t < \frac{\pi}{2}$ to obtain $y=\tan ^{-1}t$


In all three cases the restriction of the domain has the unintended effect of limiting our solutions when trying to use the inverse trigonometric functions to solve trigonometric equations. In these cases we need to use reference angles. More specifically, in order to obtain the other solution in the range $0 \leq \theta \leq 360^{\circ}$
you will need to do the following,

  1. $180^{\circ}-\sin^{-1}(t)$ or $\pi-\sin^{-1}(t)$
  2. $360^{\circ}-\cos^{-1}(t)$ or $2\pi-\cos^{-1}(t)$
  3. $180^{\circ}+\tan^{-1}(t)$ or $\pi+\tan^{-1}(t)$

Find all solutions for $\sin(\theta)= \frac{\sqrt{3}}{2}$ with $0 \leq \theta \leq 360^{\circ}$


  1. Convert $40^{\circ}$ to radians
  2. Convert $305^{\circ}$ to radians
  3. Convert $\frac{\pi}{20}$ to degrees
  4. Convert $\frac{\pi}{100}$ to degrees
  5. Find $\sin (22^{\circ})$
  6. Find $\cos (147^{\circ})$
  7. Find $\tan (90^{\circ})$
  8. Find $\sin (2.4)$
  9. Find $\cos(\frac{\pi}{8})$
  10. Find $\tan(\pi)$
  11. Find all solutions for $\sin(\theta)= \frac{1}{2}$ with $0 \leq \theta \leq 360^{\circ}$
  12. Find all solutions for $\cos(\theta)= -\frac{\sqrt{2}}{2}$ with $0 \leq \theta \leq 360^{\circ}$
  13. Find all solutions for $\tan(\theta)= -\sqrt{3}$ with $0 \leq \theta \leq 360^{\circ}$
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License