Help with Fourier Sine Expansion.

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier sine expansion of the function φ(x) = 1. Participants are exploring the mathematical framework and reasoning behind the Fourier series, particularly focusing on the sine terms and their coefficients.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive the coefficients A_m by integrating the product of φ(x) and sine functions, while expressing confusion about the orthogonality of sine functions and the resulting terms. Other participants question the steps taken and suggest clarifying the integration process and the implications of orthogonality.

Discussion Status

Participants are actively engaging with the problem, providing insights into the orthogonality of sine functions and discussing the implications of the derived coefficients. There is a recognition of the need for clarity in the integration steps and the conditions under which certain terms can be discarded.

Contextual Notes

Some participants note the peculiar result of obtaining coefficients only for odd m's, prompting further inquiry into the nature of the Fourier sine series and the specific function being analyzed.

LoganS
Messages
5
Reaction score
0
1. Find the Fourier sine expansion of \phi(x)=1
.2. Homework Equations .
In the lecture the professor worked his stuff from scratch so I was trying to do it like his example.3. The Attempt at a Solution .
I start with \phi(x)=A_1sin(\pi x)+A_2sin(2\pi x)+\cdots+A_nsin(n\pi x), and then add multiply by A_msin(m\pi x) term on each side and integrate from 0 to 1.
So I have \int\phi(x)A_msin(m\pi x)=\int\left(A_1sin(\pi x)A_msin(m\pi x)+A_2sin(2\pi x)A_msin(m\pi x)+\cdots+A_nsin(n\pi x)A_msin(m\pi x)\right).
I know that due to orthogonality you can discard the terms where m is not equal to n (but I don't really understand why so if you can explain this I would appreciate it).
Discarding those terms and using a trig relation I get, \int\phi(x)A_msin(m\pi x)=1/2\int\left(cos((m-n)\pi x)-cos((m+n)\pi x)\right).
I then solve the integral and try to get A_m by alone, but I think I am doing something wrong cause what I get is terribly messy.
The book answer is 1=\frac{4}{\pi}\left(sin(\pi x)+\frac{1}{3}sin(3\pi x)+\frac{1}{5}sin(5\pi x) +\cdots\right). Any and all help is greatly appreciated.
 
Last edited:
Physics news on Phys.org
Welcome to PF,

You can discard those terms because ∫sin(nπx)sin(mπx)dx actually evaluates to zero for m ≠ n (with the appropriate limits of integration). Try it! That's how orthogonality of the basis functions is defined.

I don't really understand what you did. If you discarded all but the m = n terms in the sum, then you should have had

1 = ∫Amsin(mπx)Amsin(mπx)dx = ∫Am2sin2(mπx)dx


That isn't the integral in your post, for some reason...
 
I used the trig identity sin(x)sin(y)=\frac{cos(x-y)-cos(x+y)}{2}. So my term becomes ##A_m \int \left(\frac{ cos(0)-cos(2m\pi x)}{2}\right) =A_m\left(\frac{1}{2}+\frac{sin(2m\pi)}{4m\pi} \right)## Is this not acceptable?

I managed to obtain $$A_m=\frac{4}{\pi}\left(\frac{1}{m}\right)$$ but I can't understand why the answer only has terms for odd m's. Any idea?
 
Last edited:
LoganS said:
I used the trig identity sin(x)sin(y)=\frac{cos(x-y)-cos(x+y)}{2}. So my term becomes ##A_m \int \left(\frac{ cos(0)-cos(2m\pi x)}{2}\right) =A_m\left(\frac{1}{2}+\frac{sin(2m\pi)}{4m\pi} \right)## Is this not acceptable?

I managed to obtain $$A_m=\frac{4}{\pi}\left(\frac{1}{m}\right)$$ but I can't understand why the answer only has terms for odd m's. Any idea?

Can you post your work? After integrating, you should have obtained something of the form

some trig expression = 1

which is only true for discrete values of m.

Personally I would stick to the sine squared, since there is an easy trig identity for that.

Since cos(2a) = cos2(a) - sin2(a)

and cos2(a) = 1 - sin2(a),

it follows that:

cos(2a) = 1 - 2sin2(a)

or sin2(a) = 1/2*[1 - cos(2a)]

and this is REALLY easy to integrate.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K