• 沒有找到結果。

Discrete Mathematics

N/A
N/A
Protected

Academic year: 2022

Share "Discrete Mathematics"

Copied!
14
0
0

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

全文

(1)

Discrete Mathematics

WEN-CHING LIEN Department of Mathematics National Cheng Kung University

2008

(2)

10.2: The 2nd-order linear homogeneous recurrence relation with constant coefficiens

Definition

Let kZ+and C0,C1, ...,Ck be real numbers. If{an}is a discrete function, then

C0an+C1an1+C2an2+ · · · +Ckank =f(n), nk, is a linear recurrence relation with constant coefficiens of order k. When f(n) =0 for all n≥0, the relation is called homogeneous; otherwise, it is called nonhomogeneous.

(3)

Consider the homogeneous relation of order 2:

C0an+C1an1+C2an2=0, n≥2.

Definition

The quadratic equation

C0r2+C1r +C2=0 is called the characteristic equation.

Let r1,r2denote the (characteristic) roots of the equation.

(4)

Consider the homogeneous relation of order 2:

C0an+C1an1+C2an2=0, n≥2.

Definition

The quadratic equation

C0r2+C1r +C2=0 is called the characteristic equation.

Let r1,r2denote the (characteristic) roots of the equation.

(5)

Consider the homogeneous relation of order 2:

C0an+C1an1+C2an2=0, n≥2.

Definition

The quadratic equation

C0r2+C1r +C2=0 is called the characteristic equation.

Let r1,r2denote the (characteristic) roots of the equation.

(6)

Case A: r1and r2are distinct real roots.

an=c1r1n+c2r2n.

Example (the Fibonacci relation) Solve the recurrence relation

Fn+2=Fn+1+Fn, n≥0, and F0=0, F1=1.

(7)

Case A: r1and r2are distinct real roots.

an=c1r1n+c2r2n.

Example (the Fibonacci relation) Solve the recurrence relation

Fn+2=Fn+1+Fn, n≥0, and F0=0, F1=1.

(8)

Case A: r1and r2are distinct real roots.

an=c1r1n+c2r2n.

Example (the Fibonacci relation) Solve the recurrence relation

Fn+2=Fn+1+Fn, n≥0, and F0=0, F1=1.

(9)

Case B: r1 and r2are complex roots.

Example

Solve the recurrence relation an=2(an1an2), where n ≥2 and a0=1, a1=2.

(10)

Case B: r1 and r2are complex roots.

Example

Solve the recurrence relation an=2(an1an2), where n ≥2 and a0=1, a1=2.

(11)

Example

Let bR+, and Dn denote the n×n determinant given by

b b 0 0 0 ... 0 0 0 0 0 b b b 0 0 ... 0 0 0 0 0 0 0 b b b ... 0 0 0 0 0 . . . ... . . . 0 0 0 0 0 ... b b b 0 0 0 0 0 0 0 ... 0 b b b 0 0 0 0 0 0 ... 0 0 b b b 0 0 0 0 0 ... 0 0 0 b b

Find the value of Dn as a function of n.

(12)

Case C: Repeated real roots.

Example

Solve the recurrence relation an+2=4an+14an, where n≥0 and a0=1, a1=3.

(13)

Theorem

Consider the homogeneous relation of order 2:

C0an+C1an−1+C2an−2=0, n≥2.

Let r denote the characteristic root of multiplicity 2, then the general solution has the form

(A0+A1n)rn where A0and A1are arbitrary constants.

(14)

Thank you.

參考文獻

相關文件

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

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

Department of Mathematics National Cheng Kung