Help with Fourier Series: Solving for Coefficients and Finding Pi

  • Thread starter Thread starter bobese
  • Start date Start date
  • Tags Tags
    Fourier
Click For Summary
The discussion revolves around solving the Fourier series for a piecewise function defined in three intervals, ultimately leading to a formula for pi. The user correctly identifies that the function is odd, resulting in only sine coefficients, and derives a series that suggests pi can be expressed as 2 times an alternating series. However, the user encounters confusion regarding the convergence of the Fourier series at the discontinuity point x=5, where it converges to -1/2 instead of the expected values of -1 or 0. Additionally, there is uncertainty about applying Parseval's theorem to find the coefficient related to pi squared, particularly due to the varying function values across the intervals. Clarification on these points is sought to ensure accurate calculations and understanding of Fourier series behavior at discontinuities.
bobese
Messages
6
Reaction score
0
i'm new here so i didn't really know where to post this but I've been trying to solve the Fourier series for the following function for ages but have failed miserably on several occasions:

f(x) = 1 ; when -10 ≤ x < -5
f(x) = 0 ; when -5 ≤ x < 5
f(x) = -1 ; when 5 ≤ x < 10

The function appears to be odd when sketched so therefore only the sine coefficients exist which i found to be:

bn = [2/n(pi)]*[cos (n(pi)) - cos (0.5n(pi))]

This then gave the following results using a substitution of 10/2 instead of x in the sin parts multiplied by the corresponding bn coefficient:

f(x) = -[2/(pi)]*[1 - 1/3 + 1/5 - 1/7 ...]

That is then supposed to be used to find the following expression for pi:
pi = 4*(1 - 1/3 + 1/5 - 1/7 ...)

However, with my results i found the following:
pi = 2*(1 - 1/3 + 1/5 - 1/7 ...)


Can anyone help pinpoint my mistake please :(?

any help would be highly appreciated.
 
Physics news on Phys.org
At x=5 the function f is discontinuous. Do you know where a Fourier series of f converges to at a point discontinuity?
 
unfortunately i do not ... i never was any good with anything to do with Fourier series :(
 
I wouldn't say that. You computed the series perfectly. It's a little technical matter:
You substituted x=10/2 in the series and in the function and equated the two. In this case f(5)=-1. However, it should be obvious that if the function was -1 for 5<x<=10 and 0 for -5 ≤ x ≤ 5 it would give the same Fourier series, but now f(5)=0.

If the function f is continuous at, then its Fourier series converges pointwise to f, but if there is a point discontinuity this is not the case. In general the Fourier series converges to \frac{f(x^+)+f(x^-)}{2}. So in this case, at x=5 the series converges not to 0 or -1, but -1/2 which gives your factor of 2.
 
Last edited:
Thank you very much for that :)
 
umm ... sorry to bother once again but when using parseval's theorem to calculate the coefficient alpha in front of pi squared for:the formula i was taught is:

(since the other terms are zero as a result of the odd function)

however, was not taught how to apply... do i just take the equation of pi found above and just square both sides then arrange for pi squared? if so the answer i got was 1/16 for the coefficient which i hope is correct :confused: it seems quite reasonable to do that since the bn terms are exactly the same as the the expression inside the sigma ... I'm not sure :confused: it's the limits of the left hand side of the second equation that has me confused since f(x) takes different values between the interval and I am not quite sure what to do with that :frown:
 
Last edited by a moderator:
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 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K