Learn on PengiOpenStax Algebra and TrigonometryChapter 8: Periodic Functions

Lesson 8.1 : Graphs of the Sine and Cosine Functions

In this Grade 7 lesson from OpenStax Algebra and Trigonometry, students learn to graph the sine and cosine functions by connecting unit circle values to coordinates on a coordinate plane. The lesson covers key properties such as amplitude, period, and phase shifts of y = sin(x) and y = cos(x). Students practice interpreting and creating variations of these graphs, building foundational skills in periodic functions.

Section 1

πŸ“˜ Graphs of the Sine and Cosine Functions

New Concept

Sine and cosine functions graph as periodic waves. We'll explore how to transform these waves by adjusting their amplitude (AA), period (P=2Ο€βˆ£B∣P = \frac{2\pi}{|B|}), phase shift, and vertical shift using the general forms y=Asin⁑(Bxβˆ’C)+Dy = A \operatorname{sin}(Bx-C)+D and y=Acos⁑(Bxβˆ’C)+Dy = A \operatorname{cos}(Bx-C)+D.

What’s next

Now, let's apply this. You'll work through interactive examples to identify transformations and then create graphs in a series of practice cards and challenges.

Section 2

Characteristics of Sine and Cosine Functions

Property

The sine and cosine functions have several distinct characteristics:

  • They are periodic functions with a period of 2Ο€2\pi.
  • The domain of each function is (βˆ’βˆž,∞)(-\infty, \infty) and the range is [βˆ’1,1][-1, 1].
  • The graph of y=sin⁑(x)y = \operatorname{sin}(x) is symmetric about the origin, because it is an odd function.
  • The graph of y=cos⁑(x)y = \operatorname{cos}(x) is symmetric about the yy-axis, because it is an even function.

A periodic function is a function for which a specific horizontal shift, PP, results in a function equal to the original function: f(x+P)=f(x)f(x + P) = f(x) for all values of xx in the domain of ff. When this occurs, we call the smallest such horizontal shift with P>0P > 0 the period of the function.

Examples

  • The function f(x)=cos⁑(x)f(x) = \operatorname{cos}(x) repeats its values every 2Ο€2\pi units, so its period is 2Ο€2\pi. Since its graph is a mirror image across the y-axis, it is an even function.
  • The function f(x)=sin⁑(x)f(x) = \operatorname{sin}(x) has a domain of all real numbers and a range of [βˆ’1,1][-1, 1]. This means it can take any x-input, but its output will always be between -1 and 1, inclusive.
  • The graph of y=sin⁑(x)y = \operatorname{sin}(x) is an odd function, which means that sin⁑(βˆ’x)=βˆ’sin⁑(x)\operatorname{sin}(-x) = -\operatorname{sin}(x). For instance, sin⁑(βˆ’Ο€2)=βˆ’1\operatorname{sin}(-\frac{\pi}{2}) = -1, which is the same as βˆ’sin⁑(Ο€2)-\operatorname{sin}(\frac{\pi}{2}).

Explanation

These are the foundational rules for sine and cosine waves. Their repeating nature (period), their height limits (range), and their specific symmetries (odd/even) make their behavior predictable and useful for modeling cycles.

Section 3

Period of Sinusoidal Functions

Property

If we let C=0C = 0 and D=0D = 0 in the general form equations of the sine and cosine functions, we obtain the forms

y=Asin⁑(Bx)y = A \operatorname{sin}(Bx)
y=Acos⁑(Bx)y = A \operatorname{cos}(Bx)

The period is 2Ο€βˆ£B∣\dfrac{2\pi}{|B|}.

Examples

  • To find the period of f(x)=sin⁑(4x)f(x) = \operatorname{sin}(4x), we use the formula P=2Ο€βˆ£B∣P = \frac{2\pi}{|B|}. Here, B=4B=4, so the period is P=2Ο€4=Ο€2P = \frac{2\pi}{4} = \frac{\pi}{2}.
  • Determine the period of the function g(x)=cos⁑(Ο€5x)g(x) = \operatorname{cos}(\frac{\pi}{5}x). In this case, B=Ο€5B = \frac{\pi}{5}, so the period is P=2Ο€βˆ£Ο€5∣=2Ο€β‹…5Ο€=10P = \frac{2\pi}{|\frac{\pi}{5}|} = 2\pi \cdot \frac{5}{\pi} = 10.
  • For the function h(x)=sin⁑(13x)h(x) = \operatorname{sin}(\frac{1}{3}x), the value of BB is 13\frac{1}{3}. The period is P=2Ο€βˆ£13∣=6Ο€P = \frac{2\pi}{|\frac{1}{3}|} = 6\pi. This graph is stretched horizontally.

Explanation

The period is the horizontal length of one full cycle of the wave. The value of ∣B∣|B| in the equation determines this length. A larger ∣B∣|B| compresses the wave horizontally, resulting in a shorter period.

Section 4

Amplitude of Sinusoidal Functions

Property

If we let C=0C = 0 and D=0D = 0 in the general form equations of the sine and cosine functions, we obtain the forms

y=Asin⁑(Bx)andy=Acos⁑(Bx) y = A \operatorname{sin}(Bx) \quad \text{and} \quad y = A \operatorname{cos}(Bx)

The amplitude is ∣A∣|A|, which is the vertical height from the midline. In addition, notice in the example that

∣A∣=amplitude=12∣maximumβˆ’minimum∣ |A| = \text{amplitude} = \dfrac{1}{2}|\text{maximum} - \text{minimum}|

Examples

  • What is the amplitude of the function f(x)=βˆ’5sin⁑(x)f(x) = -5\operatorname{sin}(x)? Here, A=βˆ’5A = -5, so the amplitude is ∣A∣=βˆ£βˆ’5∣=5|A| = |-5| = 5. The negative sign reflects the graph over the x-axis.
  • For the function g(x)=23cos⁑(x)g(x) = \frac{2}{3}\operatorname{cos}(x), the amplitude is ∣A∣=∣23∣=23|A| = |\frac{2}{3}| = \frac{2}{3}. This means the function's graph is vertically compressed.
  • A sinusoidal function has a maximum value of 9 and a minimum value of 1. Its amplitude is calculated as ∣A∣=12∣9βˆ’1∣=12(8)=4|A| = \frac{1}{2}|9 - 1| = \frac{1}{2}(8) = 4.

Explanation

Amplitude measures the wave's height from its center line (midline) to its peak. The value ∣A∣|A| tells you this maximum distance. A negative sign on A reflects the graph across the midline without changing the amplitude.

Section 5

Variations of Sine and Cosine Functions

Property

Given an equation in the form f(x)=Asin⁑(Bxβˆ’C)+Df(x) = A \operatorname{sin}(Bx - C) + D or f(x)=Acos⁑(Bxβˆ’C)+Df(x) = A \operatorname{cos}(Bx - C) + D, CB\dfrac{C}{B} is the phase shift and DD is the vertical shift.
To identify the characteristics of a sinusoidal function:

  1. Determine the amplitude as ∣A∣|A|.
  2. Determine the period as P=2Ο€βˆ£B∣P = \dfrac{2\pi}{|B|}.
  3. Determine the phase shift as CB\dfrac{C}{B}.
  4. Determine the midline as y=Dy = D.

Examples

  • In the function f(x)=cos⁑(xβˆ’Ο€4)+3f(x) = \operatorname{cos}(x - \frac{\pi}{4}) + 3, the phase shift is CB=Ο€/41=Ο€4\frac{C}{B} = \frac{\pi/4}{1} = \frac{\pi}{4} (to the right), and the vertical shift is D=3D=3 (up). The midline is y=3y=3.
  • To find the phase shift for g(x)=sin⁑(2x+Ο€)g(x) = \operatorname{sin}(2x + \pi), we rewrite it as g(x)=sin⁑(2xβˆ’(βˆ’Ο€))g(x) = \operatorname{sin}(2x - (-\pi)). Here C=βˆ’Ο€C=-\pi and B=2B=2, so the phase shift is βˆ’Ο€2\frac{-\pi}{2}, meaning Ο€2\frac{\pi}{2} units to the left.
  • Analyze y=5cos⁑(Ο€xβˆ’2Ο€)βˆ’1y = 5\operatorname{cos}(\pi x - 2\pi) - 1. The amplitude is ∣A∣=5|A|=5. The period is P=2Ο€βˆ£Ο€βˆ£=2P = \frac{2\pi}{|\pi|} = 2. The phase shift is CB=2ππ=2\frac{C}{B} = \frac{2\pi}{\pi} = 2 (2 units right). The midline is y=βˆ’1y=-1.

Explanation

The phase shift, CB\frac{C}{B}, slides the graph horizontally (left or right). The vertical shift, DD, moves the entire graph vertically, establishing a new midline for the wave at y=Dy=D, which is the new horizontal center line.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 8: Periodic Functions

  1. Lesson 1Current

    Lesson 8.1 : Graphs of the Sine and Cosine Functions

  2. Lesson 2

    Lesson 8.2 : Graphs of the Other Trigonometric Functions

  3. Lesson 3

    Lesson 8.3 : Inverse Trigonometric Functions

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Graphs of the Sine and Cosine Functions

New Concept

Sine and cosine functions graph as periodic waves. We'll explore how to transform these waves by adjusting their amplitude (AA), period (P=2Ο€βˆ£B∣P = \frac{2\pi}{|B|}), phase shift, and vertical shift using the general forms y=Asin⁑(Bxβˆ’C)+Dy = A \operatorname{sin}(Bx-C)+D and y=Acos⁑(Bxβˆ’C)+Dy = A \operatorname{cos}(Bx-C)+D.

What’s next

Now, let's apply this. You'll work through interactive examples to identify transformations and then create graphs in a series of practice cards and challenges.

Section 2

Characteristics of Sine and Cosine Functions

Property

The sine and cosine functions have several distinct characteristics:

  • They are periodic functions with a period of 2Ο€2\pi.
  • The domain of each function is (βˆ’βˆž,∞)(-\infty, \infty) and the range is [βˆ’1,1][-1, 1].
  • The graph of y=sin⁑(x)y = \operatorname{sin}(x) is symmetric about the origin, because it is an odd function.
  • The graph of y=cos⁑(x)y = \operatorname{cos}(x) is symmetric about the yy-axis, because it is an even function.

A periodic function is a function for which a specific horizontal shift, PP, results in a function equal to the original function: f(x+P)=f(x)f(x + P) = f(x) for all values of xx in the domain of ff. When this occurs, we call the smallest such horizontal shift with P>0P > 0 the period of the function.

Examples

  • The function f(x)=cos⁑(x)f(x) = \operatorname{cos}(x) repeats its values every 2Ο€2\pi units, so its period is 2Ο€2\pi. Since its graph is a mirror image across the y-axis, it is an even function.
  • The function f(x)=sin⁑(x)f(x) = \operatorname{sin}(x) has a domain of all real numbers and a range of [βˆ’1,1][-1, 1]. This means it can take any x-input, but its output will always be between -1 and 1, inclusive.
  • The graph of y=sin⁑(x)y = \operatorname{sin}(x) is an odd function, which means that sin⁑(βˆ’x)=βˆ’sin⁑(x)\operatorname{sin}(-x) = -\operatorname{sin}(x). For instance, sin⁑(βˆ’Ο€2)=βˆ’1\operatorname{sin}(-\frac{\pi}{2}) = -1, which is the same as βˆ’sin⁑(Ο€2)-\operatorname{sin}(\frac{\pi}{2}).

Explanation

These are the foundational rules for sine and cosine waves. Their repeating nature (period), their height limits (range), and their specific symmetries (odd/even) make their behavior predictable and useful for modeling cycles.

Section 3

Period of Sinusoidal Functions

Property

If we let C=0C = 0 and D=0D = 0 in the general form equations of the sine and cosine functions, we obtain the forms

y=Asin⁑(Bx)y = A \operatorname{sin}(Bx)
y=Acos⁑(Bx)y = A \operatorname{cos}(Bx)

The period is 2Ο€βˆ£B∣\dfrac{2\pi}{|B|}.

Examples

  • To find the period of f(x)=sin⁑(4x)f(x) = \operatorname{sin}(4x), we use the formula P=2Ο€βˆ£B∣P = \frac{2\pi}{|B|}. Here, B=4B=4, so the period is P=2Ο€4=Ο€2P = \frac{2\pi}{4} = \frac{\pi}{2}.
  • Determine the period of the function g(x)=cos⁑(Ο€5x)g(x) = \operatorname{cos}(\frac{\pi}{5}x). In this case, B=Ο€5B = \frac{\pi}{5}, so the period is P=2Ο€βˆ£Ο€5∣=2Ο€β‹…5Ο€=10P = \frac{2\pi}{|\frac{\pi}{5}|} = 2\pi \cdot \frac{5}{\pi} = 10.
  • For the function h(x)=sin⁑(13x)h(x) = \operatorname{sin}(\frac{1}{3}x), the value of BB is 13\frac{1}{3}. The period is P=2Ο€βˆ£13∣=6Ο€P = \frac{2\pi}{|\frac{1}{3}|} = 6\pi. This graph is stretched horizontally.

Explanation

The period is the horizontal length of one full cycle of the wave. The value of ∣B∣|B| in the equation determines this length. A larger ∣B∣|B| compresses the wave horizontally, resulting in a shorter period.

Section 4

Amplitude of Sinusoidal Functions

Property

If we let C=0C = 0 and D=0D = 0 in the general form equations of the sine and cosine functions, we obtain the forms

y=Asin⁑(Bx)andy=Acos⁑(Bx) y = A \operatorname{sin}(Bx) \quad \text{and} \quad y = A \operatorname{cos}(Bx)

The amplitude is ∣A∣|A|, which is the vertical height from the midline. In addition, notice in the example that

∣A∣=amplitude=12∣maximumβˆ’minimum∣ |A| = \text{amplitude} = \dfrac{1}{2}|\text{maximum} - \text{minimum}|

Examples

  • What is the amplitude of the function f(x)=βˆ’5sin⁑(x)f(x) = -5\operatorname{sin}(x)? Here, A=βˆ’5A = -5, so the amplitude is ∣A∣=βˆ£βˆ’5∣=5|A| = |-5| = 5. The negative sign reflects the graph over the x-axis.
  • For the function g(x)=23cos⁑(x)g(x) = \frac{2}{3}\operatorname{cos}(x), the amplitude is ∣A∣=∣23∣=23|A| = |\frac{2}{3}| = \frac{2}{3}. This means the function's graph is vertically compressed.
  • A sinusoidal function has a maximum value of 9 and a minimum value of 1. Its amplitude is calculated as ∣A∣=12∣9βˆ’1∣=12(8)=4|A| = \frac{1}{2}|9 - 1| = \frac{1}{2}(8) = 4.

Explanation

Amplitude measures the wave's height from its center line (midline) to its peak. The value ∣A∣|A| tells you this maximum distance. A negative sign on A reflects the graph across the midline without changing the amplitude.

Section 5

Variations of Sine and Cosine Functions

Property

Given an equation in the form f(x)=Asin⁑(Bxβˆ’C)+Df(x) = A \operatorname{sin}(Bx - C) + D or f(x)=Acos⁑(Bxβˆ’C)+Df(x) = A \operatorname{cos}(Bx - C) + D, CB\dfrac{C}{B} is the phase shift and DD is the vertical shift.
To identify the characteristics of a sinusoidal function:

  1. Determine the amplitude as ∣A∣|A|.
  2. Determine the period as P=2Ο€βˆ£B∣P = \dfrac{2\pi}{|B|}.
  3. Determine the phase shift as CB\dfrac{C}{B}.
  4. Determine the midline as y=Dy = D.

Examples

  • In the function f(x)=cos⁑(xβˆ’Ο€4)+3f(x) = \operatorname{cos}(x - \frac{\pi}{4}) + 3, the phase shift is CB=Ο€/41=Ο€4\frac{C}{B} = \frac{\pi/4}{1} = \frac{\pi}{4} (to the right), and the vertical shift is D=3D=3 (up). The midline is y=3y=3.
  • To find the phase shift for g(x)=sin⁑(2x+Ο€)g(x) = \operatorname{sin}(2x + \pi), we rewrite it as g(x)=sin⁑(2xβˆ’(βˆ’Ο€))g(x) = \operatorname{sin}(2x - (-\pi)). Here C=βˆ’Ο€C=-\pi and B=2B=2, so the phase shift is βˆ’Ο€2\frac{-\pi}{2}, meaning Ο€2\frac{\pi}{2} units to the left.
  • Analyze y=5cos⁑(Ο€xβˆ’2Ο€)βˆ’1y = 5\operatorname{cos}(\pi x - 2\pi) - 1. The amplitude is ∣A∣=5|A|=5. The period is P=2Ο€βˆ£Ο€βˆ£=2P = \frac{2\pi}{|\pi|} = 2. The phase shift is CB=2ππ=2\frac{C}{B} = \frac{2\pi}{\pi} = 2 (2 units right). The midline is y=βˆ’1y=-1.

Explanation

The phase shift, CB\frac{C}{B}, slides the graph horizontally (left or right). The vertical shift, DD, moves the entire graph vertically, establishing a new midline for the wave at y=Dy=D, which is the new horizontal center line.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 8: Periodic Functions

  1. Lesson 1Current

    Lesson 8.1 : Graphs of the Sine and Cosine Functions

  2. Lesson 2

    Lesson 8.2 : Graphs of the Other Trigonometric Functions

  3. Lesson 3

    Lesson 8.3 : Inverse Trigonometric Functions