<< Chapter < Page
  Digital signal processing - dsp     Page 7 / 9
Chapter >> Page >

Although these identities apply to the products of sine and cosine values for single angles a and b , it is a simple matter to extend them to represent the products of time series consisting of sine andcosine functions. Such an extension is shown in Figure 8 .

Products of sine and cosine functions

In each of the three cases shown in Figure 8 , the function f(n) is a time series produced by multiplying two other time series, which are either sinefunctions or cosine functions.

Figure 8. Products of sine and cosine functions.
1. f(n) = sin(a*n)*sin(b*n) = (1/2)*(cos((a-b)*n)-cos((a+b)*n))2. f(n) = cos(a*n)*cos(b*n) = (1/2)*(cos((a-b)*n)+cos((a+b)*n))3. f(n) = sin(a*n)*cos(b*n) = (1/2)*(sin((a+b)*n)+sin((a-b)*n))

Rewrite and simplify

Figure 9 rewrites and simplifies these three functions for the special case where a=b , taking into account the fact that cos(0) =1 and sin(0) = 0.

Figure 9. Rewrite and simplify.
1. f(n) = sin(a*n)*sin(a*n) = (1/2)-cos(2*a*n)/2 2. f(n) = cos(a*n)*cos(a*n) = (1/2)+cos(2*a*n)/23. f(n) = sin(a*n)*cos(a*n) = sin(2*a*n)/2

What can we learn from these identities?

First you need to recall that the average of the values describing any true sinusoid is zero when the average is computed over an even number of cycles ofthe sinusoid.

(A true sinusoid does not have a bias to prevent it from being centered on the horizontal axis.)

If a time series consists of the sum of two true sinusoids, then the average of the values describing that time series will be zero if the average iscomputed over an even number of cycles of both sinusoids, and very close to zero if the average is computed over a period that is not an even number of cyclesfor either or both sinusoids.

(The average will approach zero as the length of data over which the average is computed increases.)

Product of two sine functions having the same frequency

Let's apply this knowledge to the three cases shown above for a=b . Consider the time series for case 1 in Figure 9 . This case is the product of two sine functions having the same frequency. The result of multiplying the two sinefunctions is shown graphically in Figure 10 .

Figure 10. Plot of sin(x) and sin(x)*sin(x).
Plot of sin(x) and sin(x)*sin(x)

The red curve in Figure 10 shows the function sin(x), and the black curve shows the function produced by multiplying sin(x) by sin(x).

The sum of the product function is not zero

If you sum the values of the black curve over an even number of cycles, the sum will not be zero. Rather, it will be a positive, non-zero value.

Now refer back to Imag(F) in Figure 6 . The imaginary part is computed by multiplying the time series by a sine function and computing the sum of theproducts. If that time series contains a sine component with the same frequency as the sine function, that component will contribute a non-zero value to the sumof products. Thus, the imaginary part of the transform at that frequency will not be zero.

Product of two cosine functions having the same frequency

Now consider the time series for case 2 in Figure 9 . This case is the product of two cosine functions having the same frequency. The result of multiplying twocosine functions having the same frequency is shown graphically in Figure 11 .

Questions & Answers

how does the planets on our solar system orbit
cheten Reply
how many Messier objects are there in space
satish Reply
did you g8ve certificate
Richard Reply
what are astronomy
Issan Reply
Astronomy (from Ancient Greek ἀστρονομία (astronomía) 'science that studies the laws of the stars') is a natural science that studies celestial objects and phenomena. It uses mathematics, physics, and chemistry in order to explain their origin and evolution.
Rafael
vjuvu
Elgoog
what is big bang theory?
Rosemary
what type of activity astronomer do?
Rosemary
No
Richard
the big bang theory is a theory which states that all matter was compressed together in one place the matter got so unstable it exploded releasing All its contents in the form of hydrogen
Roaul
I want to be an astronomer. That's my dream
Astrit
Who named the the whole galaxy?
Shola Reply
solar Univers
GPOWER
what is space
Richard
what is the dark matter
Richard
what are the factors upon which the atmosphere is stratified
Nicholas Reply
is the big bang the sun
Folakemi Reply
no
Sokak
bigbang is the beginning of the universe
Sokak
but thats just a theory
Sokak
nothing will happen, don't worry brother.
Vansh
what does comet means
GANGAIN Reply
these are Rocky substances between mars and jupiter
GANGAIN
Comets are cosmic snowballs of frozen gases , rock and dust that orbit the sun. They are mostly found between the orbits of Venus and Mercury.
Aarya
hllo
John
hi
John
qt rrt
John
r u there
John
hey can anyone guide me abt international astronomy olympiad
sahil
how can we learn right and true ?
Govinda Reply
why the moon is always appear in an elliptical shape
Gatjuol Reply
Because when astroid hit the Earth then a piece of elliptical shape of the earth was separated which is now called moon.
Hemen
what's see level?
lidiya Reply
Did you mean eye sight or sea level
Minal
oh sorry it's sea level
lidiya
according to the theory of astronomers why the moon is always appear in an elliptical orbit?
Gatjuol
hi !!! I am new in astronomy.... I have so many questions in mind .... all of scientists of the word they just give opinion only. but they never think true or false ... i respect all of them... I believes whole universe depending on true ...থিউরি
Govinda
hello
Jackson
hi
Elyana
we're all stars and galaxies a part of sun. how can science prove thx with respect old ancient times picture or books..or anything with respect to present time .but we r a part of that universe
w astronomy and cosmology!
Michele
another theory of universe except big ban
Albash Reply
how was universe born
Asmit Reply
there many theory to born universe but what is the reality of big bang theory to born universe
Asmit
what is the exact value of π?
Nagalakshmi
by big bang
universal
there are many theories regarding this it's on you believe any theory that you think is true ex. eternal inflation theory, oscillation model theory, multiple universe theory the big bang theory etc.
Aarya
I think after Big Bang!
Michele
from where on earth could u observe all the stars during the during the course of an year
Karuna Reply
I think it couldn't possible on earth
Nagalakshmi
in this time i don't Know
Michele
is that so. the question was in the end of this chapter
Karuna
in theory, you could see them all from the equator (though over the course of a year, not at pne time). stars are measured in "declination", which is how far N or S of the equator (90* to -90*). Polaris is the North star, and is ALMOST 90* (+89*). So it would just barely creep over the horizon.
Christopher
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing - dsp. OpenStax CNX. Jan 06, 2016 Download for free at https://legacy.cnx.org/content/col11642/1.38
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing - dsp' conversation and receive update notifications?

Ask