Finding the Fourier series of a function.

bubokribuck
Messages
42
Reaction score
0

Homework Statement


f(x)=
-cos(x) when -π<x<0
cos(x) when 0<x<π

Decide if f is an even, odd function or either.
Find the Fourier series of f.

Homework Equations



odd function: f(x)=f(-x)
even function: -f(x)=f(-x) or f(x)=-f(-x)

The Attempt at a Solution



substitute -x into either cos(x) or -cos(x) => -cos(x)=-cos(-x) and cos(x)=cos(-x),
therefore, f is an even function.

However, I'm stuck when it comes to finding the Fourier series.

I know how to solve a0, where I just need to find the integration of -cos(x)dx and cos(x)dx. To find an and bn, I need to find the integration of [-cos(x)cos(nx)dx], [cos(x)cos(nx)dx], [-cos(x)sin(nx)] and [cos(x)sin(nx)dx]. I tried to solve them using integration by parts, but it turned out to be infinitely expanding, so I guess integration by parts won't work. Is there any other way to integrate the above four functions?
 
Physics news on Phys.org
bubokribuck said:

Homework Statement


f(x)=
-cos(x) when -π<x<0
cos(x) when 0<x<π

Decide if f is an even, odd function or either.
Find the Fourier series of f.

Homework Equations



odd function: f(x)=f(-x)
even function: -f(x)=f(-x) or f(x)=-f(-x)

The Attempt at a Solution



substitute -x into either cos(x) or -cos(x) => -cos(x)=-cos(-x) and cos(x)=cos(-x),
therefore, f is an even function.

However, I'm stuck when it comes to finding the Fourier series.

I know how to solve a0, where I just need to find the integration of -cos(x)dx and cos(x)dx. To find an and bn, I need to find the integration of [-cos(x)cos(nx)dx], [cos(x)cos(nx)dx], [-cos(x)sin(nx)] and [cos(x)sin(nx)dx]. I tried to solve them using integration by parts, but it turned out to be infinitely expanding, so I guess integration by parts won't work. Is there any other way to integrate the above four functions?

Your definitions of "even" and "odd" are the exact opposite of everybody else's in the world.

RGV
 
bubokribuck said:
I need to find the integration of [-cos(x)cos(nx)dx], [cos(x)cos(nx)dx], [-cos(x)sin(nx)] and [cos(x)sin(nx)dx]. I tried to solve them using integration by parts, but it turned out to be infinitely expanding, so I guess integration by parts won't work. Is there any other way to integrate the above four functions?

You need the product formulas:

http://www.sosmath.com/trig/prodform/prodform.html
 
Ray Vickson said:
Your definitions of "even" and "odd" are the exact opposite of everybody else's in the world.

RGV

I just typed it wrong but they wouldn't let me edit it. :(
 
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