# 5.2: The Sinusoidal Function Family

The cosine function is the $$x$$ coordinates of the unit circle and the sine function is the $$y$$ coordinates. Since the unit circle has radius one and is centered at the origin, both sine and cosine oscillate between positive and negative one.

What happens when the circle is not centered at the origin and does not have a radius of 1?

### Graphs of Sinusoidal Functions

The sinusoidal function family refers to either sine or cosine waves since they are the same except for a horizontal shift. This function family is also called the periodic function family because the function repeats after a given period of time.

Consider a Ferris wheel that spins evenly with a radius of 1 unit. It starts at (1,0) or an angle of 0 radians and spins counterclockwise at a rate of one cycle per $$2 \pi$$ minutes (so you can use time is equal to radians).

The 16 points around the circle are chosen because they correspond to the key points of the unit circle. Their heights $$(y$$ -values) and widths $$(x$$ -values) are already known and can be filled in.

First consider the height at each of the points as you travel around half of the circle from the starting location.  Keep track of your work in a table.

$$\begin{array}{|l|l|} \hline \text { Angle (radians) } & \text { Height (units) } \\ \hline 0 & 0 \\ \hline \frac{\pi}{6} & \frac{1}{2} \\ \hline \frac{\pi}{4} & \frac{\sqrt{2}}{2} \approx 0.707 \\ \hline \frac{\pi}{3} & \frac{\sqrt{3}}{2} \approx 0.866 \\ \hline \frac{\pi}{2} & 1 \\ \hline \frac{2 \pi}{3} & \frac{\sqrt{3}}{2} \approx 0.866 \\ \hline \frac{3 \pi}{4} & \frac{\sqrt{2}}{2} \approx 0.707 \\ \hline \frac{5 \pi}{6} & \frac{1}{2} \\ \hline \pi & 0 \\ \hline \end{array}$$

Notice the symmetry of the height around $$\frac{\pi}{2}$$ and see the rest of the table in the examples. Once the table is finished, you can plot these points on a regular coordinate plane where the $$x$$ axis is the angle and the $$y$$ axis is the height. This is the first part of the graph of the sine function.

To finish the graph of the sine function, finish the table for heights of the points in quadrants III and IV and draw an entire cycle (known as a period) of the sine function.

$$\begin{array}{|l|l|} \hline \text { Angle (rodions) } & \text { Height (unite) } \\ \hline \pi & 0 \\ \hline \frac{7 \pi}{6} & -\frac{1}{2} \\ \hline \frac{5 \pi}{4} & -\frac{\sqrt{2}}{2} \approx-0.707 \\ \hline \frac{4 \pi}{3} & -\frac{\sqrt{3}}{2} \approx-0.866 \\ \hline \frac{3 \pi}{2} & -1 \\ \hline \frac{5 \pi}{3} & -\frac{\sqrt{3}}{2} \approx-0.866 \\ \hline \frac{7 \pi}{4} & -\frac{\sqrt{2}}{2} \approx-0.707 \\ \hline \frac{11 \pi}{6} & -\frac{1}{2} \\ \hline 2 \pi & 0 \\ \hline \end{array}$$

Similar to sine, you can use your knowledge of the angles $$0, \frac{\pi}{2}, \pi, \frac{3 \pi}{2}, 2 \pi$$ on the unit circle to get a complete cycle of the cosine graph. While the sine function uses the $$x$$ -coordinates, the cosine function is the $$x$$ -coordinates of the unit circle and measures width. By referring to a unit circle or your memory, you can fill out a much shorter table than before.

$$\begin{array}{|l|l|} \hline \text { Angle (radians) } & \text { Width (units) } \\ \hline 0 & 1 \\ \hline \frac{\pi}{2} & 0 \\ \hline \pi & -1 \\ \hline \frac{3 \pi}{2} & 0 \\ \hline 2 \pi & 1 \\ \hline \end{array}$$

First plot these five points and then connect them with a smooth curve.  This will produce the cosine graph.

Determining these five main points is the key to graphing sine or cosine graphs even when the graph is shifted or stretched.

### Examples

Example 1

Earlier, you were asked what happens when the circle is not centered at the origin and does not have a radius of 1. The unit circle produces the parent function sine and cosine graphs.  When the unit circle is shifted up or down, made wider or narrower, or spun faster or slower in either direction, then the graphs of the sine and cosine functions will be transformed using basic function transformation rules.

Example 2

What happens on either side of the sine and cosine graphs? Can you explain why?

The graphs of the sine (blue) and cosine (red) functions repeat forever in both directions.

If you think about the example with the Ferris wheel, the ride will keep on spinning and has been spinning forever.  This is why the same cycle of the graph repeats over and over.

Example 3

How are the sine and cosine graphs the same and how are they different?

The sine graph is the same as the cosine graph offset by $$\frac{\pi}{2}$$. Besides the shift, both curves are identical due to the perfect symmetry of circles.

Example 4

Where are two maximums and two minimums of the sine graph?

One maximum of the sine graph occurs at $$\left(\frac{\pi}{2}, 1\right)$$. One minimum occurs at $$\left(\frac{3 \pi}{2},-1\right)$$. This is one cycle of the sine graph. since it completes a cycle every $$2 \pi,$$ when you add $$2 \pi$$ to an $$x$$ - coordinate you will be on the same point of the cycle giving you another maximum or minimum. $$\left(\frac{5 \pi}{2}, 1\right)$$ is another maximum. $$\left(\frac{7 \pi}{2},-1\right)$$ is another minimum.

Example 5

In the interval $$[-2 \pi, 4 \pi)$$ where does cosine have zeroes?

Observe where the cosine curve has $$x$$ -coordinates equal to zero. Note that $$4 \pi$$ is excluded from the interval. The values are $$-\frac{3\pi}{2},-\frac{\pi}{2}, \frac{\pi}{2}, \frac{3 \pi}{2}, \frac{5 \pi}{2}, \frac{7 \pi}{2}$$

Review

1. Sketch $$p(x)=\sin x$$ from memory.

2. Sketch $$j(x)=\cos x$$ from memory.

3. Where do the maximums of the cosine graph occur?

4. Where do the minimums of the cosine graph occur?

5. Find all the zeroes of the sine function on the interval $$\left[-\pi, \frac{5 \pi}{2}\right]$$.

6. Find all the zeroes of the cosine function on the interval $$\left(-\frac{\pi}{2}, \frac{7 \pi}{2}\right]$$.

7. Preview: Using your knowledge of function transformations and the cosine graph, predict what the graph of $$f(x)=2 \cos x$$ will look like.

8. Preview: Using your knowledge of function transformations and the cosine graph, predict what the graph $$g(x)=\cos x+2$$ of will look like.

9. Preview: Using your knowledge of function transformations and the cosine graph, predict what the graph of $$h(x)=\cos (x-\pi)$$ will look like.

10. Preview: Using your knowledge of function transformations and the cosine graph, predict what the graph of $$k(x)=-\cos x$$ will look like.

...