Trigonometric Functions

by Justin Skycak on

Trigonometric functions represent the relationship between sides and angles in right triangles.

This post is a chapter in the book Justin Math: Algebra. Suggested citation: Skycak, J. (2018). Trigonometric Functions. Justin Math: Algebra. https://justinmath.com/trigonometric-functions/


Trigonometric functions represent the relationship between sides and angles in right triangles.

There are three main “trig” functions: sine, cosine, and tangent, and a mnemonic often used to remember what they represent is SohCahToa:

  • • The SINE of an angle is the ratio of the lengths of the OPPOSITE side and the HYPOTENUSE.
  • • The COSINE of an angle is the ratio of the lengths of the ADJACENT side and the HYPOTENUSE.
  • • The TANGENT of an angle is the ratio of the lengths of the OPPOSITE side and the ADJACENT side.
icon


For example, in the triangle below, we have $\sin \theta = \frac{4}{5}$, $\cos \theta = \frac{3}{5}$, and $\tan \theta = \frac{4}{3}$.

icon


Solving for a Side

Trig functions can be used to solve for unknown side lengths in right triangles. For example, if we know that an angle is $25^\circ$, the opposite side has a length of $10$, and we want to find the hypotenuse, we can set up and solve an equation using sine.

icon


$\begin{align*} \text{Sine equation} \hspace{.5cm} &\Bigg| \hspace{.5cm} \sin 25^\circ = \frac{10}{c} \\ \text{Solve} \hspace{.5cm} &\Bigg| \hspace{.5cm} c = \frac{10}{\sin 25^\circ} \\ \text{Estimate via calculator} \hspace{.5cm} &\Bigg| \hspace{.5cm} c \approx 23.66 \\ \end{align*}$


To find the remaining side, we can use any of three methods: Pythagorean theorem, cosine, or tangent.

No matter which technique we use, we will end up with the same result (though if we use our approximation of $c \approx 23.66$, we might be slightly off due to rounding error).

icon


$\begin{align*} \text{Pythagorean theorem} \hspace{.5cm} &\Bigg| \hspace{.5cm} 10^2 + b^2 = 23.66^2 \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} b = \sqrt{ 23.66^2 - 10^2} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} b \approx 21.44 \\ \text{Cosine} \hspace{.5cm} &\Bigg| \hspace{.5cm} \cos 25^\circ = \frac{b}{23.66} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} b = 23.66 \cos 25^\circ \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} b \approx 21.44 \\ \text{Tangent} \hspace{.5cm} &\Bigg| \hspace{.5cm} \tan 25^\circ = \frac{10}{b} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} b = \frac{10}{\tan 25^\circ} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} b \approx 21.45 \\ \end{align*}$


Solving for an Angle

Similarly, using inverse trig functions, we can solve for unknown angles in right triangles.

For example, if we know that the adjacent side is $5$ and the opposite side is $7$, we can set up an equation with tangent and then use inverse tangent to find the angle.

icon


$\begin{align*} \text{Tangent equation} \hspace{.5cm} &\Bigg| \hspace{.5cm} \tan A = \frac{7}{5} \\ \text{Inverse tangent} \hspace{.5cm} &\Bigg| \hspace{.5cm} A = \tan^{-1} \left( \frac{7}{5} \right) \\ \text{Evaluate via calculator} \hspace{.5cm} &\Bigg| \hspace{.5cm} A \approx 54.46^\circ \end{align*}$


The Unit Circle

To find the remaining angle, we can use any of three methods: sum of degrees in a triangle, tangent, or Pythagorean theorem followed by sine or cosine. Regardless of which method we choose, we will end up with the same result.

icon


$\begin{align*} \text{Sum of degrees in triangle} \hspace{.5cm} &\Bigg| \hspace{.5cm} 54.46^\circ + B + 90^\circ = 180^\circ \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} B \approx 35.54^\circ \\ \text{Inverse tangent} \hspace{.5cm} &\Bigg| \hspace{.5cm} \tan B = \frac{5}{7} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} B = \tan^{-1} \left( \frac{5}{7} \right) \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} B \approx 35.54^\circ \\ \text{Pythagorean theorem} \hspace{.5cm} &\Bigg| \hspace{.5cm} 7^2 + 5^2 = c^2 \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} c = \sqrt{74} \\ \text{Inverse sine} \hspace{.5cm} &\Bigg| \hspace{.5cm} \sin B = \frac{5}{\sqrt{74}} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} B = \sin^{-1} \left( \frac{5}{\sqrt{74}} \right) \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} B \approx 35.54^\circ \\ \text{Inverse cosine} \hspace{.5cm} &\Bigg| \hspace{.5cm} \cos B = \frac{7}{\sqrt{74}} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} B = \cos^{-1} \left( \frac{7}{\sqrt{74}} \right) \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} B \approx 35.54^\circ \end{align*}$


To gain a better understanding of trig functions, we can imagine putting a triangle inside of a circle on the coordinate plane.

icon


The coordinates of the corner point $(x,y)$ on the circle then tell us the other two sides of the triangle: the horizontal side has length $x$ and the vertical side has length $y$. If we make the circle have radius $1$, then the hypotenuse of the triangle is $1$, and we have

$\begin{align*} \cos \theta &= \frac{x}{1} = x \\ \sin \theta &= \frac{y}{1} = y \end{align*}$


and our point $(x,y)$ can be written as $(\cos \theta, \sin \theta)$.

icon


Immediately, we notice two important things. First, using the Pythagorean theorem on the triangle, we see that

$\begin{align*} \sin^2 \theta + \cos^2 \theta = 1. \end{align*}$


This is a handy equation that can be useful in simplifying trigonometric expressions. For example, the expression $(\sin \theta + \cos \theta)^2 + (\sin \theta - \cos \theta)^2$ is actually just equivalent to $2$.

$\begin{align*} &(\sin \theta + \cos \theta)^2 + (\sin \theta - \cos \theta)^2 \\ &= (\sin^2 \theta + 2\sin \theta \cos \theta + \cos^2 \theta) \\ &\hspace{1cm} + (\sin^2 \theta - 2 \sin \theta \cos \theta + \cos^2 \theta) \\ &= 2 \sin^2 \theta + 2 \cos^2 \theta \\ &= 2 \end{align*}$


Second, angles repeat every $360^\circ$, since going $360^\circ$ around the circle brings us back to the starting point of $0^\circ$.

That means, for example, that $\sin 390^\circ$ and $\sin -330^\circ$ are both equivalent to $\sin 30^\circ$.

$\begin{align*} 390^\circ &= 30^\circ + 360^\circ \\ -330^\circ &= 30^\circ - 360^\circ \end{align*}$


Special Angles

For most angles, a calculator is needed to compute the corresponding trig function values. However, at particular angle measures, the trig functions have simple, exact values:

icon


We can remember which values correspond to which angles and which trig functions by thinking about them visually in the unit circle and mentally pairing $\frac{ \sqrt{3}}{2}$ with $\frac{1}{2}$.

  • • At $30^\circ$, the x-coordinate is bigger than the y-coordinate, so the x-coordinate must be $\frac{\sqrt{3}}{2}$ and the y-coordinate must be $\frac{1}{2}$.
  • • At $60^\circ$, this is reversed. At $45^\circ$, the x-coordinate and y-coordinate are the same, so they both are $\frac{\sqrt{2}}{2}$.
  • • At $0^\circ$, we're on the x-axis, so the x-coordinate is $1$ and the y-coordinate is $0$.
  • • At $90^\circ$, we're on the y-axis, so the y-coordinate is $1$ and the x-coordinate is $0$.

To get tangent, we can just take the ratio of the y-coordinate to the x-coordinate.

icon


Using symmetry, we can label angles in the other three quadrants of the circle.

icon


Derivation of Special Angles

You might be wondering where the values $\frac{1}{2}$, $\frac{\sqrt{2}}{2}$, and $\frac{\sqrt{3}}{2}$ come from in the first place.

To see where $\frac{\sqrt{2}}{2}$ comes from, we can construct a right triangle with a hypotenuse of $1$ and an angle of $45^\circ$.

The other angle must also be $45^\circ$, so the triangle’s two legs must be equal in length, and we can use the Pythagorean theorem to discover that the length of each leg is $\frac{ \sqrt{2}}{2}$.

icon


$\begin{align*} \text{Pythagorean theorem} \hspace{.5cm} &\Bigg| \hspace{.5cm} x^2 + x^2 = 1^2 \\ \text{Simplify} \hspace{.5cm} &\Bigg| \hspace{.5cm} 2x^2 = 1^2 \\ \text{Solve} \hspace{.5cm} &\Bigg| \hspace{.5cm} x^2 = \frac{1}{2} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} x = \sqrt{ \frac{1}{2} } \\ \text{Simplify} \hspace{.5cm} &\Bigg| \hspace{.5cm} x = \frac{1}{\sqrt{2} } \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} x = \frac{\sqrt{2} }{2 } \\ \end{align*}$


Likewise, to see where $\frac{1}{2}$ and $\frac{\sqrt{3}}{2}$ come from, we can construct a right triangle with a hypotenuse of $1$ and an angle of $60^\circ$.

The other angle must be $30^\circ$, which is exactly half – consequently, we can combine two of these triangles to form an equilateral triangle whose side lengths are all equal to the hypotenuse of $1$.

The shortest sides of the two triangles together make up a side of the equilateral triangle, which we know has length $1$, so the shortest sides of the two triangles must each be $\frac{1}{2}$. Using the Pythagorean theorem, we find that the length of the other leg is $\frac{\sqrt{3}}{2}$.

icon


$\begin{align*} \text{Pythagorean theorem} \hspace{.5cm} &\Bigg| \hspace{.5cm} \left( \frac{1}{2} \right)^2 + x^2 = 1^2 \\ \text{Simplify} \hspace{.5cm} &\Bigg| \hspace{.5cm} \frac{1}{4} + x^2 = 1 \\ \text{Solve} \hspace{.5cm} &\Bigg| \hspace{.5cm} x^2 = \frac{3}{4} \\ \text{ } \hspace{.5cm} &\Bigg| \hspace{.5cm} x = \sqrt{ \frac{3}{4} } \\ \text{Simplify} \hspace{.5cm} &\Bigg| \hspace{.5cm} x = \frac{\sqrt{3} }{2} \\ \end{align*}$


Graphs

The graphs of sine, cosine, and tangent are drawn below. They repeat every $360^\circ$, since $360^\circ$ is one full revolution around the unit circle and thus brings us full-circle back to the starting point.

Tangent actually repeats twice every $360^\circ$ (or once every $180^\circ$) because it goes from positive to negative from the first to second quadrant, and again positive to negative from the third to fourth quadrant.

To make sense of the shapes of the graphs, try to trace out the trig function values while following around the unit circle.

icon


icon


Radians

The standard way to measure angles is actually not in degrees – rather, it is in radians. One radian is equivalent to the angle whose arc is equal to one radius of a circle.

icon


Since the full arc length (circumference) of the circle is $2\pi$ times the radius, a full $360^\circ$ around the circle is equivalent to $2\pi$ radians.

Below is a copy of the unit circle, using radians instead of degrees.

icon


The trig functions are graphed in terms of radians below. Nothing changes, except for the units of the x-axis.

icon


icon


Reciprocal Trigonometric Functions

There are three other trig functions: secant, cosecant, and cotangent. They are just the reciprocals of cosine, sine, and tangent.

Consequently, they can be understood by thinking about the properties of cosine, sine, and tangent. We will not explore them further, but we include their graphs below.

icon


icon


Exercises

Use trigonometry to find the missing sides and angles of the triangles. (You can view the solution by clicking on the problem.)

$1)$
icon

Solution:
$a \approx 6.58$
$b \approx 2.39$
$B = 20^\circ$


$2)$
icon

Solution:
$a \approx 5.96$
$c \approx 7.78$
$A = 50^\circ$


$3)$
icon

Solution:
$c = \sqrt{5} \approx 2.24$
$A \approx 63.43^\circ$
$B \approx 26.57^\circ$


$4)$
icon

Solution:
$b = 6$
$A \approx 53.13^\circ$
$B \approx 36.87^\circ$


Use the unit circle to find the exact values of the following trigonometric expressions.

$5) \hspace{.5cm} \cos 0^\circ$
Solution:
$1$

$6) \hspace{.5cm} \sin 270^\circ$
Solution:
$-1$

$7) \hspace{.5cm} \sin 60^\circ$
Solution:
$\frac{\sqrt{3}}{2}$

$8) \hspace{.5cm} \tan 30^\circ$
Solution:
$\frac{ \sqrt{3}}{3}$

$9) \hspace{.5cm} \cos 135^\circ$
Solution:
$-\frac{ \sqrt{2}}{2}$

$10) \hspace{.5cm} \tan 270^\circ$
Solution:
$\text{undefined}$

$11) \hspace{.5cm} \sin 135^\circ$
Solution:
$\frac{ \sqrt{2}}{2}$

$12) \hspace{.5cm} \cos 240^\circ$
Solution:
$-\frac{1}{2}$

$13) \hspace{.5cm} \sin 720^\circ$
Solution:
$0$

$14) \hspace{.5cm} \cos 480^\circ$
Solution:
$-\frac{1}{2}$

$15) \hspace{.5cm} \tan 765^\circ$
Solution:
$1$

$16) \hspace{.5cm} \cos -45^\circ$
Solution:
$\frac{ \sqrt{2}}{2}$

$17) \hspace{.5cm} \sin -150^\circ$
Solution:
$-\frac{1}{2}$

$18) \hspace{.5cm} \cos \frac{\pi}{3}$
Solution:
$\frac{1}{2}$

$19) \hspace{.5cm} \sin \frac{5\pi}{6}$
Solution:
$\frac{1}{2}$

$20) \hspace{.5cm} \tan \frac{2\pi}{3}$
Solution:
$-\sqrt{3}$

$21) \hspace{.5cm} \cos \pi$
Solution:
$-1$

$22) \hspace{.5cm} \tan \frac{7\pi}{6}$
Solution:
$\frac{ \sqrt{3}}{3}$

$23) \hspace{.5cm} \sin 2\pi$
Solution:
$0$

$24) \hspace{.5cm} \cos 5\pi$
Solution:
$-1$

$25) \hspace{.5cm} \tan \frac{9\pi}{4}$
Solution:
$1$

$26) \hspace{.5cm} \cos \frac{5\pi}{2}$
Solution:
$0$

$27) \hspace{.5cm} \sin -\frac{3\pi}{2}$
Solution:
$1$

$28) \hspace{.5cm} \cos -\frac{\pi}{6}$
Solution:
$\frac{ \sqrt{3}}{2}$

$29) \hspace{.5cm} \tan -\frac{\pi}{3}$
Solution:
$-\sqrt{3}$

$30) \hspace{.5cm} \tan -\frac{5\pi}{4}$
Solution:
$-1$


This post is a chapter in the book Justin Math: Algebra. Suggested citation: Skycak, J. (2018). Trigonometric Functions. Justin Math: Algebra. https://justinmath.com/trigonometric-functions/