Determine sequence using generating function.

95 Views Asked by At

Using generating function determine sequence $u_n$: $$u_0 = 1, \ u_1 = 0, u_{n+2} - 4u_{n+1} + 4u_n =0 $$ I am asking for advices. Thanks in advance.

2

There are 2 best solutions below

3
On

Do you know the concept of generating functions?

Just solve the equation for $ u_{n+2}$. Then you are ready to go.

Edit:

My proceeding would have been to define $$ A(x) = \sum\limits_{n = 0}^\infty u_n x^n $$

Now you set in the starting values of $ u_n $ and write:

$$ A(x) = u_o + u_1 \cdot x + \sum\limits_{n = 2}^\infty (4u_{n-1} - 4u_{n-2})x^n $$

Now you shift the index of the series and get

$$ A(x) = 1 - 4x^2A(x) + 4xA(x) $$

You can now solve for $ A(x) $ and arrange this result as power series. Simply look at the coefficients of your new power series and you get $ u_n $.

1
On

The way is first to solve the generating function $x^2-4x+4=0$ and get the solutions $x_1=x_2=2$. So, the general form of the sequence is $u_n=\alpha\cdot2^n+\beta\cdot n 2^n$. By the initial settings, $u_0=1,\,u_1=0$, we get $\alpha=1,\,\beta=-1$. Then, $u_n=(1-n)2^n$.