math.answers.com/math-and-arithmetic/How_do_you_calculate_the_nth_term_in_the_Fibonacci_sequence

Preview meta tags from the math.answers.com website.

Linked Hostnames

8

Thumbnail

Search Engine Appearance

Google

https://math.answers.com/math-and-arithmetic/How_do_you_calculate_the_nth_term_in_the_Fibonacci_sequence

How do you calculate the nth term in the Fibonacci sequence? - Answers

For low terms, it is probably most economical to to simply list out the sequence until you arrive at the nth term, but for large terms, there actually is a closed-form equation. Let (phi) = (1 + sqrt(5))/2. As an aside, this is the golden ratio. Then the nth term of the Fibonacci sequence is given by F(n) = [(phi)^n - (1 - (phi))^n]/sqrt(5), where we are letting F(0) = 0, F(1) = 1, F(2) = 1, etc. The derivation of this formula involves linear algebra, and, in short, the key is in setting this up as a matrix equation and diagonalizing the matrix. While I shall not run through the process here, I will give you the matrix and vector to start with: Let A be the 2x2 matrix [0 1] [1 1] and x(n) be the column vector in R^2 [F(n)] [F(n+1)] In particular, x(0) = (F(0),F(1)) = (0,1). notice that [A][x(n)] = [F(n+1)] [F(n)+F(n+1)] which is x(n+1). Thus, it follows that x(n) = [A]^n[x(0)] (you can prove this rigorously through induction). Now, F(n) is the first term of the vector x(n), so what one needs to do is diagonalize A, raise A to the appropriate power, multiply it with x(0), and finally take the upper term. The result is what I presented at the outset. Note that with this formula you can show that lim(n-->infinity)[F(n+1)/F(n)] approaches phi.



Bing

How do you calculate the nth term in the Fibonacci sequence? - Answers

https://math.answers.com/math-and-arithmetic/How_do_you_calculate_the_nth_term_in_the_Fibonacci_sequence

For low terms, it is probably most economical to to simply list out the sequence until you arrive at the nth term, but for large terms, there actually is a closed-form equation. Let (phi) = (1 + sqrt(5))/2. As an aside, this is the golden ratio. Then the nth term of the Fibonacci sequence is given by F(n) = [(phi)^n - (1 - (phi))^n]/sqrt(5), where we are letting F(0) = 0, F(1) = 1, F(2) = 1, etc. The derivation of this formula involves linear algebra, and, in short, the key is in setting this up as a matrix equation and diagonalizing the matrix. While I shall not run through the process here, I will give you the matrix and vector to start with: Let A be the 2x2 matrix [0 1] [1 1] and x(n) be the column vector in R^2 [F(n)] [F(n+1)] In particular, x(0) = (F(0),F(1)) = (0,1). notice that [A][x(n)] = [F(n+1)] [F(n)+F(n+1)] which is x(n+1). Thus, it follows that x(n) = [A]^n[x(0)] (you can prove this rigorously through induction). Now, F(n) is the first term of the vector x(n), so what one needs to do is diagonalize A, raise A to the appropriate power, multiply it with x(0), and finally take the upper term. The result is what I presented at the outset. Note that with this formula you can show that lim(n-->infinity)[F(n+1)/F(n)] approaches phi.



DuckDuckGo

https://math.answers.com/math-and-arithmetic/How_do_you_calculate_the_nth_term_in_the_Fibonacci_sequence

How do you calculate the nth term in the Fibonacci sequence? - Answers

For low terms, it is probably most economical to to simply list out the sequence until you arrive at the nth term, but for large terms, there actually is a closed-form equation. Let (phi) = (1 + sqrt(5))/2. As an aside, this is the golden ratio. Then the nth term of the Fibonacci sequence is given by F(n) = [(phi)^n - (1 - (phi))^n]/sqrt(5), where we are letting F(0) = 0, F(1) = 1, F(2) = 1, etc. The derivation of this formula involves linear algebra, and, in short, the key is in setting this up as a matrix equation and diagonalizing the matrix. While I shall not run through the process here, I will give you the matrix and vector to start with: Let A be the 2x2 matrix [0 1] [1 1] and x(n) be the column vector in R^2 [F(n)] [F(n+1)] In particular, x(0) = (F(0),F(1)) = (0,1). notice that [A][x(n)] = [F(n+1)] [F(n)+F(n+1)] which is x(n+1). Thus, it follows that x(n) = [A]^n[x(0)] (you can prove this rigorously through induction). Now, F(n) is the first term of the vector x(n), so what one needs to do is diagonalize A, raise A to the appropriate power, multiply it with x(0), and finally take the upper term. The result is what I presented at the outset. Note that with this formula you can show that lim(n-->infinity)[F(n+1)/F(n)] approaches phi.

  • General Meta Tags

    22
    • title
      How do you calculate the nth term in the Fibonacci sequence? - Answers
    • charset
      utf-8
    • Content-Type
      text/html; charset=utf-8
    • viewport
      minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no
    • X-UA-Compatible
      IE=edge,chrome=1
  • Open Graph Meta Tags

    7
    • og:image
      https://st.answers.com/html_test_assets/Answers_Blue.jpeg
    • og:image:width
      900
    • og:image:height
      900
    • og:site_name
      Answers
    • og:description
      For low terms, it is probably most economical to to simply list out the sequence until you arrive at the nth term, but for large terms, there actually is a closed-form equation. Let (phi) = (1 + sqrt(5))/2. As an aside, this is the golden ratio. Then the nth term of the Fibonacci sequence is given by F(n) = [(phi)^n - (1 - (phi))^n]/sqrt(5), where we are letting F(0) = 0, F(1) = 1, F(2) = 1, etc. The derivation of this formula involves linear algebra, and, in short, the key is in setting this up as a matrix equation and diagonalizing the matrix. While I shall not run through the process here, I will give you the matrix and vector to start with: Let A be the 2x2 matrix [0 1] [1 1] and x(n) be the column vector in R^2 [F(n)] [F(n+1)] In particular, x(0) = (F(0),F(1)) = (0,1). notice that [A][x(n)] = [F(n+1)] [F(n)+F(n+1)] which is x(n+1). Thus, it follows that x(n) = [A]^n[x(0)] (you can prove this rigorously through induction). Now, F(n) is the first term of the vector x(n), so what one needs to do is diagonalize A, raise A to the appropriate power, multiply it with x(0), and finally take the upper term. The result is what I presented at the outset. Note that with this formula you can show that lim(n-->infinity)[F(n+1)/F(n)] approaches phi.
  • Twitter Meta Tags

    1
    • twitter:card
      summary_large_image
  • Link Tags

    16
    • alternate
      https://www.answers.com/feed.rss
    • apple-touch-icon
      /icons/180x180.png
    • canonical
      https://math.answers.com/math-and-arithmetic/How_do_you_calculate_the_nth_term_in_the_Fibonacci_sequence
    • icon
      /favicon.svg
    • icon
      /icons/16x16.png

Links

58