Janson inequalities and subgraph counts
Use independent underlying choices and an explicit overlap sum to bound the absence of dependent patterns.
On this page
The question for today
What you’ll understand
- Identify containment events in a product probability space.
- Compute the ordered distinct-pair Delta convention without dropping a factor of two.
- Apply an absence bound and a lower-tail bound within their stated hypotheses.
Subgraph indicators overlap, so independent-sum concentration is often unavailable. Janson inequalities exploit a more specific structure: each occurrence requires a fixed set of underlying independent choices to be present. They retain the overlap information in a joint-probability sum. The resulting absence and lower-tail estimates can be exponentially stronger than a second-moment estimate, but they are not general inequalities for every family of dependent events.
State the product-space containment setup
Let R be a random subset of a finite ground set, each element included independently with its own fixed probability. For each fixed support S_i, let A_i mean that all elements of S_i belong to R. Count occurrences with X equal to the sum of their indicators and denote its mean by mu. In a graph application the ground elements are possible edges, not vertices, unless the random experiment actually samples vertices. Each support is the edge set of a particular pattern copy.
Join two distinct supports when they intersect and define Delta by summing their joint probabilities over ordered distinct intersecting pairs. Thus a dependent unordered pair contributes twice. The summand is the probability that the whole union of the supports is present, not their covariance and not the product of their marginal probabilities. Diagonal terms are excluded from Delta. Some references use an unordered convention or include diagonal terms, changing formulas; fix the definition before importing a theorem’s constants.
Count shared random choices, not visual overlap
Two triangles that share one vertex have disjoint edge supports, so their occurrence indicators are independent in G(n,p). Two triangles sharing an edge have a five-edge union and joint probability p to the fifth power. On four vertices there are four triangles and six unordered pairs of distinct triangles; every pair shares one edge. Consequently Delta has twelve, not six, equal joint-probability terms. This elementary case is an effective way to catch a missing factor of two.
When Delta is much smaller than mu, the absence bound resembles an independent rare-event exponential. When overlap is large, the first bound can become uninformative even though the count is usually positive. One useful lower-tail form incorporates both the diagonal scale mu and the overlap scale Delta in its denominator. Assuming mu>0, it applies to deviations t between zero and mu, including t=mu for absence. If mu=0 then nonnegativity forces X=0 almost surely, which is handled separately without a denominator formula. The denominator is not simply the variance, and no claim is made that Delta equals the entire dependence structure.
Use the inequality as a certificate rather than a distribution
The absence upper bound need not be close to the actual absence probability at finite size. In particular, treating overlapping pattern indicators as independent produces a different number, often with no justified inequality direction unless a correlation theorem is also invoked. An exact enumeration for a tiny graph can audit the calculation without being a proof for larger graphs. For asymptotic use, one must count every relevant intersection type and compare its contribution on the same scale as the squared mean or the intended exponential rate.
Containment is also a real restriction. An induced-copy event requires some edges present and other edges absent, so it is not directly a positive containment event on the original edge ground set. Arbitrary color-pattern events or martingale differences likewise do not automatically satisfy this setup. A more general theorem may apply, but its assumptions must be checked separately. Here both examples use only fixed triangles requiring their edges, with no absence constraints, making the product-space interpretation exact.
Work it through
Absence of triangles on four vertices
Let X count all triangles in G(4,1/2). Compute mu, the ordered Delta, and the first Janson upper bound on P(X=0).
There are four triangle supports, each with probability . Hence .
Every distinct pair shares an edge, and there are twelve ordered pairs. Their unions have five edges, so .
Janson gives . Direct enumeration gives 41 triangle-free graphs among 64 equally likely graphs, or 41/64≈0.640625, consistent with the bound.
The exact probability 41/64 lies below the rigorous upper bound e⁻⁵⧸¹⁶. Using an unordered Delta without changing the coefficient would produce the wrong certificate.
The living notebook
Explore the model
Interactive lab · probability
An independent pattern-count comparison
Pause and Reset, then set p = 0.12 and n = 4. Predict independent zero-count probability 0.88⁴, approximately 0.5997. Reset and set both p = 0.13 and n = 4 to obtain 0.87⁴, approximately 0.5729. These bracket the independent benchmark (7/8)⁴≈0.5862 for four indicators of marginal probability 1/8, which is not selectable exactly on the p grid. The actual overlapping-triangle absence probability is 41/64≈0.6406. The lab shows no graph overlaps and cannot compute Delta.
- Mean · np
- 5
- Variance · np(1−p)
- 2.5
- Total probability
- 1
These are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forMatching marginal pattern probabilities does not reproduce the law of an overlapping pattern count.
Pause & reason
Check your understanding
Your turn
Try it yourself
Count only two specified triangles sharing an edge in G(4,1/2). Find their exact no-occurrence probability and compare it with the first Janson bound.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Use inclusion-exclusion for just two events, then count both orders in Delta.
Compare with the solution
Each event has probability 1/8 and their intersection has probability 1/32. Thus exact absence probability is . The mean is 1/4 and ordered Delta is . Janson gives , which is indeed larger than 25/32. The independent-events guess would instead be , a different value. The discrepancy comes from the shared edge, not from sharing vertex labels alone.
Keep the idea
Take it with you
- Janson’s containment setup requires independent underlying element choices.
- Ordered, diagonal-free Delta sums joint probabilities of overlapping patterns.
- Absence and lower-tail bounds must retain their conventions, direction, and event hypotheses.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.