Fourier Series for |x| and Finding g(x): Help Needed

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier series for the function y(x) = |x| over the interval -π to π, and subsequently determining the function g(x) through integration. The original poster seeks assistance in understanding the integration process and how to derive the series for g(x) from the Fourier series of y(x).

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to integrate the Fourier series of y(x) and questions how to relate this to finding g(x). Some participants suggest equating the evaluated integral to the integral of |x|, considering different cases for x.

Discussion Status

Participants are actively engaging with the problem, with some providing guidance on the integration process. The original poster has made progress but is still uncertain about the final steps to find the sum S of the series. There is acknowledgment of a mistake in calculations, and the discussion is ongoing.

Contextual Notes

There are indications of potential confusion regarding the integration and manipulation of series terms. The original poster has noted a specific case for x = π/2 and is exploring the implications of this choice on the series sum.

Benny
Messages
577
Reaction score
0
Hi, can someone help me out with the following question?

Q. Show that the Fourier series for the function y(x) = |x| in the range -pi <= x < pi is

<br /> y\left( x \right) = \frac{\pi }{2} - \frac{4}{\pi }\sum\limits_{m = 0}^\infty {\frac{{\cos \left( {2m + 1} \right)x}}{{\left( {2m + 1} \right)^2 }}} <br />

By integrating term by term from 0 to x, find the function g(x) whose Fourier series is

<br /> \frac{4}{\pi }\sum\limits_{m = 0}^\infty {\frac{{\sin \left( {2m + 1} \right)x}}{{\left( {2m + 1} \right)^3 }}} <br />

Deduce the sum S of the series: 1 - \frac{1}{{3^3 }} + \frac{1}{{5^3 }} - \frac{1}{{7^3 }} + ...

I took the Fourier series for y(x) and I integrated it as follows.

<br /> \int\limits_0^x {\left( {\frac{\pi }{2}} \right)} dt - \frac{4}{\pi }\sum\limits_{m = 0}^\infty {\left( {\int\limits_0^x {\frac{{\cos \left( {2m + 1} \right)t}}{{\left( {2m + 1} \right)^2 }}dt} } \right)} <br />

<br /> = \frac{{\pi x}}{2} - \frac{4}{\pi }\sum\limits_{m = 0}^\infty {\frac{{\sin \left( {2m + 1} \right)x}}{{\left( {2m + 1} \right)^3 }}} <br />

I don't know what to do with it to find the function whose Fourier series is

<br /> \frac{4}{\pi }\sum\limits_{m = 0}^\infty {\frac{{\sin \left( {2m + 1} \right)x}}{{\left( {2m + 1} \right)^3 }}} <br />

Can someone help me get started? I'm not sure what to do.

Edit: Do I just equate the integral I evaluated to the integral of |x|(considering x positive and negative separately) and solve the equation for the sine series?
 
Last edited:
Physics news on Phys.org
Benny said:
Edit: Do I just equate the integral I evaluated to the integral of |x|(considering x positive and negative separately) and solve the equation for the sine series?

Yes, you integrate y(x) (or y(t)) over the interval and then you can find the function g(x).
 
Thanks for the help. I'm just having some problems working out the sum.

From the previous working I have

<br /> \frac{4}{\pi }\sum\limits_{m = 0}^\infty {\frac{{\sin \left( {2m + 1} \right)x}}{{\left( {2m + 1} \right)^3 }}} = \frac{x}{2}\left( {\pi - x} \right)<br /> for x positive or zero.

I have another expression for x negative but it isn't needed in finding the sum so I'll leave it out.

The sum I want to find is: S = 1 - \frac{1}{{3^3 }} + \frac{1}{{5^3 }} - \frac{1}{{7^3 }} + ...

If I set x = pi/2 then sin(2m+1)x = (-1)^m for all integers m >=0. So using the equation from previous working:

<br /> \frac{4}{\pi }\sum\limits_{m = 0}^\infty {\frac{{\sin \left( {2m + 1} \right)\frac{\pi }{2}}}{{\left( {2m + 1} \right)^3 }}} <br />

<br /> = \frac{4}{\pi }\sum\limits_{m = 0}^\infty {\left( { - 1} \right)^m \frac{1}{{\left( {2m + 1} \right)^3 }}} <br />

<br /> = \frac{1}{2}\left( {\frac{\pi }{2}} \right)\left( {\pi - \frac{\pi }{2}} \right)<br />

<br /> \Rightarrow S = \sum\limits_{m = 0}^\infty {\left( { - 1} \right)^m \frac{1}{{\left( {2m + 1} \right)^3 }}} = \frac{\pi }{2}<br />

The answer is S = ((pi)^3)/32. I don't know what I'm leaving out. Any further help would be good thanks.
 
Check your math in the last step. (ie, the cross multiplication)
 
Thanks for the help. I mistakenly got rid of a factor of pi and ignored some constants. It works out now.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
10K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K