Fourier series of a lineer function

Click For Summary

Discussion Overview

The discussion revolves around the Fourier series expansion of a linear function, specifically f(x) = x over the interval (-1, 1), as well as the Fourier transform of the function e^{-bx^2}. Participants are addressing issues related to the integration process, the nature of the Fourier series, and the conditions necessary for the series to approximate the original function.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in expanding the function f(x) = x into a Fourier series and questions the correct period T for the integration.
  • Another participant points out that the integration domain should be (-1, 1) and notes that since the function is odd, the a0 and cosine coefficients will be zero, leaving only sine terms in the series.
  • A third participant mentions that the Fourier series will not match the original function unless all infinitely many terms are included, which is a necessary condition for similarity.
  • The original poster seeks clarification on the value of 1/T and whether it should be 1/2 or 1/1.
  • The discussion shifts to the function e^{-bx^2}, with one participant questioning whether to use Fourier series or Fourier transform, suggesting that the integral may not have an analytic solution.
  • A later reply asserts that the integral can be evaluated analytically by completing the square in the exponential, leading to an expression involving the Gaussian function.

Areas of Agreement / Disagreement

Participants generally agree on the need for infinite terms in the Fourier series for accurate representation, but there is uncertainty regarding the correct period T and the approach to the function e^{-bx^2.

Contextual Notes

There are unresolved questions about the integration limits and the correct interpretation of T in the context of Fourier series. Additionally, the discussion on the Fourier transform of e^{-bx^2} highlights the complexity of the integral involved.

gulsen
Messages
215
Reaction score
0
Hello,

My QP homework involves (not is) Fourier expansion. i think I'm done with the physics part and for the answer, i need to expand a function to Fourier series and solve it. So far well, but I couldn't solve that simple function:

f(x) = x (in -1,1 interval)

I've found various series, but when I graph them, it doesn't match the original function.
I've tried:

[tex]a_0 = \frac{1}{T} \int_0^T {f(x) dx}[/tex]
with T = 4 (well, is it 2 or 4!?), and got 8. similarly
[tex]a_n = \frac{1}{T} \int_0^T{f(x)cos(\frac{2 \pi n}{T}) dx}[/tex]
and evertime I tried to solve, I've just messed it up.
Can someone help?...
 
Physics news on Phys.org
You've got the integration domain screwed up.
Your interval should be (-1,1) not (0,T). Furthermore since your function (x) is odd, a0 and all the cos coefficients will be 0. Your series will have only sin terms.
 
And on top of that, you shouldn't expect the graph of a Fourier series to match that of the original function. To do that a necessary (but not sufficient!) condition is that you have to include all of the infinitely many terms of the series.
 
thanks!
I know that I'll need infinite elements to get the original graph. I was just looking for similarity. But what about 1/T? should it be 1/2 or 1/1?

And by the way, there's also a function in the form of [tex]e^{-bx^2}[/tex] that should also be expanded to Fourier series. As far I know, there's no analytic solution for the intergral for that function. So how am I supposed to write a Fourier series?
 
Regarding [itex]e^{-bx^2}[/itex], do you mean Fourier series or Fourier transform? If the latter then you can certainly do the integration.
 
I mean Fourier transfrom... well, since there's no analytic integral, it cannot be solved analyitcally?
 
You certainly can evaluate the integral analytically:
[tex]\int_{-\infty}^{\infty}e^{-a x^2 + i k x}dx[/tex]
Just complete the square in the exponential and you essentially have the integral of the Gaussian function for which you can obtain an analytic expression.
 

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 139 ·
5
Replies
139
Views
12K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 23 ·
Replies
23
Views
6K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K