Even and Odd functions - Fourier Series

In summary, the conversation discusses the concept of integrating an odd function over a symmetric interval and how it relates to Fourier series. The person speaking is confused about why the coefficient multiplied by the cosine drops when looking at the graph of the function, which appears to be more similar to a sine wave. They also mention that the function is neither even nor odd and question why the coefficient a_n is zero in the Fourier series. There is also discussion about the integration theorem and the solution provided by others.
  • #1
MMS
148
4
Hello everyone,

I know that the integral of an odd function over a symmetric interval is 0, but there's something that's bothering my mind about it.
Consider, for example, the following isosceles trapezoidal wave in the interval [0,L]:

proxy.php?image=http%3A%2F%2Fs27.postimg.org%2Fl51m2w9v7%2Ftrap.png


When expressed in Fourier series, the coefficient multiplied by the cosine (a_n) drops, but to be honest, I don't see why. By looking at the graph above, the only thing I can tell is that there is reflection symmetry of the function when looked at from L/2 which clearly doesn't indicate an odd function but rather an even one. Also, the interval is symmetric only when looked at from L/2. So, I can't really see how the theorem of odd functions in a symmetric interval is applied (Unless this isn't why the coefficient a_n is zero :p).

I do, however, see by looking at the graph that the function has a sine-like structure so the Fourier series is most probably going to be consisted of sines (Not sure though if that's a way to look at it. Correct me if I'm wrong).
But even when I calculated the coefficient a_n, it didn't drop. Checked my calculations a couple of times and I'm yet to find anything wrong (if needed, I'll upload it).

I'd be really happy if someone could get this straight for me.

Thank you!

P.S: wasn't sure whether to upload here or to a more physics-related section since I'm talking about waves and strings, move it if needed.
 
Mathematics news on Phys.org
  • #2
How does your function continue to the left of the origin? Is it simply the reflection in the line x = 0?

If your function as show is the entire period, then the average value, a0, is pretty clearly not zero, and the function has that even term.

Recall that some functions are even, some are odd, and some are neither. All functions can be resolved into even parts and odd parts, however. Looks to me (without doing the calcs) that your test function is neither even nor odd, but rather consists of both parts.
 
  • #3
MMS said:
Hello everyone,

I know that the integral of an odd function over a symmetric interval is 0, but there's something that's bothering my mind about it.
Consider, for example, the following isosceles trapezoidal wave in the interval [0,L]:

proxy.php?image=http%3A%2F%2Fs27.postimg.org%2Fl51m2w9v7%2Ftrap.png


When expressed in Fourier series, the coefficient multiplied by the cosine (a_n) drops, but to be honest, I don't see why. wrong (if needed, I'll upload it).
By simple looking at this graph, one can observe it has much more similarity with one semicycle of a sine wave than a cosine.
 
  • #4
MMS said:
Hello everyone,

I know that the integral of an odd function over a symmetric interval is 0, but there's something that's bothering my mind about it.
Consider, for example, the following isosceles trapezoidal wave in the interval [0,L]:

proxy.php?image=http%3A%2F%2Fs27.postimg.org%2Fl51m2w9v7%2Ftrap.png


When expressed in Fourier series, the coefficient multiplied by the cosine (a_n) drops, but to be honest, I don't see why. By looking at the graph above, the only thing I can tell is that there is reflection symmetry of the function when looked at from L/2 which clearly doesn't indicate an odd function but rather an even one. Also, the interval is symmetric only when looked at from L/2. So, I can't really see how the theorem of odd functions in a symmetric interval is applied (Unless this isn't why the coefficient a_n is zero :p).

I do, however, see by looking at the graph that the function has a sine-like structure so the Fourier series is most probably going to be consisted of sines (Not sure though if that's a way to look at it. Correct me if I'm wrong).
But even when I calculated the coefficient a_n, it didn't drop. Checked my calculations a couple of times and I'm yet to find anything wrong (if needed, I'll upload it).

I'd be really happy if someone could get this straight for me.

Thank you!

P.S: wasn't sure whether to upload here or to a more physics-related section since I'm talking about waves and strings, move it if needed.
It would help if you wrote exactly what the cos and sin angle variables and the domain of integration you used.
 
  • #5
OldEngr63 said:
How does your function continue to the left of the origin? Is it simply the reflection in the line x = 0?

If your function as show is the entire period, then the average value, a0, is pretty clearly not zero, and the function has that even term.Recall that some functions are even, some are odd, and some are neither. All functions can be resolved into even parts and odd parts, however. Looks to me (without doing the calcs) that your test function is neither even nor odd, but rather consists of both parts.
it is indeed not odd after checking (plugging -x into the function of each interval [0,L/3], [L/3,2L\3], [2L/3,L]).

So, you're claiming that the Fourier series will include both coefficients a_n and b_n?

zoki85 said:
By simple looking at this graph, one can observe it has much more similarity with one semicycle of a sine wave than a cosine.

Yes. I mentioned that in my post. The question is, why does the coefficient multiplied by the cosine (a_n) in the Fourier series drops? It didn't drop by calculation and you can't apply the integration theorem of an odd function in a symmetrical interval.
mathman said:
It would help if you wrote exactly what the cos and sin angle variables and the domain of integration you used.

assuming the maximum height it reaches is a:

Untitled.png
 
Last edited:
  • #6
When I have Maple evaluate your integrals, I do not get zero for a0, an, or bn. This means that your function is neither even nor odd.
 
  • #7
Weird.
Maybe I'm missing something out here. The problem is presented as followed:

"Suppose we arouse a string fixed in both ends in the following way: [The figure I posted above]
Find all the Fourier coefficients for the series representing the shape of the string at t(time)=0."

And in their solution they state that a_n=0 with no explanation.

What am I missing here?
 
  • #8
I think you may be missing that the book can be wrong.
 
  • #9
From your definition for an and bn, the bn terms should be 0, not an. The function is even around L/2. cos is even, while sin is odd over the interval [0,L].

On the other hand if the function goes from -L to L and is odd, the story is just the opposite, since you would have an odd function.
 
  • #10
OldEngr63 said:
I think you may be missing that the book can be wrong.
Unfortunately, it isn't with this problem...

mathman said:
From your definition for an and bn, the bn terms should be 0, not an. The function is even around L/2. cos is even, while sin is odd over the interval [0,L].

On the other hand if the function goes from -L to L and is odd, the story is just the opposite, since you would have an odd function.

I haven't done this before but is expanding a range from [0,L] to [-L,L] to eliminate some coefficients (in this case a_n since it would be an odd function around 0 in a symmetric interval) or is this process not legit?
 
  • #11
MMS said:
Unfortunately, it isn't with this problem...






I haven't done this before but is expanding a range from [0,L] to [-L,L] to eliminate some coefficients (in this case a_n since it would be an odd function around 0 in a symmetric interval) or is this process not legit?
If the function is odd, all cos coefficients = 0. I think you should go back to the original question. Is the picture a half wave and you are asked for a series for the full wave?
 

Related to Even and Odd functions - Fourier Series

What is an even function?

An even function is a mathematical function that satisfies the condition f(x) = f(-x). This means that the function has a symmetrical graph with respect to the y-axis, and the values of the function remain the same when the input is replaced by its negative. Examples of even functions include cosine, exponential, and absolute value functions.

What is an odd function?

An odd function is a mathematical function that satisfies the condition f(x) = -f(-x). This means that the function has a symmetrical graph with respect to the origin, and the values of the function are equal in magnitude but opposite in sign when the input is replaced by its negative. Examples of odd functions include sine, tangent, and cubic functions.

What is a Fourier series?

A Fourier series is a mathematical technique used to represent a periodic function as a sum of sine and cosine functions with different amplitudes and frequencies. It is a powerful tool in signal processing, as it allows us to break down complex functions into simpler components and analyze their behavior.

How do even and odd functions relate to Fourier series?

In a Fourier series, even functions can be represented solely by cosine terms, while odd functions can be represented solely by sine terms. This is because cosine functions are even and sine functions are odd. Additionally, even and odd functions have distinct properties that can be utilized to simplify the calculation of Fourier series coefficients.

What is the significance of even and odd functions in real-world applications?

Even and odd functions have many real-world applications in fields such as physics, engineering, and economics. For example, even functions are used to model symmetric systems, such as a pendulum, while odd functions are used to model anti-symmetric systems, such as an electric dipole. Fourier series, which rely on the properties of even and odd functions, are also widely used in signal processing, image reconstruction, and data analysis.

Similar threads

  • General Math
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
345
Replies
3
Views
492
Replies
1
Views
1K
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
401
Replies
1
Views
1K
  • Topology and Analysis
Replies
4
Views
306
  • Calculus and Beyond Homework Help
Replies
1
Views
306
  • Calculus and Beyond Homework Help
Replies
6
Views
429
Back
Top