Adding trig functions for positive output

Click For Summary

Discussion Overview

The discussion revolves around the possibility of combining sine wave functions to create a resultant wave that remains entirely above the positive Y-axis, specifically in the context of generating a DC signal from AC signals without introducing a vertical offset.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Jason O inquires whether it is feasible to add two or three sine wave functions to ensure the resulting wave does not dip below zero, applying this to an electrical project.
  • One participant suggests that achieving a proper DC-like signal with only 2-3 sine waves may not be possible, referencing the need for a Fourier series to approximate a square wave, which typically dips below zero.
  • Stuart Anderson asserts that it is absolutely impossible to create a signal that is everywhere positive using sine waves, citing Fourier theory and the uniqueness of Fourier transforms. He explains that a signal's average value must be positive for it to remain above zero, which cannot be achieved with nonzero frequency sine waves.
  • Another participant acknowledges the mathematical reasoning behind the impossibility of achieving a positive-only signal, confirming their initial intuition regarding the average value of sine functions being zero.
  • A later reply points out that the Fourier Series includes a constant term, which could contribute to a non-zero average, but notes that this would effectively act as a vertical offset, which contradicts the problem's constraints.

Areas of Agreement / Disagreement

Participants generally agree on the mathematical reasoning that a combination of sine waves cannot yield a signal that remains entirely positive without a vertical offset. However, there is some nuance regarding the interpretation of the Fourier Series and the implications of its constant term.

Contextual Notes

The discussion highlights limitations related to the assumptions about signal construction and the definitions of DC and AC signals, as well as the implications of Fourier theory on signal composition.

Jdo300
Messages
548
Reaction score
5
Hello All,

Here's a strange question for you. Is there any possible way to add two or three sine wave functions together so that the resulting wave never goes below the positive Y axis of the graph? These functions can be whatever frequency or phase necessary, just no vertical offset.

I am applying the idea to an electrical project I am working on and I'm wondering if it is possible to combine two or three AC signals in such a way that a DC signal is created (waves never dip below 0). Any comments welcome. If this is absolutely not possible, that’s fine too; just curious :-).

Thanks,
Jason O
 
Physics news on Phys.org
if it is 2-3 signals then may be not. you can't get good DC out.

For a proper DC like signal
You know how you can express a square wave using Fourier Series, but you will need to use many waves to get a good approximation. Now you may say, that's a square wave and half of the time it goes below 0. The trick perhaps is to make the period of this square wave long enough such that it effectively stays above zero for the duration your application requires. Not sure whether it is an efficient and practical way to do things though (probably not).
 
It's absolutely not possible. Fourier theory says that if any function has a Fourier series (or Fourier transform) at all, then that transform is unique. Since a dc signal can be written as exp(i*0*t), this is its expression in terms of Fourier components. No other expression can possibly reduce to this one without violating the uniquenss theorem. Since you are using various sine waves, you must have a Fourier sum involving nonzero frequencies, which is clearly different from a dc signal.

Even if you do not want a true (i.e. perfectly constant) dc signal, you still cannot get a signal that is everywhere positive, because then its average value would be positive. Since the average value of a signal is equal to its Fourier component at frequency=0, the only way for a signal to be everywhere positive is if it has a positive perfectly constant dc component, which the previous paragraph shows is impossible to construct out of sines with nonzero frequencies.

A shorter more intuitive version of this proof is simply to observe that the average value of any sine function is 0, so how could any combination of them produce a function with an average value > 0?

Hope this helps!

--Stuart Anderson
 
Thanks for the insight!

I guessed the same thing that mr_homm said about the waves never being positive because their average value is always 0. But now I know mathematically why this is so. Thanks for the information :-).
 
Strictly speaking, the Fourier Series has a constant term from the n=0 cosine term,..so average is not necessary 0,... but of course, that is just like a vertical offset (which is not allowed in the problem statement)...
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
8
Views
2K
Replies
7
Views
2K
  • · Replies 39 ·
2
Replies
39
Views
5K
  • · Replies 43 ·
2
Replies
43
Views
5K
  • · Replies 9 ·
Replies
9
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 37 ·
2
Replies
37
Views
4K