Alternative Derivation of sin integral

  • Thread starter saybrook1
  • Start date
  • #1
101
4

Homework Statement


Hi guys; I'm just dealing with fourier series and they evaluate integrals such as ∫sin(nπx/L)dx from 0 to L as (L/nπ)[1-(-1)^n]. Can someone please tell me how to get to this conclusion or point me in the direction of a resource that will show me? Additionally I need to solve similar integrals like ∫sin^2(nπx/L)dx and ∫xsin(nπx/L) so I really need to know the technique. Thanks in advance.

Homework Equations


∫sin(nπx/L)dx from 0 to L = (L/nπ)[1-(-1)^n]

The Attempt at a Solution


I would traditionally evaluate ∫sin(nπx/L)dx from 0 to L as [L-Lcos(nπ)]/nπ
 

Answers and Replies

  • #2
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,559
770

Homework Statement


Hi guys; I'm just dealing with fourier series and they evaluate integrals such as ∫sin(nπx/L)dx from 0 to L as (L/nπ)[1-(-1)^n]. Can someone please tell me how to get to this conclusion or point me in the direction of a resource that will show me? Additionally I need to solve similar integrals like ∫sin^2(nπx/L)dx and ∫xsin(nπx/L) so I really need to know the technique. Thanks in advance.

Homework Equations


∫sin(nπx/L)dx from 0 to L = (L/nπ)[1-(-1)^n]

The Attempt at a Solution


I would traditionally evaluate ∫sin(nπx/L)dx from 0 to L as [L-Lcos(nπ)]/nπ

So you have ##\frac{L}{n\pi}(1-\cos(n\pi))##. How does ##\cos(n\pi)## compare with ##(-1)^n##?
 
  • #3
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,398
1,045

Homework Statement


Hi guys; I'm just dealing with fourier series and they evaluate integrals such as ∫sin(nπx/L)dx from 0 to L as (L/nπ)[1-(-1)^n]. Can someone please tell me how to get to this conclusion or point me in the direction of a resource that will show me? Additionally I need to solve similar integrals like ∫sin^2(nπx/L)dx and ∫xsin(nπx/L) so I really need to know the technique. Thanks in advance.

Homework Equations


∫sin(nπx/L)dx from 0 to L = (L/nπ)[1-(-1)^n]

The Attempt at a Solution


I would traditionally evaluate ∫sin(nπx/L)dx from 0 to L as [L-Lcos(nπ)]/nπ
If n is even, then cos(nπ) = 1.

If n is odd, then cos(nπ) = -1.
 
  • #4
101
4
I see now! Thank you LCKurtz and SammyS, I appreciate the help.
 

Related Threads on Alternative Derivation of sin integral

  • Last Post
Replies
6
Views
937
  • Last Post
Replies
4
Views
5K
  • Last Post
Replies
5
Views
7K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
11
Views
13K
  • Last Post
Replies
2
Views
14K
  • Last Post
Replies
2
Views
134K
  • Last Post
Replies
7
Views
1K
  • Last Post
Replies
5
Views
4K
Top