Varification needed for small trigonometrical Fourier series, PRESSING

AI Thread Summary
The discussion centers on verifying the Fourier series representation of the function x(t) = 1/2 + cos(t) + cos(2t). The user correctly identifies that a0 = 1/2 and that all bn coefficients are zero due to the even nature of the function. However, confusion arises in calculating the an coefficients, where the user initially finds them to be zero, contrary to the expected result of an = 1. Clarifications indicate that the integration process must be revisited, as the correct application of the Fourier series formula should yield consistent results with the original function. The thread emphasizes the importance of careful calculation and verification in Fourier series analysis.
toneboy1
Messages
172
Reaction score
0
Hi,
I have x(t) = 1/2 + cos(t) + cos(2t)

so I can see that a0 = 1/2
and that it is an even function so there is no bn
Also that T = 2pi so
an = 2/2pi ∫02pi x(t).cos(nω0t) dt

but when I integrate this I get an = 0 yet I've been told that the answer is

x(t) = 1/2 + Ʃn = 12 cos(nω0t)

which would mean that an = 1, but I'm not sure how.

Anyone?

Thanks heaps!EDIT: I just found another related problem I'm struggling with if anyone's interested:
https://www.physicsforums.com/showthread.php?t=654607
 
Last edited:
Engineering news on Phys.org
This has been adequately addressed already. Your x(t) is already a Fourier series. If you computed the coefficients to be different you made a math error.
 


Hello,

Thank you for sharing your question and concern about verification for small trigonometrical Fourier series. It seems like you have correctly identified that x(t) is an even function, which means that all the bn terms will be equal to zero. However, the issue you are facing is with calculating the an terms.

In order to verify the small trigonometrical Fourier series, you will need to use the formula for calculating the an terms:

an = 2/T ∫0T x(t).cos(nω0t) dt

In your case, T = 2π and ω0 = 1, so the formula becomes:

an = 2/2π ∫0 2π [1/2 + cos(t) + cos(2t)].cos(nt) dt

Now, when you integrate this, you will get:

an = 1/π [sin(nt) + 1/2 sin(t) + 1/4 sin(2t)] evaluated from 0 to 2π

Since the sine function is periodic with a period of 2π, sin(nt) evaluated at 2π will be equal to sin(0) = 0. Similarly, sin(2t) evaluated at 2π will also be equal to sin(0) = 0. This leaves us with:

an = 1/π [1/2 sin(t)] evaluated from 0 to 2π

Using the fact that sin(t) is also an odd function, we know that sin(t) evaluated at 0 will be equal to 0 and sin(t) evaluated at 2π will also be equal to 0. Therefore, the an terms will be equal to 0, which is the same result you got.

However, when you use the formula for the Fourier series, you will get:

x(t) = 1/2 + Ʃn = 1^2 cos(nω0t) = 1/2 + cos(t) + cos(2t)

So, there must be a mistake in the formula you were using to calculate the an terms. I suggest double-checking the formula and making sure you are using the correct values for T and ω0.

As for the related problem you mentioned, I recommend posting it on a physics forum or discussing it with a colleague or mentor who has experience with Fourier series. They may be able to
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top