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
How do you graph 2x + y > 4
cestrela7 [59]

Rewrite the inequality as

y > -2x+4

We can compare this expression to the function

y=-2x+4

The inequality states that we want to consider all the point whose y coordinates are greater than the ones of the points that lay on the graph.

So, we can graph the inequality in two steps:

  1. Graph the line y=-2x+4
  2. Consider all the point above the graph (greater y values means "higher")

Since the function y=-2x+4 is a line (because it is a first-degree polynomial), you can graph it by simply sampling two points: if for example we choose x=0 and x=1, the correspondent y values are

x=0 \implies y = -2\cdot 0+4 = 4,\quad x=1\implies y = -2\cdot 1+4 = 2

So, the line passes through the points (0,4) and (-1,2). Connect them and you have the graph of the line.

5 0
4 years ago
PLEASE PLEASE PLEASE PLEASE PLESE HELP ME???/!?!?!?!!? I'LL GIVE BRAINLY, POINTS, MEDAL, THNAKS
In-s [12.5K]

The correct answer for part A is 5x² +7x -4. 5x³ -x² -8x -7 is the right answer for part B. Polynomials are always closed if under addition or subtraction. The answers of both parts A and B are polynomials.

Hope this helps!

~LENA~

8 0
3 years ago
you are making playdough that calls for 1 cup of flour and 1/3 cup of salt.you start pouring and realize you only have 75 cups o
sleet_krkn [62]

Answer:

25 cups of salt

Step-by-step explanation:

1 cup of flour:1/3 cup of salt

75 cups flour: x cups of salt

75 × 1/3 =25

= 25 cups of salt

4 0
3 years ago
What is the sign of the product (8) × (−23) × ( −21) × (−29)?
anzhelika [568]

Answer:

(8) x (-23) x (-21) x (-29)

= - 112,056.

Step-by-step explanation:

6 0
3 years ago
Wanda rode her bike 5km the first day and she rode her bike 10,000m the second day. How many meters, in total, did Wanda ride in
vladimir2022 [97]

Answer:

there are one thousand (1,000) meters in a kilometer. So, 5,000 plus 10,000 is 15,000 meters.

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • Find the value of g(5).<br><br> g(x) = (x – 3)(x + 1)
    14·1 answer
  • If x = 17 cm and y = 8 cm, what is the length of z? A. 13 cm B. 19 cm C. 14 cm D. 15 cm
    5·1 answer
  • Miss Rockwell surveyed her class and found that 12 out of 30 students chose peaches as their favorite fruit write the number of
    6·1 answer
  • Identify the interjection in the sentence below. Yikes! I almost stepped on a snake in our backyard.
    5·1 answer
  • In ∆ABC, m∠B=α. Find the measure of the angle, in degrees, between the altitudes dropped from the vertices A and C.
    7·1 answer
  • Help!! Geometry Question
    9·1 answer
  • Crew owes his mom $23 and James owes his mom $8. Which amount has the greatest magnitude?
    12·1 answer
  • Which of the following is true about the expression below?
    9·1 answer
  • What fraction of an hour is 16 minutes? Give your answer in its simplest form.
    6·1 answer
  • Calculate the deferred tax liability given the
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!