Questions tagged [recurrence-relations]

Questions regarding functions defined recursively, such as the Fibonacci sequence.

A recurrence relation is an equation that recursively defines a sequence or multidimensional array of values: once one or more initial terms are given, each further term of the sequence or array is defined as a function of the preceding terms.

Simple examples include the geometric sequence $a_{n}=r a_{n-1}$, which has the closed-form $a_{n}=r^n a_0$, the aforementioned Fibonacci sequence with initial conditions $f_0=0,f_1=1$ and recurrence $f_{n+2}=f_{n+1}+f_n$, and series: the sequence $S_n =\sum_{k=1}^{n} a_k$ can be written as $S_n= S_{n-1}+a_n$.

The term order is often used to describe the number of prior terms used to calculate the next one; for instance, the Fibonacci sequence is of order 2.

See the Wikipedia page for more information.

8985 questions
0
votes
2 answers

a way to solve this relation $a_n = 4a_{n-1}-4a_{n-2}+2^n$

the equation $a_n = 4a_{n-1}-4a_{n-2}+2^n$ have the homogeneous part of $a_n=A_1 n2^n + A_2 2^n$ but i dont know how to solve the particular part. my method is As $\beta(n)=2^n$ by the guessing method, guessing the particular solution of the…
Samuel
  • 201
0
votes
3 answers

How to show that closed form of Fibonacci number is roots ratio difference of $n^{th}$ power of roots to difference of roots of $x^2 - x - 1=0$

1.5 The Fibonacci numbers $1,1,2,3,5,...$ are defined by the recursion formula $x_{n+1} = x_n + x_{n-1}$, with $x_1 = x_2 = 1$. Prove that $(x_n, x_{n+1}) = 1$ and that $x_{n} = \frac{a^n -b^n}{a-b}$ where $a,\text{and }b $ are roots of quadratic…
S L
  • 11,731
0
votes
2 answers

Find the general formula of $u_n$:

Find the general formula of $u_n$: $$\begin{cases}u_1=\frac{5}{4}\\[10pt]u_{n+1}=8u_n^4-8u_n^2+1, \forall n \in \mathbb{N} \end{cases}$$
Haruboy15
  • 990
0
votes
1 answer

General way to solve linear recursive questions

I want to solve this recursive equation $a_0 = 1, b_0 = 1, c_0 =1 ,d_0=1$ and : $a_n = a_{n-1} + b_{n-1} + c_{n-1}$ $b_n = a_{n-1} + b_{n-1} + c_{n-1}$ $c_n = a_{n-1} + b_{n-1} + c_{n-1} + d_{n-1}$ $d_n = c_{n-1} + d_{n-1}$ Another example is…
Ahmad
  • 1,380
  • 1
  • 18
  • 37
0
votes
2 answers

Recursion formula for sequence - Apostol's Analysis

This problem is from Chapter 1, Probiem 8 (1st edition) of Apostol's Mathematical Analysis. Let $a,b$ denote the roots of the quadratic equation $x^2-x-1=0$, and let $x_n=\frac{a^n-b^n}{a-b}$. Show that $x_{n+1}=x_n+x_{n-1}$. The roots of the…
0
votes
1 answer

Help with hairy recurrence relation

There's so much going on here I don't know where to start: $$ d_{t} = d_{t - 1} + \left(\frac{1}{r}\right)v_{t - 1} $$ $$ v_{t} = x_t + v_{t - 1} - \left(\frac{f^2}{r}\right) (4\pi^2 d_{t - 1} + D v_{t - 1}) $$ $r$, $f$, and $D$ are constants. How…
0
votes
1 answer

Difference equation with the annihilator method $y(n+2)-4y(n)=2^{n+3}-1$, $n\geq 0$

I want to find the general solution of the difference equation $y(n+2)-4y(n)=2^{n+3}-1$, $n\geq 0$ with the annihilator method. I can rewrite the left-hand side as $L(y)(n)$ where $L=\tau^2-4$ and $\tau$ is the backshift operator. But I do not know…
Cardinal
  • 205
0
votes
2 answers

How to solve this recurrence relation system?

Given $x_0 = 1, y_0 = 2, z_0 = 2$ solve the following recurrence relation for $x_n, y_n, z_n, n \in \Bbb{N}$: \begin{cases} x_{n+1} = \frac{1}{2}x_n + y_n + 3z_n, \\ y_{n+1} = y_n + \frac{3}{2}z_n, \\ z_{n+1} = -\frac{1}{2}y_n -…
E.Z
  • 273
0
votes
0 answers

Nonhomogeneous difference equation

Let $x(n+1)-f(n)x(n)=g(n)$ and $f(n)\not=0$ I would like to show that the solution of the 1-order homogeneous equation $g=0$ is given by $x_h(n):= \begin{cases} x(0)*\prod_{j=0}^{n-1}f(j) & \; n>0 \\ \;\;\,1 & \; n=0 \\ …
Voyage
  • 919
0
votes
1 answer

Recurrence equation solution using reverse substitution method

Given $$y(0)=7$$ $$y(n)=2y(n-1)+7^14^n$$ My attempt so…
student
  • 668
0
votes
1 answer

A recurrence demonstration

Can someone help me with this: Demonstrate by recurrence that: $$ \frac{1}{n!} \leq \left(\frac{e}{n}\right)^n \ \ \ (\forall n>0)$$ Thank you.
0
votes
2 answers

Based on a sequence of numbers in a recurrence relation, how can one make a reasonable guess what the underlying degree is?

I am wondering if there's some tip for guessing the degree of a function or if it really is just a guess (assuming one doesn't know all the inner workings of what produced the number in the first place). I ask because if I guess the degree and get…
KaliMa
  • 923
0
votes
1 answer

Solving the recurrence relation $T(n)=25T(n/5)+n^2\cdot(\log(n))^2$

I can't figure out how to solve this recurrence relation: $T(n)=25T(n/5)+n^2\cdot(\log(n))^2$. I can't use here in the iteration method. I also tried to use the Master Theorem but I figured out that I can't use this method here. I don't have any…
joe
  • 111
0
votes
1 answer

Closed form for the given recurrence relation

Let $a_0 = 2$. Let $a_k = (a_{k-1})(a_{k-1} - 1) + 1$. Is there a closed form solution to evaluate $a_k$?
0
votes
1 answer

Solving the recurrence $T(n) = 7 T(n/2) +O(1)$

I know how this works but I have the problem to "compute" the result. With $T(n) = O(1) n\geq2$ $T(n) = 7 T(n/2) + O(1)$ $T(n/2) = 7(n/4) + O(1)$ ... Now I have this when I see some pattern: $7^3*T(n/8) +7^2 * O(1) + 7 * O(1) + O(1)$ Now I can…