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
alina1380 [7]
3 years ago
10

Solve the recurrence relation hn=3hn-1 -4n using generating function

Mathematics
1 answer:
tangare [24]3 years ago
7 0
Let

H(x)=\displaystyle\sum_{n\ge0}h_nx^n

be the generating function for the sequence h_n. Then

h_n=3h_{n-1}-4n
\displaystyle\sum_{n\ge1}h_nx^n=3\sum_{n\ge1}h_{n-1}x^n-4\sum_{n\ge1}nx^n
\displaystyle\sum_{n\ge0}h_nx^n-h_0=3x\sum_{n\ge0}h_nx^n-4x\sum_{n\ge0}nx^{n-1}
\displaystyle H(x)-h_0=3xH(x)-4x\frac{\mathrm d}{\mathrm dx}\sum_{n\ge0}x^n
(1-3x)H(x)=h_0-4x\dfrac{\mathrm d}{\mathrm dx}\left[\dfrac1{1-x}\right]
(1-3x)H(x)=h_0-\dfrac{4x}{(1-x)^2}
H(x)=\dfrac{h_0}{1-3x}-\dfrac{4x}{(1-3x)(1-x)^2}

Decompose the latter term into partial fractions:


-\dfrac{4x}{(1-3x)(1-x)^2}=\dfrac2{(1-x)^2}+\dfrac1{1-x}-\dfrac3{1-3x}

so that

H(x)=\dfrac{h_0-3}{1-3x}+\dfrac1{1-x}+\dfrac2{(1-x)^2}
\implies H(x)=\displaystyle\sum_{n\ge0}(h_0-3)3^nx^n+\sum_{n\ge0}x^n+\sum_{n\ge0}2nx^n
\implies H(x)=\displaystyle\sum_{n\ge0}\bigg((h_0-3)3^n+2n+1\bigg)x^n
\implies h_n=(h_0-3)3^n+2n+1
You might be interested in
(3.03 MC)
liberstina [14]

Answer:

Step-by-step explanation:

the following equation to show the height of the plant f(n), in cm, after n days:

f(n) = 8(1.05)^n

Part A: When the scientist concluded his study, the height of the plant was approximately 11.26 cm. What is a reasonable domain to l

5 0
2 years ago
Read 2 more answers
A 12-ft ladder is leaning on a building. If the base of the ladder is placed 5 feet from the building, approximately how high do
Citrus2011 [14]
A^2+b^2=c^2

5^2+b^2=12^2

25+b^2=144

b^2=144-25

b^2=119

SQUARE ROOT BOTH SIDES:

b=10.9

The answer is c.
3 0
3 years ago
Read 2 more answers
A person invest $1200 in an account that earns 2% interest compound quarterly. Find when the value of the investment reaches $15
Basile [38]

Answer:

After 11 years the value of the investment reaches $1500.00

.

Step-by-step explanation:

The formula used for finding time (when the value reaches certain amount) is:

A= P(1+\frac{r}{n})^{nt}

where A= Future VAlue

P= Principal Value

r= rate of interest (in decimal)

n= no of times investment is compounded

t= time

Putting the values given and finding Time t,

A= $1500

P= $1200

r= 2% or 0.02

n= 4 (compound quarterly)

A= P(1+\frac{r}{n})^{nt}

1500= 1200(1+\frac{0.02}{4})^{4t}

Dividing both sides by 1200 and solving 0.02/4 = 0.005

1.25= (1+0.005)^{4t}

1.25= (1.005)^{4t}

Since t is in power we take the logarithm ln on both sides.

The rule of logarithm says that the exponent can be multiplied with the base when taking log

\ln1.25=ln( 1.005)^{4t}\\\ln1.25=4t * ln( 1.005)\\0.22 = 4t * 0.005\\Solving\,\,\\\frac{0.22}{4*0.005} = t\\=> t= 11\, years

8 0
3 years ago
A medium water hose can fill a pool in 30 minutes. A larger water hose can fill the same pool in 20 minutes. If both hoses are t
Reptile [31]
10 minutes I'm pretty sure. My calculations may be off but at least I tried
5 0
3 years ago
The snooker hall has given you a $40 prize for your 147 break. You decide to share it with your friend in the ratio 3:1. How muc
Galina-37 [17]

Answer:

it would be A

explanation: if you get $40 dollars and divide it by 4 (which would be equal to giving to 4 people) and then take 3 fourths of it your friend would be left with $10

6 0
2 years ago
Read 2 more answers
Other questions:
  • Elizabeth is waiting for her flight at the airport. She decides to conduct an experiment. She wants to know how many people at t
    15·1 answer
  • For the geometric sequence <br><br> -1,-2,-4... find a8
    12·2 answers
  • NEED HELP ASAP
    5·1 answer
  • Describe the transformation of the graph of f into the graph of g as either a horizontal or vertical stretch. f(x)=sqrt(x) and g
    7·2 answers
  • ASSAP EASY MATH does a shape stay congruent when it has been rotated
    8·2 answers
  • Plz help me it's due now
    11·2 answers
  • What is the equation of the line that passes through the point (5,-2) and (2,-5)
    7·1 answer
  • What is 7 x 7 x 7 x 7 x 7 as an exponent?
    14·1 answer
  • Are the following triangles similar by the angle-angle similarity theorem?
    10·2 answers
  • Help!!!!!!!!!!!!!!!!!!!!!!
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!