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
2
votes
3 answers

Help with recurrence relation

It 's been a long time since I touched this kind of math , so please help me to solve the relation step by steps : $V_k = (1+i)*V_{k-1}+P$ I know the answer is $V_k = (P/i)*((1+i)^k-1) $ Thanks in advance.
Peter
  • 1,955
2
votes
1 answer

The annihilator of $n(2^n)\sin({n\pi \over 2})$

I have to solve this problem: $y(n+2)-y(n)=n(2^n)\sin({n\pi \over 2})$ And I know the annihilator of $n(2^n) = (E-2)^2$, but I don't know how I should find the other part of the annihilator. $y_p(n)=c_0+nc_1$
arnaud
  • 23
2
votes
1 answer

Relations between the solutions of a non homogenous second order difference equation and their derivative?

Here's an excerpt of a lecture note I am reading (I've highlighted the beginning of the part that I don't understand): I don't understand how derivative comes into the picture. Here's some context on my situation: My Algebra course has covered…
mauna
  • 3,540
2
votes
2 answers

Solving non homogenous recurrence relation

Find all solutions of the recurrence relation $$a_n = 2a_{n-1}+ 3^n$$ The $3^n$ is really throwing me off.
2
votes
2 answers

Solve the recursion $a_n=\frac{1}{4}2^{n-1}-1+3a_{n-1}$

Solve the recursion $a_n=\frac{1}{4}2^{n-1}-1+3a_{n-1}$ I'd know how to solve it if it weren't for that -1. Because of it, I can't divide the particular equation with $2^{n-2}$ to solve it. What can be done here? Oh, sorry. The starting conditions…
Luka Horvat
  • 2,618
2
votes
2 answers

Particular solution of a non-homogenous recurrence relation

I need some help with the following non-homogenous recurrence relation. $$a_n-2a_{n-1}+a_{n-2}=n+1$$ $$a_0=0, a_1=1$$ When I solve the associated homogenous equation I use the auxiliary equation $x^2-2x+1=0$ and obtain the root $x=1$. Hence, I…
tychicus
  • 155
2
votes
1 answer

How to solve this specific recurrence relation

I'm trying to solve the following recurrence relation for $\alpha_j$, for which Mathematica is not helpful. $$ \lambda\alpha_j + (j+1)\alpha_{j+1} = \sum_{\mu = 0}^{j}\frac{\mu(j-1)!}{\mu!(j-\mu)!}\alpha_{\mu} $$ Don't be deterred by the inclusion…
Nicola
  • 89
  • 6
2
votes
1 answer

Simple recurrence relation - 1D

I know this is a very simple recurrence relation, but how would you go on solving it? $$x(n+1)=\frac{x(n)}{1+x(n)}$$
Pedro Ramirez
  • 75
  • 1
  • 4
2
votes
1 answer

Recurrence Relation.

I was searching the internet when I came a across a question, and just couldn't solve it. I kept rearranging and substituting but kept going around in loops. "For $n:= 1,2,3,.....,$ Let $$ I_n = \int_0^1 \frac{x^{n-1}}{2-x}.dx $$ Writing $x^n…
jhon
  • 33
2
votes
2 answers

Asymptotic growth of solutions of $T(n)=T(2n/3 +4)+\Theta(n)$

Well, I am having trouble dealing with this: $$T(n) = T(2n/3 + 4) + \Theta(n)$$ Usually there is a $n - k$ , and not a "$+ k$" I guessed a solution of $cn$ but the calculation seems off. Any body seen a problem that looks like this? Thanks
oSR
  • 21
2
votes
1 answer

Difference equation: $y_{k+1} = y_{k} + \frac{c}{2k}$

I'd like to solve this difference equation. Unfortunately, the forcing term is not geometric, so I don't know how to find the solution: $$ y_{k+1} = y_k + \frac{c}{2k}. $$
Azmisov
  • 249
  • 2
  • 12
2
votes
2 answers

Recurrence relation/inequality, $S(i) \leq d \cdot \log^c (S(i-1))$

During my reaserch I came across the folowwing recursion ineqaulity, I wonder if someone can help me to give a bound about this $S(i) \leq d \cdot \log^c (S(i-1))$ where $s(1) = c_0$ Thanks! Daniel
Daniel
  • 21
2
votes
2 answers

Solve a recurrence relation with $\sqrt n$ inside.

I have never seen such an equation: $$T(n) = T\left(\frac n2 + \sqrt n\right) + n$$ Is it possible to solve? If yes, how? I mean is there any general method for it or something? thanks.
Sida
  • 681
2
votes
1 answer

Nonlinear difference equation

Maybe this is a trivial question, but how to find the general solution to the following first order difference equation? $$ y_{t+1}=a+\frac{b}{y_{t}} $$ Also, could someone recommend a reference textbook on difference (and possibly differential)…
user70645
  • 119
  • 4
2
votes
1 answer

How to find a recurrence relation for the following sequence

I have to find a recurrence relation that generates the sum of the first $n$ cubes, that is $s_n = 1 + 8 + 27 + \dots + n^3$ considering that $n=1,2,3,\dots$ I also have to find a recurrence relation for $s_n = n!$ and find the initial…
Adam Rainey
  • 115
  • 1
  • 5