Recurrence relations discrete math problem

charmedbeauty
Messages
266
Reaction score
0

Homework Statement



Find the general solution to the following recurrence relations (defined n≥2).

c) an=6an-1-9an-2+8n+4

Homework Equations


The Attempt at a Solution



an=6an-1-9an-2+8n+4

8n+4= an -6an-1+9an-2

R2-6R+9=0

R=3,3

So hn=A(3)n+B(3)n

Assume pn=Cn+Cn2 → This is where I got stuck!

What should my assumption be??

I thought this because RHS =8n+4

so for the 4 I used Cn since 4 is a constant so I put an extra n term...likewise for 8n.

but it turned out to be a mess!

HELP
 
Physics news on Phys.org
hi charmedbeauty! :smile:
charmedbeauty said:
R2-6R+9=0

R=3,3

So hn=A(3)n+B(3)n

no, if a recurrence relation has a root R repeated k times, the k independent solutions are niRn (0≤i<k) :wink:
 
tiny-tim said:
hi charmedbeauty! :smile:no, if a recurrence relation has a root R repeated k times, the k independent solutions are niRn (0≤i<k) :wink:

hmm I am a little confused what should i be?

so i replace hn=A(3)n+B(3)n

with hn=A(3n)+Bn(3n)??
 
charmedbeauty said:
hmm I am a little confused what should i be?

so i replace hn=A(3)n+B(3)n

with hn=A(3n)+Bn(3n)??

yup! :smile:

(and you can leave out those brackets … A3n + Bn3n :wink:)
 
tiny-tim said:
yup! :smile:

(and you can leave out those brackets … A3n + Bn3n :wink:)

Thanks.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top