Sine and Cosine Graphs

Back

Loading concept...

🌊 Riding the Waves: Mastering Sine & Cosine Graphs

Imagine you’re at the beach, watching waves roll in. Each wave rises, falls, and repeats—over and over. That’s exactly what sine and cosine graphs do! They’re the mathematical way of describing anything that waves: sound, light, heartbeats, even the seasons.

Let’s ride these waves together!


🎢 The Big Idea: Waves on Paper

Think of a swing at the playground. When you swing:

  • You go up (highest point)
  • You come back down through the middle
  • You go back (lowest point)
  • You return to the middle again

This up-down-up-down pattern repeats forever. That’s a wave! And sine and cosine are how we draw this wave on paper.


📈 Graphing the Sine Function

The sine function starts at the middle (like standing still on your swing), then goes up first.

The Basic Shape: y = sin(x)

      1 |    /\
        |   /  \
      0 |--/----\----/----
        |        \  /
     -1 |         \/
        |___________________
           0   π   2π   3π

Key points to remember:

  • Starts at (0, 0) — the middle
  • Goes UP to (π/2, 1) — the top
  • Back to middle at (π, 0)
  • Goes DOWN to (3π/2, -1) — the bottom
  • Returns to (2π, 0) — one complete wave!

Example: When x = π/2, sin(π/2) = 1 (the highest point)


📉 Graphing the Cosine Function

The cosine function is the sine’s twin, but it starts at the TOP instead of the middle.

The Basic Shape: y = cos(x)

      1 |--\          /--
        |   \        /
      0 |----\------/----
        |     \    /
     -1 |      \__/
        |___________________
           0   π   2π   3π

Key points:

  • Starts at (0, 1) — already at the top!
  • Goes to middle at (π/2, 0)
  • Hits bottom at (π, -1)
  • Back to middle at (3π/2, 0)
  • Returns to top at (2π, 1)

Example: When x = 0, cos(0) = 1 (starting at the peak)

🎯 Quick Memory Trick: Sine starts at Start (zero). Cosine starts at Crest (top).


🎸 Amplitude: How Tall Are Your Waves?

Amplitude is how high (or low) your wave goes from the middle line.

Think of it like this: If you push a swing gently, it goes a little high. Push harder? It goes MUCH higher!

The Formula

y = A · sin(x) or y = A · cos(x)

Where A = amplitude

Amplitude What happens
A = 1 Normal wave (goes from -1 to 1)
A = 2 TALL wave (goes from -2 to 2)
A = 0.5 short wave (goes from -0.5 to 0.5)
A = -1 Flipped wave! (starts down instead of up)

Example: y = 3sin(x)

  • The wave now goes from -3 to +3
  • Amplitude = |3| = 3
graph TD A["y = sin#40;x#41;"] --> B["Height: -1 to 1"] C["y = 3sin#40;x#41;"] --> D["Height: -3 to 3"] E["Bigger number = Taller wave!"]

🔄 Period: How Long Is One Wave?

Period is the distance it takes for one complete wave—from start, all the way around, back to start.

Imagine your swing: one full swing forward and back = one period.

The Formula

For y = sin(Bx) or y = cos(Bx):

Period = 2π / |B|

B value Period What happens
B = 1 Normal wave
B = 2 π SQUISHED (2 waves in normal space)
B = 0.5 STRETCHED (half a wave in normal space)

Example: y = sin(2x)

  • Period = 2π / 2 = π
  • The wave completes TWICE as fast!

🎵 Real life: When you play a higher note on a guitar, the string vibrates faster = shorter period = higher pitch!


↔️ Phase Shift: Sliding Left or Right

Phase shift moves your wave left or right along the x-axis.

It’s like starting your song 5 seconds late—same music, just shifted in time!

The Formula

For y = sin(x - C) or y = cos(x - C):

Phase shift = C (positive C = shift RIGHT, negative C = shift LEFT)

Expression Shift
sin(x - π/2) Right by π/2
sin(x + π/2) Left by π/2
cos(x - π) Right by π

Example: y = sin(x - π/2)

  • The wave shifts RIGHT by π/2
  • Now sin starts where cos used to start!

🤯 Mind-blowing fact: cos(x) = sin(x + π/2). Cosine is just sine shifted left!


↕️ Vertical Shift: Moving Up or Down

Vertical shift moves the entire wave up or down.

Like raising or lowering the whole swing set!

The Formula

y = sin(x) + D or y = cos(x) + D

Where D = vertical shift

D value What happens
D = 2 Whole wave moves UP 2 units
D = -3 Whole wave moves DOWN 3 units

Example: y = sin(x) + 2

  • Old range: -1 to 1
  • New range: 1 to 3 (everything shifted up by 2)

🎵 Frequency: How Often Does It Wave?

Frequency tells you how many waves fit in a standard space (2π).

It’s the opposite of period!

The Formula

Frequency = 1 / Period = |B| / 2π

Or simply: Frequency = |B| (waves per 2π)

B value Waves per 2π
B = 1 1 wave
B = 2 2 waves
B = 3 3 waves

Example: y = sin(4x)

  • Frequency = 4 waves per 2π

📻 Real life: Radio stations use frequency! “99.5 FM” means the wave cycles 99.5 million times per second!


➖ Midline: The Center of Your Wave

The midline is the horizontal line that runs through the middle of your wave. It’s where the wave would be if it stopped waving.

The Formula

Midline: y = D

For y = A·sin(Bx - C) + D, the midline is simply y = D

Function Midline
y = sin(x) y = 0
y = sin(x) + 3 y = 3
y = 2sin(x) - 1 y = -1

Example: y = sin(x) + 5

  • Midline: y = 5
  • Wave oscillates between 4 and 6

🧩 The Complete Wave Formula

Here’s everything together:

y = A · sin(B(x - C)) + D

graph TD A["A = Amplitude"] --> E["How TALL?"] B["B = Affects Period"] --> F["How FAST?"] C["C = Phase Shift"] --> G["Shift LEFT/RIGHT"] D["D = Vertical Shift"] --> H["Shift UP/DOWN"]
Parameter What it does Formula
A Height Amplitude = |A|
B Width Period = 2π/|B|
C Left-Right Shift = C
D Up-Down Midline = D

🌟 Putting It All Together

Example: Graph y = 2sin(3x - π) + 1

Let’s break it down:

  1. A = 2 → Amplitude is 2 (wave goes 2 above and 2 below midline)
  2. B = 3 → Period = 2π/3 (wave completes faster)
  3. C = π/3 → Phase shift right by π/3 (rewrite: 3(x - π/3))
  4. D = 1 → Midline at y = 1 (whole wave lifted up 1)

Result:

  • Wave oscillates between -1 and 3 (midline 1 ± amplitude 2)
  • Completes one cycle every 2π/3 units
  • Starts shifted right by π/3

🎉 You Did It!

Now you understand the secret language of waves! Every sound you hear, every beam of light you see, every heartbeat—they all follow these beautiful, predictable patterns.

Remember:

  • Amplitude = How HIGH
  • Period = How LONG
  • Phase Shift = How LATE
  • Vertical Shift = How LIFTED
  • Frequency = How OFTEN
  • Midline = The CENTER

You’re now ready to ride any wave! 🏄‍♂️

Loading story...

Story - Premium Content

Please sign in to view this story and start learning.

Upgrade to Premium to unlock full access to all stories.

Stay Tuned!

Story is coming soon.

Story Preview

Story - Premium Content

Please sign in to view this concept and start learning.

Upgrade to Premium to unlock full access to all content.