answer.
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]
2 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]2 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
The volume of wine in liters produced by a parcel of vineyard every year is modeled by a Gaussian distribution with an average o
saul85 [17]

Answer:

0.99865

Step-by-step explanation:

The question above is modelled by gaussian distribution. Gaussian distribution is also known as Normal distribution.

To solve the above question, we would be using the z score formula

The formula for calculating a z-score

z = (x-μ)/σ,

where x is the raw score

μ is the population mean

σ is the population standard deviation.

In the above question,

x is 115 liters

μ is 100

σ is the population standard deviation is unknown. But we were given variance in the question.

Standard deviation = √Variance

Variance = 9

Hence, Standard deviation = √9 = 3

We go ahead to calculate our z score

z = (x-μ)/σ

z = (115 - 100) / 3

z = 15/ 3

z score = 5

Using the z score table of normal distribution to find the Probability of having a z score of 5

P(x = 115) = P(z = 5) =

0.99865

Therefore the probability that this year it will produce 115 liters of wine = 0.99865

6 0
2 years ago
How many possible outcomes, including both main effects and interaction effects, are possible for a factorial design with three
KIM [24]
Your answer will be <span>8</span>
7 0
2 years ago
The box-and-whisker plot below shows the age distribution of people at a family reunion. A box-and-whisker plot is shown. The nu
Setler79 [48]

Answer:

The answer is C

Step-by-step explanation:

got it right on edge

5 0
2 years ago
Read 2 more answers
Hiromi sells 12 T-shirts each week at a price of $13.00. Past sales have shown that for every $0.25 decrease in price, 4 more T-
Lerok [7]
(13-0.25x4)(12+4x4)=2,464
(13-0.25x5)(12+4x5)=3,845
(13-0.25x6)(12+4x6)=2,845
so your answer is 3,845 because if Hirome sells them for $11.75 he makes $3845 if Hirome sold them for $11.50 he makes $2845.80 and if he sold them for $12.00 he would make $2464.00

4 0
1 year ago
Which is a zero of the quadratic function f(x) = 16x2 32x − 9?
tankabanditka [31]
A zero of a function is the value of x for which f(x) = 0
f(x) = 16x^2 + 32x - 9 = 0
16x^2 - 4x + 36x - 9 = 0
(16x^2 - 4x) + (36x - 9) = 0
4x(4x - 1) + 9(4x - 1) = 0
(4x + 9)(4x - 1) = 0
4x + 9 = 0 and 4x - 1 = 0
4x = -9 and 4x = 1
x = -9/4 and x = 1/4
8 0
1 year ago
Read 2 more answers
Other questions:
  • Tom has $10 that he wants to use to buy pens and pencils. However, he does not want to buy more pens than pencils. A pen costs $
    10·2 answers
  • Find f(x) and g(x) so that the function can be described as y = f(g(x)). y = nine divided by square root of quantity five x plus
    14·2 answers
  • Triangle ABC was dilated and translated to form similar triangle A'B'C'.
    5·2 answers
  • Cindy found a collection of baseball cards in her attic worth $8,000. the collection is estimated to increase in value by 1.5% p
    9·1 answer
  • A survey reported that 63.63% of moviegoers prefer action films.This percent represents a repeating decimal.write is as a fracti
    14·1 answer
  • Need help pretty please
    12·1 answer
  • Do you believe that the Us should convert to the metric system explain why or why not
    13·1 answer
  • The half life of a certain tranquilizer in the bloodstream is 37 hours. How long will it take for the drug to decay to 86% of th
    10·1 answer
  • A dairy farmer accidentally allowed some of his cows to graze in a pasture containing weeds that would contaminate the flavor of
    9·1 answer
  • Which problem can be solved using the equation shown? 2 dollars and 50 cents x minus 2 dollars = 10 dollars and 50 cents Will bo
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!