Bryan's question at Yahoo Answers regarding linear recurrence relations

Click For Summary
SUMMARY

This discussion addresses the solution of two linear recurrence relations presented by Bryan on Yahoo Answers. The first relation, \( A_n = A_{n-1} + 6A_{n-2} \) with initial conditions \( A_0 = 3 \) and \( A_1 = 6 \), yields a closed form of \( A_n = \frac{3}{2}((-2)^n + 6^n) \). The second relation, \( A_{n+2} = -4A_{n+1} + 5A_n \) with initial conditions \( A_0 = 2 \) and \( A_1 = 8 \), results in a closed form of \( A_n = 3 - (-5)^n \). Both solutions utilize characteristic equations to derive their respective closed forms.

PREREQUISITES
  • Understanding of linear recurrence relations
  • Familiarity with characteristic equations
  • Basic algebra for solving systems of equations
  • Knowledge of discrete mathematics concepts
NEXT STEPS
  • Study the derivation of characteristic equations in linear recurrence relations
  • Explore methods for solving systems of linear equations
  • Learn about generating functions for recurrence relations
  • Investigate applications of linear recurrence relations in algorithm analysis
USEFUL FOR

Students and professionals in mathematics, computer science, and engineering who are dealing with discrete mathematics and linear recurrence relations will benefit from this discussion.

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
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
Hello Bryan,

A) We are given the recurrence relation

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

The associated characteristic equation is:

$$r^2-r-6=(r+2)(r-6)=0$$

Our characteristic roots are then $$r=-2,\,6$$

Hence, the closed form is:

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

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

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

$$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:

$$k_1=k_2=\frac{3}{2}$$ and so:

$$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:

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

The associated characteristic equation is:

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

Our characteristic roots are then $$r=-5,\,1$$

Hence, the closed form is:

$$A_n=k_1(-5)^n+k_2$$

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

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

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

Solving this 2X2 system, we find:

$$k_1=-1,\,k_2=3$$ and so:

$$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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
8K
Replies
1
Views
2K