Explicit Formula for the nth Fibonacci Number

  • Thread starter Thread starter DivGradCurl
  • Start date Start date
  • Tags Tags
    Explicit Formula
Click For Summary

Homework Help Overview

The discussion revolves around finding an explicit formula for the nth Fibonacci number using the generating function f(x) = x/(1-x-x^2) and its partial fraction decomposition. Participants explore various algebraic manipulations and series expansions related to this function.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the use of partial fractions and series expansions to derive the Fibonacci numbers. There are attempts to combine sums and concerns about intermediate steps being incorrect. Questions arise about the manipulation of signs and the placement of radicals in the expressions.

Discussion Status

The discussion is active, with participants offering guidance on checking calculations and suggesting ways to combine different series. Some participants express confusion over specific steps, while others indicate that they have found potential solutions or adjustments to their approaches.

Contextual Notes

There are mentions of needing to rationalize denominators and ensuring that radicals are correctly positioned in the expressions. Some participants refer to specific formulas and methods that may not be fully detailed in the discussion.

DivGradCurl
Messages
364
Reaction score
0
Problem

[tex]f(x) = \frac{x}{1-x-x^2} = \sum _{n=1} ^{\infty} f_n x^n[/tex]

By writing [tex]f(x)[/tex] as a sum of partial fractions, find an explicit formula for the nth Fibonacci number.

My work

[tex]\frac{x}{1-x-x^2} = \frac{-4}{(2x + \sqrt{5} + 1)(2x - \sqrt{5} + 1)} = \frac{A}{2x + \sqrt{5} + 1} + \frac{B}{2x - \sqrt{5} + 1}[/tex]

Heaviside's method gives:

[tex]\left. \frac{-4}{2x - \sqrt{5} + 1} = A + \frac{B(2x + \sqrt{5} + 1)}{2x - \sqrt{5} + 1} \right] _{x= -\frac{(\sqrt{5}+1)}{2}} \Longrightarrow A = \frac{2}{\sqrt{5}}[/tex]

[tex]\left. \frac{-4}{2x + \sqrt{5} + 1} = \frac{A(2x - \sqrt{5} + 1)}{2x + \sqrt{5} + 1} + B \right] _{x= \frac{\sqrt{5}-1}{2}} \Longrightarrow B = -\frac{2}{\sqrt{5}}[/tex]

Thus,

[tex]f(x) = \frac{2}{\sqrt{5}} \left( \frac{1}{2x + \sqrt{5} + 1} - \frac{1}{2x - \sqrt{5} + 1} \right)[/tex]

Then

[tex](2x - \sqrt{5} + 1)^{-1} = \frac{1}{1-\sqrt{5}}\left( 1 + \frac{2x}{1-\sqrt{5}} \right) ^{-1} = \frac{1}{1-\sqrt{5}} \sum _{n=0} ^{\infty} \binom{-1}{n} \left( \frac{2x}{1-\sqrt{5}} \right) ^n = \sum _{n=0} ^{\infty} \frac{(-1)^n 2^n}{\left( 1-\sqrt{5}} \right) ^{n+1}}x^n[/tex]

[tex](2x + \sqrt{5} + 1)^{-1} = \frac{1}{\sqrt{5}+1}\left( 1 + \frac{2x}{\sqrt{5}+1} \right) ^{-1} = \frac{1}{\sqrt{5}+1} \sum _{n=0} ^{\infty} \binom{-1}{n} \left( \frac{2x}{\sqrt{5}+1} \right) ^n = \sum _{n=0} ^{\infty} \frac{(-1)^n 2^n}{\left( \sqrt{5}+1} \right) ^{n+1}}x^n[/tex]

[tex]f(x) = \frac{2}{\sqrt{5}} \left\{ \sum _{n=0} ^{\infty} \left[ \frac{(-1)^n 2^n}{\left( \sqrt{5}+1} \right) ^{n+1}}x^n \right] - \sum _{n=0} ^{\infty} \left[ \frac{(-1)^n 2^n}{\left( 1-\sqrt{5}} \right) ^{n+1}}x^n \right] \right\}[/tex]

What else can I do?

Thanks
 
Last edited:
Physics news on Phys.org
Find a way to combine the two sums into one. :-p
 
Yes, I'm a bit confused with such a trivial thing. Let me show you why...

[tex]f(x) = \frac{1}{\sqrt{5}} \sum _{n=0} ^{\infty} \left[ (-1)^n \left( \frac{2}{ \sqrt{5}+1}} \right) ^{n+1} + (-1)^{n+1} \left( \frac{ 2}{1-\sqrt{5}}}\right) ^{n+1} \right] x^n[/tex]

I've tested my guess, but it doesn't work. I'm having difficulty combining the changing signs. Could you please explain that? Probably, it's just a lapse. :smile:

Thanks
 
Then one of your intermediate steps is wrong! Can you think of a good way to test them?

BTW, unless I've made an arithmetic error, your final answer works for me...

(but yes, one of your intermediate steps is wrong)
 
Last edited:
Redo all your calculations,beginning with the first line,namely the partial fraction decomposition where u miss the "x".That's why you could't retrieve this formula
where u need to get,formulas #6 & #13

Daniel.

P.S.Try to put the radicals to the numerator...
 
HAHAHAHA

Had to prove this in my exam today, it is so much easier than that but I don't know how to help without giving it all away :confused:
 
Zurtex said:
HAHAHAHA

Had to prove this in my exam today, it is so much easier than that but I don't know how to help without giving it all away :confused:

Happy Birthday,Zurtex!And yes,you're right,let's let him do the calculations... :smile:


Daniel.
 
I couldn't find a way to have the radicals just in the numerator, but here is what I now have:

[tex]f(x) = \frac{x}{1-x-x^2} = \frac{-4x}{(2x + \sqrt{5} + 1)(2x - \sqrt{5} + 1)} = \frac{A}{2x + \sqrt{5} + 1} + \frac{B}{2x - \sqrt{5} + 1}[/tex]

Heaviside's method gives:

[tex]\left. \frac{-4x}{2x - \sqrt{5} + 1} = A + \frac{B(2x + \sqrt{5} + 1)}{2x - \sqrt{5} + 1} \right] _{x= -\frac{(\sqrt{5}+1)}{2}} \Longrightarrow A = \frac{-\sqrt{5}}{5}-1[/tex]

[tex]\left. \frac{-4x}{2x + \sqrt{5} + 1} = \frac{A(2x - \sqrt{5} + 1)}{2x + \sqrt{5} + 1} + B \right] _{x= \frac{\sqrt{5}-1}{2}} \Longrightarrow B = \frac{\sqrt{5}}{5}-1[/tex]

Then

[tex]f(x) = \left( \frac{-\sqrt{5}}{5}-1 \right) \sum _{n=0} ^{\infty} \left[ \frac{(-1)^n 2^n}{\left( \sqrt{5}+1} \right) ^{n+1}}x^n \right] + \left( \frac{\sqrt{5}}{5}-1 \right) \sum _{n=0} ^{\infty} \left[ \frac{(-1)^n 2^n}{\left( 1-\sqrt{5}} \right) ^{n+1}}x^n \right][/tex]

Thanks for pointing it out
 
Sorry,i was referring to the last line.The last formula should be "adjusted" as to resemble the famous one which appears on the "wolfram" site...

Daniel.
 
  • #10
I couldn't find a way to have the radicals just in the numerator, but here is what I now have:

You recall the method of rationalizing the denominator?
 
  • #11
I've just confirmed what I said earlier... memory lapse :smile:. Anyway...

[tex]f(x) = \frac{x}{1-x-x^2} = \frac{-4x}{(2x + \sqrt{5} + 1)(2x - \sqrt{5} + 1)} = -4x \left( \frac{2x-\sqrt{5}+1}{4x^2 + 4x -4} \right) \left( \frac{2x+\sqrt{5}+1}{4x^2 + 4x -4} \right) = \frac{-4x}{4x^2 + 4x -4}[/tex]

[tex]f(x) = -4x \left\{ \frac{1}{4x(x+1)} \left[ 1 - \frac{1}{x(x+1)} \right] ^{-1} \right\} = \frac{-1}{x+1} \sum _{n=0} ^{\infty} \binom{-1}{n} \left[ \frac{-1}{x(x+1)} \right] ^n = - \sum _{n=0} ^{\infty} \frac{1}{x^n (x+1)^{n+1}}[/tex]

There probably is something else that I miss here. :smile:
 
Last edited:
  • #12
What did u do here?Where did the radicals go...??

Daniel.
 
  • #13
I did not use partial fractions at all in my previous post, which is not what I intended to do. By the way, I finally have the solution. :-p

[tex]f(x) = \frac{x}{1-x-x^2} = \frac{-4x}{(2x + \sqrt{5} + 1)(2x - \sqrt{5} + 1)} = \frac{A}{2x + \sqrt{5} + 1} + \frac{B}{2x - \sqrt{5} + 1}[/tex]

Heaviside's method gives:

[tex]\left. \frac{-4x}{2x - \sqrt{5} + 1} = A + \frac{B(2x + \sqrt{5} + 1)}{2x - \sqrt{5} + 1} \right] _{x= -\frac{(\sqrt{5}+1)}{2}} \Longrightarrow A = \frac{-\sqrt{5}}{5}-1[/tex]

[tex]\left. \frac{-4x}{2x + \sqrt{5} + 1} = \frac{A(2x - \sqrt{5} + 1)}{2x + \sqrt{5} + 1} + B \right] _{x= \frac{\sqrt{5}-1}{2}} \Longrightarrow B = \frac{\sqrt{5}}{5}-1[/tex]

Also consider

[tex](2x + \sqrt{5} + 1) ^{-1} = \frac{1}{\sqrt{5}+1} \left( 1 + \frac{2x}{\sqrt{5}+1} \right) ^{-1} = \frac{\sqrt{5}-1}{4} \sum _{n=0} ^{\infty} \binom{-1}{n} \left( \frac{2x}{\sqrt{5}+1} \right) ^n = \frac{\sqrt{5}-1}{4} \sum _{n=0} ^{\infty} \left( \frac{1-\sqrt{5}}{2} \right) ^n x^n[/tex]

and

[tex](2x - \sqrt{5} + 1) ^{-1} = \frac{1}{1-\sqrt{5}} \left( 1 + \frac{2x}{1-\sqrt{5}} \right) ^{-1} = \frac{-\left( 1 + \sqrt{5} \right)}{4} \sum _{n=0} ^{\infty} \binom{-1}{n} \left[ \frac{-\left( 1 + \sqrt{5} \right)}{2} x \right] ^n = \frac{-\left( 1 + \sqrt{5} \right)}{4} \sum _{n=0} ^{\infty} \left( \frac{1+\sqrt{5}}{2} \right) ^n x^n[/tex]

which allows us to obtain

[tex]f(x) = \frac{A}{2x + \sqrt{5} + 1} + \frac{B}{2x - \sqrt{5} + 1} = \left( \frac{-\sqrt{5}}{5}-1 \right) \left( \frac{\sqrt{5}-1}{4} \right) \sum _{n=0} ^{\infty} \left[ \left( \frac{1-\sqrt{5}}{2} \right) ^n x^n \right] + \left( \frac{\sqrt{5}}{5}-1 \right) \left[ \frac{-\left( 1 + \sqrt{5} \right)}{4} \right] \sum _{n=0} ^{\infty} \left[ \left( \frac{1+\sqrt{5}}{2} \right) ^n x^n \right][/tex]

[tex]f(x) = \frac{-1}{\sqrt{5}} \sum _{n=0} ^{\infty} \left[ \left( \frac{1-\sqrt{5}}{2} \right) ^n x^n \right] + \frac{1}{\sqrt{5}} \sum _{n=0} ^{\infty} \left[ \left( \frac{1+\sqrt{5}}{2} \right) ^n x^n \right] = \frac{1}{\sqrt{5}} \sum _{n=0} ^{\infty} \left[ \left( \frac{1+\sqrt{5}}{2} \right) ^n - \left( \frac{1-\sqrt{5}}{2} \right) ^n \right] x^n[/tex]

Hence, we find

[tex]F_n = \frac{1}{\sqrt{5}} \left[ \left( \frac{1+\sqrt{5}}{2} \right) ^n - \left( \frac{1-\sqrt{5}}{2} \right) ^n \right][/tex]

And again, thank you guys for all the help!
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
42
Views
4K
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
11
Views
2K
  • · Replies 51 ·
2
Replies
51
Views
4K
Replies
9
Views
3K