Fourier Series of a function not centered at zero

Click For Summary
The discussion focuses on calculating the Fourier series for the function f(x) = x on the interval [0, 2). The main challenge arises from the function not being centered at zero, leading to confusion about the limits of integration. It is clarified that integration can occur over any interval of length 2L, which allows for flexibility in choosing limits. The periodic nature of the function means that integrating from different starting points yields the same result. Understanding this principle is crucial for correctly applying the Fourier series equations.
MedPhysKid235

Homework Statement


f(x)=x on [0,2)

Homework Equations


Fourier Series is given as:
f(x)=a0/2 + n=1∑(an*cos(nπx/L) + bn*sin(nπx/L)
a0=1/L*-LL∫f(x)dx

The Attempt at a Solution


Basically what I am being taught is that we take the Period, T, to be equal to 2L so, T=2L
In this case T=2 and L=1. My issue arises when looking at my limits of integration. If the function was centered at zero and the range was [-1, 1) that would be fine, but in this case it isn't. So doing the integral from -L to L doesn't make sense to me for this question since the function from 0 to 2 which I want to represent by the Fourier series is different than f(x) on -1 to 1.

I guess you could say this is more of a situational based question rather than how to actually solve it, I am just trying to understand which Fourier series equations to use and how to plug the given functions into them, as this was something that was very poorly taught to me and I can't find much information on this situation.

Thanks in advance!
 
Physics news on Phys.org
The way your problem is given, there could be many answers. If you just care that you have a FS that represents ##x## on ##[0,2)##, you could, for example, use ##f(x) = |x|## on ##[-2,2]## and expand it in a half-range cosine expansion. Or you could use ##f(x) = x## on ##[-2,2]## and use a half-range sine expansion. Or if you actually want what you have given to be a full period, you could use ##T = 2## and simply take ##a_n = \frac 2 T \int_0^T x \cos(\frac{2n\pi x}{T})## and similarly for ##a_0## and ##b_n##.

In terms of ##L = \frac T 2## your ##a_n = \frac 1 L \int_0^{2L} x \cos(\frac{n\pi x}{L})##. Note that this last integral could be over any period, but you want to use a period where you have the correct formula for ##f(x)##.
 
Last edited:
  • Like
Likes NFuller
Remember that the function is assumed to be periodic. I've attached a plot of two periods of the function based on your interpretation of the problem. You should be able to convince yourself that integrating from -1 to 0 gives you the same result as integrating from 1 to 2 since the function of interest, sine, and cosine are all periodic. You can integrate over any interval of length 2L, so choose the one where it's easiest to write down the integrals.
 

Attachments

ahhhh, so I can integrate over any part of the periodic function. Thanks so much for the help, I'll let you know how I make out.
 
MedPhysKid235 said:
ahhhh, so I can integrate over any part of the periodic function. Thanks so much for the help, I'll let you know how I make out.

That is generally true for any periodic function. Say ##f(x)## has period ##P##, so ##f(x+P)=f(x)## for all ##x##. Then ##\int_t^{t+P}~f(x)~dx## is independent of ##t##. So it doesn't matter where the integral starts. While that may seem "obvious", if you want to prove that is true, call that expression ##H(t)## and calculate ##H'(t)##.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
1K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K