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

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:
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top