当前位置:网站首页>math_ Derivation of ordering inequality
math_ Derivation of ordering inequality
2022-07-18 14:03:00 【xuchaoxin1375】
List of articles
Ranking inequalities
There are two ordered sequences ( It can be understood as monotonous ( discrete ) function ), namely
{ a n } and { b n } , Respectively satisfy : a i < a i + 1 b i < b i + 1 i = 1 , 2 , 3 , ⋯ , n − 1 \{a_n\} and \{b_n\}, Respectively satisfy : \\a_{i}<a_{i+1}\\ b_{i}<b_{i+1} \\i=1,2,3,\cdots,n-1 { an} and { bn}, Respectively satisfy :ai<ai+1bi<bi+1i=1,2,3,⋯,n−1Proof conclusion
∑ i = 1 n a i b i ≥ ∑ i = 1 n a i R ( { b n } ) i among , R ( { b n } ) Represents the pairwise sequence { b n } A disorder of ( arbitrarily ) array ( Shuffle R a n d o m i z e / s h u f f l e ) And with subscript i The expression of R { b n } i Express b n An arbitrary disordered sequence of c n Of the i Elements The writing here is a bit like function call in programming ( Set function R Returns a sequence that is out of order { c n } ) therefore , For the convenience of writing , We have an equivalent expression : ∑ i = 1 n a i b i ≥ ∑ i = 1 n a i c i \sum_{i=1}^n{a_{i}b_{i}}\ge\sum_{i=1}^{n}{a_iR(\{b_n\})_i} \\ among ,R(\{b_n\}) Represents the pairwise sequence \{b_n\} A disorder of ( arbitrarily ) array ( Shuffle Randomize/shuffle) \\ And with subscript i The expression of R\{b_n\}_i Express {b_n} An arbitrary disordered sequence of {c_n} Of the i Elements \\ The writing here is a bit like function call in programming \\( Set function R Returns a sequence that is out of order \{c_n\}) \\ therefore , For the convenience of writing , We have an equivalent expression : \\ \sum_{i=1}^n{a_{i}b_{i}}\ge\sum_{i=1}^{n}{a_i}{c_i} i=1∑naibi≥i=1∑naiR({ bn})i among ,R({ bn}) Represents the pairwise sequence { bn} A disorder of ( arbitrarily ) array ( Shuffle Randomize/shuffle) And with subscript i The expression of R{ bn}i Express bn An arbitrary disordered sequence of cn Of the i Elements The writing here is a bit like function call in programming ( Set function R Returns a sequence that is out of order { cn}) therefore , For the convenience of writing , We have an equivalent expression :i=1∑naibi≥i=1∑naici
Record the sequence { b n } Before i Items and are s i = ∑ k = 1 k = i b k Record the sequence { c n } Before i Items and are s r i = ∑ k = 1 k = i c k b i = s i − s i − 1 ( important ) ; i ∈ N + , i = 1 , 2 , 3 , ⋯ , n s i ≤ s r i The expression of this inequality is , The sequence { b n } Arbitrarily i Xiang He , The minimum is s i That makes sense , After all s i The value of is the smallest in the sequence i The sum of the elements s r i No comparison s i Small s n = s r n It's easy to understand , The synthesis of a group of numbers out of order is always consistent ( At this time, the partial sum is the total sum ) Record the sequence \{b_n\} Before i Items and are s_i=\sum_{k=1}^{k=i}{b_k} \\ Record the sequence \{c_n\} Before i Items and are sr_i=\sum_{k=1}^{k=i}{c_k} \\ \begin{aligned} &b_i=s_i-s_{i-1}( important );\quad i\in N^+,i=1,2,3,\cdots,n\\ &s_i\le sr_{i}\quad The expression of this inequality is , The sequence \{b_n\} Arbitrarily i Xiang He , The minimum is s_i\\ & That makes sense , After all s_i The value of is the smallest in the sequence i The sum of the elements sr_i No comparison s_i Small \\ &s_n=sr_n\quad It's easy to understand , The synthesis of a group of numbers out of order is always consistent ( At this time, the partial sum is the total sum ) \end{aligned} \\ Record the sequence { bn} Before i Items and are si=k=1∑k=ibk Record the sequence { cn} Before i Items and are sri=k=1∑k=ickbi=si−si−1( important );i∈N+,i=1,2,3,⋯,nsi≤sri The expression of this inequality is , The sequence { bn} Arbitrarily i Xiang He , The minimum is si That makes sense , After all si The value of is the smallest in the sequence i The sum of the elements sri No comparison si Small sn=srn It's easy to understand , The synthesis of a group of numbers out of order is always consistent ( At this time, the partial sum is the total sum )
also : * s 0 = 0 s 1 = b 1 for example : b 1 = s 1 − s 0 = s 1 b 2 = s 2 − s 1 b 3 = s 3 − s 2 Besides , because { a n } The sequence is monotonous , It's easy to know a i − a i − 1 ≤ 0 Thus there are : also :\bigstar \begin{aligned} &s_0=0\\ &s_1=b1 \end{aligned} \\ for example :b_1=s_1-s_0=s_1 \\b_2=s_2-s_1 \\b_3=s_3-s_2 \\ Besides , because \{a_n\} The sequence is monotonous , It's easy to know a_i-a_{i-1}\le0 \\ Thus there are : also :*s0=0s1=b1 for example :b1=s1−s0=s1b2=s2−s1b3=s3−s2 Besides , because { an} The sequence is monotonous , It's easy to know ai−ai−1≤0 Thus there are :
s i ( a i − a i − 1 ) ≥ s r i ( a i − a i − 1 ) (core) s_i(a_i-a_{i-1})\ge sr_i(a_i-a_{i-1}) \tag{core} si(ai−ai−1)≥sri(ai−ai−1)(core)
One side
∑ i = 1 n a i b i = ∑ i = 1 n a i ( s i − s i − 1 ) Summation can be used to express addition concisely , But sometimes it is not conducive to see the law We will i = 1 , 2 , 3 , ⋯ , n Bring them to the right side of the equation , Observe the law a 1 b 1 = a 1 ( s 1 − s 0 ) = a 1 s 1 − a 1 s 0 a 2 b 2 = a 2 ( s 2 − s 1 ) = a 2 s 2 − a 2 s 1 a 3 b 3 = a 3 ( s 3 − s 2 ) = a 3 s 3 − a 3 s 2 ⋮ ⋮ ⋮ a n − 1 b n − 1 = a n − 1 ( s n − 1 − s n − 2 ) = a n − 1 s n − 1 − a n − 1 s n − 2 a n b n = a n ( s n − s n − 1 ) = a n s n − a n s n − 1 \\ \sum_{i=1}^{n}{a_ib_i}=\sum_{i=1}^{n}{a_i(s_i-s_{i-1})} \\ Summation can be used to express addition concisely , But sometimes it is not conducive to see the law \\ We will i=1,2,3,\cdots,n Bring them to the right side of the equation , Observe the law \\ \begin{aligned} a_1b_1 &=a_1(s_1-s_0) &=a_1s_1-a_1s_0\\ a_2b_2 &=a_2(s_2-s_1) &=a_2s_2-a_2s_1\\ a_3b_3 &=a_3(s_3-s_2) &=a_3s_3-a_3s_2\\ \vdots &\quad \vdots &\vdots\\ a_{n-1}b_{n-1} &=a_{n-1}(s_{n-1}-s_{n-2}) &= a_{n-1}s_{n-1}-a_{n-1}s_{n-2}\\ a_{n}b_{n} &=a_{n}(s_{n}-s_{n-1}) &= a_{n}s_{n}-a_{n}s_{n-1}\\ \end{aligned} i=1∑naibi=i=1∑nai(si−si−1) Summation can be used to express addition concisely , But sometimes it is not conducive to see the law We will i=1,2,3,⋯,n Bring them to the right side of the equation , Observe the law a1b1a2b2a3b3⋮an−1bn−1anbn=a1(s1−s0)=a2(s2−s1)=a3(s3−s2)⋮=an−1(sn−1−sn−2)=an(sn−sn−1)=a1s1−a1s0=a2s2−a2s1=a3s3−a3s2⋮=an−1sn−1−an−1sn−2=ansn−ansn−1
Add the above equations , Or get ∑ i = 1 n a i b i = s 1 ( a 1 − a 2 ) + s 2 ( a 2 − a 3 ) + s 3 ( a 3 − a 4 ) + ⋯ + s n − 1 ( a n − 1 − a n ) + a n s n = ( ∑ i = 1 n − 1 s i ( a i − a i + 1 ) ) + a n s n \\ Add the above equations , Or get \\ \sum_{i=1}^{n}{a_ib_i} ={s_1(a_1-a_2)+s_2(a_2-a_3)+s_3(a_3-a_4)}+\cdots \\+s_{n-1}{(a_{n-1}-a_{n})}+a_ns_n \\ =\left(\sum_{i=1}^{n-1}{s_i(a_i-a_{i+1})}\right)+a_ns_n Add the above equations , Or get i=1∑naibi=s1(a1−a2)+s2(a2−a3)+s3(a3−a4)+⋯+sn−1(an−1−an)+ansn=(i=1∑n−1si(ai−ai+1))+ansnOn the other hand , Similar to the above derivation , Yes
Unordered product and- ∑ i = 1 n a i c i = ( ∑ i = 1 n − 1 s r i ( a i − a i + 1 ) ) + a n s r n \sum_{i=1}^{n}a_ic_i=\left(\sum_{i=1}^{n-1}{sr_i(a_i-a_{i+1})}\right)+a_nsr_n i=1∑naici=(i=1∑n−1sri(ai−ai+1))+ansrn
So there is a conclusion
∵ s i ( a i − a i − 1 ) ≥ s r i ( a i − a i − 1 ) s n = s r n ∴ ( ∑ i = 1 n − 1 s i ( a i − a i + 1 ) ) + a n s n ≥ ( ∑ i = 1 n − 1 s r i ( a i − a i + 1 ) ) + a n s r n ∴ ∑ i = 1 n a i b i ≥ ∑ i = 1 n a i c i (core) \because s_i(a_i-a_{i-1})\ge sr_i(a_i-a_{i-1}) \tag{core} \\s_n=sr_n \\ \therefore \left(\sum_{i=1}^{n-1}{s_i(a_i-a_{i+1})}\right)+a_ns_n\ge \left(\sum_{i=1}^{n-1}{sr_i(a_i-a_{i+1})}\right)+a_nsr_n \\ \therefore \sum_{i=1}^{n}{a_ib_i} \ge \sum_{i=1}^{n}a_ic_i ∵si(ai−ai−1)≥sri(ai−ai−1)sn=srn∴(i=1∑n−1si(ai−ai+1))+ansn≥(i=1∑n−1sri(ai−ai+1))+ansrn∴i=1∑naibi≥i=1∑naici(core)
The other half of the equation
A similar principle , Can be derived
Inverse product sumLess thanUnordered product andOf∑ i = 1 n a i b i ≥ ∑ i = 1 n a i c i ≥ ∑ i = 1 n a i b n − i + 1 \sum_{i=1}^{n}{a_ib_i} \ge \sum_{i=1}^{n}a_ic_i \ge \sum_{i=1}^{n}{a_ib_{n-i+1}} i=1∑naibi≥i=1∑naici≥i=1∑naibn−i+1
summary

边栏推荐
- Differences between collections and collections
- 【MySQL】——数据库的基本查询练习
- T100debug operation record
- 2018 Jiangsu Provincial Information and future programming expert competition test question -- (New) chicken and rabbit in the same cage
- Notes on logical problem solving in English reading
- marginalization
- kettle版本8.2的中文乱码问题
- 【品牌专场】跨越 X 突破,音视频聚力新机遇
- 微信小程序实训|基于云数据库的语文听写工具
- 【Jmeter】Jmeter 设置默认语言为中文
猜你喜欢

盒子模型、文档流、定位、布局和响应式设计

Lianshengde w801- how to improve the efficiency of multi-channel ADC acquisition

用过useEffect,useLayoutEffect吗

Cultural tourism night tour project helps the development of night economy
MySQL query data

T100接口开发步骤简介
![[phase locked loop] design and Simulation of all digital phase locked loop based on MATLAB](/img/3c/9fe4aec90506cef4bf0a639366263d.png)
[phase locked loop] design and Simulation of all digital phase locked loop based on MATLAB

Matlab机械臂建模运动学仿真+轨迹规划

AB PLC learning notes

What points should be paid attention to in the selection of project management system?
随机推荐
【Jmeter】Jmeter响应消息中文显示乱码
Differences between collections and collections
Securities account Guotai Junan? Is it safe?
【虚幻引擎UE】UE5动态PAK资源加载方法
Cultural tourism Night Tour: new opportunities for urban economic recovery and growth
Binary tree, traversal
MySQL - ER model
Can ping command still play like this?
T100debug操作记录
基于SSH的网上商城
Shuttle simulated rocket launch animation
Basic knowledge of triode (Part 2) ②
marginalization
web一些实用的网址
[phase locked loop] design and Simulation of all digital phase locked loop based on MATLAB
Mysql 问题
marginalization
Simulation volume leetcode [general] 2013 Detect square
Workplace essentials | 123 pages Huawei internal project management ppt
Interface test practice - student information management system