Notes on Translating Periodic Functions

Translating Periodic Functions

Vertical Translation

  • Periodic functions like sine and cosine can be translated, stretched, or shrunk.
  • Vertical translation shifts the entire function up or down.
  • To determine the vertical translation, identify the midline of the translated function.
  • The midline is the horizontal line that runs midway between the maximum and minimum values of the function.
  • Example:
    • A cosine function, which normally oscillates around the x-axis (midline at y=0y = 0), is shifted upwards.
    • The maximum value of the translated function is 5, and the minimum value is 3.
    • The midline is at y=4y = 4, which is the average of 3 and 5: (3+52=4)(\frac{3+5}{2} = 4).
  • To translate the graph 4 units up, replace yy with (y−4)(y - 4).
  • The equation becomes y−4=cos⁡(x)y - 4 = \cos(x), or equivalently, y=cos⁡(x)+4y = \cos(x) + 4.

Horizontal Translation

  • Horizontal translation shifts the function to the left or right.
  • Example:
    • The sine function, y=sin⁡(x)y = \sin(x), has key points at (0,0)(0, 0), (π2,1)(\frac{\pi}{2}, 1), (π,0)(\pi, 0), (3π2,−1)(\frac{3\pi}{2}, -1), and (2π,0)(2\pi, 0).
    • If the sine function is translated π2\frac{\pi}{2} units to the right, all the x-coordinates are increased by π2\frac{\pi}{2}.
    • The new starting point is at (π2,0)(\frac{\pi}{2}, 0).
    • The translated graph completes one full period (2\pi) at x=5π2x = \frac{5\pi}{2}.
  • To shift the graph π2\frac{\pi}{2} units to the right, replace xx with (x−π2)(x - \frac{\pi}{2}).
  • The equation becomes y=sin⁡(x−π2)y = \sin(x - \frac{\pi}{2}).

Combined Translations

  • A function can be translated both vertically and horizontally.
  • To determine the equation of a translated function, identify how far the original function has been shifted in both the x and y directions.
  • Example:
    • The sine function is translated so that its starting point is at (2,3)(2, 3).
    • This means the graph has been shifted 2 units to the right and 3 units up.
  • Replace xx with (x−2)(x - 2) to represent the horizontal shift, and replace yy with (y−3)(y - 3) to represent the vertical shift.
  • The equation becomes y−3=sin⁡(x−2)y - 3 = \sin(x - 2), or equivalently, y=sin⁡(x−2)+3y = \sin(x - 2) + 3.

Real-World Applications

  • Data from experiments involving periodic phenomena (e.g., sound waves, light waves, seasonal changes) can be modeled using translated sine or cosine functions.
  • By determining the period, amplitude, and translations from the data, one can find a function that fits the data.

Calculator Demonstration

  • A calculator can be used to visualize the effects of horizontal and vertical translations on a sine function.
  • The general form of the function is y=sin⁡(x−c)+dy = \sin(x - c) + d, where cc represents the horizontal translation and dd represents the vertical translation.
  • Changing the value of cc slides the graph horizontally: negative cc shifts it to the right, and positive cc shifts it to the left.
  • Changing the value of dd slides the graph vertically: increasing dd shifts it up, and decreasing dd shifts it down.

General Equation

  • By combining horizontal/vertical stretches/shrinks and horizontal/vertical translations, one can fit a sine or cosine function to a wide range of periodic data.
    • Horizontal stretch or shrink adjusts the period.
    • Vertical stretch or shrink adjusts the amplitude.
    • Horizontal translation shifts the function horizontally.
    • Vertical translation shifts the function vertically.