Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Prove Theorem 4.

Short Answer

Expert verified

A sequence an is a solution of the recurrence relation an=c1an-1+c2an-2++ckan-k if and only if an=α1,0+α1,1n++α1,m1-1nm1-1r1n+α2,0+α2,1n++α2,m1-1nm1-1r2n++αl,0+αl,1n++αl,m1-1nm1-1rln

for n = 0,1,2,.......whereαi are constants.

Step by step solution

01

Previous Theorem

Theorem 1

The solution of the recurrence relation is of the form\({a_n} = {\alpha _1}r_1^n + {\alpha _2}r_2^n\)when\({r_1}\)and\({r_2}\)the distinct roots of the characteristic equation.

Theorem 2

The solution of the recurrence relation is of the form\({r_1},{r_2}, \ldots ,{r_k}\)\({a_n} = {\alpha _1}r_1^n + {\alpha _2}nr_1^n\)with\({r_1}\)a root with multiplicity\(k\)of the characteristic equation.

Theorem 3

If a characteristic equation has the distinct roots\({r_1},{r_2}, \ldots ,{r_k}\)(each multiplicity l), then the recurrence relation has a solution of the form:\({a_n} = {\alpha _1}r_1^n + {\alpha _2}r_2^n + \ldots . + {\alpha _k}r_k^n\)

02

Use previous theorem

Given: Let c1,c2,,ck'''' be real numbers.

rk-c1rk-1--ck=0has t distinct roots r1,r2,,rlwith multiplicities m1,m2,,mlα2,m1-1nm1-1r2n++αl,0+αl,1n++αl,m1-1nm1-1rlnforn=0,1,2,, where αiare constants.

PROOF BY INDUCTIONα2,m1-1nm1-1r2n++αl,0+αl,1n++αl,m1-1nm1-1rlnfor n = 0,1,'2,...... , where αi are constants."

Basis step k = 1

Let us assume that an=α1,0+α1,1n++α1,m1-1nm1-1r1n r1is the only root of rk-c1rk-1--ck=0

r1k=c1r1k-1++ck

Next we check that an=α1,0+α1,1n++α1,m1-1nm1-1r1n is a solution of the recurrence relation:

c1an-1+c2an-2++ckan-k=c1α1,0+α1,1(n-1)++α1,m1-1(n-1)m1-1r1n-1+c2α1,0+α1,1(n-2)++α1,m1-1(n-2)m1-1r1n-2++ckα1,0+α1,1(n-k)++α1,m1-1(n-k)m1-1r1n-kc1an-1+c2an-2++ckan-k=α1,0r1n-kc1rk-1+c2rk-2++ck+nα1,1r1n-kc1rk-1+c2rk-2++ck++nm1-1α1,m1-1r1n-kc1rk-1+c2rk-2++ckc1an-1+c2an-2++ckan-k=α1,0r1n+nα1,1r1n++nm1-1α1,m1-1r1nc1an-1+c2an-2++ckan-k=α1,0+nα1,1++nm1-1α1,m1-1r1nc1an-1+c2an-2++ckan-k=an

Thus the sequence an is a solution of the recurrence relation.

The solution of the recurrence relation is unique, thus an=α1,0+α1,1n++α1,m1-1nm1-1r1n is the only solution.

03

Use previous theorem to further simplify

Let us assume that P(q)is true. We need to show that P(q+1) is also true.

r1,r2,,rq,rq+1are the distinct roots of rk-c1rk-1--ck=0

Since P(q)is true:an(1)=α1,0+α1,1n++α1,m1-1nm1-1r1n+α2,0+α2,1n++α2,m1-1nm1-1r2n++αq,0+αq,1n++αq,m1-1nm1-1rqn

By the basis step of the proof, P(1) is true for root :rq+1

an(2)=α1,0+α1,1n++α1,mq+1-1nmq+1-1rq+1n

We have then obtained two parts of the solution: an(1) and an(2). Since both expressions need to be part of the solution of the recurrence relation and since both expressions have no terms in common, the solution needs to be equal to the sum of both expressions:

an=an(1)+an(2)=α1,0+α1,1n++α1,m1-1nm1-1r1n+α2,0+α2,1n++α2,m1-1nm1-1r2n++αq,0+αq,1n++αq,m1-1nm1-1rqn+α1,0+α1,1n++α1,mq+1-1nmq+1-1rq+1n

thus P(q+1)is true.

Conclusion by the principal of mathematical induction:P(k) is true, for all positive integers k .

A sequencean is a solution of the recurrence relation

an=c1an-1+c2an-2++ckan-kif and only if

an=α1,0+α1,1n++α1,m1-1nm1-1r1n+α2,0+α2,1n++α2,m1-1nm1-1r2n++αl,0+αl,1n++αl,m1-1nm1-1rln

for n = 0,1,2,..... where αiare constants.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Find a closed form for the generating function for the sequence\(\left\{ {{a_n}} \right\}\), where,

a) \({a_n} = 5\) for all\(n = 0,1,2, \ldots \).

b) \({a_n} = {3^n}\)for all\(n = 0,1,2, \ldots \)

c) \({a_n} = 2\)for\(n = 3,4,5, \ldots \)and\({a_0} = {a_1} = {a_2} = 0\).

d) \({a_n} = 2n + 3\)for all\(n = 0,1,2, \ldots \)

e) \({a_n} = \left( {\begin{array}{*{20}{l}}8\\n\end{array}} \right)\)for all\(n = 0,1,2, \ldots \)

f) \({a_n} = \left( {\begin{array}{*{20}{c}}{n + 4}\\n\end{array}} \right)\)for all\(n = 0,1,2, \ldots \)

Use generating functions to solve the recurrence relation ak=5ak-1-6ak-2with initial conditions a0=6and a1=30.

Find the coefficient of x5y8in(x+y)13.

For each of these generating functions, provide a closed formula for the sequence it determines.

a) \({(3x - 4)^3}\)

b) \({\left( {{x^3} + 1} \right)^3}\)

c) \(1/(1 - 5x)\)

d) \({x^3}/(1 + 3x)\)

e) \({x^2} + 3x + 7 + \left( {1/\left( {1 - {x^2}} \right)} \right)\)

f) \(\left( {{x^4}/\left( {1 - {x^4}} \right)} \right) - {x^3} - {x^2} - x - 1\)

g) \({x^2}/{(1 - x)^2}\)

h) \(2{e^{2x}}\)

Suppose that the votes of npeople for different candidates (where there can be more than two candidates) for a particular office are the elements of a sequence. A person wins the election if this person receives a majority of the votes.

a) Devise a divide-and-conquer algorithm that determines whether a candidate received a majority and, if so, determine who this candidate is. [Hint: Assume that nis even and split the sequence of votes into two sequences, each with n/2elements. Note that a candidate could not have received a majority of votes without receiving a majority of votes in at least one of the two halves.]

b) Use the master theorem to give a big-Oestimate for the number of comparisons needed by the algorithm you devised in part (a).

In how many ways can 25 identical donuts be distributed to four police officers so that each officer gets at least three but no more than seven donuts?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free