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
1
vote
2 answers

Finding a closed form formula for the sequence defined by $a_{n}=n \cdot (a_{n-1}+a_{n-2})$

Me and some of my friends have been attempting to find a closed form formula for the recurrence relation defined by $a_{n}=n \cdot (a_{n-1}+a_{n-2})$ together with $a_{0}=2$ and $a_{1}=3$. It should be noted that this problem is unrelated to any…
Emil
  • 35
1
vote
0 answers

Particular solution of non-homogeneous recurrence relation, choosing the right one

I am trying to find the solution to the following recurrence relation: $$a_n - 6a_{n-1} + 12a_{n-2} - 8a_{n-3} = n2^n; a_0 = 1, a_1 = 2, a_2 = 6$$ Solving the homogeneous part is simple, but how do I determine the particular solution. Is…
1
vote
1 answer

Recurrence Relation $a_n=\frac12 a_{n-1}^2-4$

$a_n=\frac12 a_{n-1}^2-4\quad \forall\quad n\ge2,a_1=\frac{20}{3}.\text{Find } a_n$ My Working : claim: $a_n=2t^{2^n}+2t^{-2^n},\quad\text{where }t=\sqrt 3 $ Proof: let $a_k$ be $2t^{2^k}+2t^{-2^k}$ for some $k\in\mathbb{N}$ $\implies…
Makar
  • 2,267
1
vote
1 answer

Annihilator method for Difference Equation.

Suppose we have some difference equation $f(y(n))$ which is yet to be defined. Now assume it is equal to some function of $n$. When using the annihilator method we first rewrite our difference equation $f(y(n))$ to some characteristic polynomial.…
Kemit4
  • 329
1
vote
1 answer

Solve Recurrence Relation with Initial Condition At Nth Term

I'm trying to understand if my approach for solving a recurrence relation is flawed, here I give an example. Given a recurrence relation $r_n = a + b_n r_{n+1}$, If we're given an initial condition of $r_0 = c_0$ this can be solved allowing us to…
abnowack
  • 155
  • 5
1
vote
0 answers

A Specific Linear Reccurence

I have been working on a math question that someone asked me, and the following linear recurrence (base cases unspecified) came up: $$ T_{n}=1/6(T_{n-1}+T_{n-2}+T_{n-3}+T_{n-4}+T_{n-5}+T_{n-6})+[rem(n,5)=r] $$ $r$ is a parameter of the recurrence…
1
vote
0 answers

How to solve this recurrence relation? $a_n = \sum\limits_{i=1}^{n-1} a_i a_{n-i}$

I want to find the number of ways to product $n$ terms of a monoid in specific order. Let $G$ be a monoid, and $x_i$'s are elements of $G$. We see that $x_1$ $x_1 x_2$ $(x_1 x_2) x_3, ~~~ x_1 (x_2 x_3)$ $((x_1 x_2) x_3)x_4, ~~~ (x_1(x_2x_3))x_4, ~~~…
with-forest
  • 1,175
1
vote
1 answer

Solving set of recurrence relations

Background: I was solving a programming problem and I got to a point where I'm trying to decide whether it is possible to solve a reccurence relation explicitly making the solution complexity better. I have a set of two reccurence…
Galc127
  • 4,451
1
vote
0 answers

Whether recursive relationship is a different version of principle of mathematical induction?

In connection with the question I can't get satisfied with such 'so on' type logic. Is there a better way to solve it? and the responses recieved I would like to know whether recursive relationship is a different version of principle of…
Sriti Mallick
  • 6,137
  • 3
  • 30
  • 64
1
vote
2 answers

Solving difference equations

Given $$\alpha\{v(a + 1) - v(1) \} = \beta v(a)$$ Deduce $$v(a) = \frac{1-(\beta/\alpha)^m}{1-(\beta/\alpha)} v(1),$$ and derive $$v(a) = \frac{1-(\beta/\alpha)^a}{1-(\beta/\alpha)^{m+n}}.$$ I am new to difference equations, but I am following…
HMPtwo
  • 433
1
vote
0 answers

Is there any way to solve the following recurrence relation in 2-dim with different boundary conditions?

I was trying to solve the following recursion problem. It seems like because of the different nature of the boundary conditions it is getting strange although I know the solution exists. The problem is as follows: $a(n,k) = pf a(n-1,k) + p(1-f)…
Ghosh
  • 11
1
vote
3 answers

Find expression of $c_n$, where $c_n = a_n + b_n$

Given the recurrence relation $a_{n+2} = 3a_{n+1} + 6a_n$ and $b_{n+2} = b_{n+1} + b_n$ I am supposed to find an expression of the recurrence relation for $c_n := a_n + b_n$. I tried to find some form of linear dependence to obtain a recurrence…
1
vote
2 answers

Single Solution for this Recurrence: $a(n)=3^n-a(n-1)+1$

I've solved this recurrence using the iteration method for even and odd values of $n$, but I cannot seem to find a singular explicit function that solves this recurrence for all values of $n$. The recurrence is $$a(n) = \begin{cases} 1, & \text{if…
1
vote
1 answer

solving recurrence relation by using iterations

I got for homework the following recurrence relation: $T(n)=n^\frac{2}{3}\cdot T(n^\frac{1}{3})+c $ and $T(1)=O(1) $ $\forall n\leq2 $ And this is what I got so far: by using the iterative method I got that the for any $k$…
1
vote
1 answer

Recurrent sequence in Ford Circle

I have been working on this question for quite some time now but couldn't solve it. If anyone can help or give me some insight into the problem, I would very much appreciate it. So imagine 2 touching circles that are also tangent to a horizontal…