I Fourier series coefficients in a not centered interval

  • Thread starter Phys pilot
  • Start date
what are the coefficients for a non centered in zero interval?
Hello, so for a fourier series in the interval [-L,L] with L=L and T=2L the coefficients are given by

$$a_n=\frac{1}{L}\int_{-L}^Lf(t)\cos{\frac{n\pi t}{L}}dt$$
$$b_n=\frac{1}{L}\int_{-L}^Lf(t)\sin{\frac{n\pi t}{L}}dt$$

But if we have an interval like [0,L] with L=L and T=2L (I'm not sure about that), how do we get the coefficients? like this?

$$a_n=\frac{2}{L}\int_{0}^Lf(t)\cos{\frac{n\pi t}{L}}dt$$
$$b_n=\frac{2}{L}\int_{0}^Lf(t)\sin{\frac{n\pi t}{L}}dt$$

Edit: Maybe this is the correct way. [0, 2L]


$$a_n=\frac{1}{L}\int_{0}^{2L}f(t)\cos{\frac{n\pi t}{L}}dt$$
$$b_n=\frac{1}{L}\int_{0}^{2L}f(t)\sin{\frac{n\pi t}{L}}dt$$

If that is rifgt, is this right for this example?
$$f(x)=x+\frac{1}{2}\,\, \text{from 0 to 1/2 and from 1/2 to 1 is zero}$$
so 2L=1, L=1/2

$$a_n=2\int_{0}^{1}f(t)\cos{\frac{n\pi t}{L}}dt$$
$$b_n=2\int_{0}^{1}f(t)\sin{\frac{n\pi t}{L}}dt$$
Last edited:


Homework Helper
It shouldn't make a difference if you define your periodic function on [itex][-L,L][/itex] or [itex][0,2L][/itex].

Want to reply to this thread?

"Fourier series coefficients in a not centered interval" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads