PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: No information on entry rating
[parent] formula for sequences satisfying second order recurrence relations (Theorem)
Theorem   Let $\{s_n\}$ be a sequence such that there exist constants $A,B\in\mathbb{C}$ with $s_1=As_0$ and, for all positive integers $n$ , $$ s_{n+1}=As_n+Bs_{n-1}. $$ Then for all nonnegative integers $n$ , we have $$ s_n=s_0\sum_{k=0}^{\lfloor\frac{n}{2}\rfloor} \binom{n-k}{k} B^k A^{n-2k}, $$ where $\lfloor\cdot\rfloor$ denotes the floor function and $\binom{a}{r}$ denotes the binomial coefficient.
Proof. This will be proven by induction. Due to the presence of $\lfloor\frac{n}{2}\rfloor$ , odd $n$ and even $n$ should be considered separately. Thus, there are two base steps:
  • If $n=0$ , then $$ s_0=s_0\sum_{k=0}^0 \binom{0-k}{k} B^k A^{0-2k}. $$
  • If $n=1$ , then $$ s_1=As_0=s_0\sum_{k=0}^0 \binom{1-k}{k} B^k A^{1-2k}. $$

Now assume that the theorem holds for all nonnegative integers less than or equal to some positive integer $n$ . We must show that the theorem holds for $n+1$ .

Recall that $$ s_{n+1}=As_n+Bs_{n-1}. $$ We can use the induction hypothesis on $s_n$ and $s_{n-1}$ :

$\displaystyle s_{n+1}$ $\displaystyle =As_0\sum_{k=0}^{\lfloor\frac{n}{2}\rfloor} \binom{n-k}{k} B^k A^... ...} +Bs_0\sum_{k=0}^{\lfloor\frac{n-1}{2}\rfloor} \binom{n-1-k}{k} B^k A^{n-1-2k}$    
  $\displaystyle =s_0\left( \sum_{k=0}^{\lfloor\frac{n}{2}\rfloor} \binom{n-k}{k} ... ...{k=0}^{\lfloor\frac{n-1}{2}\rfloor} \binom{n-1-k}{k} B^{k+1} A^{n-1-2k} \right)$    
  $\displaystyle =s_0\left( A^{n+1}+\sum_{k=1}^{\lfloor\frac{n}{2}\rfloor} \binom{... ...sum_{k=1}^{\lfloor\frac{n+1}{2}\rfloor} \binom{n-k}{k-1} B^k A^{n+1-2k} \right)$    

First assume that $n$ is odd. Then the first of the two summations has $\lfloor\frac{n}{2}\rfloor=\frac{n-1}{2}$ terms and the second summation has $\lfloor\frac{n+1}{2}\rfloor=\frac{n+1}{2}$ terms. Therefore, we must split off the $k=\frac{n+1}{2}$ term from the second summation before combining the two summations:
$\displaystyle s_{n+1}$ $\displaystyle =s_0\left( A^{n+1}+\sum_{k=1}^{\lfloor\frac{n}{2}\rfloor} \binom{... ...r\frac{n}{2}\rfloor} \binom{n-k}{k-1} B^k A^{n+1-2k} +B^{\frac{n+1}{2}} \right)$    
  $\displaystyle =s_0\left( A^{n+1}+\sum_{k=1}^{\lfloor\frac{n}{2}\rfloor} \left[ \binom{n-k}{k}+\binom{n-k}{k-1} \right] B^k A^{n+1-2k} +B^{\frac{n+1}{2}} \right)$    
  $\displaystyle =s_0\left( A^{n+1}+\sum_{k=1}^{\lfloor\frac{n}{2}\rfloor} \binom{n+1-k}{k} B^k A^{n+1-2k} +B^{\frac{n+1}{2}} \right)$    
  $\displaystyle =s_0\sum_{k=0}^{\lfloor\frac{n+1}{2}\rfloor} \binom{n+1-k}{k} B^k A^{n+1-2k}$    

Now assume that $n$ is even. Then the two summations have the same number of terms and can be combined as is:
$\displaystyle s_{n+1}$ $\displaystyle =s_0\left( A^{n+1}+\sum_{k=1}^{\lfloor\frac{n+1}{2}\rfloor} \left[ \binom{n-k}{k}+\binom{n-k}{k-1} \right] B^k A^{n+1-2k} \right)$    
  $\displaystyle =s_0\sum_{k=0}^{\lfloor\frac{n+1}{2}\rfloor} \binom{n+1-k}{k} B^k A^{n+1-2k}$    

Hence, the theorem holds for all nonnegative integers $n$ . $ \qedsymbol$




"formula for sequences satisfying second order recurrence relations" is owned by Wkbj79.
(view preamble | get metadata)

View style:


This object's parent.

Attachments:
applications of second order recurrence relation formula (Application) by Wkbj79
Log in to rate this entry.
(view current ratings)

Cross-references: number, summations, induction hypothesis, theorem, base steps, even, odd, induction, binomial coefficient, floor function, integers, positive, sequence
There is 1 reference to this entry.

This is version 4 of formula for sequences satisfying second order recurrence relations, born on 2008-02-26, modified 2008-02-27.
Object id is 10339, canonical name is FormulaForSequencesSatisfyingSecondOrderRecurrenceRelations.
Accessed 749 times total.

Classification:
AMS MSC11B37 (Number theory :: Sequences and sets :: Recurrences)
 03D20 (Mathematical logic and foundations :: Computability and recursion theory :: Recursive functions and relations, subrecursive hierarchies)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | prove | add result | add corollary | add example | add (any)