Sinusoids as Complex numbers (multiplication query)

Click For Summary

Discussion Overview

The discussion revolves around the representation of sinusoids using complex numbers, particularly focusing on the implications of multiplying complex numbers and how this relates to physical systems. Participants explore the differences between operations on complex sinusoids and real sinusoids, as well as the interpretations and potential confusions arising from a textbook on digital signal processing.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • Some participants note that while multiplying complex numbers results in another complex number, the multiplication of two sinusoids does not yield another sinusoid, which raises questions about the physical representation of these operations.
  • One participant suggests that the distinction lies in the context of passing through a linear system, where multiplication with a fixed number is linear.
  • Another participant asserts that multiplying two sinusoids can produce another sinusoid, albeit with a different frequency.
  • Concerns are raised regarding the textbook's treatment of complex numbers and sinusoids, with one participant expressing dissatisfaction with the clarity and accuracy of the explanations provided.
  • Participants discuss the mathematical implications of multiplying complex numbers, noting that the real and imaginary parts of the product represent different sinusoidal functions, which may not align with simple multiplication of sine or cosine functions.
  • There is mention of the requirement for complex sinusoids to have the same frequency for addition, contrasting this with the ability to add real sinusoids of different frequencies easily.
  • One participant expresses confusion about the interpretation of complex operations and their relation to physical systems after manipulation.

Areas of Agreement / Disagreement

Participants express differing views on the implications of multiplying sinusoids and complex numbers, with no consensus reached regarding the interpretations of these operations or the clarity of the textbook material.

Contextual Notes

Some participants highlight limitations in the textbook's explanations, particularly regarding the equivalence of real functions to complex numbers and the treatment of multiplication versus addition of sinusoids. There is also uncertainty about the implications of these operations in practical applications.

Natalie Johnson
Messages
38
Reaction score
0
DSP Guide .com has the highly rated textbook for digital signal processing.
Chapter 30 pg 561 on Complex Numbers
http://www.dspguide.com/ch30.htm (chapters are free to download)

Hes talking about representing sinusoids with a complex number.

Author states "Multiplying complex numbers A and B, results in another complex number". "Multiplying two sinusoids does not produce another sinusoid. Complex multiplication fails to match the physical system".

But then the following page 562
"When a sinusoid passes through a linear system, the complex numbers representing the input signal and the system are multiplied, producing the complex number representing the output".

Which is contrary to what he stated? The final complex number does actually give a sinusoid after multiplication, so matches the physical system...

What am I missing here?
 
Last edited:
Mathematics news on Phys.org
The pass through a linear system is the difference at first glimpse. So without further context, I assume it is this, because multiplication with a fixed number is also linear.
 
Is a linear system a sinusoid, or something else? Think about that.
But you can multiply 2 sinusoids and get another sinusoid. The frequency may be different, though.
 
scottdave said:
Is a linear system a sinusoid, or something else? Think about that.
But you can multiply 2 sinusoids and get another sinusoid. The frequency may be different, though.
Yes the linear system is being represented as a complex sinusoid
 
Ah, so the book title is "The Scientist and Engineer's Guide to Digital Signal Processing" and not
Natalie Johnson said:
'DSP for Engineers and Scientists'
Big fat book ! But the website says " Available soon! " -- ah, there is some PDF

On p 561 he explains that addition and subtraction are OK (because real and imaginary parts are not mixed).
For multiplication things do mix up in the way he presents it.

I am very unhappy with the way he treats this material -- and clearly confuses you.
It already goes badly wrong on p 560. It is nonsense to equivalence a real function of ##\omega t## to a complex number ##a+jb##It's beyond the PF scope to rewrite his book, but the way it should be done is to present the real sinusoid $$A\cos(\omega t)+ B\sin(\omega t) = M \cos(\omega t + \phi) $$ as the real part of the complex number (function of M, ##\phi, \omega##) $$M e^{j\omega t + \phi} $$ (with M, the amplitude, ##\phi## and ##\omega## all real numbers)

This way complex multiplication and all other kinds of manipulation work just fine, something he happily uses on p 562.

Natalie Johnson said:
Which is contrary to what he stated?
You are right: Yes, it is. And it confuses readers no end. We should send him a link to your post as feedback -- perhaps he can improve on it ...

'Highly rated' it may be, but I'd go look for a better book / pdf ) There's plenty around.
 
  • Like
Likes   Reactions: scottdave and Natalie Johnson
BvU said:
Ah, so the book title is "The Scientist and Engineer's Guide to Digital Signal Processing" and not
Big fat book ! But the website says " Available soon! " -- ah, there is some PDF

On p 561 he explains that addition and subtraction are OK (because real and imaginary parts are not mixed).
For multiplication things do mix up in the way he presents it.

I am very unhappy with the way he treats this material -- and clearly confuses you.
It already goes badly wrong on p 560. It is nonsense to equivalence a real function of ##\omega t## to a complex number ##a+jb##It's beyond the PF scope to rewrite his book, but the way it should be done is to present the real sinusoid $$A\cos(\omega t)+ B\sin(\omega t) = M \cos(\omega t + \phi) $$ as the real part of the complex number (function of M, ##\phi, \omega##) $$M e^{j\omega t + \phi} $$ (with M, the amplitude, ##\phi## and ##\omega## all real numbers)

This way complex multiplication and all other kinds of manipulation work just fine, something he happily uses on p 562.

You are right: Yes, it is. And it confuses readers no end. We should send him a link to your post as feedback -- perhaps he can improve on it ...

'Highly rated' it may be, but I'd go look for a better book / pdf ) There's plenty around.
Yes this is it. He gives each chapter as a PDF for free on the site and its got many reviews on amazon .com

He does mention there is two ways to use complex numbers and sinusoids, equivalence and substitution and he says that entire chapter will be in regard to substitution on pg 558, second paragraph.

Yes I am confused and not clear what I should be interpreting with addition and multiplication of complex sinusoids.

Does anyone recommend a text or can give guidance? I need to know learn interpretations and pitfalls of operations like multiplying complex sinusoids of different frequencies, adding complex sinusoids of different frequencies...
 
Multiplication of complex numbers produces a number whose real and imaginary parts are combinations of the real and imaginary parts of the individual numbers that were multiplied. Simple multiplication of sin functions is like only multiplying the imaginary parts of complex numbers and does not include other important terms. So those two types of multiplication are not equivalent.
That being said, a complex number is a very good way to represent r*cos() and r*sin() as the real and imaginary parts. And multiplying two complex numbers gives another complex number, representing other r*cos() and r*sin() functions. The real part is $$r_\alpha*cos(\alpha*t)*r_\beta*cos(\beta*t)-r_\alpha*sin(\alpha*t)*r_beta*sin(\beta*t) = r_\alpha*r_\beta*cos((\alpha+\beta)*t)$$ So the real part of the product is a cos() function by the sum-angle formula.
Similarly, the imaginary part of the product is a sin function by the sum-angle formula: $$r_\alpha*r_\beta*sin((\alpha+\beta)*t)$$
Simply multiplying two sin() functions or two cos() functions does not give such a nice result.
 
Further to my previous post. He also says on page 561 Chapter 30 'Complex numbers'
http://www.dspguide.com/ch30.htm

Complex sinusoids must have the same frequency to be added ... which is not the case for real sinusoids? I mean I can add two sinusoids of different frequencies quite easily in MATLAB... So why not with complex?

FactChecker said:
Multiplication of complex numbers produces a number whose real and imaginary parts are combinations of the real and imaginary parts of the individual numbers that were multiplied. Simple multiplication of sin functions is like only multiplying the imaginary parts of complex numbers and does not include other important terms. So those two types of multiplication are not equivalent.
That being said, a complex number is a very good way to represent r*cos() and r*sin() as the real and imaginary parts. And multiplying two complex numbers gives another complex number, representing other r*cos() and r*sin() functions. The real part is $$r_\alpha*cos(\alpha*t)*r_\beta*cos(\beta*t)-r_\alpha*sin(\alpha*t)*r_beta*sin(\beta*t) = r_\alpha*r_\beta*cos((\alpha+\beta)*t)$$ So the real part of the product is a cos() function by the sum-angle formula.
Similarly, the imaginary part of the product is a sin function by the sum-angle formula: $$r_\alpha*r_\beta*sin((\alpha+\beta)*t)$$
Simply multiplying two sin() functions or two cos() functions does not give such a nice result.
I see the maths and I am okay with it, but the interpretation is confusing me and how it relates to the physical system once its taken out of complex form
 
It sounds as if the reference about must be same frequency refers to using a complex number to represent a magnitude and phase of a signal of certain frequency. The math of manipulating these is simplified by representing them as a complex number.
 
  • #10
Natalie Johnson said:
Further to my previous post. He also says on page 561 Chapter 30 'Complex numbers'
http://www.dspguide.com/ch30.htm

Complex sinusoids must have the same frequency to be added ... which is not the case for real sinusoids? I mean I can add two sinusoids of different frequencies quite easily in MATLAB... So why not with complex?I see the maths and I am okay with it, but the interpretation is confusing me and how it relates to the physical system once its taken out of complex form
I'm afraid that I have been careless. Any non-zero complex number can be represented as ##z = r*e^{i\omega}##, but that is a constant number. To keep things simple, let's set ##r = 1##. When you talk about sinusoidal functions, the complex-valued function of time t: ##f(t) = e^{t*i\omega_f} = cos(t*\omega_f) + i*sin(t*\omega_f)## is a good way of representing a cos() or sin() function by the respective real and imaginary parts. Suppose we have another similar function, ##g(t) = e^{t*i\omega_g} = cos(t*\omega_g) + i*sin(t*\omega_g)##. Then their complex product is ##h(t) = f(t)*g(t) = e^{t*i(\omega_f+\omega_g)} = cos(t*(\omega_f+\omega_g)) + i*sin(t*(\omega_f+\omega_g))##, whose real and imaginary parts are cos() and sin() functions again. If you tried to miltiply cos() functions or sin() functions as real numbers, you would not get anything as nice.
The situation with addition is not as nice for either the real or complex functions. Adding two complex functions just adds the real parts to get the real sum and adds the complex parts to get the complex sum. It is perfectly legal to add real sinusoidal functions, but the sum will not be sinusoidal. Similarly, it is perfectly legal to add complex exponential functions, but the sum will not be exponential.
 
Last edited:
  • #11
FactChecker said:
Any non-zero complex number can be represented as ##z = r*e^{i\omega}##
And zero can be represented in the same way, with r = 0.
 
  • Like
Likes   Reactions: FactChecker
  • #12
Natalie Johnson said:
Does anyone recommend a text or can give guidance? I need to know learn interpretations and pitfalls of operations like multiplying complex sinusoids of different frequencies, adding complex sinusoids of different frequencies...
I recall a short writeup by @LCKurtz title There’s nothing imaginary about complex numbers. It's more for teachers but there are similarities with Smith (like in Kurtz 3.1). It sure has the advantage of being al lot more concise !
Lynn's other writeup alternating current impedance is also quite good in your context.
 
  • Like
Likes   Reactions: scottdave

Similar threads

Replies
2
Views
940
  • · Replies 1 ·
Replies
1
Views
9K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 85 ·
3
Replies
85
Views
34K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K