Fourier series and even extension of function

Click For Summary
SUMMARY

The forum discussion centers on the calculation of the Fourier series for the function f(x) = π - x over the interval [0, π] and its even extension over [-π, π]. The user initially miscalculated the Fourier coefficients a_0 and a_n, particularly by incorrectly integrating over the entire interval without applying the even extension. The correct formulation requires the constant term to be of the form a_0/√(2π) and adjustments based on the parity of n. The Parseval identity is also discussed, emphasizing the need to correctly compute |a_n| to derive the result π²/8.

PREREQUISITES
  • Understanding of Fourier series and their coefficients
  • Knowledge of even and odd function extensions
  • Familiarity with Parseval's identity in Fourier analysis
  • Basic integration techniques over defined intervals
NEXT STEPS
  • Review the derivation of Fourier coefficients for piecewise functions
  • Study the application of Parseval's identity in Fourier series
  • Learn about even and odd extensions of functions in Fourier analysis
  • Explore examples of Fourier series convergence and their applications
USEFUL FOR

Mathematicians, physics students, and engineers interested in Fourier analysis, particularly those working with periodic functions and signal processing.

bznm
Messages
181
Reaction score
0
I'm trying to solve this exercise but I have some problems, because I haven't seen an exercise of this type before.

"[itex]f(x)= \pi -x[/itex] in [itex][0, \pi][/itex]

Let's consider the even extension of f(x) in [itex][-\pi, \pi][/itex]
and write the Fourier Series using this set ( [itex]\frac{1}{\sqrt{2 \pi}}, \frac{1}{\sqrt {\pi}} \cos nx[/itex] )
and use the Parseval identity to prove:
[itex]\sum \frac{1}{(2k+1)^2}= \frac{\pi ^2}{8}[/itex]"

My attempt:

[itex]a_0= \frac{1}{\sqrt {2 \pi}} \int_{-\pi}^{\pi} f(x)=\frac{1}{\sqrt {2 \pi}} \int_{-\pi}^{\pi} (\pi -x) dx= \frac{2 \pi^2}{\sqrt {2\pi}}[/itex]

[itex]a_n= \frac{2}{\sqrt \pi}\int_{0}^{\pi} f(x)\cos nx dx=\frac{2}{\sqrt \pi} \frac{1-cos \pi n}{n^2}= \frac{2[1+(-1)^n]}{ \sqrt {\pi n^2}}[/itex]

So,

[itex]f(x)=\frac{2 \pi^2}{\sqrt {2\pi}}+\sum_{n=1}^{\infty}\frac{2[1-(-1)^n]}{ \sqrt {\pi n^2}} \frac {\cos nx}{\sqrt \pi}[/itex]

Could you tell me if these steps are correct? Are the formulas for Fourier coefficients correct?For the second part of the exercise, I have and enormous doubt:
It was told me that in similar cases, Parseval Identity is:

[itex]\int_{-\pi}^{\pi} |f(x)|^2 dx= a_o^2+ \sum |a_n|^2[/itex]

I don't know how to do [itex]|a_n|[/itex], because there is the term [itex](-1)^n[/itex]..
And I have a lot of doubts to obtain the result [itex]{\pi}^2/8[/itex] using the results that I have obtained...

Many thanks for your precious help!
 
Physics news on Phys.org
No, your results aren't correct. The ##n^2## shouldn't be inside the square root in ##a_n##. It also doesn't look like you integrated correctly. In your expression for ##a_0##, you're integrating over the entire interval, but you didn't use the even extension for f(x). Finally, the constant term in the series isn't correct. It should be of the form ##a_0/\sqrt{2\pi}## where ##1/\sqrt{2\pi}## is there because it's the basis function.

You can simplify the expression for the series a bit by considering what happens when ##n## is even and when ##n## is odd.
 
Last edited:
you're right... :/ many thanks!
 

Similar threads

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