当前位置:网站首页>[combinatorics] generating function (linear property | product property)
[combinatorics] generating function (linear property | product property)
2022-07-03 17:35:00 【Programmer community】
List of articles
- One 、 Linear property of generating function
- Two 、 Linear property of generating function 2
- 3、 ... and 、 Product property of generating function
Reference blog :
- 【 Combinatorial mathematics 】 Generating function Brief introduction ( Generating function definition | Newton's binomial coefficient | Common generating functions | Related to constants | Related to binomial coefficient | Related to polynomial coefficients )
One 、 Linear property of generating function
Generating function Linear properties 1 :
b
n
=
α
a
n
b_n = \alpha a_n
bn=αan , be
B
(
x
)
=
α
A
(
x
)
B(x) = \alpha A(x)
B(x)=αA(x)
The sequence
a
n
a_n
an The generating function of is
A
(
x
)
A(x)
A(x) , The sequence
b
n
b_n
bn The generating function of is
B
(
x
)
B(x)
B(x) ,
If
b
n
b_n
bn The sequence yes
a
n
a_n
an The sequence Of
α
\alpha
α times , So the corresponding The generating function also has a corresponding relationship ;
Method of proof : Expand both sides , Just insert according to the definition ;
Two 、 Linear property of generating function 2
Generating function Linear properties 2 :
c
n
=
a
n
+
b
n
c_n = a_n + b_n
cn=an+bn , be
C
(
x
)
=
A
(
x
)
+
B
(
x
)
C(x) = A(x) + B(x)
C(x)=A(x)+B(x)
The sequence
a
n
a_n
an The generating function of is
A
(
x
)
A(x)
A(x) , The sequence
b
n
b_n
bn The generating function of is
B
(
x
)
B(x)
B(x) , The sequence
c
n
c_n
cn The tax included in the generation of is
C
(
x
)
C(x)
C(x) ,
Sequence sum Of Generating function , be equal to Generate the sum of functions ;
One sequence is Linear combination of other series , So it Generate functions and combine them accordingly , You can also find Generating function of large sequence ;
Method of proof : Expand both sides , Just insert according to the definition ;
3、 ... and 、 Product property of generating function
Generating function Product properties :
c
n
=
∑
i
=
0
n
a
i
b
n
−
i
c_n = \sum\limits_{i=0}^n a_i b_{n-i}
cn=i=0∑naibn−i , Then there are
C
(
x
)
=
A
(
x
)
⋅
B
(
x
)
C(x) = A(x) \cdot B(x)
C(x)=A(x)⋅B(x)
The sequence
a
n
a_n
an The generating function of is
A
(
x
)
A(x)
A(x) , The sequence
b
n
b_n
bn The generating function of is
B
(
x
)
B(x)
B(x) , The sequence
c
n
c_n
cn The tax included in the generation of is
C
(
x
)
C(x)
C(x) ,
The sequence
a
n
a_n
an The generating function of :
A
(
x
)
=
a
0
+
a
1
x
+
a
2
x
2
+
⋯
A(x) = a_0 + a_1x + a_2x^2 + \cdots
A(x)=a0+a1x+a2x2+⋯
The sequence
b
n
b_n
bn The generating function of :
B
(
x
)
=
b
0
+
b
1
x
+
b
2
x
2
+
⋯
B(x) = b_0 + b_1x + b_2x^2 + \cdots
B(x)=b0+b1x+b2x2+⋯
The sequence
c
n
c_n
cn The generating function of :
C
(
x
)
=
c
0
+
c
1
x
+
c
2
x
2
+
⋯
C(x) = c_0 + c_1x + c_2x^2 + \cdots
C(x)=c0+c1x+c2x2+⋯
Dexter Two generating functions
A
(
x
)
A(x)
A(x) and
B
(
x
)
B(x)
B(x) Multiply :
(
a
0
+
a
1
x
+
a
2
x
2
+
⋯
)
×
(
b
0
+
b
1
x
+
b
2
x
2
+
⋯
)
(a_0 + a_1x + a_2x^2 + \cdots) \times ( b_0 + b_1x + b_2x^2 + \cdots )
(a0+a1x+a2x2+⋯)×(b0+b1x+b2x2+⋯)
Multiply by polynomials ,
x
0
x^0
x0 ,
0
0
0 Power term , Constant term , The composition methods are
1
1
1 Kind of , Constant terms in two generating functions , Multiply and then
a
0
b
0
a_0 b_0
a0b0 ,
x
1
x^1
x1 ,
1
1
1 Power term , The composition methods are
2
2
2 Kind of ,
A
(
x
)
A(x)
A(x) Medium
a
1
x
a_1x
a1x And
B
(
x
)
B(x)
B(x) Medium
b
0
b_0
b0 , constitute
x
1
x^1
x1 The first power term
a
1
b
0
x
a_1b_0x
a1b0x ;
A
(
x
)
A(x)
A(x) Medium
a
0
a_0
a0 And
B
(
x
)
B(x)
B(x) Medium
b
1
x
b_1x
b1x , constitute
x
1
x^1
x1 The first power term
a
0
b
1
x
a_0b_1x
a0b1x ;
x
1
x^1
x1 ,
1
1
1 The coefficient of the power term is
a
1
b
0
+
a
0
b
1
a_1b_0 + a_0b_1
a1b0+a0b1 , complete
1
1
1 The power term is
(
a
1
b
0
+
a
0
b
1
)
x
(a_1b_0 + a_0b_1)x
(a1b0+a0b1)x
x
2
x^2
x2 ,
2
2
2 Power term , The composition methods are
3
3
3 Kind of ,
A
(
x
)
A(x)
A(x) Medium
a
0
a_0
a0 And
B
(
x
)
B(x)
B(x) Medium
b
2
x
2
b_2x^2
b2x2 , constitute
x
2
x^2
x2 ,
2
2
2 Power term
a
0
b
2
x
2
a_0b_2x^2
a0b2x2 ;
A
(
x
)
A(x)
A(x) Medium
a
2
x
2
a_2x^2
a2x2 And
B
(
x
)
B(x)
B(x) Medium
b
0
b_0
b0 , constitute
x
2
x^2
x2 ,
2
2
2 Power term
a
2
b
0
x
2
a_2b_0x^2
a2b0x2 ;
A
(
x
)
A(x)
A(x) Medium
a
1
x
a_1x
a1x And
B
(
x
)
B(x)
B(x) Medium
b
1
x
b_1x
b1x , constitute
x
2
x^2
x2 ,
2
2
2 Power term
a
1
b
1
x
2
a_1b_1x^2
a1b1x2 ;
x
2
x^2
x2 ,
2
2
2 The coefficient of the power term is
a
0
b
2
+
a
2
b
0
+
a
1
b
1
a_0b_2 + a_2b_0 + a_1b_1
a0b2+a2b0+a1b1 , complete
2
2
2 The power term is
(
a
0
b
2
+
a
2
b
0
+
a
1
b
1
)
x
2
(a_0b_2 + a_2b_0 + a_1b_1)x^2
(a0b2+a2b0+a1b1)x2
law :
x
x
x Of
n
n
n Power term , The coefficient is
∑
i
=
0
n
a
i
b
n
−
i
\sum\limits_{i=0}^n a_i b_{n-i}
i=0∑naibn−i , from
n
+
1
n+1
n+1 Item composition , Of each item
a
i
,
b
n
−
i
a_i,b_{n-i}
ai,bn−i The sum of subscripts is
n
n
n;
边栏推荐
- Embedded-c language-7
- Apache服务挂起Asynchronous AcceptEx failed.
- 国内如何购买Google Colab会员
- QT learning diary 9 - dialog box
- Introduction to SolidWorks gear design software tool geartrax
- Basic grammar of interview (Part 2)
- link preload prefetch
- AcWing 4489. 最长子序列
- Leetcode540: a single element in an ordered array
- 面试官:值为 nil 为什么不等于 nil ?
猜你喜欢

【RT-Thread】nxp rt10xx 设备驱动框架之--Pin搭建和使用

Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing

互聯網醫院HIS管理平臺源碼,在線問診,預約掛號 智慧醫院小程序源碼

Cloud primordial weekly | CNCF released the 2021 cloud primordial development status report, which was released on istio 1.13

TCP拥塞控制详解 | 3. 设计空间

1164 Good in C

UE4 official charging resources, with a total price of several thousand

Design e-commerce spike

Implementation of Tetris in C language

Kubernetes resource object introduction and common commands (4)
随机推荐
Answer to the homework assessment of advanced English reading (II) of the course examination of Fuzhou Normal University in February 2022
How to enforce parameters in PowerShell- How do I make parameters mandatory in PowerShell?
RDS数据库的监测页面在哪看?
[combinatorics] recursive equation (the non-homogeneous part is an exponential function and the bottom is the characteristic root | example of finding a special solution)
Golang unit test, mock test and benchmark test
ArrayList分析3 : 删除元素
PS screen printing brush 131, many illustrators have followed suit
Financial management (Higher Vocational College) financial management online Assignment 1 in autumn 20
First day of rhcsa study
vs2013已阻止安装程序,需安装IE10
Leetcode 108 converts an ordered array into a binary search tree -- recursive method
Leetcode13. Roman numeral to integer (three solutions)
Electronic technology 20th autumn "Introduction to machine manufacturing" online assignment 3 [standard answer]
Electronic Science and technology 20th autumn "Microcomputer Principle and application" online assignment 2 [standard answer]
[combinatorics] recursive equation (special solution form | special solution solving method | special solution example)
The difference between i++ and ++i: tell their differences easily
[RT thread] NXP rt10xx device driver framework -- Audio construction and use
Managing multiple selections with MVVM - managing multiple selections with MVVM
Test your trained model
[error reporting] omp: error 15: initializing libiomp5md dll, but found libiomp5md. dll already initialized.