当前位置:网站首页>[combinatorics] recursive equation (constant coefficient linear homogeneous recursive equation | constant coefficient, linear, homogeneous concept description | constant coefficient linear homogeneous
[combinatorics] recursive equation (constant coefficient linear homogeneous recursive equation | constant coefficient, linear, homogeneous concept description | constant coefficient linear homogeneous
2022-07-03 16:48:00 【Programmer community】
List of articles
- One 、 Linear homogeneous recurrence equation with constant coefficients
- Two 、 Constant coefficient 、 linear 、 Homogeneous Concept description
- 3、 ... and 、 The formula solution of linear homogeneous recurrence equation with constant coefficients
- Four 、 Outline of the formula solution of linear homogeneous recurrence equation with constant coefficients
One 、 Linear homogeneous recurrence equation with constant coefficients
Linear homogeneous recurrence equation with constant coefficients :
{
H
(
n
)
−
a
1
H
(
n
−
1
)
−
a
2
H
(
n
−
2
)
−
⋯
−
a
k
H
(
n
−
k
)
=
0
H
(
0
)
=
b
0
,
H
(
1
)
=
b
1
,
H
(
2
)
=
b
2
,
⋯
,
H
(
k
)
=
b
k
\begin{cases} H(n) - a_1H(n-1) - a_2H(n-2) - \cdots - a_kH(n-k) = 0 \\\\ H(0) = b_0 , H(1) = b_1 , H(2) = b_2 , \cdots , H(k) = b_k \end{cases}
⎩⎪⎨⎪⎧H(n)−a1H(n−1)−a2H(n−2)−⋯−akH(n−k)=0H(0)=b0,H(1)=b1,H(2)=b2,⋯,H(k)=bk
Constant coefficient It refers to the sequence of numbers Before item coefficient
a
1
,
a
2
,
⋯
,
a
k
a_1 , a_2 , \cdots , a_k
a1,a2,⋯,ak It's all constant ,
a
k
≠
0
a_k \not=0
ak=0 ;
Homogeneous It refers to moving the sequence item to the left , The right term is equal to
0
0
0 ;
The above is called
k
k
k rank Linear homogeneous recurrence equation with constant coefficients ;
b
0
,
b
1
,
b
2
,
⋯
,
b
k
b_0 , b_1, b_2 , \cdots , b_k
b0,b1,b2,⋯,bk yes Recursive equation
k
k
k An initial value ;
Two 、 Constant coefficient 、 linear 、 Homogeneous Concept description
Constant coefficient 、 linear 、 Homogeneous Concept description :
1 . Constant coefficient concept : Constant coefficient refers to
T
(
n
)
,
T
(
n
−
1
)
T(n) , T(n-1)
T(n),T(n−1) these Coefficient before term , It's all constant , Such as
2
T
(
n
−
1
)
2 T(n-1)
2T(n−1) ,
T
(
n
−
1
)
T(n-1)
T(n−1) The coefficient before the term is constant
2
2
2 ;
The recurrence equation introduced in chestnut before , Such as
- Hanoi Tower recursive equation
T
(
n
)
=
2
T
(
n
−
1
)
+
1
T(n) =2 T(n-1) + 1
T(n)=2T(n−1)+1
- Insert sort recurrence equation
W
(
n
)
=
W
(
n
−
1
)
+
n
−
1
W(n) = W(n-1) + n-1
W(n)=W(n−1)+n−1
All are Constant coefficient linear recurrence equation , Not homogeneous ;
2 . Linear concept : The first
n
n
n Items are the previous items
n
−
1
n-1
n−1 Of A linear combination , There is no exponential relationship , So it becomes linear ;
3 . Homogeneous concept : stay
T
(
n
)
T(n)
T(n) There are no other elements besides the item , Only items , Above
T
(
n
)
=
2
T
(
n
−
1
)
+
1
T(n) =2 T(n-1) + 1
T(n)=2T(n−1)+1 There is a constant beyond the term
1
1
1 , The recursive equation is not homogeneous ; If change to
T
(
n
)
=
2
T
(
n
−
1
)
T(n) =2 T(n-1)
T(n)=2T(n−1) , The recursive equation is homogeneous ;
3、 ... and 、 The formula solution of linear homogeneous recurrence equation with constant coefficients
1 . Characteristic root 、 general solution 、 Special solution
Characteristic root : According to the original Recurrence equation , Find out Characteristic root ;
general solution : utilize Characteristic root , Write general solution ;
Special solution : according to general solution , Substitute into the initial value of the recursive equation , Get... For these initial values Special solution , That is, the solution of the sequence ,
2 . The relationship between general solution and special solution :
Recurrence equation and initial value : The dependence of recurrence equation , Recursive equations express more than one sequence , The recurrence equation is Express an infinite sequence of numbers with the same dependencies , Different initial values of recurrence equations , Corresponding to different series , Recurrence equation and The initial value can only determine a sequence ;
Recurrence equation 、 Understand the relationship : general solution It's actually a recursive equation Corresponding Infinite series The common solution of , and A sequence cannot be uniquely determined ;
Special solution 、 Sequence relation : Some undetermined coefficients of the general solution , It should be determined by the initial value , The general solution is substituted into the initial value , Got Special solution , To uniquely determine a given sequence ;
Four 、 Outline of the formula solution of linear homogeneous recurrence equation with constant coefficients
Outline of the solution of recurrence equation formula :
- Characteristic equation and characteristic root
- The relation between the solution of recurrence equation and characteristic root
- Linear properties of solutions
- General solution structure without multiple roots
- There is a general solution structure under double roots
边栏推荐
- 远程办公之如何推进跨部门项目协作 | 社区征文
- 智慧之道(知行合一)
- Central South University | through exploration and understanding: find interpretable features with deep reinforcement learning
- 关于视觉SLAM的最先进技术的调查-A survey of state-of-the-art on visual SLAM
- 斑馬識別成狗,AI犯錯的原因被斯坦福找到了
- 于文文、胡夏等明星带你玩转派对 皮皮APP点燃你的夏日
- 8 tips for effective performance evaluation
- What is the material of 13mnnimor? 13mnnimor steel plate for medium and low temperature pressure vessels
- (Supplement) double pointer topic
- What material is sa537cl1? Sa537cl1 corresponds to the national standard material
猜你喜欢

Explore Netease's large-scale automated testing solutions see here see here

斑馬識別成狗,AI犯錯的原因被斯坦福找到了

What material is sa537cl2? Analysis of mechanical properties of American standard container plate

What material is sa537cl2 equivalent to in China? Sa537cl2 corresponding material

What material is 13crmo4-5 equivalent to in China? 13crmo4-5 chemical composition 13crmo4-5 mechanical properties

Learn from me about the enterprise flutter project: simplified framework demo reference

CC2530 common registers for watchdog

Mysql 将逗号隔开的属性字段数据由列转行

Unreal_ Datatable implements ID self increment and sets rowname

斑马识别成狗,AI犯错的原因被斯坦福找到了
随机推荐
JSON 与 BSON 区别
Two sides of the evening: tell me about the bloom filter and cuckoo filter? Application scenario? I'm confused..
美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃
Learn from me about the enterprise flutter project: simplified framework demo reference
Cocos Creator 2. X automatic packaging (build + compile)
PHP production website active push (website)
TCP congestion control details | 3 design space
[combinatorics] recursive equation (outline of recursive equation content | definition of recursive equation | example description of recursive equation | Fibonacci Series)
[sword finger offer] 58 - I. flip the word order
Daily code 300 lines learning notes day 10
How to set up SVN server on this machine
【剑指 Offer】58 - I. 翻转单词顺序
What is the material of 13mnnimor? 13mnnimor steel plate for medium and low temperature pressure vessels
What material is 13crmo4-5 equivalent to in China? 13crmo4-5 chemical composition 13crmo4-5 mechanical properties
How to promote cross department project collaboration | community essay solicitation
Central South University | through exploration and understanding: find interpretable features with deep reinforcement learning
Custom plug-in construction and use of QT plug-in
【剑指 Offer】58 - II. 左旋转字符串
[combinatorics] polynomial theorem (polynomial theorem | polynomial theorem proof | polynomial theorem inference 1 item number is the number of non negative integer solutions | polynomial theorem infe
(Supplement) double pointer topic