Linear Algebra

posted by .

Hello,

I'm trying to find the Fourier Series of a function which is 1 from -pi/2 to pi/2, and zero everywhere else
inside of -pi to pi. I realize this is a square wave and I began the problem with a piecewise function

s(t) = 1 abs(t) < pi/2
0 abs(t) > pi/2

Then I had

a_k = 1/pi integral(from -pi to pi) of [cos(kt)dt]

and

b_k = 1/pi integral(from -pi to pi) of [sin(kt)dt]

but I don't know what to do from here.

Any help is greatly appreciated, thank you!

  • Linear Algebra -

    a_k should be (for k > 0)

    1/pi integral(from -pi/2 to pi/2) of [cos(kt)dt] = 2 sin(pi k/2)/(pi k)

    For even k this is zero. For odd k we can put k = 2n+1:

    a_{2n+1} = 2(-1)^n/[pi(2n+1)]



    For k = 0 the prefactor of 1/pi is replaced by 1/(2pi). So, you find

    a_0 = 1/(2pi) integral(from -pi/2 to p2) dt = 1/2

    The b_k are zero because the function is even:

    b_k = 1/pi integral(from -pi/2 to pi/2) of [sin(kt)dt] = 0

    So, the Fourier series of s(t) is given by:

    s(t) = 1/2 + 2/pi sum over n from zero to infinity of
    (-1)^n/(2n+1) cos[(2n+1)t]

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Linear Algebra

    Hello, I'm trying to find the Fourier Series of a function which is 1 from -pi/2 to pi/2, and zero everywhere else inside of -pi to pi. I realize this is a square wave and I began the problem with a piecewise function s(t) = 1 abs(t) …
  2. Math (College Level Mathematics)

    Fourier sin series for f(x) = 1, 0 < x < Pie is given by 1 = 4/n E 1/ (2n-1) times sin (2n-1) x, (0 < x < n). Using this, find the Fourier sinc series for f(x)= 1, on 0 < x < c where c > 0. Then find the Fourier …
  3. Fourier Series

    A periodic function f(t), with period 2π is defined as,f(t) = c for 0 < t < πf(t) = -c for -π < t < 0where c = 1.4, Taking π = 3.142, calculate the Fourier sine series approximation up to the 5th harmonics …
  4. math

    Anyone can help me on this qns? The Fourier series expansion for the periodic function,f(t) = |sin t|is defined in its fundamental interval. Taking π = 3.142, calculate the Fourier cosine series approximation of f(t), up to the
  5. math

    The Fourier series expansion for the periodic function,f(t) = |sin t|is defined in its fundamental interval. Taking π = 3.142, calculate the Fourier cosine series approximation of f(t), up to the 6th harmonics when t = 1.09. Give …
  6. math

    The Fourier series expansion for the periodic function,f(t) = |sin t|is defined in its fundamental interval. Taking π = 3.142, calculate the Fourier cosine series approximation of f(t), up to the 6th harmonics when t = 1.09. Give …
  7. Math, Fourier Series

    For Fourier Series of f(x)=sin|x| which is an even function, bn should be 0. However, I solved that b1=1 while the rest of the terms =0, meaning bn=0. Is there a mistake?
  8. Math- Fourier series

    Evaluate the formula for cn in Fourier :integral of e^kx dx = e^kx /k :unless k=0: Type your formula for c0 and cn (n>0) into the indicated spaces. Then rewrite the Fourier series in terms of sines and cosines. Simplify as far as …
  9. Math- Fourier series

    Evaluate the formula for cn in Fourier :integral of e^kx dx = e^kx /k :unless k=0: Type your formula for c0 and cn (n>0) into the indicated spaces. Then rewrite the Fourier series in terms of sines and cosines. Simplify as far as …
  10. Math- Fourier series

    Evaluate the formula for cn in Fourier :integral of e^kx dx = e^kx /k :unless k=0: Type your formula for c0 and cn (n>0) into the indicated spaces. Then rewrite the Fourier series in terms of sines and cosines. Simplify as far as …

More Similar Questions