VISUAL LESSON · 7 PICTURES

Right Skewed Graph

What is the mathematical foundation of right skewed graph?

Progress stays on this device · no login
BEFORE THE FIRST PICTURE

How this lesson unfolds.

Begin with Why is the probability of waiting until Trial 10 for the first success dramatically different across high, medium, and low p? The sequence then connects Now The Formula Explains Everything: Geometric Distribution PMF and builds toward What Happens When We Change p?.

Picture 1 of 7 · tap to inspect in full resolution
01

Why is the probability of waiting until Trial 10 for the first success dramatically different across high, medium, and low p?

INTUITION

If you are fishing in a stocked pond with bite probability p = 0.80 per cast, waiting until cast 10 for your first bite has probability (0.20)⁹ (0.80) = 0.00000041 (less than 1 in two million). If you fish in a sparse lake with p = 0.10, waiting until cast 10 occurs with probability (0.90)⁹ (0.10) = 0.0387 (nearly 4% of the time). At trial 10, high-p processes have decayed to absolute zero, while low-p processes retain significant probability mass.

MATHEMATICAL STATEMENT
  1. $$P(X = 10) = (1 - p)^9 p, \quad \lim_{p \to 1} P(X=10) = 0$$
  • Learning goalAnalyze how varying parameter p scales the right tail at specific trial thresholds.
  • Helpful foundationsIndependent Bernoulli Trials · Discrete Probability Mass Functions · Geometric Series and Decay Rates · NIST/SEMATECH e-Handbook of Statistical Methods · SciPy Stats
  • Common trapTrial probability depends on p; smaller p flattens the distribution and elevates later trials.
  • Next connectionDerive the geometric probability mass function explaining exponential monotonic decay.
✦ More context & mechanics
Conceptual Mechanics & Logic

Consider the probability of achieving the very first success on exactly Trial 10 across three regimes:

  1. High Success Probability (p = 0.8):

Failure probability is 1 - p = 0.2. To reach Trial 10 without a single success, you must fail 9 times in a row:

P(X = 10) = (0.2)⁹ (0.8) = 0.000000512 0.8 ≈ 4.1 × 10^(-7).

The bar at Trial 10 is completely invisible.

  1. Medium Success Probability (p = 0.3):

Failure probability is 0.7.

P(X = 10) = (0.7)⁹ (0.3) ≈ 0.0403 0.3 ≈ 0.012 (1.2%).

The bar is small but measurable.

  1. Low Success Probability (p = 0.05):

Failure probability is 0.95.

P(X = 10) = (0.95)⁹ (0.05) ≈ 0.630 0.05 ≈ 0.0315 (3.15%).

The bar is thick and tall; in fact, waiting 10 trials is very common.

The rate of decay across trials is strictly dictated by the base (1 - p).

Real-World Usage

In site reliability engineering (SRE) and network request retry policies, exponential backoff algorithms retry dropped RPC calls. If service availability is high (p=0.999), 10 retries indicates a severe catastrophic outage. If an edge sensor operates on flaky satellite links (p=0.1), 10 retries is expected telemetry behavior.

History & Origin Story

The geometric distribution emerged from the classical 'Problem of Points' debated by Pierre de Fermat and Blaise Pascal in 1654, laying the foundations of modern probability by analyzing how long players must wait for a game-winning point.

How to Memorize

Mnemonic: 'High p dies fast; low p lingers long.'

A large success probability wipes out the right tail immediately; a small success probability stretches the tail far into the distance.

Picture 2 of 7 · tap to inspect in full resolution
02

How does the algebraic formula P(X = x) = (1 - p)^(x-1) p mathematically enforce right skewness?

INTUITION

To land your first success on trial x = 4 with success probability p = 0.30, you must fail trial 1 (0.70), fail trial 2 (0.70), fail trial 3 (0.70), and finally succeed on trial 4 (0.30). Independence multiplies these events: P(X = 4) = (0.70)³ (0.30) = (0.343)(0.30) = 0.1029. The geometric PMF formula P(X = x) = (1 - p)^(x-1) p is simply the product of (x - 1) consecutive misses capped by one hit.

MATHEMATICAL STATEMENT
  1. $$P(X = x) = (1 - p)^{x-1} p, \quad \frac{P(X = x+1)}{P(X = x)} = 1 - p < 1$$
  • Learning goalDerive the geometric PMF and explain why consecutive probability ratios enforce monotonic decay.
  • Helpful foundationsIndependent events · Geometric series · Probability mass function · NIST/SEMATECH e-Handbook of Statistical Methods · SciPy Statistical Functions Documentation
  • Common trapThe exponent must be x-1 because exactly x-1 failures precede the success on trial x.
  • Next connectionDevelop intuitive non-mathematical reasoning about why long streaks of failure collapse.
✦ More context & mechanics
Conceptual Mechanics & Logic

Let X be the number of independent Bernoulli trials required to obtain the first success.

For the event X = x to occur:

  • Trial 1: Failure (probability 1 - p)
  • Trial 2: Failure (probability 1 - p)
  • ...
  • Trial x - 1: Failure (probability 1 - p)
  • Trial x: Success (probability p)

Because the trials are independent, we multiply their probabilities:

P(X = x) = (1 - p) × (1 - p) × ṡ × (1 - p) ((x - 1) times) × p = (1 - p)^(x - 1) p.

Notice that the ratio between consecutive bars is constant:

(P(X = x + 1)) / (P(X = x)) = ((1 - p)^x p) / ((1 - p)^(x - 1) p) = (1 - p).

Because 0 < p < 1, the ratio (1 - p) is strictly less than 1.

Every bar is obtained by multiplying the previous bar by a fraction less than 1. This guarantees that the distribution must be strictly monotonically decreasing for all x >= 1, forging an inescapable right skew!

Real-World Usage

In customer onboarding analytics for SaaS platforms, the number of days until a user performs their first 'core action' (first success) follows a geometric distribution. Growth teams analyze the churn multiplier (1 - p) to design automated nudges that shorten time-to-value.

History & Origin Story

Jakob Bernoulli and later Abraham de Moivre analyzed geometric progressions in probability, proving that the sum of the infinite series sum_(x=1)^∞ (1 - p)^(x-1) p = p / [1 - (1 - p)] = p / p = 1.

How to Memorize

Mnemonic: 'Fail fail fail... Boom!'

(x - 1) fails, then 1 win: (1 - p)^(x-1) * p.

Picture 3 of 7 · tap to inspect in full resolution
03

Without doing any algebra, why is it practically guaranteed to see at least one Head in 10 flips of a fair coin?

INTUITION

Flipping a fair coin (p = 0.50) once gives a 50% chance of Heads. But waiting 10 tosses for your first Heads means flipping 9 consecutive Tails: (0.50)⁹ * (0.50) = (0.50)¹0 = 1 / 1024 = 0.000976. Each consecutive failure cuts remaining survival probability in half, forcing long waiting times to become exponentially scarce.

MATHEMATICAL STATEMENTS
  1. $$P(\text{at least 1 success in } n) = 1 - (1 - p)^n$$
  2. $$Flipping zero heads in 10 tosses requires losing ten consecutive 50/50 bets, an event with probability (1/2)^10 = 1/1024 (<0.1%), making prolonged failure extraordinarily rare.$$
  • Learning goalExplain complementary survival probability 1 - (1 - p)^n using intuitive coin-toss logic.
  • Helpful foundationsComplement rule · Independence · Multiplication principle · NIST/SEMATECH e-Handbook of Statistical Methods · SciPy Statistical Functions Documentation
  • Common trapTrials remain independent; prior failure streaks do not alter future single-trial probabilities.
  • Next connectionExamine the step-by-step visual decay that forces every geometric graph downwards.
✦ More context & mechanics
Conceptual Mechanics & Logic

Set formulas aside and think intuitively about two bets:

  • Bet 1: 'Will I get at least one Head in 1 flip?'

Probability of failure: 1/2 = 50%. This is an even gamble.

  • Bet 2: 'Will I get at least one Head in 10 flips?'

To lose this bet, you must flip Tails on toss 1, Tails on toss 2, ..., and Tails on toss 10.

Probability of all Tails:

(1/2) (1/2) ... * (1/2) = (1/2)^(10) = 1 / 1,024 ≈ 0.000977 (less than 0.1%).

Probability of winning (at least one Head):

1 - 1/1024 = 1023 / 1024 ≈ 99.9%.

Because prolonged streaks of failure require miraculous bad luck, the vast majority of processes must succeed early.

This is why right-skewed distributions have huge towers at the start and only tiny whispers far out to the right.

Real-World Usage

In data storage redundancy (RAID systems and AWS S3 11-nines durability), data blocks are mirrored across multiple independent storage drives. The probability of losing data is the probability that all independent drives fail simultaneously: P(all fail) = p_fail^k, reducing data loss to near zero.

History & Origin Story

The Chevalier de Méré in 1654 posed betting puzzles to Blaise Pascal regarding how many rolls of dice were needed to guarantee an even chance of rolling a double six, sparking the correspondence that founded probability theory.

How to Memorize

Mnemonic: 'Failure multiplied is failure crushed.'

Each extra trial cuts the remaining failure chance in half (for fair coins) or by (1-p).

Picture 4 of 7 · tap to inspect in full resolution
04

What geometric filter forces each successive bar of a waiting-time graph to be strictly shorter than the preceding bar?

INTUITION

Think of an obstacle course where 30% of participants succeed at each hurdle and leave, while 70% fail and must try again. Out of 1,000 contestants, 300 succeed on hurdle 1. Of the 700 remaining, 30% (210) succeed on hurdle 2. Next, 147 succeed on hurdle 3. The survivor cohort shrinks by a factor of (1 - p) = 0.70 at every step, creating an immutable monotonic downward staircase.

MATHEMATICAL STATEMENT
  1. $$P(X = x) = (1 - p) P(X = x - 1) < P(X = x - 1) \quad \forall x \ge 2$$
  • Learning goalDemonstrate why constant hazard rates enforce strictly monotonic descent in geometric distributions.
  • Helpful foundationsGeometric progression · Survival function · Hazard rate
  • Common trapThe geometric mode is always x = 1, regardless of how large the mean is.
  • Next connectionSynthesize why this downward cascade defines the archetype of all right-skewed graphs.
✦ More context & mechanics
Conceptual Mechanics & Logic

Look at the bar chart of P(X = x):

  • Bar 1: P(X = 1) = p. The process succeeds immediately.
  • Bar 2: Only the fraction (1 - p) that failed on Trial 1 enters Trial 2. Of those survivors, a fraction p succeeds: P(X = 2) = (1 - p) * p.
  • Bar 3: Only the fraction (1 - p)² that failed both trials enters Trial 3. Of those, fraction p succeeds: P(X = 3) = (1 - p)² * p.

At every single trial step:

New Bar = Old Bar * (1 - p).

Because p > 0, the survival factor (1 - p) is strictly less than 1.

Multiplying any positive number by a factor strictly less than 1 produces a strictly smaller number.

Therefore, the bars CANNOT go up; they CANNOT stay flat; they MUST go down.

This geometric attrition creates the iconic downward cascade of positive skewness.

Real-World Usage

In sales funnel conversion analytics and e-commerce checkout flows, customers drop off at each step (landing page -> cart -> shipping info -> payment). Unless new cohorts enter, each funnel stage has strictly fewer users than the preceding stage, exhibiting geometric dropout.

History & Origin Story

Thomas Robert Malthus in 1798 published An Essay on the Principle of Population, introducing geometric progression models to social science to demonstrate how exponential attrition and growth govern living systems.

How to Memorize

Mnemonic: 'Multiply by less than one, downward goes the run.'

Ratio is (1-p) < 1, so every bar is a step down.

Picture 5 of 7 · tap to inspect in full resolution
05

Why is the geometric distribution the cleanest, most intuitive model for understanding right-skewed graphs?

INTUITION

A right-skewed graph is shaped like a kite: the bulk of probability mass clusters near the left origin (Mode = 1 with P(X=1) = 0.30), while a long, thin tail of diminishing probabilities stretches indefinitely to the right (Trial 15, 20, 25). Because rare high waiting times pull the arithmetic mean upward to mu = 1/p = 1/0.30 = 3.33, the mean sits to the right of the median (2.0) and mode (1.0).

MATHEMATICAL STATEMENT
  1. $$\gamma_1 = \frac{2 - p}{\sqrt{1 - p}} > 0, \quad \mathbb{E}[X] = \frac{1}{p} > \text{Median} \ge \text{Mode} = 1$$
  • Learning goalDefine right skewness and explain why the mean exceeds the median.
  • Helpful foundationsSkewness definition · Mean vs Median vs Mode · Pearson third moment
  • Common trapSkewness describes the elongated tail direction, not the position of the peak.
  • Next connectionExamine a concrete numeric case study with success probability p = 0.3.
✦ More context & mechanics
Conceptual Mechanics & Logic

In descriptive statistics, distributions are categorized by skewness (asymmetry):

  1. Symmetric: Left and right tails mirror each other (Mean = Median = Mode).
  2. Left-Skewed (Negative Skew): Tail stretches to the left; bulk of mass is on the right (Mean < Median < Mode).
  3. Right-Skewed (Positive Skew): Tail stretches to the right; bulk of mass is on the left (Mean > Median >= Mode).

The Geometric Distribution is the textbook archetype of right skewness:

  • Hard Lower Bound: You cannot succeed in fewer than 1 trial (X >= 1). The left side is a solid wall.
  • Unbounded Right Tail: While unlikely, you could theoretically fail 100, 1,000, or 10,000 times before succeeding.
  • Mass Concentration: The mode is strictly at x = 1.

Because extreme high values pull the arithmetic mean upward while leaving the median anchored near the bulk, the classic inequality holds:

Mean > Median ≥ Mode.

Real-World Usage

Wealth and income distributions (Pareto distributions), city population sizes (Zipf's Law), and software bug counts are strongly right-skewed. When reporting salaries or housing prices, tech companies and economists use the median rather than the mean to prevent a handful of billionaires from distorting the representative figure.

History & Origin Story

Karl Pearson in 1895 formulated the Pearson distribution system and introduced Pearson's coefficient of skewness γ₁ = E[((X - μ)/σ)³], formalizing that right-skewed distributions possess positive third standardized moments.

How to Memorize

Mnemonic: 'Skewness points in the direction of the tail.'

Tail points to the right -> Right-skewed (Positive skew). Mean is pulled right.

Picture 6 of 7 · tap to inspect in full resolution
06

How do exact probabilities, mean, and median behave in a concrete geometric distribution with p = 0.3?

INTUITION

With p = 0.30, the theoretical mean wait time is E[X] = 1 / 0.30 = 3.33 trials. Yet your single most likely outcome on any individual attempt is succeeding immediately on trial 1 with probability P(X=1) = 0.30. By trial 4, cumulative probability reaches 1 - (0.70)⁴ = 1 - 0.2401 = 0.7599 (76% of all runs finish in 4 trials or fewer), illustrating the severe right-skewed asymmetry.

MATHEMATICAL STATEMENTS
  1. $$\mathbb{E}[X] = \frac{1}{0.3} \approx 3.33, \quad \text{Median} = 2, \quad \text{Mode} = 1$$
  2. $$For p = 0.3, Trial 1 has probability 0.30, Trial 2 has 0.21, and Trial 3 has 0.147; the mean is 1/p = 3.33 trials, lying well to the right of the mode at 1.$$
  • Learning goalCompute the exact probabilities, mean, median, and mode for a Geometric(0.3) distribution.
  • Helpful foundationsExpected value of geometric · Discrete median calculation · Mode definition
  • Common trapIn skewed distributions, the mode is 1; extreme right-tail values inflate the mean to 3.33.
  • Next connectionObserve how changing p alters the decay rate and tail length.
✦ More context & mechanics
Conceptual Mechanics & Logic

Let us inspect the concrete numbers for p = 0.3:

  • Trial 1: P(X = 1) = 0.300
  • Trial 2: P(X = 2) = (0.7) * 0.3 = 0.210
  • Trial 3: P(X = 3) = (0.7)² * 0.3 = 0.147
  • Trial 4: P(X = 4) = (0.7)³ * 0.3 = 0.103
  • Trial 5: P(X = 5) = (0.7)⁴ * 0.3 = 0.072

Notice key summary metrics:

  1. Mode = 1 (highest probability bar = 0.300).
  2. Expected Value (Mean):

E[X] = 1 / p = 1 / 0.3 = 3.33 trials.

  1. Median: The smallest integer m such that P(X <= m) >= 0.5:

P(X <= 1) = 0.30

P(X <= 2) = 0.30 + 0.21 = 0.51 >= 0.50 -> Median = 2.

Here, Mode = 1, Median = 2, Mean = 3.33.

The mean (3.33) is pulled far past the median (2) and mode (1) by the lingering right tail of 6, 7, 8, ... trials.

Real-World Usage

In customer support call centers, the number of troubleshooting steps required to resolve an issue often follows a geometric distribution with p approx 0.3. While 51% of issues are resolved in 1 or 2 steps (median = 2), complicated escalations (10+ steps) drive the operational average to 3.33 steps, dictating staffing requirements.

History & Origin Story

The mathematical expectation of the geometric distribution E[X] = 1/p was proven by Abraham de Moivre by differentiating geometric series term-by-term in 1738.

How to Memorize

Mnemonic: 'Mode is 1, Median is 2, Mean is 3 and a third.'

Order is Mode < Median < Mean: 1 < 2 < 3.33.

Picture 7 of 7 · tap to inspect in full resolution
07

How does varying success probability p from near 1 to near 0 modulate the skewness and tail length of the distribution?

INTUITION

Adjusting p alters the slope of the decay ramp: raising p to 0.70 makes the curve collapse like a vertical cliff (E[X] = 1/0.70 = 1.43 trials), with 91% of runs finishing in just 2 trials. Lowering p to 0.05 flattens the curve into an expansive, gentle slide (E[X] = 1/0.05 = 20 trials), stretching the tail out across hundreds of attempts.

MATHEMATICAL STATEMENT
  1. $$\operatorname{Var}(X) = \frac{1-p}{p^2}, \quad \mathbb{E}[X] = \frac{1}{p}$$
  • Learning goalPredict how altering success probability p influences tail length, variance, and distributional skewness.
  • Helpful foundationsGeometric variance formula · Limits of distributions · Parameter sensitivity
  • Common trapLowering p expands variance and pushes the mean deeper into the prolonged right tail.
  • Next connectionApply skewness principles to evaluate asymmetry across empirical datasets.
✦ More context & mechanics
Conceptual Mechanics & Logic

Observe what happens as parameter p sweeps across three settings:

  1. High p (e.g., p = 0.8):
  • Peak at x = 1 is towering (0.80).
  • Decay ratio is (1 - p) = 0.20. Each bar is 80% smaller than the last.
  • Mean E[X] = 1 / 0.8 = 1.25 trials.
  • The tail dies within 3 or 4 trials. Skewness is low.
  1. Medium p (e.g., p = 0.3):
  • Peak at x = 1 is moderate (0.30).
  • Decay ratio is 0.70.
  • Mean E[X] = 1 / 0.3 = 3.33 trials.
  • Visible spread extends past 10 trials. Classical right skew.
  1. Low p (e.g., p = 0.05):
  • Peak at x = 1 is low (0.05).
  • Decay ratio is 0.95. Each bar loses only 5% of height!
  • Mean E[X] = 1 / 0.05 = 20 trials.
  • The tail stretches across hundreds of trials. Skewness and variance explode: Var(X) = (1 - p) / p² = 0.95 / 0.0025 = 380!
Real-World Usage

In drug discovery and venture capital investing, success probability p is exceptionally low (<1%). Most ventures fail immediately, but the rare winners require surviving dozens of funding rounds. Investors model these power-law and geometric tails using extreme value theory to ensure portfolio survival.

History & Origin Story

Vilfredo Pareto in 1896 observed that wealth distributions across Italian cantons followed power-law tails, showing that the shape parameter α (analogous to 1/p) dictates whether societal inequality is mild or extreme.

How to Memorize

Mnemonic: 'Small p, Big tail; Big p, Small tail.'

As p approaches zero, the tail expands toward infinity.