Trigonometry/Phase and Frequency: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Musical Inquisit
Added a section explaining the cosine and sine functions, added a problem set that may be useful for students to understand.
 
(No difference)

Latest revision as of 06:00, 21 March 2020

Frequency

Some waves of different frequencies

Here are some sinusoidal (that is 'sine like') graphs. These show sinusoidal waves with different frequency. The frequency increases as you go down.

Template:ExerciseRobox In physics, light is a kind of wave, and different frequencies of light give the different colors of the spectrum.

  • Does red light have a higher or lower frequency than blue light?
  • In a rainbow is red on the outside or the inside of the rainbow? What about a double rainbow? (use the Internet)
  • Are radio waves higher or lower frequency than light waves? (use the Internet)

Template:Robox/Close

Template:ExerciseRobox In physics sound is a kind of wave. It's physically a different kind of wave from light, but its vibrations can still be described using sines and cosines. Light is an electromagnetic wave and sound is a wave involving change in air pressure. That difference is the underlying reason why light can travel through the vacuum of space, but sound cannot.

High pitched notes are high-frequency sound waves. Low pitched notes are low-frequency sound waves.

  • Find out what the highest frequency of hearing is for humans and for bats. (use the Internet)
  • Explain in your own words what 'Hertz' means, and what the K in the abbreviation KHz means.
  • What vibration frequencies are typical in an Earthquake?

Template:Robox/Close

Sine and Cosine Graphs

And here in this graph, the colors we've chosen to draw the waves in have no relation to the frequency. Both waves have the same frequency, but we've used different colors.

Notice that in the graph of sine and cosine above that the two graphs have the same shape. If we slide the sine graph slightly to the left, it coincides exactly with the cosine graph. Using the terminology used to describe sinusoidal waves, they have the same amplitude, the same frequency and different phases.

Definitions

A sinusoidal wave is characterized by three parameters: amplitude, frequency and phase.

  • The amplitude is the amount the function varies, positively or negatively, from zero in the y direction.
  • The frequency is how many complete cycles there are of the wave in unit distance on the x axis (which often measures time)
  • The phase is relevant when comparing two waves of the same frequency. It is how much (measured in degrees or radians) one is shifted relative to the other on the x axis.

This terminology comes from sound engineering where higher frequency sounds have higher pitch and waves of greater amplitude are louder.

As an alternative to specifying the frequency, the number of cycles in unit distance, we can instead specify the wavelength, the length of one cycle. The higher the frequency, the shorter the wavelength. The lower the frequency the longer the wavelength.

You can check this on the diagram of waves of different frequencies at the top of the page.

In More Detail

To fully understand how each of the following definitions relate, look at the graph of the function f(t)=4sin(π6t)+40 below (left). For the figure representing (a)-(b), read the corresponding definitions.

The graph drawn is courtesy of the Desmos online graphing calculator.

Amplitude

The amplitude is the maximum amount that the wave differs from the sinusoidal axis value, c – the value by which the function is shifted by the average of the maximum to the minimum range of the function, ymax+ymin2. The amplitude comes from two different locations: the maximum value minus c or the minimum value minus c. The positive magnitude of the value is taken (absolute value). Look at the data below for an example.

xg(x)0202042060820

Let us not worry about finding the function for this set of data for now. Instead, focus on finding the amplitude. The maximum y-value ymax=20. The minimum y-value ymin=20. Therefore, 20+(20)2=02=0. The maximum difference comes from two different locations: the maximum value minus the sinusoidal axis value or the minimum value minus the sinusoidal axis value. In this example, we will choose to use the difference between the maximum value to the sinusoidal axis value, which is 200=20. Therefore, the amplitude of the above data is 20.

In general, for sin(bθ)+c and cos(bθ)+c (where b>0) the amplitude is 1. For asin(bθ)+c and acos(bθ)+c (where a>0 and b>0) the amplitude is a. The difference between the greatest and least value is called the double amplitude or peak to peak amplitude. Knowing this, the way to find the amplitude given the greatest and least value of the range is to take the difference between the two and then divide by 2:

a=ymaxymin2.

Frequency

The frequency (sometimes f) is the number of cycles a wave goes through in a standard distance or time. If this standard distance is 360 or 2π radians, the frequency of sin(θ) and cos(θ) is 1, and that of sin(bθ) and cos(bθ) is b. A graph of a high frequency wave shows more complete cycles in the same horizontal span as a low frequency wave. Notice b is the frequency value, f, so b=f.

The wavelength (or period), λ, decreases as the frequency increases. Mathematically, this relationship is written as λ1f (the wavelength is inversely proportional to the frequency). It is the distance over which a complete cycle occurs, that is, the wave goes from c to its maximum positive value, back to c, down to the lowest negative value, then back up to c.

The functions sin(θ) and cos(θ) both go through a complete cycle as the angle increases by 360 or 2π radians, hence this is the wavelength. The functions sin(bθ) and cos(bθ) (where b is any positive number) go through one cycle as the angle θ increases by 360b or 2πb , hence their wavelength λ=360|b| or λ=2π|b| . This makes sense, because if b=f and λ=2π|b| , then λ1b .

Finally, using wavelength, one can directly find the frequency. If λ=2π|b|, then

λ×1λ×b=2πb×b×1λ
b=2πλ

Phase Shift

The phase is the fraction of the cycle that you have reached at any given point. If the point is not specified, it may be assumed to be 0°. The start of the cycle is the point where the wave is 0 and going from negative to positive. (If the wave is not a sine curve, there may be more than one such point in a complete cycle so the starting point may be arbitrary.) For sin(θ) the phase at 0° is 0; for cos(θ) it is ¼. If the cycle has wavelength 360 or 2π radians, the phase is often expressed as an angle corresponding to the given fraction of the wavelength, so the phase of cos(θ) at 0° is 90 or π2 radians.

It is assumed that the average value of the wave is 0. If the wave is say sin(θ)+4 or 2π , it is never 0 so to define the phase we would need the point where it reaches its average value (4 in this case).

Examples

Template:ExampleRobox

10cos(θ)

has ten times the amplitude of cosθ

The graph oscillates between 10 and -10 on the y axis. Template:Robox/Close


Template:ExampleRobox

cos(100θ)

has a higher frequency than cos(θ)

There will be 100 times as many cycles in the same distance along the x axis. The amplitude is unchanged.

The wavelength is also decreased. The distance along the x axis for a complete cycle is one hundredth of what it was before. Template:Robox/Close


Template:ExampleRobox

sin(θ)

has a different phase from cos(θ) . The phase difference happens to be 90°, because sin(θ+90)=cos(θ) . If two waves are 180° out of phase then where one is positive the other has the same value only negative. sin(θ) is 180° out of phase with sin(θ) Template:Robox/Close

Offset

Two sinusoidal waves may also have a different offset to each other, i.e. their average values are different, but they still have the same shape. Their graphs are y shifted relative to each other. In sound engineering this is called DC Bias.

Template:ExampleRobox

1+cos(θ)

has a different offset to cos(θ) . Whereas cos(θ) takes both positive and negative values, 1+cos(θ) is never below 0. Template:Robox/Close

This offset is based off the vertical shift, also known as the sinusoidal axis value. Keep in mind, unlike other functions, this vertical shift does not denote the y-intercept. The only way to determine the y-intercept correctly is to substitute zero into a function. Quick quiz: what is cos(0)? In case you forgot, it is 1. Therefore, the y-intercept for f(θ)=1+cos(θ) is f(0)=1+cos(0)=1+1=2.

The Graphs and Their Differences

Comparing and contrasting two different items may seem like a pointless task to the student, at first. However, the purpose of such an activity is to make students analyze information and help cement differences between the two ideas. Here, it is imperative that the student understands the differences between cosine and sine because otherwise, the student is not able to model situations correctly! While this Wikibooks will not make the student analyze the two functions themselves, it may be a good idea to remember the differences.

The parent functions

The sine and cosine curve are both graphed over the period (λ=2π with a frequency f=1)

The sine and cosine functions are shown above, where 0x2π. Notice that the frequency and period of the functions are both identical. Given that these are also parent functions, the vertical shift is zero. However, the similarities start to end. First, look at the pattern of the function. Over λ=2π, the periodic function sin(x) follows the basic pattern of "middle," "top," "middle," "bottom," "middle." That is, the value of f(x)=sin(x) starts at f(0)=0. However, f(π2)=1. This is the highest possible value of sine when looking at the positive values, because the unit circle is peaked when θ=π2. At x=π, f(π)=0. This has again to do with the unit circle. If you remembered the patterns you identified in the circle (or even the unit circle itself) you can infer howf(x)=sin(x)will look like. The minimum value of the range is at 1 precisely for this reason. As such, the pattern we identified is always true.

By contrast, the cosine function follows a more simplistic pattern. For g(x)=cos(x), you already start at the maximum value because g(0)=cos(0)=1 is the largest x-value on the circle, whileg(π)=cos(π)=1 is the lowest x-value on the circle. Because of the unit circle, the simplistic pattern results: "maximum," "medium," "minimum," "medium," "maximum."

The patterns mentioned above are things that you should keep in the back of your mind. These patterns are the main ways in which a person can easily identify when to use one particular function over another. When a phase shift is applied, choosing to use a cosine function or a sine function is best left to student judgement.

From the information we have so far, we get the following information:

  • The vertical shift c=ymax+ymin2=1+(1)2=02=0.
  • The amplitude a=ymaxymin2=1(1)2=22=1.
  • The frequency b=2πλ=2π2π=1.

The general form of the sinusoidal function is

Asin(B(xD))+C

  • The sine can be substituted for cosine and it would work just the same.
  • A is the amplitude.
  • B is the frequency.
  • C is the vertical shift (sinusoidal axis value).
  • D is the phase (horizontal) shift.

We have described the general pattern for the cosine and sine functions. However, it is important to step back and appreciate the underlying math for which the cosine and sine curves rely on, the unit circle. While these functions are beautiful, the underlying math behind why these functions behave the way they do is the reason for this beauty, and in a way, makes it more beautiful than the end result.

Draw two circles with radii r and R centered at the origin, where r<R. If a line extending from the origin reaches an endpoint of each circle at the angle θ, then cosθ=x1r, and cosθ=x2R. As such,

  • x1=rcosθ
  • x2=Rcosθ

Because cosθ is multiplied directly to r or R, for r<R, rcosθ<Rcosθ.

Let f(θ)=rcosθ, g(θ)=Rcosθ, and r=1. Because we know how to graph f(θ)=cosθ, R is multiplied directly to cosθ, and g(θ)=Rf(θ), the resulting function must be "expanded" over the y-axis. This expansion must be related to the amplitude of the function, because Rymax and Rymin gives RymaxRymin2=R(ymaxymin)2=Rymaxymin2=Ra=R. (Recall a=1).

  • The amplitude of the function is given by the radius of the circle.
  • Changing the radius of the circle does not change the frequency, the vertical shift, or the phase shift. (Exercise: show that this is true for at least the frequency and the vertical shift.)

This result will be useful when working with problems later.

As of now, increasing the radius is all that we could connect these sinusoidal functions to the circle. We need to understand more about additions and such before one can address the beauty of this math. Nevertheless, always keep this result locked in your heart.

Modeling Situations

The sinusoidal functions are very useful in real life applications, where these periodic (repeating) functions model situations that follow a pattern over a set amount of time, such as in modeling day length, planetary motion, sound waves, energy waves, etcetera.

Template:ExampleRobox

  • Marine biologists determined the average length of N=50,000 fish in a pond in millimeters (mm) is dependent on the time, in years. The table is shown below, where t is the time, in years, and l(t) is the average length of the fish, in millimeters. Find the sinusoidal function that best models the information provided.

tl(t)0443406369401244

  • The situation is given to be periodic and sinusoidal. Therefore, it is best to use the sinusoidal function and its properties: a trig(b(x+d))+c.
  • Find the vertical shift, c. Recall that c=ymax+ymin2. According to the table, the maximum y-value is 44, while the minimum value is 36. Therefore, the vertical shift is
44+362=40
  • Find the amplitude, a. Recall that a=ymaxymin2. According to the table, the maximum y-value is 44, while the minimum value is 36. Therefore, the amplitude is
44362=4
  • Find the frequency, b. Recall that b=2πλ. If the wavelength is the distance whereby a complete cycle occurs, then from t=0 sec to t=12 sec, the cycle is complete. As such, λ=120=12. Given this information,
b=2π12=π6
  • For now, let us ignore the phase shift, d. Substitute the information we already know into the function above: 4 trig(π6t)+40. Recall that a sinusoidal function that has a maximum value reappear again over a wavelength (from maximum to medium to minimum to medium to maximum) is cosine. As such 4cos(π6t)+40 models the situation sufficiently.
  • Equivalently, assuming we want to keep it in terms of sine, we know the following is true:
    • cos(θ)=sin(π2θ)=sin(π2+θ)=sin(θπ2)
  • Therefore, 4cos(π6t)+40=4sin(π6(π2t))+40=4sin(π6(π2+t))+40=4sin(π6(tπ2))+40.Template:Robox/Close

The above question is comparatively easier to other similar problems like this. In the real world, you are less likely to see a steady increase/decrease in fish length because of two factors:

  • Evolution: bigger fish are usually seen as predators, which are often avoided. Smaller fish are more likely to be seen as weaker.
  • Internal Competition: size among females may be seen as more desirable as mates, and therefore more likely to pass on offspring with those traits. As such, competition may exist among females for desirable mates.

There are many questions a person may be asking: where is the above circle in the question? Why use radians as opposed to degrees? . There are a few reasons, but it requires us to delve more deeply into mathematics that is usually considered advanced (polar coordinates). Unfortunately, Book 1 will not delve into this topic. However, for those that are curious, Book 3 will have polar coordinates that fully explain this behavior.

Template:Trig/NAV Template:BookCat