How can I simplify the messy integral in the Fourier series for f_n(x)?

  • Thread starter Thread starter quasar987
  • Start date Start date
  • Tags Tags
    Fourier
Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier expansion of the function defined as f_n(x)=sin((n+1/2)x)/sin(x/2) over the interval [-pi, pi]\{0}. Participants are exploring the complexities of the integral involved in the Fourier series, particularly focusing on simplifying the integral a_n, which has proven to be challenging.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss various methods for simplifying the integral, including the use of trigonometric identities and complex exponentials. There is mention of the potential for a shortcut related to the integral bounds and the periodicity of the sine functions involved. Some participants express uncertainty about their calculations and question the validity of their approaches.

Discussion Status

There are multiple lines of reasoning being explored, with some participants suggesting alternative methods to avoid direct integration. Guidance has been offered regarding the use of trigonometric identities and complex exponentials, although there is no consensus on the best approach yet.

Contextual Notes

Participants note the complexity of the integral and the potential for mistakes in calculations. There is a specific mention of the infinite series arising from one participant's approach, contrasting with another's assertion that the Fourier series is simple and finite.

quasar987
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
I got this set of functions defined on [-pi, pi]\{0} by

[tex]f_n(x)=\frac{sin((n+1/2)x)}{sin(x/2)}[/tex]

and am asked to find its Fourier expansion.

The integral a_n is pretty messy. I've tried using the identity sinAcoB = 0.5(...) but then I'm left with two integrals of the type sin([n±m+1/2]x)/sin(x/2). I've tried pluging numerical values of n and m in "The integrator" and the results are not happy-looking. Type for exemple "Sin[1.5x]/Sin[10x]" at http://integrals.wolfram.com/.

So I was wondering if there was a shortcut to this integral? Maybe linked to the integral bounds? I've found that the (smallest )period of sin([n-m+1/2]x) is [itex]4\pi/(2(n-m)+1)[/itex] while that of sin(x/2) is 4pi. So they are both of period 4pi.
 
Physics news on Phys.org
This is one of those problems where the easiest way to find the Fourier series is not by direct integration. That being said, the integrals can be done for any n and m using trig identities. In other words, the pesky denominator can be gotten rid of by using trig identities over and over again on the numerator.

Another way to do the problem is to write everything in terms of complex exponentials. With some simplification and an appropriate Taylor expansion you can get the right answer without ever computing an integral.

A final hint: the Fourier series is very simple and finite.

Hope you can make some progress.
 
I must have made a mistake because I end up with the serie being infinite and I didn't use a Taylor expansion.

What I did:

[tex]a_m=\frac{1}{\pi}\int_{-\pi}^{\pi}\frac{sin([n+1/2]x)}{sin(x/2)}cos(mx)dx = \frac{1}{\pi}\int_0^{\pi}\mbox{Im}\left\{\frac{e^{i([n-m+1/2]x)}+e^{i([n+m+1/2]x)}}{e^{i(x/2)}}\right\}dx[/tex]

where I use the trig identity sinAcosB = {sin(A-B) + sin(A+B)}/2 before switching to complex exponential notation.

Now set a = m - n and b = m + n. and multiply the integrand by 1 in the form [itex]e^{i(x/2)}e^{-i(x/2)}[/itex], which leads to

[tex]a_m = \frac{1}{\pi}\int_{0}^{\pi}\mbox{Im}\left\{e^{iax}+e^{ibx}\right\}dx[/itex]<br /> <br /> Anything wrong with that so far?[/tex]
 
Last edited:
Here is at least part of the problem:
[tex]Im\left( \frac{1}{e^{ix/2}} \right) = - \sin{x/2} \neq \frac{1}{\sin{x/2}}[/tex]
 

Similar threads

Replies
28
Views
2K
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
9
Views
3K
Replies
2
Views
2K