Bryan's question at Yahoo Answers regarding linear recurrence relations

In summary, the conversation is about finding the solution to two different recurrence relations using initial values and characteristic equations. The solutions are given as closed forms in terms of the initial values and characteristic roots. The conversation also encourages posting similar questions in a forum for further practice.
  • #1
MarkFL
Gold Member
MHB
13,288
12
Here is the question:

Discrete Mathematics Question?

Find the solution to recurrence relations.

A) An = An-1 + 6 An-2 , Ao = 3 , A1 = 6B) An+2 = -4 An+1 + 5 An , A0 = 2 , A1 = 8

Here is a link to the question:

Discrete Mathematics Question? - Yahoo! Answers

I have posted a link there to this topic so the OP may find my response.
 
Mathematics news on Phys.org
  • #2
Hello Bryan,

A) We are given the recurrence relation

\(\displaystyle A_{n}=A_{n-1}+6A_{n-2}\) where \(\displaystyle A_0=3,\,A_1=6\)

The associated characteristic equation is:

\(\displaystyle r^2-r-6=(r+2)(r-6)=0\)

Our characteristic roots are then \(\displaystyle r=-2,\,6\)

Hence, the closed form is:

\(\displaystyle A_n=k_1(-2)^n+k_2(6)^n\)

We may use the initial values to determine the parameters $k_i$:

\(\displaystyle A_0=k_1(-2)^0+k_2(6)^0=k_1+k_2=3\)

\(\displaystyle A_1=k_1(-2)^1+k_2(6)^1=-2k_1+6k_2=6\,\therefore\,-k_1+3k_2=3\)

Solving this 2X2 system, we find:

\(\displaystyle k_1=k_2=\frac{3}{2}\) and so:

\(\displaystyle A_n=\frac{3}{2}\left((-2)^n+6^n \right)=3\cdot2^{n-1}\left((-1)^n+3^n \right)\)

B) We are given the recurrence relation:

\(\displaystyle A_{n+2}=-4A_{n+1}+5A_{n}\) where \(\displaystyle A_0=2,\,A_1=8\)

The associated characteristic equation is:

\(\displaystyle r^2+4r-5=(r+5)(r-1)=0\)

Our characteristic roots are then \(\displaystyle r=-5,\,1\)

Hence, the closed form is:

\(\displaystyle A_n=k_1(-5)^n+k_2\)

We may use the initial values to determine the parameters $k_i$:

\(\displaystyle A_0=k_1(-5)^0+k_2=k_1+k_2=2\)

\(\displaystyle A_1=k_1(-5)^1+k_2=-5k_1+k_2=8\)

Solving this 2X2 system, we find:

\(\displaystyle k_1=-1,\,k_2=3\) and so:

\(\displaystyle A_n=3-(-5)^n\)

To Bryan and any other visitors reading this topic, I encourage you to post other questions of this type in our http://www.mathhelpboards.com/f15/ forum.
 

Related to Bryan's question at Yahoo Answers regarding linear recurrence relations

1. What is a linear recurrence relation?

A linear recurrence relation is a mathematical equation that describes how a sequence of numbers is generated. It is a recursive formula in which each term is a linear function of the previous terms.

2. Why are linear recurrence relations important?

Linear recurrence relations are important because they have many real-world applications, including in computer science, physics, and economics. They can be used to model and predict future values in a sequence, making them useful in problem-solving and decision-making.

3. How do you solve a linear recurrence relation?

To solve a linear recurrence relation, you can use different methods such as iteration, generating functions, or characteristic equations. The specific method used depends on the form and complexity of the relation. It is also important to have initial values or boundary conditions to obtain a unique solution.

4. What is the difference between a linear and a non-linear recurrence relation?

The main difference between a linear and a non-linear recurrence relation is that a linear relation has terms that are only multiplied by constants or other terms, while a non-linear relation has terms that are raised to powers or involve trigonometric functions. This makes the solution process different for each type of relation.

5. How are linear recurrence relations related to Fibonacci numbers?

Linear recurrence relations are closely related to Fibonacci numbers, as the Fibonacci sequence is one of the most well-known examples of a linear recurrence relation. The Fibonacci sequence can be represented by the linear recurrence relation Fn = Fn-1 + Fn-2, where F1 = 1 and F2 = 1.

Similar threads

Replies
4
Views
2K
  • General Math
Replies
11
Views
1K
Replies
1
Views
2K
Replies
1
Views
1K
  • General Math
Replies
2
Views
1K
  • General Math
Replies
4
Views
786
  • General Math
Replies
1
Views
1K
Replies
1
Views
2K
Back
Top