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.
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.
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.
The repetitive motion in Example 13.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 13.1.4 are called sinusoidal functions.
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{.}\)
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.
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.
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 13.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.
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.
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 13.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.
Definition13.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*}
With angle \(t \) and point \((x,y) \) on the unit circle as in Definition 13.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.
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.
In both cases demonstrated in Figure 13.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,
Section13.5Derivatives of the sine and cosine functions
Velocity is the rate of variation in position. (Or, really, it’s the rate of accumulation of distance from an initial position, and to accumulate distance you must vary your position.) So
Suppose we take the motion of the mass-on-spring in Example 13.1.1 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 \text{,} \amp s(t) = - \cos t \text{.}
\end{align*}
Figure 13.1.4 certainly seems to support these assignments. 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.
If we choose a different time in the periodic motion of the mass-on-spring to act as the “initial time”, so that the spring was already in motion when recording of the experiment began, but the mass was passing through the equilibrium position at \(t = 0 \text{,}\) then we obtain a shifted version of Figure 13.1.4, pictured in Figure 13.5.1.
In this limit, keep in mind that we regard \(t \) as constant. The best way to think of this is that we are attempting to compute a single derivative value at some specific input value \(t \text{.}\) And if \(t \) is regarded as constant, then so should \(\sin(t) \) and \(\cos(t) \) be. With this in mind, the Sum Law and the Constant Multiple Law from Pattern 3.3.1 imply that we should focus on determining
as \(\change{t} \to 0 \text{.}\) In Figure 13.5.2, we graphically compare \(\cos(\change{t}) \) to the constant function \(1 \) (the two terms in the numerator of the first limit above) and compare \(\sin(\change{t}) \) to its input \(\change{t} \) (the numerator and denominator of the second limit above).
Examining the graphs of these trigonometric functions, we clearly see that for \(\change{t} \approx 0 \) we have \(\cos(\change{t}) \approx 1 \text{,}\) and it also appears that \(\sin(\change{t}) \) values become very close to values of \(\change{t} \text{.}\) But in each of these cases we can say something much stronger about how close these approximations are relative to the size of \(\change{t} \text{.}\)
For small values of \(\theta \) (that is, for \(\theta \approx 0 \)), we have \(\sin(\theta) \approx \theta \text{.}\) In fact, we can say that values of
Recall that values of \(\sin(\theta) \) represent the \(y \)-coordinate of a position on the unit circle. That is, in Figure 13.5.4, the value of \(\sin(\theta) \) is the equal to the triangle side length marked \(y \text{.}\)
Now, we have \(y \lt a \) because \(a \) is the length of the hypotenuse in a right triangle and \(y \) is the length of one of the legs of that triangle. We also have \(a \lt \theta \) because the arc that \(\theta \) measures has the same endpoints as the segment measured by \(a \text{,}\) but the segment takes a straight path between those points. Going out further, for a similar reason we can say \(\theta \lt b + d \text{.}\) But also \(d \lt c \) because \(c \) is a hypotenuse and \(d \) is a leg. And we have \(b + c = \tan(\theta) \) by using opposite-over-adjacent in the large right triangle. So we finally have
\begin{equation*}
\sin(\theta) = y \lt a \lt \theta \lt b + d \lt b + c = \tan(\theta) \text{.}
\end{equation*}
Splitting in two at \(\theta \) and doing a little re-arranging, we have
(Note that for \(\theta \approx 0 \) but positive, the value of \(\cos(\theta) \) is also positive, so multiplying or dividing both sides of an inequality by either \(\theta \) or \(\cos(\theta) \) will not reverse the inequality.)
where the superscript \(+ \) indicates that \(\theta \) is assumed to be positive. This inequality says that the graph of \(\sin(\theta)/\theta \text{,}\) whatever it might look like, will be confined to the shaded region in Figure 13.5.5 below. For \(\theta \approx 0^+ \text{,}\) this graph must be squeezed into the little wedge in the upper-left corner of the shaded region, very close to a height of \(1 \text{,}\) and so we conclude
For small values of \(\theta \) (that is, for \(\theta \approx 0 \)), we obviously have \(\cos(\theta) \approx \theta \text{.}\) This approximation becomes so tight that we can say that values of
both the numerator and denominator are approximately \(0 \) for small values of \(\theta \text{.}\) But similarly to Section 4.2, it becomes a “race” to \(0 \text{.}\) The fact that
says that the numerator “wins” the race, so that the approximation \(\cos(\theta) \approx 1 \) must be very tight compared to \(\theta \approx 0 \) since if it were the other way around then we would expect the expression
Similar to the derivation of the derivative of the sine function in this section, combine Pattern 13.3.9 with Pattern 13.5.3 and Pattern 13.5.6 to verify that for \(q(t) = \cos(t) \text{,}\)
As the mass begins to move, it accumulates displacement from the initial position \(s(0) = -1 \text{.}\) Applying Pattern 9.4.7 to the “quantity” function \(s(t) \) and its rate function \(v(t) \text{,}\) we have
For a cosine rate function, we once again reset the “initial” time for the mass-on-spring system to when it is first moving through the equilibrium position, which yielded Figure 13.5.1 and shifted velocity and position functions
Let’s continue by computing these two integrals separately. As we’ve done before in other examples, we use Item 5 of Pattern 9.3.11 to manipulate the bounds of integration so that we can use our formulas from Pattern 13.6.1 and Pattern 13.6.2, which both involve a lower bound of \(0 \text{.}\)
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{.}\)