Results 1 to 3 of 3

Math Help - Fourier series

  1. #1
    Member
    Joined
    May 2010
    Posts
    241

    Fourier series

    Hi there. I have to find the Fourier development for f(t)=\begin{Bmatrix}{1 }&\mbox{ if }& 0<t<1\\0 & \mbox{if}& 1<t<2\end{matrix}

    So this is what I did, I think its wrong, but I don't know where I did the mistake.
    a_0=\displaystyle\frac{1}{4}\displaystyle\int_{0}^  {1} dt=1/4

    a_n=\displaystyle\frac{1}{2}\displaystyle\int_{0}^  {1}\cos \left( \displaystyle\frac{n\pi t}{2} \right) dt=\displaystyle\frac{1}{n\pi}\sin \left( \displaystyle\frac{n\pi}{2}\right)

    b_n=\displaystyle\frac{1}{2}\displaystyle\int_{0}^  {1}\sin \left( \displaystyle\frac{n\pi t}{2} \right) dt=\displaystyle\frac{1}{2}\left[\displaystyle\frac{-2}{n\pi}\cos \left( \displaystyle\frac{n\pi t}{2} \right) \right]_0^1=\displaystyle\frac{-1}{n\pi}\cos \left( \displaystyle\frac{n\pi}{2} \right)+\displaystyle\frac{1}{n\pi}

    Then:
    f(t)\sim{ \displaystyle\frac{1}{4}+ \displaystyle\sum_{n=1}^{\infty} \displaystyle\frac{1}{n\pi} \sin \left( \displaystyle\frac{n\pi}{2}\right) - \displaystyle\sum_{n=1}^{\infty} \left[ \displaystyle\frac{1}{n\pi}\cos\left( \displaystyle\frac{n\pi}{2}\right)-\displaystyle\frac{1}{n\pi}\right]}

    When I plot this on mathematica I get a line. So, I think I've made a mistake somewhere, but I don't know where the error is. Somehow I have to define the zero intervals, I think I should use the heaviside function.

    Bye and thanks for 'ur help.

    PS:I didn't know where to post this, so move it if it should be in another subforum.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Aug 2007
    From
    USA
    Posts
    3,111
    Thanks
    2
    You probably should have a 't' in there, somewhere. It is f(t), after all. You did calculate coefficients. Coefficients on what?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    May 2010
    Posts
    241
    You're right. I'll correct this later, I'm a bit erratic right now :P
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. [SOLVED] Fourier series to calculate an infinite series
    Posted in the Differential Geometry Forum
    Replies: 1
    Last Post: August 4th 2010, 01:49 PM
  2. Complex Fourier Series & Full Fourier Series
    Posted in the Calculus Forum
    Replies: 1
    Last Post: December 9th 2009, 05:39 AM
  3. Fourier series
    Posted in the Calculus Forum
    Replies: 5
    Last Post: January 14th 2009, 04:32 AM
  4. Fourier series no.2 :)
    Posted in the Calculus Forum
    Replies: 2
    Last Post: January 13th 2009, 01:01 PM
  5. from fourier transform to fourier series
    Posted in the Calculus Forum
    Replies: 1
    Last Post: February 1st 2008, 06:35 AM

Search Tags


/mathhelpforum @mathhelpforum