encyclopegia.org

Second moment method

In mathematics, the second moment method is a technique used in probability theory and analysis to show that a random variable has positive probability of being positive.[src] More generally, the "moment method" consists of bounding the probability that a random variable fluctuates far from its mean, by using its moments.[src] The method is often quantitative, in that one can often deduce a lower bound on the probability that the random variable is larger than some constant times its expectation.[src] The method involves comparing the second moment of random variables to the square of the first moment.[src]

In mathematics, the second moment method is a technique used in probability theory and analysis to show that a random variable has positive probability of being positive.[src] More generally, the "moment method" consists of bounding the probability that a random variable fluctuates far from its mean, by using its moments.[src] The method is often quantitative, in that one can often deduce a lower bound on the probability that the random variable is larger than some constant times its expectation.[src] The method involves comparing the second moment of random variables to the square of the first moment.[src] ==First moment method== The first moment method is a simple application of Markov's inequality for integer-valued variables.[src] For a non-negative, integer-valued random variable , we may want to prove that with high probability.[src] To obtain an upper bound for , and thus a lower bound for , we first note that since takes only integer values, .[src] Since is non-negative we can now apply Markov's inequality to obtain .[src] Combining these we have ; the first moment method is simply the use of this inequality.[src] ==Second moment method== In the other direction, being "large" does not directly imply that is small.[src] However, we can often use the second moment to derive such a conclusion, using the Cauchy–Schwarz inequality.[src] {{math theorem | math_statement = If is a random variable with finite variance, then \Pr( X > 0 ) \ge \frac{(\operatorname{E}[X])^2}{\operatorname{E}[X^2]}.[src] }} {{math proof | proof = Using the Cauchy–Schwarz inequality, we have \operatorname{E}[X] = \operatorname{E}[ X \, \mathbf{1}_{\{ X > 0 \}} ] \le \operatorname{E}[X^2]^{1/2} \Pr( X > 0)^{1/2}.[src] Solving for \Pr( X > 0) , the desired inequality then follows.[src] Q.E.D.}} The method can also be used on distributional limits of random variables.[src] Furthermore, the estimate of the previous theorem can be refined by means of the so-called Paley–Zygmund inequality.[src] Suppose that is a sequence of non-negative real-valued random variables which converge in law to a random variable .[src] If there are finite positive constants , such that \begin{align} \operatorname{E} \left [X_n^2 \right ] &\le c_1 \operatorname{E}[X_n]^2 \\ \operatorname{E} \left [X_n \right ] &\ge c_2 \end{align} hold for every , then it follows from the Paley–Zygmund inequality that for every and in \Pr (X_n \geq c_2 \theta) \geq \frac{(1-\theta)^2}{c_1}.[src] Consequently, the same inequality is satisfied by .[src] ==Example application of method== ===Setup of problem=== The Bernoulli bond percolation subgraph of a graph at parameter is a random subgraph obtained from by deleting every edge of with probability , independently.[src] The infinite complete binary tree is an infinite tree where one vertex (called the root) has two neighbors and every other vertex has three neighbors.[src] The second moment method can be used to show that at every parameter with positive probability the connected component of the root in the percolation subgraph of is infinite.[src] ===Application of method=== Let be the percolation component of the root, and let be the set of vertices of that are at distance from the root.[src] Let be the number of vertices in .[src] To prove that is infinite with positive probability, it is enough to show that \Pr(X_n>0\ \ \forall n)>0 .[src] Since the events \{X_n>0\} form a decreasing sequence, by continuity of probability measures this is equivalent to showing that \inf_{n}\Pr(X_n>0)>0 .[src] The Cauchy–Schwarz inequality gives \operatorname{E}[X_n]^2\le \operatorname{E}[X_n^2] \, \operatorname{E}\left [(1_{X_n>0})^2\right ] = \operatorname{E}[X_n^2]\,\Pr(X_n>0).[src] Therefore, it is sufficient to show that \inf_n \frac{\operatorname{E} \left[ X_n \right ]^2}{\operatorname{E} \left[ X_n^2 \right ]}>0\,, that is, that the second moment is bounded from above by a constant times the first moment squared (and both are nonzero).[src] In many applications of the second moment method, one is not able to calculate the moments precisely, but can nevertheless establish this inequality.[src] In this particular application, these moments can be calculated.[src] For every specific in , \Pr(v\in K) = p^n.[src] Since |T_n| = 2^n , it follows that \operatorname{E}[X_n] = 2^n\,p^n which is the first moment.[src] Now comes the second moment calculation.[src] \operatorname{E}\!\left[X_n^2 \right ] = \operatorname{E}\!\left[\sum_{v\in T_n} \sum_{u\in T_n}1_{v\in K}\,1_{u\in K}\right] = \sum_{v\in T_n} \sum_{u\in T_n} \Pr(v,u\in K).[src] For each pair , in let denote the vertex in that is farthest away from the root and lies on the simple path in to each of the two vertices and , and let denote the distance from to the root.[src] In order for , to both be in , it is necessary and sufficient for the three simple paths from to , and the root to be in .[src] Since the number of edges contained in the union of these three paths is , we obtain \Pr(v,u\in K) = p^{2n-k(v,u)}.[src] The number of pairs such that is equal to 2^s\,2^{n-s}\,2^{n-s-1} = 2^{2n-s-1} , for s=0,1,\dots,n-1 and equal to 2^n for s=n .[src] Hence, for p>\frac 1 2 , \operatorname{E}[ X_n^2 ]= (2p)^n + \sum_{s=0}^{n-1} 2^{2n-s-1} p^{2n-s} = \frac{(2p)^{n+1}-2(2p)^n+(2p)^{2n+1}}{4p-2} , so that \frac{(\operatorname{E} [X_n])^2}{\operatorname{E} [X_n^2]} = \frac{4p-2}{(2p)^{1-n}-2(2p)^{-n}+2p} \to 2 - \frac{1}{p} > 0, which completes the proof.[src] ===Choice of random variable=== The choice of the random variable to which the moment method is applied often makes a difference.[src] One example arises in the context of graph coloring.[src] Here, letting denote the number of all -colorings, one obtains an upper bound on the -colorability threshold, which is not tight.[src] Considering instead the number , namely the number of nearly-balanced colorings—i.e., those where each color class contains around vertices—one obtains an improved threshold, which is tight.[src] ===Discussion=== The choice of the random variables was rather natural in this setup.[src] In some more difficult applications of the method, some ingenuity might be required in order to choose the random variables for which the argument can be carried through.[src] The Paley–Zygmund inequality is sometimes used instead of the Cauchy–Schwarz inequality and may occasionally give more refined results.[src] Under the (incorrect) assumption that the events , in are always independent, one has \Pr(v,u\in K) = \Pr(v\in K) \, \Pr(u\in K) , and the second moment is equal to the first moment squared.[src] The second moment method typically works in situations in which the corresponding events or random variables are “nearly independent".[src] In this application, the random variables are given as sums X_n = \sum_{v \in T_n} 1_{v\in K}.[src] In other applications, the corresponding useful random variables are integrals X_n = \int f_n(t)\,d\mu(t), where the functions are random.[src] In such a situation, one considers the product measure and calculates \begin{align} \operatorname{E} \left[X_n^2 \right ] & = \operatorname{E}\left[\iint f_n(x)\,f_n(y)\,d\mu(x)\,d\mu(y)\right ] \\ & = \operatorname{E}\left[ \iint \operatorname{E}\left[f_n(x)\,f_n(y)\right]\,d\mu(x)\,d\mu(y)\right ], \end{align} where the last step is typically justified using Fubini's theorem.[src] ==References==[src]

56 sentences · 56 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Second moment method." encyclopegia.org, 2026, https://encyclopegia.org/wiki/second-moment-method. Accessed 25 November 2026.

Chicago

"Second moment method." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/second-moment-method.

APA

encyclopegia.org. (2026). Second moment method. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/second-moment-method

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

centimeter–gram–second system of units

stub · references available

War of the Second Coalition

stub · references available

Java remote method invocation

stub · references available

Second Congo War

stub · references available

Second Epistle to the Corinthians

stub · references available

Second Epistle to Timothy

stub · references available

Second Thirty Years' War

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1344453056 · 0.5 · snapshot enwiki-001344453056

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.