Fourier Series Coefficients - How to Calculate and Integrate for Even Functions

Click For Summary

Homework Help Overview

The discussion revolves around calculating Fourier series coefficients for even functions, specifically focusing on the appropriate function definitions and integration limits. Participants are exploring how to set up the problem and the implications of using different function forms.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster questions which function to use for calculating the coefficients a0, an, and bn, considering options like 1 + x/π or 1 - x/π. They also contemplate the integration limits, suggesting -π to π.
  • Some participants suggest starting with the generic formula for a0 and propose splitting the integral into two parts to accommodate the piecewise definition of the function.
  • One participant illustrates how to set up the integral for a1, discussing the need to split the intervals due to the function's definition in different segments.

Discussion Status

The discussion is active, with participants providing guidance on how to approach the integration and coefficient calculations. There is an acknowledgment of the even function property that may simplify the process, but no consensus has been reached on the specific function to use or the best approach to take.

Contextual Notes

Participants are navigating the constraints of defining the function correctly for the Fourier series and the implications of the even function property on their calculations. There is a mention of the original poster's struggle with using LaTeX for mathematical expressions.

Studious_stud
Messages
38
Reaction score
0

Homework Statement



ynms7.jpg


Homework Equations



Usual equations for calculating Fourier series coefficients

The Attempt at a Solution



Well essentially I don't know what to let f(x) equal to for calculating the coefficients a0, an and bn. Should I use 1 + x/pi or 1 - x/pi? And what about the limits? I was thinking maybe between -pi and pi.

Anyway here's my progress thus far, I think the graph is ok anyways.

519dnb.jpg


Thanks dudes. I would use latex but I suck at it
 
Physics news on Phys.org
Looks fine.
Just start with the generic formula for a0.
The integral can be calculated by splitting it into the sum of 2 integrals.
 
Take for example:

a_1=\frac{1}{\pi}\int_{-\pi}^{\pi} f(x)\cos(x)dx

now, I want to integrate that function between -pi and pi but it's defined differently in two intervals. Why not just split up the intervals and write:

a_1=\frac{1}{\pi}\left(\int_{-\pi}^{0} (1+x\pi)\cos(x)dx+\int_{0}^{\pi} (1-x\pi)\cos(x)dx\right)

However it is an even function so there are short-cuts for computing them. But for now, you may want to just do it this way.
 
jackmell said:
Take for example:

a_1=\frac{1}{\pi}\int_{-\pi}^{\pi} f(x)\cos(x)dx

now, I want to integrate that function between -pi and pi but it's defined differently in two intervals. Why not just split up the intervals and write:

a_1=\frac{1}{\pi}\left(\int_{-\pi}^{0} (1+x\pi)\cos(x)dx+\int_{0}^{\pi} (1-x\pi)\cos(x)dx\right)

However it is an even function so there are short-cuts for computing them. But for now, you may want to just do it this way.

I like Serena said:
Looks fine.
Just start with the generic formula for a0.
The integral can be calculated by splitting it into the sum of 2 integrals.

Great I understand completely now, thanks everyone. :smile:
 

Similar threads

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