当前位置:网站首页>[combinatorial mathematics] pigeon's nest principle (simple form of pigeon's nest principle | simple form examples of pigeon's nest principle 1, 2, 3)
[combinatorial mathematics] pigeon's nest principle (simple form of pigeon's nest principle | simple form examples of pigeon's nest principle 1, 2, 3)
2022-07-03 10:38:00 【Programmer community】
List of articles
- One 、 Pigeon nest principle simple form
- Two 、 Example of simple form of pigeon nest principle 1
- 3、 ... and 、 Example of simple form of pigeon nest principle 2
- Four 、 Example of simple form of pigeon nest principle 3
One 、 Pigeon nest principle simple form
Pigeon nest principle :
take
n
+
1
n + 1
n+1 An object Put it in
n
n
n Boxes in , be
There must be a box in At least contain
2
2
2 individual or
2
2
2 More than objects ;
Pigeon nest principle It's actually Many to few configuration ; There is at least one many to one situation ;
Two 、 Example of simple form of pigeon nest principle 1
prove : The side length is
2
2
2 In the regular triangle of , Yes
5
5
5 A little bit , There must be two points whose distance is less than
1
1
1 ;
Will become
2
2
2 An equilateral triangle , It is divided into
4
4
4 A small equilateral triangle , The length of each side is
1
1
1 ; Here's the picture :
stay
4
4
4 In a small square , draw
5
5
5 A little bit ;
According to the pigeon nest principle , The above question can be turned into take
5
5
5 Put an object into
4
4
4 In a box , At least one box contains
2
2
2 individual or
2
2
2 More than objects ;
In an equilateral triangle lattice , If you draw two points , The distance must be less than
1
1
1 ;
3、 ... and 、 Example of simple form of pigeon nest principle 2
prove :
9
×
3
9\times3
9×3 Of the lattice , Use black , white Paint in two colors , There must be two identical coloring schemes ;
First enumerate the possible coloring schemes : There can only exist
2
3
=
8
2^3 = 8
23=8 Possible coloring schemes ;
stay
9
9
9 In the column square , Use
8
8
8 Paint in three modes ;
It can be understood equivalently as the pigeon nest principle : take
9
9
9 Put an object in
8
8
8 In a box , be At least one box contains
2
2
2 individual or
2
2
2 More than objects ;
So at least there is
2
2
2 Column or
2
2
2 The grid above the column will be painted in one color ;
Four 、 Example of simple form of pigeon nest principle 3
prove : There is... In the space
9
9
9 Grid points , The midpoint of all the lines between two points , There is a grid ;
Lattice points refer to integer points ;
The midpoint of the line is the requirement of the grid : Spatial coordinates
(
x
,
y
,
z
)
(x,y,z)
(x,y,z) And
(
x
′
,
y
′
,
z
′
)
(x' , y' , z')
(x′,y′,z′) Have the same parity , namely
x
,
x
′
x , x'
x,x′ Both odd and even numbers ,
y
,
y
′
y , y'
y,y′ Both odd and even numbers ,
z
,
z
′
z , z'
z,z′ Both odd and even numbers ,
At this time, the midpoint of the line between these two spatial coordinates is Grid point , That is, integer point ;
Next, it is analyzed that the parity of the three coordinates is the same , The reason why the midpoint is the grid point :
The coordinate formula of the midpoint of the line is :
(
x
+
x
′
2
,
y
+
y
′
2
,
z
+
z
′
2
)
( \dfrac{x + x'}{2} , \dfrac{y + y'}{2} , \dfrac{z + z'}{2} )
(2x+x′,2y+y′,2z+z′)
When parity is the same , The three numbers of the spatial coordinates of the midpoint of the line are all integers ;
Spatial coordinates
(
x
,
y
,
z
)
(x,y,z)
(x,y,z) And
(
x
′
,
y
′
,
z
′
)
(x' , y' , z')
(x′,y′,z′) The parity modes of are
2
3
=
8
2^3 = 8
23=8 Kind of ; Namely
- The first
1
1
1 A coordinate
x
,
x
′
x , x'
x,x′ Parity identical / Different , Two cases ;
- The first
2
2
2 A coordinate
y
,
y
′
y , y'
y,y′ Parity identical / Different , Two cases ;
- The first
3
3
3 A coordinate
z
,
z
′
z , z'
z,z′ Parity identical / Different , Two cases ;
There are two cases for each of the above coordinates , The three coordinates are
2
×
2
×
2
=
8
2 \times 2 \times 2 = 8
2×2×2=8 In this case , This is the principle of multiplication ;
In the space
9
9
9 Grid points , The parity pattern of each lattice point has
8
8
8 Kind of ;
It can be understood equivalently as the pigeon nest principle : take
9
9
9 Put an object in
8
8
8 In a box , be At least one box contains
2
2
2 individual or
2
2
2 More than objects ;
So at least there is
2
2
2 Or
2
2
2 The parity pattern of more than lattice points is the same ;
therefore :
2
2
2 The midpoint connected by lattice points with the same parity pattern , It must be grid point ;
边栏推荐
- Neural Network Fundamentals (1)
- Content type ‘application/x-www-form-urlencoded;charset=UTF-8‘ not supported
- Leetcode刷题---44
- Tensorflow—Neural Style Transfer
- MySQL报错“Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre”解决方法
- Judging the connectivity of undirected graphs by the method of similar Union and set search
- [LZY learning notes -dive into deep learning] math preparation 2.1-2.4
- Are there any other high imitation projects
- Content type ‘application/x-www-form-urlencoded;charset=UTF-8‘ not supported
- Leetcode刷题---704
猜你喜欢
2018 y7000 upgrade hard disk + migrate and upgrade black apple
Knowledge map reasoning -- hybrid neural network and distributed representation reasoning
Hands on deep learning pytorch version exercise solution-3.3 simple implementation of linear regression
Ind wks first week
Model selection for neural network introduction (pytorch)
Timo background management system
八、MySQL之事务控制语言
Mysql5.7 installation and configuration tutorial (Graphic ultra detailed version)
七、MySQL之数据定义语言(二)
Stroke prediction: Bayesian
随机推荐
ThreadLocal原理及使用场景
Leetcode刷题---283
Ut2011 learning notes
熵值法求权重
【吐槽&脑洞】关于逛B站时偶然体验的弹幕互动游戏魏蜀吴三国争霸游戏的一些思考
7、 Data definition language of MySQL (2)
Drop out (pytoch)
Ut2013 learning notes
User recommendation preference model based on attention enhanced knowledge perception
Leetcode刷题---278
[LZY learning notes dive into deep learning] 3.5 image classification dataset fashion MNIST
Leetcode skimming ---189
二分查找法
Leetcode刷题---1
The story of a 30-year-old tester struggling, even lying flat is extravagant
A complete answer sheet recognition system
Jetson TX2 brush machine
The imitation of jd.com e-commerce project is coming
权重衰退(PyTorch)
Numpy Foundation