Solve 3 Integrals with Fourier Integral - Cyrus

  • Thread starter Thread starter Cyrus
  • Start date Start date
  • Tags Tags
    Fourier Integral
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 10K views
Cyrus
Messages
3,246
Reaction score
17
Can someone please show me how to solve these three integrals, or proivde a link that does. I can't think of a way to solve it right now and I don't have any free time to do so. Thank you!


[tex]\int cos(nx)cos(mx)dx[/tex]

[tex]\int sin(nx)sin(mx)dx[/tex]

[tex]\int sin(nx)cos(mx) dx[/tex]

The thing that makes it tricky is the different coefficients of m and n in each trig term, so you can't make them cos^2(x) or sin^2(x) or use trig identities. (at least I can't see how). Anywho, thanks once more.


Cyrus. :smile:
 
Last edited:
Physics news on Phys.org
Trig identities.

sin(a+ b)= sin(a)cos(b)+ cos(a)sin(b)
sin(a- b)= sin(a)cos(-b)+ cos(a)sin(-b) but cos(-b)= cos(b) sin(-b)= -sin(b)
= sin(a)cos(b) - cos(a)sin(b)

Adding, sin(a+b)+ sin(a- b)= 2sin(a)cos(b).

To integrate sin(nx)cos(mx) let a= nx, b= mx to write
sin(nx)cos(mx)= (1/2)sin((m+n)x)+ (1/2)sin((m-n)x).

cos(a+ b)= cos(a)cos(b)- sin(a)sin(b)
cos(a- b)= cos(a)cos(b)+ sin(a)sin(b)

Adding, cos(a+b)+ cos(a-b)= 2cos(a)cos(b)
To integrate cos(nx)cos(mx), let a= nx, b= mx to write
cos(nx)cos(mx)= (1/2)cos((m+n)x)+ (1/2)cos((m-n)x)

Subtracting, cos(a+b)- cos(a-b)= 2sin(a)sin(b)
To integrate sin(nx)sin(mx), let a= nx, b= mx to write
sin(nx)sin(mx)= (1/2)cos((m+n)x)- (1/2)cos((m-n)x)
 
cos(-b)= cos(b) sin(-b)= -sin(b)

Im not following how this is true, pluging in a value for b and none of them are coming out equal?

Ahhh, I figure your just missing a comma inbetween there. You meant cos(-b) = cos(b) and sin(-b)= - sin(b).

Thats a VERY clever trick to solve it. I would never have spotted it! Thanks!
 
Last edited:
A follow up, can you show me how the series is reduced, its been a while since i touched a series, a long while.

[tex]cos(n \pi) = (-1) ^n[/tex]

My book says [tex]cos(x) = (-1)^n x^{2n} / (2n!)[/tex]

what happened to the fractional part?

The n is different for each equation, poor notation sorry.

Thanks twice.

Cyrus
 
Last edited:
oops your right.
My question is how did they arrive at this:

[tex]cos(n \pi) = (-1) ^n[/tex]

oh, I see now, because its just positive of negative 1 depending on the coefficient. Crap. never mind......I got it now. :-)