Finding the Fourier Series: A Beginner's Guide

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier series for a piecewise function defined on the interval from -π to π, where the function is 0 for negative values and sin(x) for positive values up to π. The original poster expresses difficulty in understanding how to approach the problem.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the definition of the function and its periodicity, questioning whether it can be represented as a Fourier series. There is a discussion about the integration limits and the nature of the function's components, particularly regarding the integration of sin(x) with both sine and cosine terms.

Discussion Status

Participants are actively clarifying the function's definition and its periodic extension. Some guidance has been offered regarding the integration process needed to find the Fourier coefficients, and there is acknowledgment of the need to consider both sine and cosine terms in the calculations.

Contextual Notes

There is a mention of a mistake in the bounds of the function, which has been corrected. The discussion also highlights the assumption that the function is extended periodically outside the given interval.

briteliner
Messages
62
Reaction score
0

Homework Statement



find the Fourier series for the function

0 -pi<x<pi
f(x)={
sinx 0<x<pi

Homework Equations


The Attempt at a Solution


I don't know how to do this and can't find a good explanation anywhere, any kind of help is appreciated...even just a push in the right direction
 
Last edited:
Physics news on Phys.org
Are you saying your function is
f(x) = 0 x<-pi
= sin(x) 0<x<pi
= 0 x>pi
If so, that is not periodic and does not have a Fourier series in the usual sense, although it probably has a Fourier transform. Is that what you want?
 
we are supposed to assume that the function is continued outside of the interval with period 2pi periodically.
i just realized there was a mistake with the bounds also, but i fixed it now. it is a piecewise function which equals 0 from -pi to pi and sinx from 0 to pi
 
I'm going to guess that the problem is to find the Fourier series on the interval [-pi,pi] of the function f(x)=sin(x) for x in [0,pi] and f(x)=0 for x in [-pi,0]. If so, then the coefficients of that series are defined in terms of integrals of sin(x) times sin(nx) and cos(nx). Since f(x)=0 for x<0, just integrate from 0 to pi. Can you do any of them?
 
ok thanks so then i have integral from 0 to pi of sinxcosnx dx. would this just give 0 since sinx is odd and cosnx is even, giving an odd function?
 
oh right. thanks so much!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
1
Views
2K