| New Reply |
semi urgent Fourier series question (small) |
Share Thread | Thread Tools |
| Nov25-12, 07:26 AM | #1 |
|
|
semi urgent Fourier series question (small)
1. The problem statement, all variables and given/known data
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. |
| Nov25-12, 08:33 AM | #2 |
|
Mentor
|
Your notation looks strange.
You should not get 0 in the integral for n=1, n=2. x(t) = 1/2 + 1*cos(t) + 1*cos(2t) + 0*cos(3t) +... is expressed as fourier series already, you can simply read off the parameters. |
| Nov25-12, 12:06 PM | #3 |
|
|
But as mentioned, x(t) is already expressed as a fourier series -- a sum of harmonically related sinusoids. If you proceeded with your integrals anyway, you would find that the integral was zero for all terms except the one cosine term that matched the frequency of cos(nw0t) and therefore only those an would be non-zero (and would be equal to the coefficients you see in x(t) already). This property is what the fourier series depends on:- the area under the product of two sinusoids of different frequency over one period is zero. |
| Nov25-12, 08:30 PM | #4 |
|
|
semi urgent Fourier series question (small)Oh, ok, so what is the tell tale sign it is already a fourier series, if it a signal was just x(t) = cos(t) how would I know, without other terms to sum? P.S could you please have a look here: http://www.physicsforums.com/showthread.php?t=654650 Thanks!! |
| Nov25-12, 08:54 PM | #5 |
|
|
If you could, could you please take a look at this: http://www.physicsforums.com/showthread.php?t=654650 Thanks very much! |
| Nov25-12, 09:52 PM | #6 |
|
|
Ok that got me nowhere fast. I still couldn't get it,
how would one integrate: an = 2/2pi ∫02pi (1/2 + cos(t) + cos(2t)).cos(nω0t) dt ? Many Thanks again |
| Nov26-12, 12:09 AM | #7 |
|
|
x(t) = 1/2 + cos(t) + cos(2t) cos(t) has period 2∏ cos(2t) has period ∏ The period of x(t) will be least common multiple of ∏ and 2∏, so 2∏. So the fundamental frequency of x(t) will be w0 = 2∏f0 = 2∏/T = 2∏/2∏ = 1 This means your fourier coefficients will be found from: [itex]a_{n} = \frac{1}{\pi}\int^{2\pi}_{0}(\frac{1}{2} + cos t + cos 2t) cos (nt) dt[/itex] The integral of the product of two sinusoids over one period is zero unless their frequencies are the same. So n=1 will only produce one non-zero term of x(t) [itex]a_{1} = \frac{1}{\pi}\int^{2\pi}_{0}(\frac{1}{2} + cos t + cos 2t) cos (t) dt[/itex] [itex]a_{1} = \frac{1}{\pi}\int^{2\pi}_{0}cos (t) cos (t) dt[/itex] [itex]a_{1} = \frac{1}{\pi}\int^{2\pi}_{0} cos^{2}t dt[/itex] [itex]a_{1} = \frac{1}{\pi}\int^{2\pi}_{0} \frac{1+cos(2t)}{2} dt[/itex] which is non-zero and equal to the coefficient of cos(t) in the x(t) equation. Likewise there will be a non-zero a2 term but all other terms n > 2 will be zero. |
| Nov26-12, 12:23 AM | #8 |
|
|
So to varify I understand what you mean, the integral of (cos(x))/2 and (cos(x).cos(2x)) is zero over one period but because (cos(x))^2 is the same frequency of 1/2pi. Likewise integrating: sin(t).(sin(2t))^2 would be zero? THANKS P.S I can understand if I'm being impetuous by bring this up again but did you get a chance to look at: http://www.physicsforums.com/showthread.php?t=654650 thanks anyway for your time. |
| Nov26-12, 12:55 AM | #9 |
|
|
You may have some doubt in considering whether sin(x)cos(x) will be zero if integrated over a period. Both sinusoids have the same frequency but you can see the integral will be zero by considering that sin(2x)=2sin(x)cos(x). Cross products of sin and cos will be zero if integrated over a period. This property of sinusoids is called orthogonality and that term is no accident. There is an analogy between orthogonal vectors and orthogonal functions where products of orthogonal functions integrated over a period equalling zero is analagous to taking the dot product of two vectors and coming up with zero. Just like you can expand vectors as the sum of orthogonal basis vectors (i, j, k eg) you can expand functions as the sum of orthogonal functions. In fourier series those functions are sums of harmnocially related sinusoids. That is not the only way to expand functions. Another way is via power series where a Taylor series represents a function as a sum of powers in x. There are infinitely many possible basis functions -- sinusoids in fourier series and powers in x in taylor series are not the only ones. |
| Nov26-12, 01:07 AM | #10 |
|
|
Ok, I'll need to do some more digging into orthogonality, is that like with the wronskian? I'm a bit confused by that first paragraph you wrote, so you're saying because sin.cos is = sin(2x)/2, when integrated over a period ∏(?) it's zero? Ok so sinusoids2 don't really come up in Fourier, so if I get one I'm probably doing something wrong. Out of curiosity, you said sinusoids squared are tricky (always positive) so integrating like cos3(t) over a period will be positive or negative, but not zero? Thanks! |
| Nov26-12, 01:24 AM | #11 |
|
|
I suspect there is a general result here if these things are expressed as exponentials but I have never investigated this. |
| Nov26-12, 01:40 AM | #12 |
|
|
I see. Could I just look at (sin(x))^3 and say 'well that's an odd function, so over a period it's zero'?
I think I now understand what and how to take into concideration, thanks. (I hope I explained what I did in evaluating that transform in the other thread adoquately). Thanks heaps. |
| New Reply |
| Tags |
| fourier series |
| Thread Tools | |
Similar Threads for: semi urgent Fourier series question (small)
|
||||
| Thread | Forum | Replies | ||
| Varification needed for small trigonometrical Fourier series, PRESSING | Electrical Engineering | 3 | ||
| Small but pressing Fourier series question | Engineering, Comp Sci, & Technology Homework | 1 | ||
| An Energy Question: Semi-Urgent | Introductory Physics Homework | 16 | ||
| Plz find urgent ::Fourier Series problem? | Precalculus Mathematics Homework | 3 | ||
| Urgent Solutin needed for HW! Fourier series! | Calculus & Beyond Homework | 2 | ||