Graphing Sine and Cosine Functions

Fundamental Sine and Cosine Parent Functions

  • Parent Sine Function (y=sin⁡(x)y = \sin(x)):

    • Amplitude: The amplitude is 11, with the wave oscillating between a maximum value of 11 and a minimum value of −1-1.
    • Period: One full cycle has a period of 2π2\pi.
    • Wave Pattern: Begins at the center (midline), rises to the maximum, returns to the middle, descends to the minimum, and returns to the middle.
  • Negative Sine Function (y=−sin⁡(x)y = -\sin(x)):

    • Amplitude: The amplitude is 11, oscillating between 11 and −1-1.
    • Period: One full cycle is completed in 2π2\pi.
    • Wave Pattern: Begins at the center, travels downward first to the minimum, returns to the middle, rises to the maximum, and returns back to the middle.
    • Comparison: Positive sine goes up first from the center line, whereas negative sine goes down first from the center line.
  • Parent Cosine Function (y=cos⁡(x)y = \cos(x)):

    • Amplitude: The amplitude is 11, oscillating between a maximum of 11 and a minimum of −1-1.
    • Period: One complete cycle extends from peak to peak over a distance of 2π2\pi.
    • Wave Pattern: Does not start at the center line; begins at the top (maximum), moves down through the center line to the bottom (minimum), and returns back up through the center line to the top.
  • Negative Cosine Function (y=−cos⁡(x)y = -\cos(x)):

    • Amplitude: The amplitude is 11, oscillating between 11 and −1-1.
    • Period: One full cycle is 2π2\pi.
    • Wave Pattern: Starts at the bottom (minimum) rather than the top, rises through the center line to the top (maximum), and descends back through the center line to the bottom.

General Trigonometric Wave Equation and Basic Transformations

  • Standard Equation Format:

    • y=asin⁡(bx+c)+dy = a\sin(bx + c) + d or y=acos⁡(bx+c)+dy = a\cos(bx + c) + d
    • aa (Amplitude): Dictates the vertical height from the midline to the crest or trough; affects vertical stretching or compression.
    • bb (Frequency Factor): Used to determine the period of the function via the formula: Period=2πb\text{Period} = \frac{2\pi}{b}
    • cc (Horizontal Shift / Phase Shift Parameter): Indicates the presence and direction of any horizontal displacement.
    • dd (Vertical Shift): Translates the midline (center line) of the function vertically up or down.
  • Vertical Stretch Example (y=2sin⁡(x)y = 2\sin(x)):

    • The wave follows the standard sine pattern with a period of 2π2\pi.
    • The amplitude is 22, which doubles the wave in the yy-direction.
    • The output values oscillate between 22 and −2-2 instead of 11 and −1-1.
  • Horizontal Shrink Example (y=sin⁡(2x)y = \sin(2x)):

    • The amplitude remains 11, varying between −1-1 and 11.
    • The value of bb is 22.
    • Period=2πb=2π2=π\text{Period} = \frac{2\pi}{b} = \frac{2\pi}{2} = \pi
    • The wave undergoes a horizontal compression (shrink), shortening the full cycle from 2π2\pi to π\pi.
  • Horizontal Stretch and Reflection Example (y=−sin⁡(12x)y = -\sin(\frac{1}{2}x)):

    • The negative sign reflects the wave across its midline, causing it to descend first rather than ascend.
    • The amplitude is 11.
    • The value of bb is 12\frac{1}{2}.
    • Period=2πb=2π12=2π×2=4π\text{Period} = \frac{2\pi}{b} = \frac{2\pi}{\frac{1}{2}} = 2\pi \times 2 = 4\pi
    • The factor of 12\frac{1}{2} causes a horizontal stretch by a factor of 22, expanding the period to 4π4\pi.
  • Simultaneous Vertical and Horizontal Stretch Example (y=3cos⁡(13x)y = 3\cos(\frac{1}{3}x)):

    • The amplitude is 33, creating a vertical stretch where the wave varies between 33 and −3-3.
    • The value of bb is 13\frac{1}{3}, creating a horizontal stretch factor of 33.
    • Period=3π13=3π×3=9π\text{Period} = \frac{3\pi}{\frac{1}{3}} = 3\pi \times 3 = 9\pi
    • The wave begins at its maximum of 33, passes through the cycle, and completes one full wave from peak to peak at 9π9\pi.

Graphing Trigonometric Functions with Vertical Shifts

  • Step-by-Step Procedure for Vertical Shifts:

    • Plot the vertical shift value dd as the horizontal midline (center line).
    • Calculate the maximum point by adding the amplitude to the midline: Maximum=d+∣a∣\text{Maximum} = d + |a|
    • Calculate the minimum point by subtracting the amplitude from the midline: Minimum=d−∣a∣\text{Minimum} = d - |a|
    • Plot the wave shape relative to this newly shifted midline.
  • Example: y=sin⁡(x)+2y = \sin(x) + 2:

    • Vertical Shift (Midline): d=2d = 2, so the horizontal center line is at y=2y = 2.
    • Amplitude: a=1a = 1.
    • Range Values: Maximum is 2+1=32 + 1 = 3; minimum is 2−1=12 - 1 = 1.
    • Graphing Pattern: Sine starts on the center line at y=2y = 2, rises to the peak at y=3y = 3, returns to the midline at y=2y = 2, drops to the minimum at y=1y = 1, and returns to the midline at y=2y = 2.
  • Example: y=−3sin⁡(x)+4y = -3\sin(x) + 4:

    • Vertical Shift (Midline): d=4d = 4, defining the midline at y=4y = 4.
    • Amplitude: ∣a∣=3|a| = 3.
    • Range Values: Maximum is 4+3=74 + 3 = 7; minimum is 4−3=14 - 3 = 1.
    • Graphing Pattern: Because of the negative sign, the sine wave starts at the midline (y=4y = 4), heads downward to the minimum (y=1y = 1), moves back to the center line (y=4y = 4), rises to the maximum (y=7y = 7), and returns to the center line (y=4y = 4).
  • Example: y=2sin⁡(4x)−3y = 2\sin(4x) - 3:

    • Vertical Shift (Midline): d=−3d = -3, so the midline is at y=−3y = -3.
    • Amplitude: a=2a = 2.
    • Range Values: Maximum is −3+2=−1-3 + 2 = -1; minimum is −3−2=−5-3 - 2 = -5.
    • Period Calculation: Period=2πb=2π4=π2\text{Period} = \frac{2\pi}{b} = \frac{2\pi}{4} = \frac{\pi}{2}
    • Interval Subdivisions: The cycle is divided into four equal intervals using four key xx-coordinates:
      • Cycle end: π2\frac{\pi}{2}
      • Halfway point: 12(π2)=π4\frac{1}{2}\left(\frac{\pi}{2}\right) = \frac{\pi}{4}
      • One-quarter point: 12(π4)=π8\frac{1}{2}\left(\frac{\pi}{4}\right) = \frac{\pi}{8}
      • Three-quarters point: 3(π8)=3π83\left(\frac{\pi}{8}\right) = \frac{3\pi}{8}
      • Key points: π8\frac{\pi}{8}, π4\frac{\pi}{4}, 3π8\frac{3\pi}{8}, π2\frac{\pi}{2}
    • Graphing Pattern: Positive sine starts at the midline (−3-3) at x=0x = 0, rises to the maximum (−1-1) at x=π8x = \frac{\pi}{8}, returns to the midline (−3-3) at x=π4x = \frac{\pi}{4}, drops to the minimum (−5-5) at x=3π8x = \frac{3\pi}{8}, and returns to the midline (−3-3) at x=π2x = \frac{\pi}{2}.
  • Example: y=−3cos⁡(12x)+5y = -3\cos(\frac{1}{2}x) + 5:

    • Vertical Shift (Midline): d=5d = 5, placing the midline at y=5y = 5.
    • Amplitude: ∣a∣=3|a| = 3.
    • Range Values: Maximum is 5+3=85 + 3 = 8; minimum is 5−3=25 - 3 = 2.
    • Period Calculation: Period=2πb=2π12=4π\text{Period} = \frac{2\pi}{b} = \frac{2\pi}{\frac{1}{2}} = 4\pi
    • Interval Subdivisions:
      • Cycle end: 4π4\pi
      • Halfway point: 4π2=2π\frac{4\pi}{2} = 2\pi
      • One-quarter point: 2π2=π\frac{2\pi}{2} = \pi
      • Three-quarters point: 3×π=3π3 \times \pi = 3\pi
      • Key points: π\pi, 2π2\pi, 3π3\pi, 4π4\pi
    • Graphing Pattern: Negative cosine starts at the bottom minimum (y=2y = 2) at x=0x = 0, rises to the midline (y=5y = 5) at x=πx = \pi, reaches the maximum peak (y=8y = 8) at x=2πx = 2\pi, returns down to the midline (y=5y = 5) at x=3πx = 3\pi, and finishes at the minimum (y=2y = 2) at x=4πx = 4\pi.

Graphing with Horizontal Phase Shifts and Multi-Step Transformations

  • Systematic Five-Step Method for Phase Shift Graphing:

    • Step 1 (Vertical Shift and Range): Determine the midline dd. Find the maximum (d+∣a∣d + |a|) and the minimum (d−∣a∣d - |a|).
    • Step 2 (Phase Shift / Starting Point): Set the entire argument inside the trigonometric function equal to zero and solve for xx. This identifies the starting xx-value (xstartx_{\text{start}}).
    • Step 3 (Period): Compute the period using Period=2πb\text{Period} = \frac{2\pi}{b}.
    • Step 4 (Ending Point): Determine the end of the full cycle by adding the period to the starting point: xend=xstart+Periodx_{\text{end}} = x_{\text{start}} + \text{Period}.
    • Step 5 (Critical Points Subdivision): Establish five key points (four equal intervals) between xstartx_{\text{start}} and xendx_{\text{end}}:
      • Calculate the midpoint between xstartx_{\text{start}} and xendx_{\text{end}}.
      • Calculate the midpoint of the first half.
      • Calculate the midpoint of the second half.
    • Step 6 (Plotting): Plot points according to function type and curvature. Curves must be drawn smoothly; sharp V-shapes must not be drawn for trigonometric graphs.
  • Example: y=2sin⁡(x−π2)+3y = 2\sin(x - \frac{\pi}{2}) + 3:

    • Vertical Shift: Midline is at y=3y = 3.
    • Amplitude: a=2a = 2.
    • Vertical Bounds: Maximum is 3+2=53 + 2 = 5; minimum is 3−2=13 - 2 = 1.
    • Phase Shift (Start Point):
      • x−π2=0x - \frac{\pi}{2} = 0
      • x=π2x = \frac{\pi}{2}
    • Period: With an implied coefficient of b=1b = 1, Period=2π1=2π\text{Period} = \frac{2\pi}{1} = 2\pi.
    • Endpoint Calculation:
      • xend=π2+2π=π2+4π2=5π2x_{\text{end}} = \frac{\pi}{2} + 2\pi = \frac{\pi}{2} + \frac{4\pi}{2} = \frac{5\pi}{2}
    • Five Critical Points:
      • Starting point: π2\frac{\pi}{2}
      • Midpoint between 1π2\frac{1\pi}{2} and 5π2\frac{5\pi}{2}: 1+52=3  ⟹  3π2\frac{1 + 5}{2} = 3 \implies \frac{3\pi}{2}
      • Midpoint between 1π2\frac{1\pi}{2} and 3π2\frac{3\pi}{2}: 1+32=2  ⟹  2π2=π\frac{1 + 3}{2} = 2 \implies \frac{2\pi}{2} = \pi
      • Midpoint between 3π2\frac{3\pi}{2} and 5π2\frac{5\pi}{2}: 3+52=4  ⟹  4π2=2π\frac{3 + 5}{2} = 4 \implies \frac{4\pi}{2} = 2\pi
      • Ending point: 5π2\frac{5\pi}{2}
      • Sequence of xx-values: π2\frac{\pi}{2}, π\pi, 3π2\frac{3\pi}{2}, 2π2\pi, 5π2\frac{5\pi}{2}
    • Graphing: Positive sine starts on the midline (y=3y = 3) at x=π2x = \frac{\pi}{2}, rises to y=5y = 5 at x=πx = \pi, returns to y=3y = 3 at x=3π2x = \frac{3\pi}{2}, drops to y=1y = 1 at x=2πx = 2\pi, and finishes at y=3y = 3 at x=5π2x = \frac{5\pi}{2}.
  • Example: y=3cos⁡(12x+π)−5y = 3\cos(\frac{1}{2}x + \pi) - 5:

    • Vertical Shift: Midline is at y=−5y = -5.
    • Amplitude: a=3a = 3.
    • Vertical Bounds: Maximum is −5+3=−2-5 + 3 = -2; minimum is −5−3=−8-5 - 3 = -8.
    • Phase Shift (Start Point):
      • 12x+π=0\frac{1}{2}x + \pi = 0
      • 12x=−π\frac{1}{2}x = -\pi
      • x=−2πx = -2\pi
    • Period:
      • Period=2π12=4π\text{Period} = \frac{2\pi}{\frac{1}{2}} = 4\pi
    • Endpoint Calculation:
      • xend=−2π+4π=2πx_{\text{end}} = -2\pi + 4\pi = 2\pi
    • Five Critical Points:
      • Starting point: −2π-2\pi
      • Ending point: 2π2\pi
      • Midpoint between −2π-2\pi and 2π2\pi: 00
      • Midpoint between −2π-2\pi and 00: −π-\pi
      • Midpoint between 00 and 2π2\pi: π\pi
      • Sequence of xx-values: −2π-2\pi, −π-\pi, 00, π\pi, 2π2\pi
    • Graphing: Positive cosine starts at the top (maximum) at (−2π,−2)(-2\pi, -2), passes through the midline at (−π,−5)(-\pi, -5), reaches the bottom minimum at (0,−8)(0, -8), returns through the midline at (π,−5)(\pi, -5), and returns to the peak at (2π,−2)(2\pi, -2).
  • Example: y=−2sin⁡(13x−π2)+3y = -2\sin(\frac{1}{3}x - \frac{\pi}{2}) + 3:

    • Vertical Shift: Midline is at y=3y = 3.
    • Amplitude: ∣a∣=2|a| = 2.
    • Vertical Bounds: Maximum is 3+2=53 + 2 = 5; minimum is 3−2=13 - 2 = 1.
    • Phase Shift (Start Point):
      • 13x−π2=0\frac{1}{3}x - \frac{\pi}{2} = 0
      • 13x=π2\frac{1}{3}x = \frac{\pi}{2}
      • x=3(π2)=3π2x = 3\left(\frac{\pi}{2}\right) = \frac{3\pi}{2}
    • Period:
      • Period=2π13=2π×3=6π\text{Period} = \frac{2\pi}{\frac{1}{3}} = 2\pi \times 3 = 6\pi
    • Endpoint Calculation:
      • xend=3π2+6π=3π2+12π2=15π2x_{\text{end}} = \frac{3\pi}{2} + 6\pi = \frac{3\pi}{2} + \frac{12\pi}{2} = \frac{15\pi}{2}
    • Five Critical Points:
      • Starting point: 3π2\frac{3\pi}{2}
      • Ending point: 15π2\frac{15\pi}{2}
      • Midpoint between 3π2\frac{3\pi}{2} and 15π2\frac{15\pi}{2}: 3+152=9  ⟹  9π2\frac{3 + 15}{2} = 9 \implies \frac{9\pi}{2}
      • Midpoint between 3π2\frac{3\pi}{2} and 9π2\frac{9\pi}{2}: 3+92=6  ⟹  6π2=3π\frac{3 + 9}{2} = 6 \implies \frac{6\pi}{2} = 3\pi
      • Midpoint between 9π2\frac{9\pi}{2} and 15π2\frac{15\pi}{2}: 9+152=12  ⟹  12π2=6π\frac{9 + 15}{2} = 12 \implies \frac{12\pi}{2} = 6\pi
      • Sequence of xx-values: 3π2\frac{3\pi}{2}, 3π3\pi, 9π2\frac{9\pi}{2}, 6π6\pi, 15π2\frac{15\pi}{2}
    • Graphing: Negative sine starts at the midline (y=3y = 3) at x=3π2x = \frac{3\pi}{2}, descends first to the minimum (y=1y = 1) at x=3πx = 3\pi, returns to the midline (y=3y = 3) at x=9π2x = \frac{9\pi}{2}, ascends to the peak (y=5y = 5) at x=6πx = 6\pi, and finishes back on the midline (y=3y = 3) at x=15π2x = \frac{15\pi}{2}.

Domain and Range of Sinusoidal Functions

  • Range Principles:

    • The range represents all output yy-values spanning from the lowest to the highest point: [Minimum,Maximum][\text{Minimum}, \text{Maximum}].
    • For y=3cos⁡(12x+π)−5y = 3\cos(\frac{1}{2}x + \pi) - 5, the minimum is −8-8 and the maximum is −2-2, giving a range of [−8,−2][-8, -2].
    • For y=2sin⁡(x−π2)+3y = 2\sin(x - \frac{\pi}{2}) + 3 and y=−2sin⁡(13x−π2)+3y = -2\sin(\frac{1}{3}x - \frac{\pi}{2}) + 3, the minimum is 11 and the maximum is 55, giving a range of [1,5][1, 5].
  • Domain Principles:

    • Unrestricted Domain: Sine and cosine graphs oscillate infinitely in both positive and negative directions without breaks or asymptotes. Therefore, the general domain is always (−∞,∞)(-\infty, \infty).
    • Restricted Domain: When specifically constrained to one plotted cycle:
      • The domain spans from the phase shift start point to the calculated end point: [xstart,xend][x_{\text{start}}, x_{\text{end}}].
      • For one cycle of y=−2sin⁡(13x−π2)+3y = -2\sin(\frac{1}{3}x - \frac{\pi}{2}) + 3, the restricted domain is [3π2,15π2]\left[\frac{3\pi}{2}, \frac{15\pi}{2}\right].
      • Continuing the graph past one cycle immediately extends the domain back to (−∞,∞)(-\infty, \infty).