MHB Bryan's question at Yahoo Answers regarding linear recurrence relations

AI Thread Summary
The discussion addresses Bryan's question on solving two linear recurrence relations. For the first relation, An = An-1 + 6An-2 with initial conditions A0 = 3 and A1 = 6, the closed form is derived as An = 3·2^(n-1)(-1)^n + 3^n. The second relation, An+2 = -4An+1 + 5An with A0 = 2 and A1 = 8, leads to the closed form An = 3 - (-5)^n. The solutions involve finding characteristic equations and roots, followed by determining parameters using initial values. The thread encourages further questions on similar topics.
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.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top