Deriving of the constants in Fourier Analysis

  • #1
PsychonautQQ
784
11

Homework Statement


Wow LaTex fail... anyone know how i make this look like not ****? I had it looking all pretty on http://www.codecogs.com/latex/eqneditor.php and it gave me these codes as my latex markup but it didn't come out right... why do they look like source code and not the pretty equations they are supposed to?

Fourier Analysis equation:
[tex]$\displaystyle v(t)=a_0 + \sum_{n=1}^N a_ncos(nwt) + \sum_{m=1}^M a_msin(mwt) [/tex]
[tex]\displaystyle a_n= \frac{2}{T}\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}v\(t)cos(nwt)\, dt [/tex]
[tex]\displaystyle b_n= \frac{2}{T}\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}v\(t)sin(mwt)\, dt[/tex]

To show that the coefficients a and b are given by the equations above, we multiply v(t) by cos(2∏kt/T) and integrate with respect to time from t = -T/2 to t = T/2

[tex]\displaystyle \int\limits_{\frac{-T}{2}}^{\frac{T}{2}}\ ((a_0+\sum_{n=1}^N a_n cos(\frac{2\pi nt}{T}) +\sum_{m=1}^M b_m sin(\frac{2\pi mt}{T})) [/tex]

which will give us three types of integrals
[tex]\displaystyle a_0\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}cos\frac{2\pi kt}{T}\,\ dt=0[/tex]
[tex]\displaystyle \sum_{m=1}^M b_m\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}sin\frac{2\pi mt}{T}cos\frac{2\pi kt}{T}dt=0[/tex]
[tex]\displaystyle \sum_{n=1}^N a_n\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}cos\frac{2\pi nt}{T}cos\frac{2\pi kt}{T}dt= T/2 (n=k)[/tex]

My question is why do the first two of these three integrals equal zero?
(first time using LaTex holy crap took forever
 
Last edited:

Answers and Replies

  • #2
DeltaFunction
14
2
Assuming I'm deciphering the equations correctly, then the first integrals equal zero because the integral will be a sin function, and between the limits you will always have integer multiples of pi for any k (sin k*pi = sin(-k*pi) = 0)
The second integral is zero because it is an odd function integrated between symmetric limits. (an odd function multiplied by an even function is an odd function).
 
Last edited:
  • #3
TSny
Homework Helper
Gold Member
13,962
4,136

Homework Statement


Wow LaTex fail... anyone know how i make this look like not ****? I had it looking all pretty on http://www.codecogs.com/latex/eqneditor.php and it gave me these codes as my latex markup but it didn't come out right... why do they look like source code and not the pretty equations they are supposed to?

Fourier Analysis equation:
$$\displaystyle v(t)=a_0 + \sum_{n=1}^N a_ncos(nwt) + \sum_{m=1}^M a_msin(mwt)$$
$$\displaystyle a_n= \frac{2}{T}\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}v\(t)cos(nwt)\, dt$$
$$\displaystyle b_n= \frac{2}{T}\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}v\(t)sin(mwt)\, dt$$

To show that the coefficients a and b are given by the equations above, we multiply v(t) by cos(2∏kt/T) and integrate with respect to time from t = -T/2 to t = T/2

$$\displaystyle \int\limits_{\frac{-T}{2}}^{\frac{T}{2}}\ ((a_0+\sum_{n=1}^N a_n cos(\frac{2\pi nt}{T}) +\sum_{m=1}^M b_m sin(\frac{2\pi mt}{T}))$$

which will give us three types of integrals
$$\displaystyle a_0\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}cos\frac{2\pi kt}{T}\,\ dt=0$$
$$\displaystyle \sum_{m=1}^M b_m\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}sin\frac{2\pi mt}{T}cos\frac{2\pi kt}{T}dt=0$$
$$\displaystyle \sum_{n=1}^N a_n\int\limits_{\frac{-T}{2}}^{\frac{T}{2}}cos\frac{2\pi nt}{T}cos\frac{2\pi kt}{T}dt= T/2 (n=k)$$

My question is why do the first two of these three integrals equal zero?
(first time using LaTex holy crap took forever

Use $$ instead of $. More here:https://www.physicsforums.com/showpost.php?p=3977517&postcount=3
 
  • #4
PsychonautQQ
784
11
Assuming I'm deciphering the equations correctly, then the first integrals equal zero because the integral will be a sin function, and between the limits you will always have integer multiples of pi for any k (sin k*pi = sin(-k*pi) = 0)
The second integral is zero because it is an odd function integrated between symmetric limits. (an odd function multiplied by an even function is an odd function).

So sin is an odd function then? Why is cos * sin an odd function? I can't find any good explanations on google.

P.S thanks Tsny
 
  • #5
Jufro
92
8
It is kinda simple, just like multiplying numbers, an odd times an even number results in an odd number.

If you want a more rigorous definition then you can go back to the definition of odd and even. Assume g(x) is odd and f(x) is even.

Then the product h(x)= f(x)*g(x). To check the parity of h(x) we find h(-x)= g(-x)*f(-x).

Remembering what it means to be an odd or even function we get g(-x)*f(-x)= -g(x)*f(x)= -h(x).

Leaving you with h(x)= -h(-x); otherwise known as an odd function.
 

Suggested for: Deriving of the constants in Fourier Analysis

Replies
29
Views
536
  • Last Post
Replies
3
Views
243
Replies
5
Views
394
  • Last Post
Replies
15
Views
405
  • Last Post
Replies
2
Views
254
Replies
2
Views
342
  • Last Post
Replies
4
Views
331
Replies
4
Views
297
  • Last Post
Replies
4
Views
498
Top