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
1 answer

second order linear homogeneous recurrence relations

I'm having a lot of trouble understanding second-order linear homogenous recurrence relations. The notes I have been given really are not helping me understand the process as they are written for mathematics students (which I am not) so there is a…
0
votes
2 answers

Converting closed form to recursive and recursive to closed form

Please explain to me how to convert this to closed form: $$P_n = 1.75P_{n-1}, P_0=40.$$ And how to convert these into recursive form: $$ \begin{align*} Y &= 5.4x-27, \\ Y &= 3800\cdot1.04^x. \end{align*} $$
David
  • 1
0
votes
1 answer

How fast does $x_n = x_{n-1} + Cx_{n-2}$ grow

The Fibonacci sequence $x_n = x_{n-1} + x_{n-2}$ has growth rate $O(\phi^n)$. If we generalize this recurrence to $x_n = x_{n-1} + Cx_{n-2}$ where $C \in [0, \infty)$, what can we say about its growth rate?
Line
  • 11
0
votes
0 answers

Simplifying a recurrence relation using a system of recurrence equations

I'm given a growing list of a's and b's(size of a and b at the bottom) and had to form a recurrence equation for $a_{n}$ & $b_n$ (number of a's and b's respectively) and I was able to do it, these are what I got: $a_n$=2$a_{n-1}$+$a_{n-2}$+$a_{n-3}$…
0
votes
0 answers

Inequality between two recurrence relations

Let's define two recurrence relations with $n \in \mathbb{N}$ and $x \in \left]0 ;1\right[$ as: $$ \begin{align} a_0 &= 1 \\ a_n &= -x \left( a_{n-1} + n \right) \end{align} $$ and $$ \begin{align} b_0 &= 1 \\ b_n &= -f(x) \left( b_{n-1} + n…
0
votes
1 answer

Non-homogeneous second-order recurrence relation without initial conditions but with asymptotic convergence

I am not sure if my question is asked with the correct terms. I have a non-homogenous second order recurrence relation : $$a_{n}+\beta \alpha a_{n-1} + \beta (1-\alpha) a_{n+1}+ C = 0 $$ where $\alpha,\beta \in (0,1) $, $C$ a finite constant, and $n…
0
votes
0 answers

Recurrence relation $T(n) = T(n-a) + T(n-b)$ for constants $a$ and $b$

Given positive real constants $a$ and $b$ with $a < b$, I want to solve the following recurrence relation: $T(n_{
0
votes
1 answer

Find a closed form for the recurrence $g(n+2)= 5g(n+1)-5g(n)+g(n-1)$

More specifically use the initial values $g(1)=0, \ g(2)=0, \ g(3)=1$. I know several methods for solving order two recurrences but this being an order three would include having to evaluate a cubic polynomial and then solve for the initial…
0
votes
0 answers

Particular Solution For Non Homogeneous Recurrence Relations

I want to proof that for every recurrence relation in the form: $$f(n) = C_1\cdot f(n-1) + C_2\cdot f(n-2) + ... + C_r\cdot f(n-r) + P(n)\cdot x^n$$ where $x$ is constant root for the related homogeneous relation and $P(n)$ is a polynomial from…
0
votes
1 answer

recurrence relation for proportional division

Consider the following recurrence relation, for a function $D(x,n)$, where x is a positive real number and n is a positive integer: $$ D(x,1) = x $$ $$ D(x,n) = \min_{k=1..n-1}{D(xk/n,k)} \ \ \ \ [n>1] $$ This formula can be interpreted as…
0
votes
1 answer

How to solve recurrence $T(n) = T(n/3)+T(2n/3) + O(n)$

I am trying to solve the following recurrence $T(n) = T(n/3)+T(2n/3) + O(n)$ by either substitution or recursion tree method. I have seen examples online that solve this recursion for $$\Omega$$ lower bound but not tight upper bound. How can this be…
0
votes
0 answers

Second order difference equation satisfying this:

I have a second-order difference equation which satisfies the following: $\frac{a_{n+2}-a_{n+1}}{a_{n+1}-a_{n}} = k >0$ for any $n$. I can see that $ \Delta a_{n}\equiv a_{n+1}-a_{n}$ is satisfying an exponential relation, but what more can I say…
0
votes
2 answers

Lag operator computations

given $$h_t=\alpha_0+(1-\beta_1)\epsilon^2_{t-1}+\beta_1Lh_t$$ where $$Lh_t=h_{t-1}$$ how can I obtain $$h_t=\alpha_0/(1-\beta_1)+(1-\beta_1)\sum_{1=0}^\inf\beta_1^i\epsilon^2_{t-1-i}$$?
user742138
0
votes
1 answer

How to find the general solution to the difference equation

I have the below difference equation, which I need to find a general solution for: $a_{n+1} = a_n^2 − 10,\ a_0 = 4$ I've done simpler problems which I know how to reach a general solution for. However, I'm unsure of how to handle this particular…
0
votes
2 answers

Number of regions formed by $n$ great circles on the sphere

Find the recurrence relation satisfied by $R_n$, where $R_n$ is the number of regions into which the surface of a sphere is divided by $n$ great circles (which are the intersections of the sphere and planes passing through the center of the…
Memiya
  • 153