Chuyển đến nội dung

Bài 35 · Applications and Vectors

Harmonic Motion and Waves

Model springs, tides and sound with y = A sin(ωt + φ) + D, find amplitude, period and frequency, and see beats appear from adding two waves.

Many things in nature repeat in a smooth cycle: a mass bouncing on a spring, a pendulum swinging through a small angle, the tide rising and falling, a guitar string vibrating, the alternating current in a wall socket. The simplest model for all of them is a sine or cosine function. This is simple harmonic motion.

The general model

Text
y(t) = A sin(ω t + φ) + D
Symbol Name Meaning
A amplitude maximum displacement from the middle line (always positive)
ω angular frequency (rad/s) how fast the phase advances
φ phase shift (radians) where in the cycle you start at t = 0
D vertical shift the height of the middle line

From these:

Text
period      T = 2π / ω      (time for one full cycle)
frequency   f = 1 / T = ω / (2π)    (cycles per second, in hertz)

The maximum value is D + A and the minimum is D − A. A cosine function is the same wave shifted: cos x = sin(x + π/2).

Example: a tide. Suppose water depth in a harbor follows d(t) = 5 + 2 cos(2π t / 12.4) metres, with t in hours. This is a model, not a forecast: a typical twice-daily tide repeats roughly every 12.4 hours. The amplitude is 2 m, the middle depth is 5 m, the period is 12.4 h, high tide is 7 m and low tide is 3 m. At t = 0 the water is at high tide because cos 0 = 1.

Reading a wave

Given a description, write the equation:

  • A spring bobs between 12 cm and 28 cm above the floor every 2 s, starting at its lowest point.
  • Middle line D = (12 + 28)/2 = 20; amplitude A = (28 − 12)/2 = 8.
  • Period 2 s, so ω = 2π/2 = π.
  • Starting at the minimum: use −cos: y(t) = 20 − 8 cos(π t).
Python Amplitude, period and frequency from a model

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Sound: pitch and loudness

A pure musical tone is a sine wave of pressure. Its frequency sets the pitch, and its amplitude sets the loudness. The note A above middle C is conventionally tuned to 440 Hz, so its period is 1/440 ≈ 0.00227 s, about 2.27 milliseconds.

Adding waves: beats

What happens if two nearly equal tones sound at once? Use the sum-to-product identity from the identities chapter:

Text
sin a + sin b = 2 sin((a + b)/2) cos((a − b)/2)

Take a = 2π f₁ t and b = 2π f₂ t. The sum becomes

Text
2 cos(π (f₁ − f₂) t) · sin(π (f₁ + f₂) t)

This is a fast wave at the average frequency (f₁ + f₂)/2 whose loudness is multiplied by a slow wave at (f₁ − f₂)/2. Your ear hears the loudness swell and fade |f₁ − f₂| times per second (the loudness is the absolute value of the slow factor, which peaks twice per slow cycle). These are beats. Piano tuners use them: two strings at 440 Hz and 444 Hz beat 4 times a second, and a tuner adjusts until the beating slows to nothing.

Python Beats from two close frequencies

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

In half a second the envelope reaches its maximum (the loudest moments) 2 times, so you hear 4 beats per second over a full second.

Fitting a model to data

If you measure a repeating quantity, you can pick D = (max + min)/2 and A = (max − min)/2, get ω from the period, then adjust φ using a known point.

Python Build a sine model from measurements

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. In y = 3 sin(4t) + 10, what is the period?

    T = 2π/ω = 2π/4 = π/2.
  2. 2. A wave swings between 2 and 12. What are the amplitude and the middle line?

    A = (12 − 2)/2 = 5 and D = (12 + 2)/2 = 7.
  3. 3. Two pure tones of 500 Hz and 503 Hz sound together. How many beats per second are heard?

    The beat rate is the difference of the frequencies, 3 Hz.
  4. 4. Which is the frequency of a wave with period 0.005 s?

    f = 1/T = 1/0.005 = 200 Hz.

Summary

  • Harmonic motion is modeled by y = A sin(ωt + φ) + D.
  • Amplitude A, period T = 2π/ω, frequency f = 1/T, middle line D.
  • Use maximum and minimum to get A = (max − min)/2 and D = (max + min)/2.
  • Adding two close frequencies produces beats at |f₁ − f₂| per second, explained by the sum-to-product identity.
  • A cosine is a sine shifted by π/2.

Next: Practice: Identities and Equations

Theo dõi tiến độ của bạn

Tạo tài khoản miễn phí để đánh dấu bài đã học và tiếp tục từ chỗ bạn dừng lại trên mọi thiết bị.