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

General Solution of Linear Homogenous Difference Equations

I'm currently learning about linear inhomogenous difference equations and I completely understand why knowing a particular solution and all solutions of the appropriate homogenous equation is enough. However, I don't quite understand how we know…
frgt
  • 325
0
votes
1 answer

Upper bound on iterations of a decreasing function

I have the following decreasing function: $$n_0 =n$$ $$n_{i+1} = n_i \left ( 1 - \frac{4}{\ln n_i + 2} \right)$$ Given $1 < k \ll n$ what is a good upper bound for the number of iterations needed to reach a value $n_i < k$ ?
0
votes
1 answer

Find a recurrence relation for $a_{n,k}$ , the number of ways to order n doughnuts from k different types of doughnuts if

Find a recurrence relation for $a_{n,k}$ , the number of ways to order n doughnuts from k different types of doughnuts if two or four or six doughnuts must be chosen of each type. I need help understanding the answer to this. So I know the answer to…
user848500
0
votes
1 answer

Find a recurrence relation for the number of regions created by n mutually intersecting circles

Find a recurrence relation for the number of regions created by n mutually intersecting circles on a piece of paper (no three circles have a common intersection point). I need help understanding the answer to this My work: So after looking a while…
user848500
0
votes
1 answer

Flag Stacking Problem

I am confused on part b). I am pretty sure part a) is correct. If someone could explain/show where I am going wrong, it would be much appreciated. Part a) : Find a recurrence relation for the number of ways to arrange three types of flags on a…
user796761
0
votes
1 answer

Solving Inhomogeneous Recurrence Relations

Equation is: ${(1/2)(a_n + a_{(n-1)})} = 2n + 5$ when $a_0 = 3$. So, I got ${a_n = A(-1)^n}$ for the homogenous solution I got 2n + 1 for a particular solution to ${a_n = -a_{(n-1)} + 4n}$ I got 5 for a particular solution to ${a_n = -a_{(n-1)} …
user796761
0
votes
1 answer

Solving a Difference Equation

Find the solution $Y \in \mathbb{R}^\mathbb{R}$ of difference equation $y(x+2) - y(x+1) + 2y(x) = x$ on $\mathbb{R}$ such that $\forall x \in [0,2): Y(x) =x$ This is all the information of the given question that I am trying to solve. I need some…
0
votes
2 answers

Recursive definitions and clauses

When a recursive step is applied to an arbitrary set, is it acceptable to state that the resulting set after recursive application never remains the same as the previous given set, i.e. back-loop never exists during any recursion step? If it exists,…
0
votes
1 answer

Confused how the substitution expresses this recurrence

Consider the recurrence $a_n = a_{n-1}(1 - a_{n-1})$ for $n > 0$ with $a_0 = \frac{1}{2}$. Since the terms in the recurrence decrease and are positive, it is not hard to see that $\lim_{n\to\infty}a_n = 0$. To find the speed of convergence, it is…
dalton atwood
  • 139
  • 11
0
votes
0 answers

Uniqueness of the explicit solution for a recursive equation

Suppose we have a sequence $\{x_n\}_{n=1}^{\infty}$ which is defined by a recursive rule $x_n = g(x_1, x_2, ..., x_{n-1})$. There are infinitely many explicit functions $f(n)$ which satisfy $f(n) = x_n,\, \forall n \in \mathbb{Z}$. Does this ever…
imkevinkuo
  • 11
  • 4
0
votes
1 answer

Recurrence relation exponential

Solve recurrence relation: $P_1=1; P_n=P_{n-1}+2^n\\$ I am completely new in this type of equations. Can somebody explain this to me? I tried myself and got something like this: $P_n=1+1/2+1/2^2+1/2^3+...+2^n$ And I don't know if this is correct and…
0
votes
3 answers

Showing that, if $a_n=2a_{n-1}+a_{n-2}$, then $\frac{a_{n}}{a_{n-1}}$ tends to $\sqrt{2}-1$ as $n\to\infty$.

Show that, for the recurrence $$a_n=2a_{n-1}+a_{n-2},$$ the ratio $\dfrac{a_{n}}{a_{n-1}}$ tends to $\sqrt{2}-1$ as $n\to\infty$. Not sure about this one, I know the recurrence relation solution is…
thesmallprint
  • 3,636
  • 1
  • 16
  • 25
0
votes
1 answer

How to denote a FOR...LOOP in mathematics

I am trying to help my son with a fairly basic maths question for school. How many squares are on a standard $8\times8$ chess board? We have solved this one quickly, and then explored a number of different ways to calculate the answer in a number…
0
votes
0 answers

Characteristic polynomial index coefficient

My questions stems from the first link of this search, a downloading pdf, problem 13 of the first "Mock AIME": thomas mildorf aime. We have a recurrence relation $64=7R_n+2R{n-1}+9R_{n-2}$, and part of the problem involves finding a closed form of…
mpnm
  • 1,097
0
votes
1 answer

Question about recursive relations between number of elements in residue classes of 3 with n digits

The purpose of this 3 part question is to find an explicit formula (i.e. not a recursive one) for the number of numbers in An , Bn , Cn which are defined as the sets of n-digit natural numbers equal to 0,1,2 modulo 3 respectively. [For example…
Elazar
  • 87