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

Solving a Recurrence in Terms of k

I have this recurrence relation: $$t(2^{2^{k}}) = 1+t(\sqrt{(2^{2^k}})$$ How do I express it in terms of $k$, i.e. $t(k)$? I've tried using logarithm properties to no avail. Edit: I've tried isolating $k$, and I've ended up getting something like…
user389129
0
votes
1 answer

How to get started with proving this closed-equation form?

The question asks to prove that: $S(n) = pr^{n-1} + q(n − 1)r^{n−1}$ is the closed form solution for linear, second order, constant coefficient, homogeneous recurrence relations where the characteristic equation: $t^2 − c(1)t − c(2) = 0$ has a…
0
votes
0 answers

Classification of Difference Equation

I have to find the Order, Dimension and Degree of the following Difference Equations and have to classify them according to their linearity/nonlinearity, homogenity and Autonomous/NonAutonomous nature. Help!!
0
votes
1 answer

Find a recurrence relation for bacteria.

I need to find a recurrence relation such that every 2 hours the number of bacteria gets quadrupled and every 4 hours after creation, 3 times as many of the bacteria die. We start with 4 bacteria initially. n = number of hours. So I'm debating…
Chubbles
  • 359
0
votes
1 answer

Multiplication using divide and conquer

Basic Approach to multiply 2 numbers say x , y $\left(binary\right)$ is $\Theta \left ( n^{2} \right )$ but if we apply Divide and conquer approach , we split it as-: $x=x_{L}*2^{n/2}+x_{R}$ $y=y_{L}*2^{n/2}+y_{R}$ $x_{L}$ and $x_{R}$…
0
votes
2 answers

Evaluating a recurrence relation with non-contiguous initial conditions

Is there a general way of evaluating the points in a recurrence relation when the initial conditions are not contiguous? For instance: $$T(i) = f\left(T(i-1), T(i-2)\right),$$ with $T(a) = A$ and $T(b) = B$, and $a+1 \leq i \leq b-1$ (and with…
doc
  • 1,307
0
votes
2 answers

How to calculate the equilibrium of a difference equation system of multiple functions?

I'm trying to infer the equilibrium value of the following system $$\begin{aligned} v(n) = 0.6 \cdot v(n-1) \\ p(n) = 0.13 \cdot v(n) + 0.87 \cdot p(n-1) + 25 \end{aligned}$$ with initial values $v(0) \approx 1441.67$, $p(0) = 3000$ and $p(1) =…
mavavilj
  • 7,270
0
votes
4 answers

linear recurrence relation problem

$$a(n) = (n+1) a(n-1),$$ $$a(0) = 5$$ I've been thinking about this problem for a long while but I do not know how to even start.
0
votes
1 answer

How to derive the eqation form of a recurrsive relation?

The four theorems which tells us how to convert recursion relation into equation can be verified but induction. But do we derive them at the first place ?
pbsh
  • 166
  • 4
0
votes
1 answer

Recurrence Question involving logarithm

Can anyone please solve this recurrence $$T(n)=T(3\sqrt n)+\log n.$$ It came in my paper. I want to know whether the following answer is right or wrong: My answer: $T(n)=\log^3 n.$
0
votes
3 answers

How to solve recurrence relations?

Say you have $a_{n+1}=4-a_n$ and $a_1=1$ In general, how do you find the formula for $a_n$?
0
votes
2 answers

Recurrence Relation_discrete

Let $f(x)=\frac 1 {(1-x)^2}$,find the coefficients $a_0, a_1, a_2, \ldots$ in the expansion $f(x)=\sum_{k=0}^\infty a_k x^k$ Solution is using theorem Let $f(x)=\sum_{k=0}^\infty a_k x^k,\quad g(x)=\sum_{k=0}^\infty b_k x^k$ $$\Rightarrow…
0
votes
0 answers

Recurrence relation for the number of bit strings that contain the string $01$

Find the recurrence relation for the number of bit strings that contain the string $01$ I know it is answered here But i have a doubt.I mean i just want to check my approach,where it is wrong!! For Finding recurence relation containing $01$,$a_{n}$…
0
votes
1 answer

Recurrence Relation in terms of x(t+1)

I'm looking at this recurrence relation problem regarding interest that is compounded monthly. Basically, you deposit $1,000$ into a 5% interest bank account that is compounded monthly. So, after 2 months your account has $1,008.35. It asks you to…
Allison
  • 145
0
votes
1 answer

Recurrence Relation for general form of equation

i have below questions to solve. i tried this several times for one week. but i could not solve it. please can you help me to solve this. recurence