Skip to main content
Logo image

Chapter 10 Trigonometric functions

Section 10.1 Periodic behaviour

Example 10.1.1. Oscillation of a mass on a spring.

Consider a spring with a mass attached to one end and the other end attached to a wall. For simplicity, we will assume that the mass rests on a frictionless surface. Let \(s(t)\) represent the position of the spring relative to the wall at time \(t\text{,}\) and let \(\rmsubscript{s}{eq}\) represent the “equilibrium” position.
A mass attached to a spring, at equilibrium position.
(a) At the equilibrium position, where the spring is neither compressed nor stretched.
A mass attached to a spring, at a negative position with the spring compressed.
(b) At a negative position, where the spring is compressed.
A mass attached to a spring, at a positive position with the spring stretched.
(c) At a positive position, where the spring is stretched.
Figure 10.1.2. A mass attached to a spring.
Imagine what will happen if the mass is held at a position that compresses the spring, and then is released. The initial velocity of the mass is \(0\text{,}\) as it is starting from rest, but the force of the spring causes it to accelerate. The mass reaches its highest velocity as it passes the equilibrium position, since past that point the spring is now stretched and begins to pull back on the mass. The force of the stretched spring now causes the spring to slow down, stop, and begin to move back towards the wall. We now consider the mass to have negative velocity as it is moving in the opposite direction, and its distance from the wall is now decreasing. The mass reaches its largest negative velocity as it again passes the equilibrium position before slowing down, stopping, and repeating the motion all over again.
A velocity graph for a mass attached to a spring.
Figure 10.1.3. A velocity graph for a mass attached to a spring.
Now consider the position function \(s(t)\text{.}\) For simplicity, let’s label the equilibrium position as \(s = 0\text{,}\) so that positions closer to the wall than equilibrium and negative, and positions farther from the wall are positive. If the mass begins at position \(s(0) = -A\) (with \(A\) positive), it will reach the equilibrium position \(s(t) = 0\) at the same time that the velocity is at its peak, and will by symmetry will the position \(s(t) = A\) will be the furthest from the wall it reaches, at the same time that velocity is a gain \(0\text{.}\) Then its position will return back to \(s(t) = -A\) following the same pattern in reverse.
A position graph for a mass attached to a spring.
Figure 10.1.4. A position graph for a mass attached to a spring.
The repetitive motion in Example 10.1.1 is called periodic. The period is the time duration required to complete one cycle of the repetition. The smoothly oscillating functions in Figure 10.1.4 are called sinusoidal functions.

Section 10.2 Radian measure

A circle with radius \(R = 1\) has circumference \(C = 2 \pi\text{.}\) This means that if we cut the circle and “unrolled” it into a straight line segment, its length would be \(2 \pi\text{.}\)
An unrolled unit circle.
Figure 10.2.1. An unrolled circle of radius \(1\text{.}\)
Given two points on the circle, we may ask the question: “What is the distance along the circle between these two points?”
A straightened arc of a unit circle.
Figure 10.2.2. A straightened arc of a unit circle.
Such a distance along a circle is called an arc length.
If we draw line segments from the centre of the circle to each of two points on the circle, an angle is created.

Definition 10.2.3. Radian measure of an angle.

Given an angle formed by two line segments that meet at a vertex, extend the segments in the direction away from the vertex until each has length at least \(1\) unit, if necessary. Then the circle of radius \(R = 1\) centred at the vertex will cut the two segments. Define the radian measure of this angle to be the arc length between the points where the circle cuts the segments.
Radian measure of an angle equals arc length along a unit circle.
Figure 10.2.4. Radian measure of an angle equals arc length along a unit circle.
For example, a right angle creates an arc that is one quarter of a circle, and so has radian measure
\begin{equation*} \frac{2 \pi}{4} = \frac{\pi}{2} \text{.} \end{equation*}
A \(45 \degree\) angle will create an arc half the length of that for a right angle, and so has radian measure \(\pi / 4\text{.}\)
Radian measure of a right angle.
(a) Radian measure of a right angle.
Radian measure of a 45-degree angle.
(b) Radian measure of a \(45 \degree\) angle.
Figure 10.2.5. Two example radian measures.
Here are some common radian measures, with the corresponding angle measure in degrees.
Degrees Radians
\(0 \degree\) 0
\(30 \degree\) \(\frac{\pi}{6}\)
\(45 \degree\) \(\frac{\pi}{4}\)
\(60 \degree\) \(\frac{\pi}{3}\)
\(90 \degree\) \(\frac{\pi}{2}\)
\(120 \degree\) \(\frac{2 \pi}{3}\)
\(135 \degree\) \(\frac{3 \pi}{4}\)
\(150 \degree\) \(\frac{5 \pi}{6}\)
\(180 \degree\) \(\pi\)
\(270 \degree\) \(\frac{3 \pi}{2}\)
\(360 \degree\) \(2 \pi\)
Figure 10.2.6. Some common radian measures.
In general, we can convert between degrees and radians by the relation
\begin{equation*} 1 \degree = \frac{2 \pi}{360} \text{ radians} \text{.} \end{equation*}
Finally, by allowing both positive- and negative-measure angles, we can take direction into account. To do this, we label one of the two points on the circle as “first” and the other as “second”. Then an angle that opens counter-clockwise from first point to second point is considered positive, while an angle that opens clockwise from first point to second point is considered negative.
When working with the unit circle centred at the origin in the Cartesian plane, we generally take the point \((1,0)\) as the “first” point to act as a reference point.

Section 10.3 The six trigonometric functions

The most basic form of periodic behaviour is to repeatedly traverse a circle, so that every period is one traversal of the circle.
Traversing the unit circle.
Figure 10.3.1. Traversing the unit circle.
Consider how the \(x\)-coordinate varies as we traverse the unit circle, starting at the point \((1,0)\) on the \(x\)-axis and moving counter-clockwise. In particular, let’s match \(x\)-coordinates of positions along the circle to angles, with variable \(t\) representing the angle between the radius to the reference point \((1,0)\) and the radius to the position point, as in Figure 10.3.1. Starting at the reference point \((1,0)\) on the positive \(x\)-axis, we observe the following.
  • The \(x\)-coordinate decreases from \(x = 1\) at \(t = 0\) to \(x = 0\) at the point \((0,1)\) on the positive \(y\)-axis, where \(t = \pi/2\text{.}\)
  • From there, the \(x\)-coordinate continues to decrease to \(x = -1\) when it reaches the point \((-1,0)\) on the negative \(x\)-axis, where \(t = \pi\text{.}\)
  • From there, the \(x\)-coordinate increases through \(x = 0\) at the point \((0,-1)\) on the negative \(y\)-axis (where \(t = 3\pi / 2\)) back to \(x = 1\) when it returns to the reference point \((1,0)\text{.}\) Even though this is at \(t = 0\text{,}\) we consider it to be \(t = 2 \pi\text{,}\) since we have now made one full traversal of the circumference of the circle.
Traversing the circle a second (or third, or fourth) time just repeats this behaviour. And if we traverse the circle in reverse (so that now \(t\) is considered negative), we observe the above behaviour in reverse. Here is the graph of angle-versus-\(x\)-coordinate formed by this behaviour.
Graph of the cosine function.
Figure 10.3.2. Graph of the cosine function, which tracks the \(x\)-coordinate of positions on the unit circle.

Definition 10.3.3. The cosine function.

Given input value \(t\text{,}\) the output value \(\cos(t)\) is taken to be the \(x\)-coordinate of the point \((x,y)\) on the unit circle that forms an angle of \(t\) with the positive \(x\)-axis.
Also consider how the \(y\)-coordinate varies as we traverse the unit circle, and how that variation tracks the variation in the angle \(t\text{.}\) With an analysis similar to the one above for the variation in the \(x\)-coordinate of the position, we arrive at the following graph of angle-versus-\(y\)-coordinate.
Graph of the sine function.
Figure 10.3.4. Graph of the cosine function, which tracks the \(x\)-coordinate of positions on the unit circle.

Definition 10.3.5. The sine function.

Given input value \(t\text{,}\) the output value \(\sin(t)\) is taken to be the \(y\)-coordinate of the point \((x,y)\) on the unit circle that forms an angle of \(t\) with the positive \(x\)-axis.
Due to the abundance of symmetry in a circle, the graphs of the sine and cosine also display many instances of symmetry, which we can express as transformations of functions.
In Section 10.4 we will review the connection between trigonometry and the geometry of right triangles; specifically, ratios of sides in a right triangle. With that goal in mind, we make the following definitions of four more trigonometric functions as ratios.

Definition 10.3.7. The tangent function and reciprocal trigonometric functions.

Given input value \(t\text{,}\) let \((x,y)\) represent the point on the unit circle that forms an angle of \(t\) with the positive \(x\)-axis. Then we define the tangent, cotangent, secant, and cosecant functions by
\begin{align*} \tan t \amp = \frac{y}{x} \amp \sec t \amp = \frac{1}{x} \\ \cot t \amp = \frac{x}{y} \amp \csc t \amp = \frac{1}{y} \text{.} \end{align*}

Justification.

With angle \(t\) and point \((x,y)\) on the unit circle as in Definition 10.3.7, we have
\begin{align*} \cos t \amp = x \amp \tan t \amp = \frac{y}{x} \amp \sec t \amp = \frac{1}{x}\\ \sin t \amp = y \amp \cot t \amp = \frac{x}{y} \amp \csc t \amp = \frac{1}{y}\text{,} \end{align*}
and the relationships in the pattern statement follow immediately.

Section 10.4 Trigonometry in triangles

Given a right triangle, we can draw a unit circle centred at the vertex opposite the hypotenuse. This circle will either cut the hypotenuse or we may extend the hypotenuse until it reaches the circle. Treating one of the triangle’s legs as representing the positive \(x\)-axis, we may use the angle formed by the hypotenuse and that leg as the input to the trigonometric functions.
Cutting a right triangle with a unit circle.
(a) Cutting a right triangle with a unit circle.
Extending a right triangle within a unit circle.
(b) Extending a right triangle within a unit circle.
Figure 10.4.1. Creating a similar right triangle in a unit circle.
In both cases demonstrated in Figure 10.4.1, the two triangles are similar triangles, which means that a ratio of side lengths in one of the triangles will equal the ratio of corresponding side lengths in the other triangle. Therefore,
\begin{align*} \cos \theta \amp = \frac{x}{1} = \frac{a}{c} \amp \sin \theta \amp = \frac{y}{1} = \frac{b}{c} \amp \tan \theta \amp = \frac{y}{x} = \frac{b}{a}\text{,} \end{align*}
leading to the familiar acronyms SOH CAH TOA:
\begin{align*} \cos \theta \amp = \frac{\mathrm{adj}}{\mathrm{hyp}} \amp \sin \theta \amp = \frac{\mathrm{opp}}{\mathrm{hyp}} \amp \tan \theta \amp = \frac{\mathrm{opp}}{\mathrm{adj}}\text{.} \end{align*}
SOH CAH TOA.
Figure 10.4.2. SOH CAH TOA.

Section 10.5 Trigonometric rate functions

Example 10.1.1 has already provided us with an example of a rate/position function pair involving trigonometric functions. Suppose we take the motion in that example to have an amplitude of \(1\text{,}\) so that when the object is stopped at maximum compression of the spring and at maximum stretch of the spring, it is \(1\) unit away from the central equilibrium position. And suppose we assume that the time units are normalized so that one full period of the motion, from compressed spring to stretched back to compressed, represents the time domain \(0 \le t \le 2 \pi\text{.}\) Then the velocity can be modelled by the sine function and the position can be modelled by the negative of the cosine function:
\begin{align*} v(t) \amp = \sin t \amp s(t) = - \cos t \text{.} \end{align*}
The reason that we have the negative of the cosine function as the position function is because we took the central equilibrium position to be \(s = 0\text{,}\) with \(s \lt 0\) representing a position closer to the wall and \(s \gt 0\) representing a position further from the wall compared to the centre position. So when the object is released from a stop at a compressed position, we are taking \(s(0) = -1\text{.}\) And from the there the object moves forward, so that the position values increase and the velocity values becomes positive.
As the object begins to move, it accumulates displacement from the initial position \(s(0) = -1\text{:}\)
\begin{align*} s(t) \amp = s(0) + \ccmint{0}{t}{v(u)}{u} \\ \amp = -1 + \ccmint{0}{t}{\sin(u)}{u} \text{.} \end{align*}
On the other hand, we have already modelled position as \(s(t) = - \cos(t)\text{:}\)
\begin{equation*} - \cos(t) = -1 + \ccmint{0}{t}{\sin(u)}{u} \text{.} \end{equation*}
For a cosine rate function, we can use the fact that cosine is just a horizontal shift of the sine function:
\begin{equation*} \cos(t) = \sin(t + \pi/2) \text{.} \end{equation*}
(See Pattern 10.3.6.) Accordingly, if we shift time so that we consider the velocity of the object in Example 10.1.1 as being modelled by \(v(t) = \cos(t)\text{,}\) then we can just shift our position function by the same amount:
\begin{align*} v(t) \amp = \cos(t) \amp s(t) \amp = -\cos(t + \pi/2)\\ \amp = \sin(t + \pi/2) \amp \amp = - \bbrac{-\sin(t)}\\ \amp \amp \amp = \sin(t)\text{.} \end{align*}
Essentially, we have shifted time so that \(t = 0\) means the moment that the object first moves through the equilibrium position at \(s = 0\) with its maximum positive velocity. Again, we think of the object as accumulating displacement from its initial position:
\begin{align*} s(t) \amp = s(0) + \ccmint{0}{t}{v(u)}{u} \\ \amp = 0 + \ccmint{0}{t}{\cos(u)}{u} \text{.} \end{align*}
As we have decided that position in this shifted scenario should be modelled as \(s(t) = \sin(t)\text{,}\) we have
\begin{equation*} \sin(t) = 0 + \ccmint{0}{t}{\cos(u)}{u} \text{.} \end{equation*}

Example 10.5.3. Computing an accumulation for a rate function involving sine and cosine.

Suppose we would like to compute
\begin{equation*} \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{ 3 \sin(t) + 5 \cos(t) }{t} \text{.} \end{equation*}
As usual, we use Pattern 6.3.11 to split into separate integrals and factor out the constant multiples:
\begin{equation*} \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{ 3 \sin(t) + 5 \cos(t) }{t} = 3 \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{\sin(t)}{t} + 5 \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{\cos(t)}{t}\text{.} \end{equation*}
Let’s continue by computing these two integrals separately. As we’ve done before in other examples, we use Item 5 of Pattern 6.3.11 to manipulate the bounds of integration so that we can use our formulas from Pattern 10.5.1 and Pattern 10.5.2, which both involve a lower bound of \(0\text{.}\)
\begin{align*} \amp \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{\sin(t)}{t} \amp \amp \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{\cos(t)}{t}\\ \amp \qquad = \ccmint{0}{\frac{3 \pi}{2}}{\sin(t)}{t} - \ccmint{0}{\frac{\pi}{2}}{\sin(t)}{t} \amp \amp \qquad = \ccmint{0}{\frac{3 \pi}{2}}{\cos(t)}{t} - \ccmint{0}{\frac{\pi}{2}}{\cos(t)}{t}\\ \amp \qquad = \bbrac{1 - \cos(3 \pi / 2)} - \bbrac{1 - \cos(\pi/2)} \amp \amp \qquad = \sin(3 \pi / 2) - \sin (\pi / 2)\\ \amp \qquad = (1 - 0) - (1 - 0) \amp \amp \qquad = -1 - 1\\ \amp \qquad = 0 \amp \amp \qquad = -2 \end{align*}
We should have expected that the integral on the left would evaluate to \(0\text{,}\) by the symmetry of the rate function \(\sin(t)\) — the positively-oriented area over the domain \(\pi / 2 \le t \le \pi\) is the same magnitude as the negatively-oriented area over the domain \(\pi \le t \le 3 \pi / 2\text{,}\) and so cancel out when combined over the domain \(\pi / 2 \le t \le 3 \pi / 2\text{.}\)
Finally, we combine the two results above to compute the original integral.
\begin{align*} \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{ 3 \sin(t) + 5 \cos(t) }{t} \amp = 3 \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{\sin(t)}{t} + 5 \ccmint{\frac{\pi}{2}}{\frac{3 \pi}{2}}{\cos(t)}{t}\\ \amp = 3 \cdot 0 + 5 \cdot (-2) \\ \amp = -10 \end{align*}
We will learn how to determine accumulation for a rate function modelled by the tangent function in Chapter 14.