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

Is it possible to solve the difference equation $K_{n+1}=aK_n+bK_n^{\theta}+c$?

Is it possible to solve the difference equation $K_{n+1}=aK_n+bK_n^{\theta}+c$, where a, b, c are real numbers while $\theta\in (0,1)$? How about $\theta=\frac{1}{2}$?
longtemps
  • 163
1
vote
0 answers

Interesting recurrence equation models?

So I've had an introductory subject to recurrence equations and now I have to study a model using recurrence equations as a project. The problem is that most models I find are either elemental or precisely those I've already studied (dynamic of…
dvmnd
  • 23
1
vote
0 answers

$T(n) = T(n/2 - \log(n)) +1$ using Substitution Method

I have the following recurrence: $$T(n) = T(n/2 - \log(n)) +1$$ How can this be solved using the substitution method? I don't fully understand the theory of this method and I'm not sure how to apply it on this kind of recurrences; I'm a beginner in…
ViForU
  • 11
1
vote
2 answers

Example of recurrence relation without closed form expression?

Can give an example of a recurrence relation for which there does not exist a closed form expression?
shuhalo
  • 7,485
1
vote
4 answers

Recurrence Relation $k_{n+2}=\frac{1-n}{n+2}k_n$

There was an interesting question posted on here earlier today but it seems to have disappeared. With due to respect to the OP, I'll post the same question here from memory. If anyone finds the original please mark this as a duplicate and I'll…
1
vote
1 answer

Finding matrix for given recurrence

For the recurrence relation: $f(0)=1$ $f(1)=1$ $f(2)=2$ $f(2n)=f(n)+f(n+1)+n$ $f(2n+1)=f(n)+f(n−1)+1$ How to find square matrices $M_0, M_1$ and vectors $u, v$ such that if the base-2 expansion of $n$ is given by $e_1 e_2 \cdots e_j$, then $$f(n) =…
1
vote
1 answer

Solution of $x_{k+1} = x_{k} (a x_{k} + b)$

Could anyone help me to solve the equation $x_{k+1} = x_{k} (a x_{k} + b)$, for find the explicit solution of $x_{k}$? BTW. Do you know a GOOD book for the classification for non linear difference equation? I've looked for something but most part…
user8469759
  • 5,285
1
vote
1 answer

Difference equation with log

Can we find continuous $f(x)$ and $d$ such that $$ f(x+1)-f(x) = -\log( c|x| + d ) $$ for all $x$? The constant $c>0$ is specified.
Peter Cotton
  • 183
  • 6
1
vote
3 answers

Inhomogeneus recurrence relation $a_{n+1} = 2a_n+3^n+4^n$

So this was given in class and the teacher weren't able to solve it, and I was wondering how a solution can be given? $a_{n+1} = 2a_n+3^n+4^n, \enspace a_0 = 1$ Usually we'd consider the solution $a_n$ to be of the form $a_n =…
Frank Vel
  • 5,339
1
vote
1 answer

How many recurrence relations are possible for a sequence?

How many recurrence relations are possible for a sequence? Example: $$ 5, 11, 29, 83, 245, \ldots $$ We have two recurrence relation: $T_n = 3T_{n-1} - 4$ $T_n = T_{n-1} + 6 \cdot 3^{n-1}$ Both give $T_n = 3^n + 2$
1
vote
0 answers

Recurrence relation sequence (Hard)

I was wondering if this sequence was possible using two base cases? The sequence is $\{-1,0,1,3,13\}$ .. Ive came close by doing $(a_{n-1})^2+a_{n-2}+a_n-1$ which works for everything but the $1$. I'm jumping around the right answer but can't seem…
1
vote
3 answers

Solving Simple Recursive Equations

For recursive equations of the form $au_{n+2}=bu_{n+1}+cu_n$ I read that the trick is to let $u_n=\lambda^n$ for some $\lambda$ and then find an appropriate $\lambda$ that fits the initial conditions. However, what if the solutions to the resultant…
user23178
0
votes
2 answers

Difference equation, special solution

I have the difference equation: $x_{n+2} - \frac{1}{2}x_{n+1} + \frac{1}{8}x_{n} = \cos(\frac{n\pi}{2})$ I am guessing the special solution is on the form: $A\cos(\frac{n\pi}{2}) + B\sin(\frac{n\pi}{2})$ I haven't encountered an equation on this…
0
votes
1 answer

Find all solutions of recurrence relation

For $p\in (0,1)$ and $q:=1-p$ find all the solutions $h=(h_i)_{i\in\mathbb{N}_0}$ of the recurrence relation $$ \begin{cases}h_0=1\\h_i=ph_{i+1}+qh_{i-1}, & \text{ for }i=1,2,...\end{cases} $$ First I assume that the solution is of the form…
user34632
0
votes
3 answers

Solving $ax_{n+1}+bx_n+cx_{n-1}=0$

In a book I found the following: Consider a recurrence relation of the form $$ ax_{n+1}+bx_n+cx_{n-1}=0 $$ where $a$ and $c$ are both non-zero. Let us try a solution of the form $x_n=\lambda^n$; then $a\lambda^2+b\lambda+c=0$. Denote by…
mathfemi
  • 2,631