Skip to main content

Section 6.1 Graphs of Sine and Cosine Functions

In this section, we’ll graph transformations of \(y = sin(x)\) and \(y = cos(x)\) and examine phase shifts of sine and cosine curves.

Subsection Textbook Reference

This relates to content in Β§8.1 of Algebra and Trigonometry 2e.

Exercises Preparation Exercises

Answer the following without using a calculator. These questions are intended to check the prerequisite skills needed to complete the rest of the lab.

2.

Imagine a function \(y = h(x)\text{,}\) with some points given in the table below. Fill in the table to show how the points are transformed for the given function values.
Points on \(y=h(x)\) \((0,0)\) \((1,1) \) \((-1,-1)\) \((-3,2) \) \((2,-3) \)
Points on \(y=3h(x)\) \(\qquad\) \(\qquad\) \(\qquad\) \(\qquad\) \(\qquad\)
Points on \(y=3h(2x)\) \(\qquad\) \(\qquad\) \(\qquad\) \(\qquad\) \(\qquad\)
Points on \(y=3h(2(x-1))\) \(\qquad\) \(\qquad\) \(\qquad\) \(\qquad\) \(\qquad\)
Points on \(y=3h(2(x-1))+4\) \(\qquad\) \(\qquad\) \(\qquad\) \(\qquad\) \(\qquad\)

Exercises Practice Exercises

1.

Make a graph of \(y = sin(x)\) by plotting the points that you know from the table. You need to know that \(\frac{\sqrt{2}}{2} \approx 0.71\) and \(\frac{\sqrt{3}}{2} \approx 0.87\text{.}\)
\(\theta\) \(0\) \(\frac{\pi}{6}\) \(\frac{\pi}{4}\) \(\frac{\pi}{3}\) \(\frac{\pi}{2}\) \(\frac{2\pi}{3}\) \(\frac{3\pi}{4}\) \(\frac{5\pi}{6}\) \(\pi\) \(\frac{7\pi}{6}\) \(\frac{5\pi}{4}\) \(\frac{4\pi}{3}\) \(\frac{3\pi}{2}\) \(\frac{5\pi}{3}\) \(\frac{7\pi}{4}\) \(\frac{11\pi}{6}\) \(2\pi\)
\(\sin(\theta)\) \(0\) \(\frac{1}{2}\) \(\frac{\sqrt{2}}{2}\) \(\frac{\sqrt{3}}{2}\) \(1\) \(\frac{\sqrt{3}}{2}\) \(\frac{\sqrt{2}}{2}\) \(\frac{1}{2}\) \(0\) \(-\frac{1}{2}\) \(-\frac{\sqrt{2}}{2}\) \(\frac{\sqrt{3}}{2}\) \(-1\) \(-\frac{\sqrt{3}}{2}\) \(-\frac{\sqrt{2}}{2}\) \(-\frac{1}{2}\) \(0\)
described in detail following the image

2.

Compared to \(y=\sin(x)\text{...}\)
(a)
What is the phase shift for the function \(2\sin(3x-\pi)+4\text{?}\) Interpret this as a fraction of a period shift.
(b)
What is the horizontal shift for the function \(2\sin(3x-\pi)+4\text{?}\)

3.

For the graph of \(G\) shown in FigureΒ 6.1.2, answer the following questions.
Figure 6.1.2.
(f)
If we think of \(G\) as a transformation of \(\sin(x)\text{,}\) how much of a horizontal shift would have happened to create \(G\text{?}\)
(g)
Write a formula for \(G\) as a transformation of \(\sin(x)\text{,}\) \(G(x) = A\sin(B(x-C))+D\)
(h)
If we think of \(G\) as a transformation of \(\cos(x)\text{,}\) how much of a horizontal shift would have happened to create \(G\text{?}\)
(i)
Write a formula for \(G\) as a transformation of \(\cos(x)\text{,}\) \(G(x) = A\cos(B(x-C))+D\)

4.

Answer the questions about the function \(T(x) = 3\sin(\frac{\pi}{3}(x+1))-5\text{.}\)
(b)
What is the amplitude, \(A\text{,}\) of the function \(T\text{?}\)
(e)
What is the period, \(P\text{,}\) of the function \(T\text{?}\)
(f)
What does the "\(x+1\)" portion of the function do as a transformation of \(\sin(x)\text{?}\)
(g)
Make a graph of \(T\) with what you know about the shape of \(\sin(x)\) and the information that you gained in the above parts. Check your result on a calculator after you’ve tried everything by hand.

Subsection Definitions

Definition 6.1.3. Even/Odd Function Properties of Sine and Cosine.

Sine is an odd function, which means that it is symmetrical over the origin. Cosine is an even function, which means that it is symmetrical over the \(y\)-axis.

Definition 6.1.4. Period.

The period of a function is the smallest number, \(P\text{,}\) such that a horizontal shift of \(P\) units results in a graph that perfectly overlaps the graph of the original function. Try this Desmos link to see a visual on the topic.

Definition 6.1.5. Midline.

The midline of a periodic function is the horizontal line, \(y= D\text{,}\) that is exactly halfway between the highest and lowest \(y\)-values on the graph. You can find this equation by averaging the highest and lowest \(y\)-values on the graph with the formula \(y= \frac{\text{highest y-value } + \text{lowest y-value}}{2}\text{.}\)

Definition 6.1.6. Amplitude.

The amplitude of a periodic function is the vertical distance from the midline to the highest \(y\)-value on the graph or the vertical distance from the midline to the lowest \(y\)-value on the graph. You can find this distance with the formula \(|A|= \frac{\text{highest y-value } - \text{lowest y-value}}{2}\text{.}\)

Definition 6.1.7. Sinusoidal Function.

A sinusoidal function is a transformation of a sine or cosine function. Sinusoidal functions have the form \(f(x) = Asin(B(xβˆ’C)) + D\) or \(f(x) = Acos(B(xβˆ’C)) + D\text{.}\)

Definition 6.1.8. Phase Shift.

The phase shift of a periodic function represents the fraction of a period that the graph has been shifted from the base function. You can find the phase shift of a sinusoidal function (\(f(x) = Asin(B(xβˆ’C)) + D\) or \(f(x) = Acos(B(xβˆ’C)) + D\)) by evaluating \(\frac{BC}{2\pi}\text{.}\) Please note that this definition is different from the one that the book gives, but is consistent with most other physics, engineering, and technical mathematics texts. The book defines the phase shift to be the same as the horizontal shift, for which we already have a name.

Definition 6.1.9. Horizontal Shift.

A sinusoidal function, \(f(x) = Asin(B(xβˆ’C)) + D\) or \(f(x) = Acos(B(xβˆ’C)) + D\text{,}\) is horizontally shifted C units from the base function position.

Definition 6.1.10. Relationship between the B-value and the Period.

The B value of a sinusoidal function, \(f(x) = Asin(B(xβˆ’C)) + D\) or \(f(x) = Acos(B(xβˆ’C)) + D\text{,}\) has a relationship with the period, \(P\text{,}\) of the function. Since the period is a positive number, we will use absolute values on B, since B might be negative. That relationship is that \(|B|=\frac{2\pi}{P}\text{,}\) which is the same as saying \(P = \frac{2\pi}{|B|}\text{.}\)

Exercises Exit Exercises

1.

Consider the function \(W(x) = 5\sin\left(\frac{4\pi}{5}(x-1)\right)+3\text{:}\)
(d)
By hand, make a graph of the function \(W(x)\) using the information above.
described in detail following the image
A blank graph.

Reflection Reflection

1.

On a scale of 1-5, how are you feeling with the concepts related to the graphical behaviors of functions?