• 沒有找到結果。

Discrete Mathematics

N/A
N/A
Protected

Academic year: 2022

Share "Discrete Mathematics"

Copied!
16
0
0

加載中.... (立即查看全文)

全文

(1)

Discrete Mathematics

WEN-CHING LIEN Department of Mathematics National Cheng Kung University

2008

(2)

10.3: The nonhomogeneous recurrence relation

Consider the recurrence relation:

an+C1an−1=f(n), n≥1, (1) where C1is a constant and C16=0.

Example

Solve the recurrence relation anan−1=3n2and a0=7.

(3)

10.3: The nonhomogeneous recurrence relation

Consider the recurrence relation:

an+C1an−1=f(n), n≥1, (1) where C1is a constant and C16=0.

Example

Solve the recurrence relation anan−1=3n2and a0=7.

(4)

By straightforward calculations,

an=a0+ Xn

i=1

f(i).

an=7+1

2(n)(n+1)(2n+1).

(5)

By straightforward calculations,

an=a0+ Xn

i=1

f(i).

an=7+1

2(n)(n+1)(2n+1).

(6)

Method of undetermined coefficients:

Example

Solve the recurrence relation an3an−1=5(7n)and a0=2.

(7)

Method of undetermined coefficients:

Example

Solve the recurrence relation an3an−1=5(7n)and a0=2.

(8)

Step1: Seek a particular solution - apn=A(7n).

Step 2:Apply the relation to find

A= 35 4

Step 3: By the initial condition, find the general solution an=c(3n) +A(7n).

(9)

Step1: Seek a particular solution - apn=A(7n).

Step 2:Apply the relation to find

A= 35 4

Step 3: By the initial condition, find the general solution an=c(3n) +A(7n).

(10)

Step1: Seek a particular solution - apn=A(7n).

Step 2:Apply the relation to find

A= 35 4

Step 3: By the initial condition, find the general solution an=c(3n) +A(7n).

(11)

Consider the nonhomogeneous relation of order 2:

an+C1an−1+C2an−2=f(n), n≥2. (2)

In general, the solution is

an=apn+ahn.

Here, apnis a particular solution of equation (2) and ahnis the solution of the associated homogeneous equation.

(12)

Consider the nonhomogeneous relation of order 2:

an+C1an−1+C2an−2=f(n), n≥2. (2)

In general, the solution is

an=apn+ahn.

Here, apnis a particular solution of equation (2) and ahnis the solution of the associated homogeneous equation.

(13)

Theorem

(I) Consider the nonhomogeneous 1st-order relation:

an+C1an−1=krn,

where k is a constant, n1. If rn is not a solution of the associated homogeneous relation

an+C1an−1=0,

then apn=Arn,where A is a constant. When rnis a solution of the associated homogeneous relation, then apn=Bnrn,for B a constant.

(14)

Theorem

(II) Consider the nonhomogeneous 2nd-order relation:

an+C1an1+C2an2=krn, where k is a constant. Here we find that

1 apn =Arn, when rnis not a solution of the associated homogeneous relation.

2 apn =Bnrn, when ahn=c1rn+c2r1n, r 6=r1.

3 apn =Cn2rn, when ahn= (c1+c2n)rn.

(15)

Example

The Koch snowflake curve:

For n0, let andenote the area of the Polygon Pnobtained from the original equilateral triangle after we apply n

transformations of removing the middle one-third of each side and attaching a new equilateral triangle.

Please find an.

(16)

Thank you.

參考文獻

相關文件

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

W EN -C HING L IEN Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

W EN -C HING L IEN Department of Mathematics National Cheng Kung

W EN -C HING L IEN Department of Mathematics National Cheng Kung