<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Probabilistic_method</id>
	<title>Probabilistic method - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Probabilistic_method"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Probabilistic_method&amp;action=history"/>
	<updated>2026-12-01T10:42:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki1463/index.php?title=Probabilistic_method&amp;diff=124198&amp;oldid=prev</id>
		<title>imported&gt;Kurgenera: Added {{No footnotes}} tag</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Probabilistic_method&amp;diff=124198&amp;oldid=prev"/>
		<updated>2026-06-28T23:58:32Z</updated>

		<summary type="html">&lt;p&gt;Added {{&lt;a href=&quot;/wiki1463/index.php?title=Template:No_footnotes&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:No footnotes (page does not exist)&quot;&gt;No footnotes&lt;/a&gt;}} tag&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{short description|Nonconstructive method for mathematical proofs}}&lt;br /&gt;
&lt;br /&gt;
{{No footnotes|date=June 2026}}&lt;br /&gt;
In [[mathematics]], the &amp;#039;&amp;#039;&amp;#039;probabilistic method&amp;#039;&amp;#039;&amp;#039; is a [[nonconstructive proof|nonconstructive]] method, primarily used in [[combinatorics]] and pioneered by [[Paul Erdős]], for [[mathematical proof|proving]] the existence of a prescribed kind of mathematical object. It works by showing that if one randomly chooses objects from a specified class, the [[probability]] that the result is of the prescribed kind is strictly greater than zero. Although the proof uses probability, the final conclusion is determined for certain, without any possible error.&lt;br /&gt;
&lt;br /&gt;
This method has now been applied to other areas of [[mathematics]] such as [[number theory]], [[linear algebra]], and [[real analysis]], as well as in [[computer science]] (e.g. [[randomized rounding]]) and [[information theory]].&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
If every object in a collection of objects fails to have a certain property, then the probability that a random object chosen from the collection has that property is zero. Thus, by [[contraposition]], if the probability that a random object chosen from the collection has that property is nonzero, then some object in the collection must possess the property.&lt;br /&gt;
&lt;br /&gt;
Similarly, showing that the probability is (strictly) less than 1 can be used to prove the existence of an object that does &amp;#039;&amp;#039;not&amp;#039;&amp;#039; satisfy the prescribed properties.&lt;br /&gt;
&lt;br /&gt;
Another way to use the probabilistic method is by calculating the [[expected value]] of some [[random variable]]. If it can be shown that the random variable can take on a value less than the expected value, this proves that the random variable can also take on some value greater than the expected value.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the probabilistic method can also be used to guarantee the existence of a desired element in a sample space with a value that is greater than or equal to the calculated expected value, since the non-existence of such element would imply every element in the sample space is less than the expected value, a contradiction.&lt;br /&gt;
&lt;br /&gt;
Common tools used in the probabilistic method include [[Markov&amp;#039;s inequality]], the [[Chernoff bound]], and the [[Lovász local lemma]].&lt;br /&gt;
&lt;br /&gt;
==Two examples due to Erdős==&lt;br /&gt;
Although others before him proved [[theorem]]s via the probabilistic method (for example, Szele&amp;#039;s 1943 result that there exist [[tournament (graph theory)|tournaments]] containing a large number of [[Hamiltonian cycle]]s), many of the most well known proofs using this method are due to Erdős. The first example below describes one such result from 1947 that gives a proof of a lower bound for the [[Ramsey&amp;#039;s theorem|Ramsey number]] &amp;lt;math&amp;gt;R(r,r)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===First example===&lt;br /&gt;
Suppose we have a [[complete graph]] on &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; [[vertex (graph theory)|vertices]]. We wish to show (for small enough values of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;) that it is possible to color the [[edge (graph theory)|edges]] of the [[graph (discrete mathematics)|graph]] in two colors (say red and blue) so that there is no complete [[subgraph (graph theory)|subgraph]] on &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; vertices which is monochromatic (every edge colored the same color).&lt;br /&gt;
&lt;br /&gt;
To do so, we color the graph randomly. Color each edge independently with probability &amp;lt;math&amp;gt;1/2&amp;lt;/math&amp;gt; of being red and &amp;lt;math&amp;gt;1/2&amp;lt;/math&amp;gt; of being blue. We calculate the expected number of monochromatic subgraphs on &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; vertices as follows:&lt;br /&gt;
&lt;br /&gt;
For any set &amp;lt;math&amp;gt;S_r&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; vertices from our graph, define the variable &amp;lt;math&amp;gt;X(S_r)&amp;lt;/math&amp;gt; to be &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; if every edge amongst the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; vertices is the same color, and &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; otherwise. Note that the number of monochromatic &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-subgraphs is the sum of &amp;lt;math&amp;gt;X(S_r)&amp;lt;/math&amp;gt; over all possible [[subset]]s &amp;lt;math&amp;gt;S_r&amp;lt;/math&amp;gt;. For any individual set &amp;lt;math&amp;gt;S_r^i&amp;lt;/math&amp;gt;, the [[expected value]] of &amp;lt;math&amp;gt;X(S_r^i)&amp;lt;/math&amp;gt; is simply the probability that all of the &amp;lt;math&amp;gt;C(r, 2)&amp;lt;/math&amp;gt; edges in &amp;lt;math&amp;gt;S_r^i&amp;lt;/math&amp;gt; are the same color:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;E[X(S_r^i)] = 2 \cdot 2^{-{r \choose 2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the factor of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt; comes because there are two possible colors).&lt;br /&gt;
&lt;br /&gt;
This holds true for any of the &amp;lt;math&amp;gt;C(n, r)&amp;lt;/math&amp;gt; possible subsets we could have chosen, i.e. &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; ranges from &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;C(n,r)&amp;lt;/math&amp;gt;. So we have that the sum of &amp;lt;math&amp;gt;E[X(S_r^i)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;S_r^i&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\sum_{i=1}^{C(n,r)} E[X(S_r^i)] = {n \choose r}2^{1-{r \choose 2}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of expectations is the expectation of the sum (&amp;#039;&amp;#039;regardless&amp;#039;&amp;#039; of whether the variables are [[statistical independence|independent]]), so the expectation of the sum (the expected number of all monochromatic &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-subgraphs) is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;E[X(S_r)] = {n \choose r}2^{1-{r \choose 2}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consider what happens if this value is less than &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;. Since the expected number of monochromatic &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-subgraphs is strictly less than &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;, there exists a coloring satisfying the condition that the number of monochromatic &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-subgraphs is strictly less than &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;. The number of monochromatic &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-subgraphs in this random coloring is a non-negative [[integer]], hence it must be &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; is the only non-negative integer less than &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;). It follows that if&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;E[X(S_r)] = {n \choose r}2^{1-{r \choose 2}} &amp;lt; 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(which holds, for example, for &amp;lt;math&amp;gt;n=5&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;r=4&amp;lt;/math&amp;gt;), there must exist a coloring in which there are no monochromatic &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-subgraphs.{{efn|&lt;br /&gt;
The same fact can be proved without probability, using a simple counting argument:&lt;br /&gt;
* The total number of &amp;#039;&amp;#039;r&amp;#039;&amp;#039;-subgraphs is &amp;lt;math&amp;gt;{n \choose r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Each &amp;#039;&amp;#039;r&amp;#039;&amp;#039;-subgraphs has &amp;lt;math&amp;gt;{r \choose 2}&amp;lt;/math&amp;gt; edges and thus can be colored in &amp;lt;math&amp;gt;2^{r \choose 2}&amp;lt;/math&amp;gt; different ways.&lt;br /&gt;
* Of these colorings, only 2 colorings are &amp;#039;bad&amp;#039; for that subgraph (the colorings in which all vertices are red or all vertices are blue).&lt;br /&gt;
* Hence, the total number of colorings that are bad for some (at least one) subgraph is at most &amp;lt;math&amp;gt;2 {n \choose r} 2^{{n \choose 2} - {r \choose 2}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Hence, if &amp;lt;math&amp;gt;2 {n \choose r} 2^{{n \choose 2} - {r \choose 2}} &amp;lt; 2^{n \choose 2} \Leftrightarrow {n \choose r}2^{1-{r \choose 2}} &amp;lt; 1&amp;lt;/math&amp;gt;, there must be at least one coloring which is not &amp;#039;bad&amp;#039; for any subgraph.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
By definition of the [[Ramsey number]], this implies that &amp;lt;math&amp;gt;R(r,r)&amp;lt;/math&amp;gt; must be bigger than &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. In particular, &amp;lt;math&amp;gt;R(r,r)&amp;lt;/math&amp;gt; must grow at least [[exponential growth|exponentially]] with &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A weakness of this argument is that it is entirely [[nonconstructive proof|nonconstructive]]. The problem of finding such a coloring has been [[open problem|open]] for more than 50 years.&lt;br /&gt;
&lt;br /&gt;
===Second example===&lt;br /&gt;
A 1959 paper of Erdős (see reference cited below) addressed the following problem in [[graph theory]]: given positive integers {{mvar|g}} and {{mvar|k}}, does there exist a graph {{mvar|G}} containing  only [[cycle (graph theory)|cycles]] of length at least {{mvar|g}}, such that the [[chromatic number]] of {{mvar|G}} is at least {{mvar|k}}?&lt;br /&gt;
&lt;br /&gt;
It can be shown that such a graph exists for any {{mvar|g}} and {{mvar|k}}, and the proof is reasonably simple.  Let {{mvar|n}} be very large and consider a random graph {{mvar|G}} on {{mvar|n}} vertices, where every edge in {{mvar|G}} exists with probability {{math|&amp;#039;&amp;#039;p&amp;#039;&amp;#039; {{=}} &amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;1/&amp;#039;&amp;#039;g&amp;#039;&amp;#039;−1&amp;lt;/sup&amp;gt;}}.  We show that with positive probability, {{mvar|G}} satisfies the following two properties:&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;Property 1.&amp;#039;&amp;#039;&amp;#039; {{mvar|G}} contains at most {{math|&amp;#039;&amp;#039;n&amp;#039;&amp;#039;/2}} cycles of length less than {{mvar|g}}.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Proof.&amp;#039;&amp;#039;&amp;#039; Let {{mvar|X}} be the number cycles of length less than {{mvar|g}}. The number of cycles of length {{mvar|i}} in the complete graph on {{mvar|n}} vertices is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{n!}{2\cdot i \cdot (n-i)!} \le \frac{n^i}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and each of them is present in {{mvar|G}} with probability {{math|&amp;#039;&amp;#039;p&amp;lt;sup&amp;gt;i&amp;lt;/sup&amp;gt;&amp;#039;&amp;#039;}}. Hence by [[Markov&amp;#039;s inequality]] we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Pr \left (X&amp;gt; \tfrac{n}{2} \right )\le \frac{2}{n} E[X] \le \frac{1}{n} \sum_{i=3}^{g-1} p^i n^i = \frac{1}{n} \sum_{i=3}^{g-1} n^{\frac{i}{g}} \le \frac{g}{n} n^{\frac{g-1}{g}} =  gn^{-\frac{1}{g}} = o(1).&amp;lt;/math&amp;gt;&lt;br /&gt;
: Thus for sufficiently large {{mvar|n}}, property 1 holds with a probability of more than {{math|1/2}}.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;Property 2.&amp;#039;&amp;#039;&amp;#039; {{mvar|G}} contains no [[Independent set (graph theory)|independent set]] of size &amp;lt;math&amp;gt;\lceil \tfrac{n}{2k} \rceil&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Proof.&amp;#039;&amp;#039;&amp;#039; Let {{mvar|Y}} be the size of the largest independent set in {{mvar|G}}. Clearly, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Pr (Y\ge y) \le {n \choose y}(1-p)^{\frac{y(y-1)}{2}} \le n^y e^{-\frac{py(y-1)}{2}} = e^{- \frac{y}{2} \cdot (py -2\ln n - p)} = o(1),&amp;lt;/math&amp;gt;&lt;br /&gt;
when&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;y = \left \lceil \frac{n}{2k} \right \rceil\!.&amp;lt;/math&amp;gt; Thus, for sufficiently large {{mvar|n}}, property 2 holds with a probability of more than {{math|1/2}}.&lt;br /&gt;
&lt;br /&gt;
For sufficiently large {{mvar|n}}, the probability that a graph from the distribution has both properties is positive, as the events for these properties cannot be disjoint (if they were, their probabilities would sum up to more than 1).&lt;br /&gt;
&lt;br /&gt;
Here comes the trick: since {{mvar|G}} has these two properties, we can remove at most {{math|&amp;#039;&amp;#039;n&amp;#039;&amp;#039;/2}} vertices from {{mvar|G}} to obtain a new graph {{math|&amp;#039;&amp;#039;G′&amp;#039;&amp;#039;}} on &amp;lt;math&amp;gt;n&amp;#039;\geq n/2&amp;lt;/math&amp;gt; vertices that contains only cycles of length at least {{mvar|g}}. We can see that this new graph has no independent set of size &amp;lt;math&amp;gt;\left \lceil \frac{n&amp;#039;}{k}\right\rceil&amp;lt;/math&amp;gt;. {{math|&amp;#039;&amp;#039;G′&amp;#039;&amp;#039;}} can only be partitioned into at least {{mvar|k}} independent sets, and, hence, has chromatic number at least {{mvar|k}}.&lt;br /&gt;
&lt;br /&gt;
This result gives a hint as to why the computation of the chromatic number of a graph is so difficult: even when there are no local reasons (such as small cycles) for a graph to require many colors the chromatic number can still be arbitrarily large.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Portal|Mathematics}}&lt;br /&gt;
*[[Interactive proof system]]&lt;br /&gt;
*[[Las Vegas algorithm]]&lt;br /&gt;
*[[Incompressibility method]]&lt;br /&gt;
*[[Method of conditional probabilities]]&lt;br /&gt;
*[[Probabilistic proofs of non-probabilistic theorems]]&lt;br /&gt;
*[[Random graph]]&lt;br /&gt;
&lt;br /&gt;
== Additional resources ==&lt;br /&gt;
&lt;br /&gt;
* [https://ocw.mit.edu/courses/18-226-probabilistic-methods-in-combinatorics-fall-2022/ Probabilistic Methods in Combinatorics], MIT OpenCourseWare&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [[Noga Alon|Alon, Noga]]; [[Joel Spencer|Spencer, Joel H.]] (2000).  &amp;#039;&amp;#039;The probabilistic method&amp;#039;&amp;#039; (2ed).  New York: Wiley-Interscience.  {{isbn|0-471-37046-0}}.&lt;br /&gt;
* {{cite journal |doi=10.4153/CJM-1959-003-9 |author=Erdős, P. |year=1959 |title=Graph theory and probability |journal=Can. J. Math. |volume=11 |pages=34–38 |mr=0102081 |s2cid=122784453 |doi-access=free }}&lt;br /&gt;
* {{cite journal |doi=10.4153/CJM-1961-029-9 |author=Erdős, P. |year=1961 |title=Graph theory and probability, II |journal=Can. J. Math. |volume=13 |pages=346–352 |mr=0120168 |url=https://www.cambridge.org/core/journals/canadian-journal-of-mathematics/article/graph-theory-and-probability-ii/38F46DC839201178C2EEC2B14B1647BC|citeseerx=10.1.1.210.6669 |s2cid=15134755 }}&lt;br /&gt;
* [[Jiří Matoušek (mathematician)|J. Matoušek]], J. Vondrak. [https://web.archive.org/web/20120205002452/http://kam.mff.cuni.cz/~matousek/prob-ln-2pp.ps.gz The Probabilistic Method]. Lecture notes.&lt;br /&gt;
* Alon, N and [[Michael Krivelevich|Krivelevich, M]] (2006). [http://www.math.tau.ac.il/~nogaa/PDFS/epc7.pdf Extremal and Probabilistic Combinatorics]&lt;br /&gt;
* Elishakoff I., Probabilistic Methods in the Theory of Structures: Random Strength of Materials, Random Vibration, and Buckling, World Scientific, Singapore, {{ISBN|978-981-3149-84-7}}, 2017&lt;br /&gt;
* Elishakoff I., Lin Y.K. and Zhu L.P., Probabilistic and Convex Modeling of Acoustically Excited Structures, Elsevier Science Publishers, Amsterdam, 1994, VIII + pp.&amp;amp;nbsp;296; {{ISBN|0 444 81624 0}}&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==Footnotes==&lt;br /&gt;
&lt;br /&gt;
{{notelist}}&lt;br /&gt;
&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Combinatorics]]&lt;br /&gt;
[[Category:Mathematical proofs]]&lt;br /&gt;
[[Category:Probabilistic arguments|method]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Kurgenera</name></author>
	</entry>
</feed>