Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Function inner product

  1. Aug 11, 2007 #1
    Dear all:
    I have a problem about the inner product of a function. Give a function

    f(x) = \left\{ \begin{array}{ll}
    x & \textrm{if $x \in [0,1]$}\\
    -x+2 & \textrm{if $x \in (1, 2]$}

    What's the value of the inner product of the function itself over [0,2]?
    <f(x), f(x)> = \int_{x=0}^{x=2} f(x)f(x) d_x

    If given another function

    g(x) = \left\{ \begin{array}{ll}
    x-1 & \textrm{if $x \in [1,2]$}\\
    -x+3 & \textrm{if $x \in (2, 3]$}


    What's the inner product of f(x) and g(x) please?

    Thanks for answering.
    Last edited: Aug 11, 2007
  2. jcsd
  3. Aug 11, 2007 #2
    For you first question you have to seperate integral into two
    One of them is from 0 to 1, the other is from 1 to 2.

    For the second you have to explain on which interval we take the inner product they are from different worlds.
  4. Aug 11, 2007 #3
    I know the principle actually. Could you give me the whole details please? Because I can't get the correct answer.
  5. Aug 11, 2007 #4
    For question1
    You have to get from integral(0-1) =1/2 and from integral(1-2) =1/3
    If you did not then write what you did .Maybe we can find the mistake
    It would be yours or mine
    Last edited: Aug 11, 2007
  6. Aug 11, 2007 #5
    for question 2 : I am still waiting an explanation
    It can be only defined on [1,2] i think
    Last edited: Aug 11, 2007
  7. Aug 11, 2007 #6
    It's possible that the intention is that f and g vanish wherever not explicitly defined. Then you would be right, it would be like on [1,2]...
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Function inner product
  1. Inner Product (Replies: 6)