Chuyển đến nội dung

Bài 16 · Graphs of Trigonometric Functions

Amplitude and Period

Learn how the numbers A and B in y = A sin(Bx) stretch a sine wave vertically and horizontally, and how to read amplitude, period and frequency from an equation.

The basic sine wave rises to 1, falls to −1, and repeats every 2π. But waves in the real world have different heights and speeds: a loud sound versus a quiet one, a high note versus a low note. By adding two numbers to the equation we can change the height and the speed of the wave.

The general form

y = A sin(Bx) and y = A cos(Bx)

  • A controls the height. The amplitude is |A|.
  • B controls the speed. The period is 2π / |B|.

Amplitude

The amplitude is the distance from the midline (center line) to the maximum, i.e., half the distance from the minimum to the maximum.

  • y = 3 sin x has amplitude 3: it oscillates between −3 and 3.
  • y = ½ cos x has amplitude 0.5: between −0.5 and 0.5.
  • y = −2 sin x has amplitude 2, but the negative sign flips the graph upside down (a reflection in the x-axis).

Period

The period is the length of one complete cycle along the x-axis.

period = 2π / |B|

  • y = sin(2x): B = 2, period = π. The wave runs twice as fast.
  • y = sin(x/2): B = ½, period = 4π. The wave is stretched out.
  • y = cos(3x): period = 2π/3. Three cycles fit in 2π.

The number of cycles per unit of x is the frequency, f = |B| / (2π) = 1 / period.

Python Amplitude and period explorer

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.

Reading amplitude and period from an equation

Example 1. y = 4 cos(3x).

  • Amplitude: 4.
  • Period: 2π/3.
  • Max 4, min −4.

Example 2. y = −½ sin(πx).

  • Amplitude: ½ (the minus sign reflects the graph).
  • Period: 2π / π = 2.

Example 3. Find an equation for a cosine wave with amplitude 5 and period 8.

B = 2π / 8 = π/4, so y = 5 cos(πx/4).

Sketching with key points

Divide one period into four equal parts to get the five key points. For y = 3 sin(2x):

  • Period π. Quarter steps of π/4: x = 0, π/4, π/2, 3π/4, π.
  • Values: 0, 3, 0, −3, 0.
Python Key points of A sin(Bx)

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.

Frequency and sound

A pure musical tone is a sine wave in air pressure. A higher frequency (more cycles per second, measured in hertz) sounds as a higher pitch; a larger amplitude sounds louder. The note A above middle C is standardly tuned to 440 Hz, which means 440 cycles each second, a period of about 0.00227 s. We can write a model as y = A sin(2π × 440 × t), where B = 2π × 440 and t is time in seconds.

Python Wave period from frequency

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.

(This computes the numbers for the model; it does not play a sound.)

To find the period quickly: it is 2π divided by the number multiplying x. If the number is 1, the period is 2π.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the amplitude of y = -4 sin x?

    Amplitude is the absolute value of A. The minus sign only flips the graph.
  2. 2. What is the period of y = sin(4x)?

    Period = 2π / 4 = π/2.
  3. 3. A cosine wave has amplitude 2 and period 6. Which equation fits?

    B = 2π/6 = π/3, so y = 2 cos(πx/3).
  4. 4. What does a larger B do to the graph of y = sin(Bx)?

    A larger B shortens the period, squeezing more cycles into the same interval.

Summary

  • In y = A sin(Bx) the amplitude is |A| and the period is 2π / |B|.
  • A negative A reflects the graph over the x-axis.
  • Frequency is the reciprocal of the period.
  • Five equally spaced key points give a quick sketch.

Next: Phase Shift and Vertical Shift

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ị.