Math Question :

Discussion in 'General Chat' started by NsaneNoob, Apr 15, 2008.

  1. #1
    f(x)=f(x-1) + f(x+1)

    f(1)=1
    f(2)=3

    What is f(2008) ?

    My answer is 4015. Do not know if it is right.
     
    NsaneNoob, Apr 15, 2008 IP
  2. coderbari

    coderbari Well-Known Member

    Messages:
    3,168
    Likes Received:
    193
    Best Answers:
    0
    Trophy Points:
    135
    #2
    f(x)=f(x-1)+f(x+1)
    so,f(2008)=f(2007)+f(2009)=f(2006)+f(2008)+f(2008)+f(2010)
    =>f(2008)=-{(f(2010)+f(2006)} :eek:
    It will grow and grow.How can anyone calculate this?
    I have no clue :confused:
     
    coderbari, Apr 15, 2008 IP
  3. seogoogle

    seogoogle Well-Known Member

    Messages:
    1,258
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    195
    #3
    I am also confused :confused:
     
    seogoogle, Apr 15, 2008 IP
  4. pankajchodha

    pankajchodha Peon

    Messages:
    242
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    the answer is big 0, if i m wrong prove it :D
     
    pankajchodha, Apr 15, 2008 IP
  5. kaung

    kaung Twitter @KaungKo

    Messages:
    4,040
    Likes Received:
    187
    Best Answers:
    0
    Trophy Points:
    155
    #5
    475.1090909
    :p :rolleyes: :eek:

    ------

    f(x)=f(x-1) + f(x+1)

    thus

    f(1) = f(0) + f(2)

    and

    f(1)=1
    f(2)=3

    thus for f(1) = f(0) + f(2),

    1 = t + 3
    t = -2

    and f(0) = t = -2

    now we have

    f(0) = -2
    f(1) = 1
    f(3) = 3

    repeat with f(#) and by substitutions and such, we wil arrive at this +/- 1,3,2 pattern

    f(-7)= -3
    f(-6)= -2 (+1 from above)
    f(-5)=1 (+3)
    f(-4)=3 (+2)
    f(-3)=2 (-1)
    f(-2)=-1 (-3)
    f(-1)=-3 (-2)
    f(0)=-2 (+1)
    f(1)=1 (+3)
    f(2)=3 (+2)

    now put the f(x) = #
    into excel of any program into 2 columns as

    -7 -3
    -6 -2
    -5 1

    and drag at the corner or do auto continous calculation till you reach 2008 and it'll spit out 475.1091

    by the way, you cant seperate out functions f(x-1) as if it is f(x) - f(1) ;)
    example: x=1
    f(x-1) = x+5 ; f(0) = 6
    f(x)=1, f(1)=1 but f(x-1) dont come out to be a 6 if seperated
     
    kaung, Apr 15, 2008 IP
  6. JessieJames27

    JessieJames27 Active Member

    Messages:
    1,652
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    78
    #6
    The answer is 4016..
    f(x)=f(x-1) + f(x+1)

    f(2008) = f(2008 - 1) + f(2008 + 1)
     
    JessieJames27, Apr 15, 2008 IP
  7. kishore415

    kishore415 Well-Known Member

    Messages:
    1,462
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    160
    #7
    lil confusing question..but i think there is no solution for this...
     
    kishore415, Apr 15, 2008 IP
  8. thomas_koipuram

    thomas_koipuram Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It shud be 0
     
    thomas_koipuram, Apr 15, 2008 IP
  9. xaralee

    xaralee Well-Known Member

    Messages:
    1,316
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    140
    #9
    should it be 0 ?
     
    xaralee, Apr 16, 2008 IP
  10. peterh35

    peterh35 Peon

    Messages:
    228
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    lol this is confusing
     
    peterh35, Apr 16, 2008 IP
  11. iWrite

    iWrite Peon

    Messages:
    679
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #11
    JessieJAmes27 was correct. 4016 is the correct answer.
     
    iWrite, Apr 16, 2008 IP
  12. johncena000

    johncena000 Banned

    Messages:
    460
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #12
    f(x)=f(x-1) + f(x+1)

    f(1)=1
    f(2)=3

    ------------------
    f(x)=f(x-1) + f(x+1)
    => f(x) = f(x)-f(1)+f(X)+f(1)
    =>f(x)=2f(X)
    => 1 = 2 which is not right.

    therefore,by principle of mathematical induction.. the question is wrong for all n(belongs to) N :p
     
    johncena000, Apr 16, 2008 IP
  13. iWrite

    iWrite Peon

    Messages:
    679
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #13
    f stand for "The function of" so yeah, the function of 1 equals 2, and the function of 2 equals 3, and the function of 2008 is 4016.
     
    iWrite, Apr 16, 2008 IP
  14. johncena000

    johncena000 Banned

    Messages:
    460
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #14
    you said.. 1 equal to 2... 2 equals to 3.... so... 2008 should equal to 2009...??:confused:
     
    johncena000, Apr 16, 2008 IP
  15. iWrite

    iWrite Peon

    Messages:
    679
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #15
    No, we're working with functions here. If you want a pattern... The function of a number is equal .5 times the number in the function. So you would take 4016 and multiply it by .5 and get 2008. This would work for 3 and 2 as well. Proving that my calculations are correct.
     
    iWrite, Apr 16, 2008 IP
  16. NsaneNoob

    NsaneNoob Peon

    Messages:
    2,103
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Guys I found the answer lol. THe answer is -1

    It's like this:

    First try:

    f(2)=3

    But f(2)=f(2-1)+ f(2+1)

    f(2)=f(1)+f(3)

    so f(3)=f(2)-f(1)
    f(3)=3-1
    f(3)=2


    If you keep doing this you will realize that the first 6 numbers f(1,2,3,4,5,6) will give you 1,3,2,-1,-3,-2 and it keeps repeating for every 6 numbers.

    If you do 2008/6 you get a remainder of 4 which would mean the forth number which is -1

    SO THE ANSWER IS -1. THanks for the help though. Thank you very much
     
    NsaneNoob, Apr 16, 2008 IP
  17. tigrrra

    tigrrra Well-Known Member

    Messages:
    2,109
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    120
    #17
    are you using a book? because in my days the answers ware at the back of the book
    :) thats how i did my hw lol
     
    tigrrra, Apr 16, 2008 IP
  18. iWrite

    iWrite Peon

    Messages:
    679
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Your method makes no logistical sense...
     
    iWrite, Apr 16, 2008 IP
  19. NsaneNoob

    NsaneNoob Peon

    Messages:
    2,103
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #19
    No, it was for a competition.

    Actually it makes perfect sense because it is a function = previous function + next function.

    It's not like 3=1+2 or something like that, it is functions were talking here.
     
    NsaneNoob, Apr 16, 2008 IP
  20. iWrite

    iWrite Peon

    Messages:
    679
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Wow, you wouldn't think I just aced a final on this or anything. I know what I was doing wrong now, lol.
     
    iWrite, Apr 16, 2008 IP