Find the Fourier series of a 'broken' function which is periodic in 2L

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier series of a piecewise function defined on the interval [0, L] and periodic with period 2L. The function is described as odd and has discontinuities at specific points, with a constant 'a' that is less than L/2.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive the Fourier series by first sketching the function and identifying its properties, including its oddness and discontinuities. They express uncertainty about the correct formulation of the Fourier coefficients and whether to split the integral into two parts. Other participants discuss the angular frequency and its relationship to the period, while one participant shares their computed series and questions its validity.

Discussion Status

Participants are actively engaging with the problem, with some providing confirmations of the original poster's approach and others sharing their own results. There is a mix of exploration regarding the integration process and the properties of the function, but no consensus has been reached on the final form of the Fourier series.

Contextual Notes

There are discussions about the values of L and the implications of the function's oddness on the Fourier coefficients. The original poster is also considering the implications of the function's discontinuities on the Fourier series representation.

knowlewj01
Messages
100
Reaction score
0

Homework Statement



Sketch the function:

f(x) = \begin{Bmatrix} \frac{-x}{a} & 0 \leq x \leq a \\ \frac{x-L}{L-a} & a \leq x \leq L

where f(x) is an odd function and is periodic in 2L.
And a is a constant less than L/2

Find the Fourier series for the function f(x).



Homework Equations





The Attempt at a Solution



I have attached a rough sketch of the function, its not perfect but good enough to get the general idea. We can see that the function is odd and Discontinuous at f(a) and f(a+L)

the general formula for the Fourier series is:

\frac{a_0}{2} + \sum_{n=1}^{\infty} a_n cos\left(\frac{n\pi x}{L}\right) + b_n sin\left(\frac{n\pi x}{L}\right)

we are told that the function is odd, hence all the a_n terms must be 0.

so the Fourier series is in the form:

\sum_{n=1}^{\infty} b_n sin(\frac{n\pi x}{L})

to find the b_n terms use the formula:


b_n = \frac{1}{2L} \int_{-L}^L f(x) sin(\frac{n\pi x}{L}) dx

odd function * odd function = even function, so:

b_n = \frac{1}{L} \int_0^L f(x) sin(\frac{n\pi x}{L}) dx


so.. do i then split this up into 2 separate integrals:

b_n = \frac{1}{L}\left[ \int_0^a \left(\frac{-x}{a}\right) sin(\frac{n\pi x}{L}) dx + \int_a^L \left(\frac{x-L}{L-a}\right) sin(\frac{n\pi x}{L})\right]

am i able to do this?

the thing that is confusing me the most is wether i am using the right values for L (ie, not sure wether its supposed to be 1/L , 2/L , 1/2L etc)

I followed this through and ended up with a horrible expression containing terms in:

sin\left(\frac{n \pi a}{L}\right)

and

cos\left(\frac{n \pi a}{L}\right)


thanks
 

Attachments

  • Sketch.png
    Sketch.png
    3.5 KB · Views: 538
Last edited:
Physics news on Phys.org
Looks good so far.

The period T is 2L, so the angular frequency is ω = 2π/T = 2π/2L = π/L. The argument of the sines and cosines is nωx, which is equal to what you have.
 
I've worked the integrals through and ended up with the solution:

f(x) = \sum_{n=1}^{\infty} \frac{-2L^2}{an^2 \pi^2 (L-a)} sin\left(\frac{n \pi a}{L}\right) sin\left(\frac{n \pi x}{L}\right)

I'm not sure if this is right. I've never seen any examples where the sin and cos terms havn't become 0 or (-1)^n.
 
Also, I have never seen that way of finding the factor outside the integration

\omega = \frac{2 \pi}{T}

does that work every time? just use T = period.
 
Looks good. Here's a plot of your series using the first ten terms with L=1 and a=0.2.
 

Attachments

  • fourier.png
    fourier.png
    2.8 KB · Views: 500
looks right then, thanks. How did you make that curve? Matlab, or Mathematica or something? You just reminded me that i need to get a copy of one of them :)
 
knowlewj01 said:
Also, I have never seen that way of finding the factor outside the integration

\omega = \frac{2 \pi}{T}

does that work every time? just use T = period.
Yes, this relationship between the angular frequency and period always holds.
knowlewj01 said:
looks right then, thanks. How did you make that curve? Matlab, or Mathematica or something? You just reminded me that i need to get a copy of one of them :)
I used Mathematica.
 
Thanks for Your help
 

Similar threads

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