Chapter 8 Trig Functions and Sinusoidal Function s

Trig Functions

We start by reviewing trig functions of an angle measured in radians. Because this is review material, we will go through it rapidly.

We first draw the unit circle in the xy-plane. The standard way of measuring an angle is to start with the positive x-axis and rotate counterclockwise. As we go through the angle, we sweep around the circumference of the unit circle. The radian measure of the angle is defined to be the distance around the circumference that we travel. That is, a full revolution of [Maple Math] is equal to [Maple Math] radians, half a revolution is [Maple Math] = [Maple Math] radians, and so on. Other frequently used equivalences are: [Maple Math] rad, [Maple Math] rad, [Maple Math] rad, [Maple Math] rad. All angles in this course will be assumed to be measured in radians unless otherwise stated .
The designation ``radian'' will often be omitted, e.g., if we write ``an angle of
[Maple Math] ,''` we mean a [Maple Math] angle.


By a
negative angle we mean a clockwise angle . For example, an angle of [Maple Math] (i.e., [Maple Math] ) brings us to the same position as an angle of [Maple Math] (which is [Maple Math] ).


In general, if we have a circle of radius
[Maple Math] and sweep out an angle of [Maple Math] radians, then the distance around the circumference through which we have traveled is simply [Maple Math] . Of course, one full circumference is [Maple Math] , corresponding to rotation through [Maple Math] radians.

Returning to the unit circle (see the drawing below), after rotating through an angle of [Maple Math] radians let ( [Maple Math] ) be the point where we end up on the circumference. Then the six trig functions: sine (sin) , cosine (cos), secant (sec), cosecant (csc), and tangent (tan) and cotangent (cot) are defined as follows:

[Maple Math] , [Maple Math] ,

[Maple Math] , [Maple Math] ,

[Maple Math] , [Maple Math] ,

[Maple Plot]

With these we have the familiar relations (identities):

[Maple Math]

[Maple Math]

[Maple Math]

[Maple Math]

[Maple Math]

[Maple Math]

code for diagrams

From the definition of [Maple Math] we see that as [Maple Math] increases from [Maple Math] to [Maple Math] i (i.e., as we go once around the unit circle , [Maple Math] goes from [Maple Math] to [Maple Math] to [Maple Math] to [Maple Math] and back to [Maple Math] . Then as [Maple Math] goes from [Maple Math] to [Maple Math] (i.e., as we go once again around the circle), the same values of [Maple Math] are repeated. We say that the function [Maple Math] has period [Maple Math] , i.e., we have [Maple Math] .


Here are some other relations for the trig functions that follow easily from the above definitions:
[Maple Math] , [Maple Math] , [Maple Math] , [Maple Math] , [Maple Math] , [Maple Math] , [Maple Math] , [Maple Math] , and [Maple Math] . The last of these relations is familiar from high school trigonometry: the cosine of an angle is equal to the sine of the complementary angle .

The identity [Maple Math] can also be seen from our definitions as follows: the x-coordinate of the point on the unit circle you arrive at when you rotate through [Maple Math] counterclockwise starting at the positive x-axis is the same as the y-coordinate of the point you arrive at when you rotate through [Maple Math] clockwise starting at the positive y-axis.


Sometimes one also needs the following formulas for the trig functions of a sum of two angles:
[Maple Math] , and [Maple Math] . As a special case we have

the double angle formulas :

[Maple Math] and [Maple Math] .

This will be further explained in class


Also notice the sign of the trig functions in the different quadrants:
[Maple Math] is positive in the [Maple Math] and [Maple Math] quadrants (for angles between 0 and [Maple Math] ), [Maple Math] is positive in the [Maple Math] and [Maple Math] , and [Maple Math] is positive in the [Maple Math] and [Maple Math] .

Graphs of Trig Functions


The most important graphs to be familiar with are the graphs of the functions
[Maple Math] , [Maple Math] , and [Maple Math] . (We're now using [Maple Math] for the angle in radians; [Maple Math] no longer denotes a coordinate of a point on the unit circle.) For certain [Maple Math] the trig functions have easily stated exact values, namely, when [Maple Math] is a multiple of [Maple Math] or of [Maple Math] . Here it is useful to draw the [Maple Math] triangle with hypotenuse [Maple Math] and the [Maple Math] triangle with hypotenuse [Maple Math] . Using these triangles, we arrive at a table of values of the trig functions, from which we can sketch the graphs that follow.

[Maple Plot]

[Maple Plot]

code for table and triangles

code for graphs

Sinusoidal Functions

A sinusoidal function is a function made up from the function [Maple Math] (or [Maple Math] , if time is playing the role of the x-variable) by inserting constants in various places. The reason for inserting these constants is that the pure sine function [Maple Math] almost never occurs in the real world, but curves with a sine-like appearance (this is what the word ``sinusoidal'' means) arise frequently.

At this point you should review the material at the end of the section on functions: horizontal and vertical shifts, horizontal and vertical expansion, and the last batch of homework problems in that section.

Example 8.1: Write the cosine function as a shift of the sine function.
The graphs show that the cosine function is obtained by shifting the sine function
[Maple Math] to the left. Thus, [Maple Math] = [Maple Math] . This relation can also be obtained using the identities listed above: [Maple Math] = [Maple Math] .

We now give the general form for a sinusoidal function y = f(x). We start with y = sin x.

Step 1. Expansion: Vertically, we expand by a factor of [Maple Math] , which is called the amplitude . We do this by replacing [Maple Math] by [Maple Math] . This makes the function go to a maximum of [Maple Math] and a minimum of [Maple Math] (rather than a maximum of [Maple Math] and a minimum of [Maple Math] as is the case for [Maple Math] ). Next, we expand horizontally in such a way that the function repeats its pattern from [Maple Math] to [Maple Math] (rather than from [Maple Math] to [Maple Math] as with [Maple Math] ). [Maple Math] is called the period . That is, we want to expand horizontally by a factor of [Maple Math] We do this by replacing x by [Maple Math] inside the sine. To summarize, the result of the vertical and horizontal expansion is to replace [Maple Math] by the function [Maple Math] . The graph of this new function is shown below. Notice that as x goes from [Maple Math] to [Maple Math] , the value of the function goes from [Maple Math] to [Maple Math] to [Maple Math] to [Maple Math] and back to [Maple Math] .

[Maple Plot]

code for graph

Step 2. Shifting: We now want to move the whole sine wave upward a certain amount [Maple Math] vertical shift and over to the right a certain amount [Maple Math] (called the phase shift ). We do this by adding [Maple Math] outside the function, and replacing [Maple Math] by [Maple Math] inside the function. The result is:

[Maple Math] .

In the graph of this function below, we indicate the meaning of the four constants A, B, C, and D.

code for diagram

Example 8.2: Suppose that the mean daily temperature (i.e., the temperature in [Maple Math] averaged over the 24-hour period) on the [Maple Math] day of the year in Seattle is tabulated over a period of many years, and the results for each day are averaged. This is what we call the ``normal mean temperature " on the [Maple Math] day. For simplicity, suppose that the year consists of [Maple Math] months of [Maple Math] days each. Take [Maple Math] to be January 1, and so on, until [Maple Math] for December [Maple Math] . Further assume: (1) the normal mean temperature function [Maple Math] is sinusoidal; (2) the coldest mean temperature is [Maple Math] on January [Maple Math] ; and (3) the warmest mean temperature is [Maple Math] on July [Maple Math] . Find a formula for [Maple Math] . We graph [Maple Math] by first plotting the two points [Maple Math] , [Maple Math] and [Maple Math] (i.e., July [Maple Math] ), y = [Maple Math] . We then draw a sine wave in such a way that its minimum is at the first point, its maximum is at the second, and its period is a year, i.e., [Maple Math] days. We also draw a horizontal dotted line half-way between the coldest and warmest temperature, i.e., at y = [Maple Math] .

code for figure

Now we read the four constants [Maple Math] off the graph. The amplitude A is 14, the period B is 360, and the vertical shift (the distance up to the dotted line) is 51. To find C we want to know when the curve crosses the dotted line on its way from a minimum to a maximum, i.e., when the curve looks like sin x looks when it crosses the origin. This can be found by taking the t-value half-way between the coldest day (which is t = 30) and the warmest day (which is t = 210). This t-value is (30+210)/2 = 120 (i.e., April 30). Thus, the phase shift is C = 120, and our equation is


y(t) =
[Maple Math]

table of contents