Results 1 to 2 of 2

Math Help - Projections

  1. #1
    Junior Member piglet's Avatar
    Joined
    Feb 2010
    Posts
    60

    Projections

    I am trying to find the projection of a function onto a space spanned by
    {1, sinx, cosx} on the interval  [\pi, -\pi] This is equal to the first 3 terms of the fourier expansion of f(x)

    The function is  f(x) = x^{2} + x

    I found the first term of the fourier expansion to be:
    a0 = \frac{\pi^{2}}{3}

    Im not to sure on calculating the 2nd term...

    can i use a1 =
    \frac{1}{\pi}\int_{-\pi}^{\pi}f(x) cosxdx ?

    or should i use
    a1 = \frac{1}{\pi}\int_{-\pi}^{\pi}f(x) sinxdx ? because sinx is the 2nd term of the span..

    Im fine with the integration itself, its just the formula...

    sorry if question is badly constructed, am still in early days of using laTex

    Last edited by piglet; April 8th 2010 at 02:45 PM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Junior Member nimon's Avatar
    Joined
    Sep 2009
    From
    Edinburgh, UK
    Posts
    64
    Hi,

    It really doesn't matter because addition is commutative! You could order the terms however you wanted. Just normalise 1,\sin x, \cos x to get an orthonormal basis \{e_{1},e_{2},e_{3}\} for \text{span}\{1,\sin x, \cos x\}. Then you can calculate the projection P:C[-\pi,\pi] \rightarrow \text{span}\{1,\sin x, \cos x\} by

    Pf(x) = \sum_{i=1}^{3} \langle f,e_{i} \rangle e_{i},

    where \langle f,g \rangle = \int^{\pi}_{-\pi}f(x)g(x)dx.

    The point is, it doesn't matter how you label the e_{i}, the sum is still the same.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Projections from 3d to 4d
    Posted in the Advanced Algebra Forum
    Replies: 2
    Last Post: March 7th 2011, 01:20 PM
  2. Projections
    Posted in the Trigonometry Forum
    Replies: 2
    Last Post: February 24th 2011, 04:05 PM
  3. Projections
    Posted in the Advanced Algebra Forum
    Replies: 4
    Last Post: February 3rd 2011, 09:18 AM
  4. projections
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: March 22nd 2010, 04:26 AM
  5. Projections
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: February 8th 2009, 06:32 PM

Search Tags


/mathhelpforum @mathhelpforum