Glossary
Probability & StatisticsBeginner6 min read

Law of Large Numbers

The Law of Large Numbers (LLN) is a fundamental theorem in probability that states the sample average of a sequence of independent random variables converges to the expected value as the number of observations grows. In quantitative trading, LLN is why strategies with a small positive edge per trade can generate reliable profits over thousands of trades β€” the randomness averages out.

Prerequisites:Expected Value

What Is the Law of Large Numbers?

The Law of Large Numbers (LLN) is one of the foundational theorems of probability theory. It formalizes the intuitive idea that the more times you repeat a random experiment, the closer the average result gets to the expected value.

If you flip a fair coin 10 times, you might get 7 heads (70%). Flip it 1,000 times, and you'll likely get around 480-520 heads (48-52%). Flip it 1,000,000 times, and the proportion will be extremely close to 50%. The LLN guarantees this convergence mathematically.

There are two versions of the theorem:

  • Weak Law of Large Numbers: The sample average converges to the expected value in probability: for any ε > 0, P(|X̄n - μ| > ε) → 0 as n → ∞.
  • Strong Law of Large Numbers: The sample average converges to the expected value almost surely: P(X̄n → μ) = 1. This is a stronger guarantee β€” the convergence happens with probability 1, not just in probability.

Both require that the random variables are independent and identically distributed (i.i.d.) with a finite expected value.

Why LLN Matters for Trading

The Law of Large Numbers is the mathematical foundation of systematic trading. Here's why:

Consider a high-frequency trading strategy that makes 50,000 trades per day. Each trade has a positive expected profit of $0.50, but the standard deviation per trade is $100. On any single trade, the outcome is essentially random β€” you can't distinguish the $0.50 edge from the $100 of noise.

But over 50,000 trades per day:

  • Expected daily profit: 50,000 Γ— $0.50 = $25,000
  • Daily standard deviation: $100 Γ— √50,000 = $22,360
  • Daily Sharpe ratio: $25,000 / $22,360 = 1.12 (excellent)

The LLN ensures that the actual daily profit converges to $25,000 as the number of trades increases. Over a year (250 trading days), the total expected profit is $6.25 million, and by the CLT, the probability of having a losing year is essentially zero.

This is why scale matters in quant trading β€” more trades mean faster convergence to the expected value. It's also why market makers who trade millions of shares per day can have near-certain profitability, while retail traders with a few trades per week are dominated by noise.

Get free quant interview prep resources

Mock interviews, resume guides, and 500+ practice questions β€” straight to your inbox.

Common Misconceptions

The LLN is frequently misunderstood. Here are the most common misconceptions:

  • The gambler's fallacy: "I've lost 5 times in a row, so I'm due for a win." Wrong. The LLN says the average converges over many trials, but it does NOT say individual outcomes become more predictable after a streak. Each coin flip is still 50/50 regardless of previous flips. The convergence happens by dilution (new results swamp old results), not correction.
  • "It evens out": People sometimes believe losses will be "made up" by future gains. The LLN says the average converges, but the cumulative sum can continue to deviate. If you lose $1,000 in 100 fair bets, the LLN does not guarantee you'll win it back β€” it guarantees that your average win per bet will approach zero (the expected value of a fair bet).
  • Short-run guarantees: The LLN is an asymptotic result β€” it tells you what happens as n → ∞. For finite n, you can still deviate significantly from the expected value. This is why even a strategy with a genuine positive edge can have losing months or even losing years.
  • Independence requirement: The standard LLN requires independence. If trade outcomes are correlated (e.g., because they all depend on the same market factor), the convergence is slower and the effective sample size is smaller than the actual number of trades.

Want personalized guidance from a quant?

Speak with a quant trader or researcher who’s worked at a top firm.

Book a Free Consult

LLN, CLT, and the Kelly Criterion

The LLN connects to two other key concepts in quant finance:

Central Limit Theorem: While the LLN tells you where the average converges (to μ), the CLT tells you how it gets there β€” the distribution of the sample average is approximately normal with spread σ/√n. Together, LLN and CLT give you both the target and the uncertainty band.

Kelly Criterion: The Kelly criterion tells you how much to bet on each trial to maximize long-run growth. The LLN ensures that the geometric average growth rate converges to the expected log-growth rate β€” which is precisely what Kelly maximizes. Without LLN, there would be no guarantee that Kelly-optimal betting actually leads to maximum wealth over time.

Monte Carlo: The accuracy of Monte Carlo simulation is a direct consequence of LLN β€” the average simulated payoff converges to the true expected payoff. The CLT then quantifies the estimation error.

Key Formulas

Strong Law of Large Numbers: the sample average converges almost surely to the expected value mu as the sample size n goes to infinity.

Chebyshev's bound for the Weak LLN: the probability that the sample average deviates from the mean by more than epsilon decreases as 1/n.

Key Takeaways

  • The LLN guarantees that the sample average converges to the expected value as the number of observations grows β€” randomness 'averages out.'
  • There are two forms: the Weak LLN (convergence in probability) and the Strong LLN (almost sure convergence).
  • In trading, LLN is why strategies with a small positive edge per trade can generate reliable profits over thousands of trades.
  • LLN does NOT guarantee short-run results β€” you can still have long losing streaks even with a positive edge.
  • LLN requires finite expected value β€” it does not apply to distributions with infinite mean (like the Cauchy distribution).

Why This Matters for Quant Careers

The LLN is tested in quant interviews both directly ("State the Law of Large Numbers") and indirectly through problems that rely on it. Understanding LLN β€” and especially its relationship to the CLT and the Kelly criterion β€” is essential for interviews at Jane Street, SIG, and other firms. You should also be able to explain the gambler's fallacy and why it's wrong.

Book a free consultation to assess your probability foundations.

Frequently Asked Questions

What is the gambler's fallacy and how does it relate to LLN?

The gambler's fallacy is the incorrect belief that after a series of one outcome (e.g., five consecutive losses), the opposite outcome becomes more likely. This misapplies the LLN, which says the average converges over many trials but does NOT say individual outcomes become dependent on past results. Each trial remains independent. The convergence happens by new results diluting old ones, not by 'correcting' past outcomes.

Does the LLN guarantee I will make money if I have a positive edge?

Over infinitely many independent trials, yes β€” the average P&L will converge to your expected value (positive). Over any finite number of trials, the LLN does not guarantee a profit. You can still have losing streaks, losing months, or even losing years, especially if your edge is small relative to the variance. The Kelly criterion helps by ensuring your position sizing won't lead to ruin during these inevitable drawdowns.

How many trades do you need for LLN to kick in?

There's no fixed threshold β€” it depends on the edge-to-noise ratio. If each trade has a $1 expected profit and $10 standard deviation, you need approximately (10/1)^2 = 100 trades for the average to be within one standard error of the expected value. More generally, you need roughly (sigma/mu)^2 trades for the signal to dominate the noise. This is why high-frequency strategies with tiny per-trade edges need tens of thousands of trades daily.

Master These Concepts for Quant Interviews

Our bootcamp covers probability, statistics, trading intuition, and 500+ real interview questions from top quant firms.

Book a Free Consult