Finding Fourier coefficients and Fourier Series

Click For Summary

Homework Help Overview

The discussion revolves around finding Fourier coefficients and Fourier series for a piecewise function defined on specific intervals. Participants express uncertainty about the setup and calculations involved in determining these coefficients.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the formulas for Fourier coefficients and the concept of orthonormal bases. There are questions about integrating piecewise functions over specified intervals and whether to include negative intervals in the calculations.

Discussion Status

Some participants have attempted calculations for the Fourier coefficients and are seeking confirmation on their approach. There is ongoing exploration of the correct intervals for integration and the implications of the piecewise nature of the function.

Contextual Notes

Participants note that the lecturer may not have provided sufficient examples or clarity on Fourier series and coefficients, leading to confusion about the application of the formulas and the integration process.

Smazmbazm
Messages
45
Reaction score
0

Homework Statement



Find the Fourier coefficients for the function

*Should be a piecewise function, not sure how to write one in [itex /itex] tags*

[itex]f(x) =[/itex]
[itex]|x|, |x| < 1,[/itex]
[itex]1, 1≤|x|< 2;[/itex]

[itex]f(x+4) = f(x)[/itex]

and

Find the Fourier series for

[itex]f(x) = cos1/2\pi x, -1≤x<1; f(x+2)=f(x)[/itex]

Would be great if someone could explain how to solve these. It feels like our lecturer rushed over Fourier series / coefficients, without giving any similar examples. Thanks for any help
 
Physics news on Phys.org
The Fourier coefficients for a function, f, defined on interval [a, b]. are the coefficients [itex]A_i[/itex] and [itex]B_i[/tex] such that <br /> [tex]f(x)= A_0+ A_1 cos((2\pi/(b-a))x)+ B_1 sin((2\pi/(b-a))x)+ A_2 cos((4\pi/(b-a))x)+ B_2sin((4\pi/(b-a))x)+ \cdot\cdot\cdot= \sum_{i= 0}^\inft A_i cos((2i\pi/(b-a))x)+ B_i sin((2i\pi/(b-a))x)[/tex]<br /> <br /> The "theoretical" point is that the sines and cosines form an "orthonormal basis" for such functions and so we can find the coefficients by taking the "inner product" of f with each of those functions:<br /> <br /> [tex]A_i= \frac{2}{b- a}\int_a^b f(x)cos((2\pi/(b-a))x) dx[/tex]<br /> [tex]B_i= \frac{2}{b- a}\int_a^b f(x)sin((2\pi/(b-a))x) dx[/tex]<br /> <br /> Surely those formulas are in your textbook?[/itex]
 
These are the equations we are given in our notes

[itex]f(x) = \frac{a_{0}}{2} + \sum^{∞}_{m=1} [a_{m}cos\frac{mx\pi}{L} + b_{m}sin\frac{mx\pi}{L}][/itex]

where [itex]a_{m}[/itex] and [itex]b_{m}[/itex] are the Fourier constants.

To determine the Fourier coefficients, we are given

[itex]a_{m} = <cos\frac{mx\pi}{L},f(x)>_{L} = \frac{1}{L} ∫^{L}_{-L}cos\frac{mx\pi}{L}f(x)dx[/itex]
[itex]b_{m} = <sin\frac{mx\pi}{L},f(x)>_{L} = \frac{1}{L} ∫^{L}_{-L}sin\frac{mx\pi}{L}f(x)dx[/itex]

L is calculated from [itex]T = 2L[/itex] where T is the period which is found from [itex]f(x+T) = f(x)[/itex] So L must be 2.

Since the function involves a piecewise function, am I supposed to take the integral of the function over the intervals [0,1] and [1,2]?
 
Smazmbazm said:
Since the function involves a piecewise function, am I supposed to take the integral of the function over the intervals [0,1] and [1,2]?

Yes. Except that your domain also has negative numbers. So you should also include [-1,0] and [-2,-1] somewhere.
 
Ok so here is my attempt for [itex]a_{0}[/itex]

[itex]a_{0} = \frac{1}{2}∫^{-1}_{-2}1dx + \frac{1}{2}∫^{0}_{-1}xdx + \frac{1}{2}∫^{1}_{0}xdx + \frac{1}{2}∫^{2}_{1}1dx[/itex]

Evaluated, I get

[itex]a_{0} = 1[/itex]

Correct? Should be able to do the rest fine now if that's correct
 
Can someone please confirm that this is incorrect / correct so that I know that I'm on the right track or not. Thanks
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K