当前位置:网站首页>[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;
边栏推荐
- vs code 插件 koroFileHeader
- How to enforce parameters in PowerShell- How do I make parameters mandatory in PowerShell?
- 简单配置PostFix服务器
- 【RT-Thread】nxp rt10xx 设备驱动框架之--rtc搭建和使用
- PHP returns 500 errors but no error log - PHP return 500 error but no error log
- Brief introduction to the core functions of automatic penetration testing tool
- Hongmeng third training
- Golang unit test, mock test and benchmark test
- 鸿蒙第四次培训
- Design e-commerce spike
猜你喜欢

Hongmeng third training

Qt调节Win屏幕亮度和声音大小
![Luogu: p1155 [noip2008 improvement group] double stack sorting (bipartite graph, simulation)](/img/be/4ef38f711e7319a2cc83db2bee3a07.jpg)
Luogu: p1155 [noip2008 improvement group] double stack sorting (bipartite graph, simulation)

IntelliJ 2021.3 short command line when running applications

设计电商秒杀

Internet Hospital his Management Platform source, online Inquiry, appointment Registration Smart Hospital Small program source

Introduction to SolidWorks gear design software tool geartrax

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

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

STM32实现74HC595控制
随机推荐
[RT thread] NXP rt10xx device driver framework -- RTC construction and use
[combinatorics] recursive equation (general solution structure of recursive equation with multiple roots | linear independent solution | general solution with multiple roots | solution example of recu
Leetcode 108 converts an ordered array into a binary search tree -- recursive method
2021 ICPC regional competition (Shanghai) g.edge groups (tree DP)
Hongmeng fourth training
Simple use of unity pen XR grab
QT learning diary 9 - dialog box
Great changes! National housing prices fell below the 10000 yuan mark
【RT-Thread】nxp rt10xx 设备驱动框架之--hwtimer搭建和使用
[combinatorics] recursive equation (solution of linear non-homogeneous recursive equation with constant coefficients | standard form and general solution of recursive equation | proof of general solut
【RT-Thread】nxp rt10xx 设备驱动框架之--rtc搭建和使用
Write a program to process a list container of string type. Find a special value in the container 9.27: and delete it if found. Rewrite the above procedure with deque container.
Is AI too slow to design pictures and draw illustrations? 3 sets of practical brushes to save you
Redis: operation commands for list type data
Website with JS doesn't work in IE9 until the Developer Tools is activated
Financial management (Higher Vocational College) financial management online Assignment 1 in autumn 20
Apache服务挂起Asynchronous AcceptEx failed.
一位普通程序员一天工作清单
Applet setting multi account debugging
Basic grammar of interview (Part 2)