Solving Recurrence Relation Homework

pupeye11
Messages
99
Reaction score
0

Homework Statement



The sequence f_n is defined by f_0=1, f_1=2 and f_n=-2f_{n-1}+15f_{n-2} when n \geq 2. Let

<br /> F(x)= \sum_{n \geq 2}f_nx^n<br />

be the generating function for the sequence f_0,f_1,...,f_n,...

Find polynomials P(x) and Q(x) such that

<br /> F(x)=\frac{P(x)}{Q(x)}<br />

The Attempt at a Solution



<br /> f_n+2f_{n-1}-15f_{n-2}=0<br />

So since we know that F(x)=f_0+f_1x+f_2x^2+...+f_nx^n+...

<br /> F(x)=f_0+f_1x+f_2x^2+...+f_nx^n+...<br />

<br /> 2xF(x)=2f_0x+2f_1x^2+...+2f_{n-1}x^n+...<br />

<br /> -15x^2F(x)= -15f_0x^2-...-15f_{n-2}x^n-...<br />

Summing these I get

<br /> (1+2x-15x^2)F(x)=f_0+(f_1+2f_0)x+(f_2+2f_1-15f_0)x^2+...+(f_n+2f_{n-1}-15f_{n-2})x^n<br />

After some algebra and substituting f_0=1, f_1=2 I get

<br /> F(x)=\frac{1+4x}{1+2x-15x^2}<br />

So

<br /> P(x)=1+4x<br />

and

<br /> Q(x)=1+2x-15x^2<br />

Is this correct?
 
Physics news on Phys.org
looks reasonable to me, you can always check by diferntiating you function a few times
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top