1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
mihalych1998 [28]
3 years ago
8

Solve the recurrence relation: hn = 5hn−1 − 6hn−2 − 4hn−3 + 8hn−4 with initial values h0 = 0, h1 = 1, h2 = 1, and h3 = 2 using (

a) the characteristic equation method and (b) the generating function method.
Mathematics
1 answer:
musickatia [10]3 years ago
3 0
(a) Suppose h_n=r^n is a solution for this recurrence, with r\neq0. Then

r^n=5r^{n-1}-6r^{n-2}-4r^{n-3}+8r^{n-4}
\implies1=\dfrac5r-\dfrac6{r^2}-\dfrac4{r^3}+\dfrac8{r^4}
\implies r^4-5r^3+6r^2+4r-8=0
\implies (r-2)^3(r+1)=0\implies r=2,r=-1

So we expect a general solution of the form

h_n=c_1(-1)^n+(c_2+c_3n+c_4n^2)2^n

With h_0=0,h_1=1,h_2=1,h_3=2, we get four equations in four unknowns:

\begin{cases}c_1+c_2=0\\-c_1+2c_2+2c_3+2c_4=1\\c_1+4c_2+8c_3+16c_4=1\\-c_1+8c_2+24c_3+72c_4=2\end{cases}\implies c_1=-\dfrac8{27},c_2=\dfrac8{27},c_3=\dfrac7{72},c_4=-\dfrac1{24}

So the particular solution to the recurrence is

h_n=-\dfrac8{27}(-1)^n+\left(\dfrac8{27}+\dfrac{7n}{72}-\dfrac{n^2}{24}\right)2^n

(b) Let G(x)=\displaystyle\sum_{n\ge0}h_nx^n be the generating function for h_n. Multiply both sides of the recurrence by x^n and sum over all n\ge4.

\displaystyle\sum_{n\ge4}h_nx^n=5\sum_{n\ge4}h_{n-1}x^n-6\sum_{n\ge4}h_{n-2}x^n-4\sum_{n\ge4}h_{n-3}x^n+8\sum_{n\ge4}h_{n-4}x^n
\displaystyle\sum_{n\ge4}h_nx^n=5x\sum_{n\ge3}h_nx^n-6x^2\sum_{n\ge2}h_nx^n-4x^3\sum_{n\ge1}h_nx^n+8x^4\sum_{n\ge0}h_nx^n
G(x)-h_0-h_1x-h_2x^2-h_3x^3=5x(G(x)-h_0-h_1x-h_2x^2)-6x^2(G(x)-h_0-h_1x)-4x^3(G(x)-h_0)+8x^4G(x)
G(x)-x-x^2-2x^3=5x(G(x)-x-x^2)-6x^2(G(x)-x)-4x^3G(x)+8x^4G(x)
(1-5x+6x^2+4x^3-8x^4)G(x)=x-4x^2+3x^3
G(x)=\dfrac{x-4x^2+3x^3}{1-5x+6x^2+4x^3-8x^4}
G(x)=\dfrac{17}{108}\dfrac1{1-2x}+\dfrac29\dfrac1{(1-2x)^2}-\dfrac1{12}\dfrac1{(1-2x)^3}-\dfrac8{27}\dfrac1{1+x}

From here you would write each term as a power series (easy enough, since they're all geometric or derived from a geometric series), combine the series into one, and the solution to the recurrence will be the coefficient of x^n, ideally matching the solution found in part (a).
You might be interested in
Someone pls help, i need to get this right.
Elina [12.6K]

Answer:

0,2

Step-by-step explanation

6 0
3 years ago
Estimate and then find the sum
tekilochka [14]

Answer:

304,900

Step-by-step explanation:

186,000

88,900

304,900

6 0
3 years ago
Read 2 more answers
This is very very very confusing!!!! Anyone know 8th grade stuff?
Gala2k [10]

Answer:

yes

Step-by-step explanation:

There are no repeating numbers in the domain

3 0
2 years ago
A 24 foot flagpole casts a 20 foot shadow of the building next to it is an 85 foot shadow find the height of the building
Zigmanuir [339]

Answer: 102 foot / feet tall

Step-by-step explanation:

First, we have to find the unit rate . . . what is 24 divided by 20 ? 1.2/1

Second, multiply . . . what is 1.2 x 85 ? 102

( sorry if this is wrong - I forgot how to do the second part for a sec )

6 0
3 years ago
What is the sum of 1.57 and 6.88?
mario62 [17]

Answer:

8.45 is the answer

Step-by-step explanation:

Hope it helps you

6 0
3 years ago
Read 2 more answers
Other questions:
  • Two consecutive integers have a sum of 59. Find the integers
    10·1 answer
  • What effect does nuclear radiation have on atoms?
    13·2 answers
  • one winter day the temperature ranged from a high of 20 f to a low of -25 f. by how many degrees did the temperature change?
    15·1 answer
  • What is 12w - 13 - 11w + 24 = 77.
    6·2 answers
  • How many elements are in matrix 7? Answer 25
    12·1 answer
  • Help <br><br><br><br><br><br> I need answers
    11·1 answer
  • Write a sentence to represent the equation 4 m equals -8
    14·2 answers
  • $73 is what percent of $125
    9·1 answer
  • Pls help me. 7th grade math
    8·2 answers
  • How do I answer the red question?
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!