Course contentsShow
← Mathematics
Lesson 1018 of 3,12124. Unit Circle and Analytic TrigonometryFree lesson

Vertical Shift: y = sin(x) + D and the Midline

Understand how adding D moves the entire graph up or down, changing the horizontal midline from y = 0.

Vertical Shift: y = sin(x) + D and the Midline

You'll learn how adding a constant D to the sine function moves the entire wave up or down, changing where it oscillates.

The Core Idea

Until now, you've seen the basic sine wave y = sin(x) oscillate smoothly between -1 and +1, centered on the x-axis (the line y = 0). But what happens when we write y = sin(x) + D?

Adding D to the function shifts the entire graph vertically. If D is positive, every point on the wave moves up by D units. If D is negative, everything drops down by |D| units. The shape, amplitude, and period stay exactly the same—only the vertical position changes.

The Midline

The midline is the horizontal line running through the middle of the wave—the line the function oscillates around. For y = sin(x), the midline is y = 0. When you shift vertically, the midline shifts with the graph.

For y = sin(x) + D, the new midline is y = D.

Think of it like adjusting the baseline of an audio waveform or moving the center line of a jump rope higher or lower without changing how you swing it.

What Changes and What Doesn't

  • Maximum value: Changes from 1 to 1 + D
  • Minimum value: Changes from -1 to -1 + D
  • Midline: Changes from y = 0 to y = D
  • Amplitude: Stays the same (still 1)
  • Period: Stays the same (still 2π)
  • Shape: Unchanged—just relocated

For example, y = sin(x) + 3 oscillates between 2 and 4, with midline y = 3.

Key Takeaway: Adding D to y = sin(x) creates a vertical shift, moving the entire graph up or down and changing the midline from y = 0 to y = D, without altering amplitude or period.