Question Fourier half range expansion of function on 0 < x < p

Click For Summary

Discussion Overview

The discussion revolves around the Fourier half-range expansion of a function defined on the interval 0 < x < p. Participants explore the implications of using sine and cosine series expansions, particularly in the context of non-periodic functions and the effects of different extensions on convergence and representation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant proposes that using both sine and cosine expansions for a function defined on 0 < x < p, while nullifying the function on -p < x < 0, may better preserve the original shape of the function.
  • Another participant argues that the choice of extension affects the rate of convergence of the Fourier series, noting that even extensions yield faster convergence due to continuity, while odd extensions may introduce discontinuities.
  • Some participants emphasize that specifying an extension other than even or odd means one is not performing a half-range expansion, but rather a full-range Fourier series that includes both sine and cosine terms.
  • There are requests for specific solutions to homework problems involving half-range expansions, indicating a need for practical examples.

Areas of Agreement / Disagreement

Participants express differing views on the appropriateness of using both sine and cosine expansions in the context of half-range expansions. Some agree that traditional definitions limit the expansion to either sine or cosine, while others advocate for a more flexible approach. The discussion remains unresolved regarding the validity and implications of using both expansions.

Contextual Notes

Participants mention unstated assumptions such as the Dirichlet conditions, which may affect the convergence of the Fourier series. There is also a lack of consensus on the definition and application of half-range expansions versus full-range expansions.

yungman
Messages
5,741
Reaction score
291
I am looking into Fourier series expansion of function that is non periodic on 0< x< p. This is under the tittle of "Half range expansion".

All the books only talked about even or odd extension of f(x) to -p <x< p using either Fouries cosine series expansion or sine series expansion. But never using both for extension.

If f(x) has both sine and cosine series expansion, it is possible to expand with both sine and cosine. the difference is with both expansion, f(x) = 0 for -p<x<0, but still the expansion is valid for 0<x<p. To me this is more closer to the original f(x)... Instead of odd of even extension where the part in -p<x<0 is totally different shape from the f(x). To me I rather just null out the part -p<x<0.

Can anyone tell me a better reason?
 
Physics news on Phys.org
Your choice of how to define the function on (-p,0) can affect the rate of convergence of the resulting series. For example, suppose you want to get x2 on (0,p). If you define f(x) = 0 on (-p,0) or use the odd extension, the extended periodic function you get will have discontinuities at multiples of p. But the even extension gives a continuous periodic function. Its FS will converge faster then either of the others. Try it. You will get coefficients of order 1/n2 for the even extension and 1/n for the others.

[Edit] I should add for completeness there are some unstated additional assumptions like the Dirichlet conditions. Otherwise a continuous periodic function can have a FS that doesn't converge to it.
 
Last edited:
Thanks for the reply. But I think there is a place for having both sine and cosine expansion as I presented. Like you said, it is also driven what outcome you want eg. even or odd, faster convergence and in my case zero for -p<x<0.
 
yungman said:
Thanks for the reply. But I think there is a place for having both sine and cosine expansion as I presented. Like you said, it is also driven what outcome you want eg. even or odd, faster convergence and in my case zero for -p<x<0.

If you specify something other than even or odd extension, you are not doing a half range expansion. You are just doing an ordinary full range FS which will have both sine and cosine terms.
 
LCKurtz said:
If you specify something other than even or odd extension, you are not doing a half range expansion. You are just doing an ordinary full range FS which will have both sine and cosine terms.

I see, so the definition of Half range expansion is either sine or cosine expansion only.

Thanks for clearing this up.
 
Find the half-range cosine and sine expansions of the given function:

f(x) = 0 if 0<x<1/2, f(x) = 1 if 1/2<x<1


sir please send the solution as early as possible.
thanking you sir.....
 
sivasankarm said:
Find the half-range cosine and sine expansions of the given function:

f(x) = 0 if 0<x<1/2, f(x) = 1 if 1/2<x<1


sir please send the solution as early as possible.
thanking you sir.....

You have come to the wrong place to get your homework worked for you. Work it out yourself or, if you can't, then show us what you have tried and where you are stuck.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 139 ·
5
Replies
139
Views
12K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
5
Views
6K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K