Free for students · Ad-free · WCAG 2.1 AA Compliant · Accessibility

Sinusoidal Function Transformations

Lesson ~10 min read 8 MCQs

In simple terms: In simple terms, this topic is about how to stretch, shrink, slide, and shift the wavy graphs of sine and cosine functions to model real-world cycles.

Why this matters

Imagine you're at a state fair, about to get on a giant Ferris wheel. You step into a car at the loading platform, which is a few feet off the ground. The wheel starts turning, lifting you high into the air, then bringing you back down, over and over. That smooth, repeating up-and-down motion is a perfect picture of a sinusoidal function.

But what if we could control the Ferris wheel? What if we could raise the whole structure on a taller platform? Make the wheel itself bigger or smaller? Speed up or slow down its rotation? Or change where you get on? By learning to transform sine and cosine functions, you're essentially getting the control panel for every wave and cycle you can imagine. We'll break down that control panel, one knob at a time.

A basic sine wave compared to a transformed one, illustrating the 'control panel' concept.

Concept overview

flowchart TD
    A[Start: f(x) = a sin(b(x+c)) + d] --> B{Factor out b if needed};
    B --> C[Identify a, b, c, d];
    C --> D[Amplitude = |a|];
    C --> E[Period = 2π / |b|];
    C --> F[Phase Shift = -c];
    C --> G[Midline is y = d];
    D --> H[Final Graph Characteristics];
    E --> H;
    F --> H;
    G --> H;
This diagram shows a flowchart for analyzing a sinusoidal function. It starts with the general equation, moves to factoring 'b', then to identifying the four parameters 'a', 'b', 'c', and 'd', and finally branches out to calculate the amplitude, period, phase shift, and midline.

Core explanation

At their heart, sine and cosine functions are beautifully simple. They just go up and down in a predictable, repeating pattern called a wave. But the real world is messy. A sound wave, the tide in Boston Harbor, or the voltage in your home's outlets—these are all waves, but they aren't as simple as y = sin(θ).

To describe these real-world cycles, we need to transform our basic sine and cosine functions. We do this using a standard equation that looks a little intimidating at first, but you'll see it's just four simple adjustments.

The general form is: f(θ) = a sin(b(θ + c)) + d or g(θ) = a cos(b(θ + c)) + d

Let's break down what each of these letters—a, b, c, and d—does to our basic wave. Think of it like a sound mixing board, where each knob changes one aspect of the sound.

The Midline: Vertical Shift (d)

Let's start with d, the easiest one. The + d at the end of the function simply moves the entire graph up or down.

  • Parent function
    y = sin(θ) oscillates around the x-axis (y = 0). This line is called the midline.
  • Transformation
    y = sin(θ) + d shifts the midline to the horizontal line y = d.

If d is positive (like +2), the whole wave moves up 2 units. If d is negative (like -3), the whole wave moves down 3 units.

Vertical shift 'd' moves the entire sine wave up or down, changing its midline.

The Height: Amplitude (a)

The letter a controls the wave's height. It represents a vertical stretch or shrink.

  • Parent function
    y = sin(θ) goes from a minimum of -1 to a maximum of 1. The distance from the midline to the peak is 1. This is its amplitude.
  • Transformation
    In y = a sin(θ), the amplitude is |a| (the absolute value of a). The wave now goes from a minimum of -|a| to a maximum of +|a| (before any vertical shift).

If a = 3, the amplitude is 3. The wave is three times taller. If a = 0.5, the amplitude is 0.5. The wave is half as tall.

Amplitude 'a' controls the vertical stretch or compression of the wave.

The Speed: Period (b)

The letter b controls the wave's width, or how quickly it repeats. This is a horizontal stretch or shrink.

  • Parent function
    y = sin(θ) completes one full cycle in radians. This is its period.
  • Transformation
    For y = sin(bθ), the new period is calculated with the formula: Period = 2π / |b|.

This is the second place students get stuck. Notice that b is in the denominator. This means:

  • If |b| > 1 (like sin(2θ)), the period gets shorter. The wave gets squished horizontally and repeats more frequently.
  • If 0 < |b| < 1 (like sin(0.5θ)), the period gets longer. The wave gets stretched out horizontally.

The Starting Point: Phase Shift (c)

Finally, c controls the horizontal starting position of the wave. We call this the phase shift.

  • Parent function
    y = sin(θ) starts its cycle at θ = 0, crossing the midline and going up.
  • Transformation
    The form y = sin(b(θ + c)) shifts the graph horizontally. The shift is -c.

This is the most common mistake on the entire topic.

  • If you see sin(θ + π/2), the + means the graph shifts to the left by π/2 units. (c = π/2, shift is -c).
  • If you see sin(θ - π/2), the - means the graph shifts to the right by π/2 units. (c = -π/2, shift is -c = +π/2).

Think of it as solving for where the "new zero" is: θ + c = 0 means θ = -c. That's your starting point.

One final trap: Before you identify c, you MUST factor out b. For a function like y = sin(2θ + π), the phase shift is NOT . You must first write it as y = sin(2(θ + π/2)). Now you can see that c = π/2, so the phase shift is -π/2.

Putting It All Together

So, for any function f(θ) = a sin(b(θ + c)) + d:

  • Amplitude
    |a|
  • Period
    2π / |b|
  • Phase Shift
    -c (after factoring out b)
  • Vertical Shift (Midline)
    y = d

And remember, all of these rules apply in exactly the same way to the cosine function! The only difference is that cos(θ) starts at its maximum value at θ=0, while sin(θ) starts at its midline value.

Worked examples

Let's walk through a couple of problems together. The key is to be systematic and match the parts of the equation to the transformations we just learned.

Example 1

Decoding a Standard Sinusoidal Function

Problem: Identify the amplitude, period, phase shift, and midline of the function f(x) = 3 sin(2(x - π/4)) + 1.

Solution:

Let's line this up with our general form: f(x) = a sin(b(x + c)) + d.

  1. 1
    Identify a, b, c, and d
    By comparing f(x) = 3 sin(2(x - π/4)) + 1 to the general form, we can pick out each value:
    • a = 3
    • b = 2
    • The form is (x + c), and we have (x - π/4). So, c = -π/4.
    • d = 1
  2. 2
    Calculate the characteristics
    • Amplitude
      The amplitude is |a|. Since a = 3, the amplitude is |3| = 3. The graph is stretched vertically by a factor of 3.
    • Period
      The period is 2π / |b|. Since b = 2, the period is 2π / 2 = π. The graph completes one full cycle every π units on the x-axis.
    • Phase Shift
      The shift is -c. Since c = -π/4, the shift is -(-π/4) = +π/4. This is a shift of π/4 units to the right.
    • Midline (Vertical Shift)
      The midline is y = d. Since d = 1, the midline is y = 1. The entire graph is shifted up 1 unit.

Final Answer: The function has an amplitude of 3, a period of π, a phase shift of π/4 to the right, and a midline at y = 1.


Example 2

Handling Factoring and Reflections

Problem: Identify the amplitude, period, phase shift, and midline of the function g(x) = -4 cos(πx + π) - 2.

Solution:

This one has a couple of traps. Notice the πx + π inside the cosine. We need to factor that first.

  1. Factor out b from the inside. The term inside the cosine is (πx + π). The coefficient of x is π, so that's our b. We need to factor π out of the entire expression: πx + π = π(x + 1) So, our function is g(x) = -4 cos(π(x + 1)) - 2.

    This is the most critical step. If you don't factor, you will get the phase shift wrong.

  2. Identify a, b, c, and d. Now we compare g(x) = -4 cos(π(x + 1)) - 2 to the general form g(x) = a cos(b(x + c)) + d.

    • a = -4
    • b = π
    • c = 1
    • d = -2
  3. Calculate the characteristics.

    • Amplitude
      |a| = |-4| = 4. The amplitude is 4. The negative sign on the a value means the graph is reflected across its midline. So, a normal cosine graph starts at its max, but this one will start at its min.
    • Period
      2π / |b| = 2π / |π| = 2. The graph completes a full cycle every 2 units.
    • Phase Shift
      The shift is -c. Since c = 1, the shift is -1. This is a shift of 1 unit to the left.
    • Midline (Vertical Shift)
      y = d. Since d = -2, the midline is y = -2. The graph is shifted down 2 units.

Final Answer: The function has an amplitude of 4, a period of 2, a phase shift of 1 unit to the left, and a midline at y = -2. It is also reflected across the midline.

Visualizing the transformations for `f(x) = 3 sin(2(x - π/4)) + 1`.

Try it yourself

Now it's your turn to be the wave detective. Use the methods we just practiced to break down this function. Don't rush—be systematic.

Problem: A sinusoidal function is given by h(t) = 20 cos( (π/6)t - π/2 ) + 100. Identify the following:

  1. Amplitude
  2. Period
  3. Phase Shift
  4. Midline

Hints:

  • Watch out for that expression inside the cosine! What's the very first step you should take?
  • Remember the formula for the period and how b affects it.
  • Pay close attention to the sign of the phase shift once you've factored correctly.

Take your time and check your work against the common mistakes. You've got this!