Answer on Question #81204 – Math – Discrete Mathematics Question
A) Find the generating function of the recurrence
an=4an−1−4an−2+1
with initial conditions a0=1,a1=1
Solution
Compute
a2=4a1−4a0+1=4−4+1=1,a3=4a2−4a1+1=4−4+1=1
and so on.
The generating function is given by the formula
A=a0+a1x+a2x2+a3x3+a4x4+a5x5+⋯=1+x+x2+x3+x4+⋯
Then
−xA=−x−x2−x3−x4−x5−⋯
Adding the right-hand sides of A and −xA one gets
(1−x)A=1
Answer:
A=1−x1
Question
B) Express 3x4+2x3−2x2+x in terms of x4,x3,x2 and x
Answer: 3, 2, -2, 1.
Answer provided by https://www.AssignmentExpert.com