The Null Hypothesis
01.Atlas02.Laboratory03.Workshop04.Case Studies05.Library
TABLE OF CONTENTS
Back to Archive
Probability II
VOL. IMAR 2026

CH1 — Part 1

§1 — Definition

Cumulative Distribution Function

Let XXX denote any random variable. The cumulative distribution function (cdf) of XXX, denoted by FX(x)F_X(x)FX​(x), is defined as the probability that the variable takes a value less than or equal to xxx:

Definition 1.1— CDF
FX(x)=P(X≤x),−∞<x<∞F_X(x) = P(X \leq x), \quad -\infty < x < \inftyFX​(x)=P(X≤x),−∞<x<∞

Properties of the CDF (Click to explore):

  • Asymptotic Limits

    FX(0.00)=0.5000F_X(0.00) = 0.5000FX​(0.00)=0.5000
    10-∞+∞
    Approach -∞Approach +∞

    As xxx increases, probability mass accumulates toward an absolute ceiling of 1. As xxx decreases, it vanishes entirely toward 0.

  • Right Continuity Jump

    FX(1.00)=0.75F_X(1.00) = 0.75FX​(1.00)=0.75
    0121.000.750.25
    Approach from LeftApproach from Right

    At exactly x=1x = 1x=1, the value FX(x)F_X(x)FX​(x) is 0.750.750.75. Note the solid circle belongs to the right-hand segment.

  • Monotonic Accumulation

    P(−1.5<X≤1.5)=0.635P(-1.5 < X \leq 1.5) = 0.635P(−1.5<X≤1.5)=0.635
    x₁x₂

    Notice that as x2x_2x2​ moves right, the difference F(x2)−F(x1)F(x_2) - F(x_1)F(x2​)−F(x1​) never becomes negative. The probability of landing in a larger interval can only increase or stay constant.

Example 1

Binomial Case

Let X∼Bin(2,12)X \sim \text{Bin}(2, \tfrac{1}{2})X∼Bin(2,21​). Find FX(x)F_X(x)FX​(x).
Solution

The probability mass function (pmf) for X∼Bin(2,1/2)X \sim \text{Bin}(2, 1/2)X∼Bin(2,1/2) is:

fX(0)=1/4,fX(1)=1/2,fX(2)=1/4f_X(0) = 1/4, \quad f_X(1) = 1/2, \quad f_X(2) = 1/4fX​(0)=1/4,fX​(1)=1/2,fX​(2)=1/4

Summing these piecewise gives the step function:

FX(x)={0x<01/40≤x<13/41≤x<21x≥2F_X(x) = \begin{cases} 0 & x < 0 \\ 1/4 & 0 \leq x < 1 \\ 3/4 & 1 \leq x < 2 \\ 1 & x \geq 2 \end{cases}FX​(x)=⎩⎨⎧​01/43/41​x<00≤x<11≤x<2x≥2​
Right Continuity
Right continuity means the CDF includes its left endpoint. This is a convention — we could define it the other way — but it matters for how we compute probabilities.
Cumulative Distribution Function (CDF)
0120.250.50.751x
x = 0.50
Probability Mass Function (PMF)
0.25
X = 0
X = 1
X = 2
Current Probability
P(X ≤ 0.50) = 0.25
FX(x)=∑xi≤xfX(xi)F_X(x) = \sum_{x_i \leq x} f_X(x_i)FX​(x)=∑xi​≤x​fX​(xi​)
§2 — Definition

Continuous Random Variables

A random variable XXX is said to be continuous if its cdf FX(x)F_X(x)FX​(x) is a continuous function for all x∈Rx \in \mathbb{R}x∈R.

Select a variable below to explore its continuous nature:

Key Fact

For a continuous r.v., P(X=x)=0P(X = x) = 0P(X=x)=0 for any real number xxx.

Formal Proof
P(X=x)=FX(x)−FX(x−)P(X = x) = F_X(x) - F_X(x^-)P(X=x)=FX​(x)−FX​(x−)
Since FXF_XFX​ is continuous, FX(x)=FX(x−)F_X(x) = F_X(x^-)FX​(x)=FX​(x−), so the difference is zero.
Measure Zero
P(X=x)=0P(X = x) = 0P(X=x)=0 does not mean xxx is impossible. It means the probability of hitting exactly one point out of an uncountable line is zero.
§3 — Definition

Probability Density Function

If FX(x)F_X(x)FX​(x) is the cdf of a continuous r.v. XXX, its derivative is called the probability density function (pdf):

Definition 1.2— PDF
fX(x)=ddxFX(x)f_X(x) = \frac{d}{dx} F_X(x)fX​(x)=dxd​FX​(x)

Which implies the Fundamental Theorem relationship:FX(x)=∫−∞xfX(t) dtF_X(x) = \int_{-\infty}^{x} f_X(t)\,dtFX​(x)=∫−∞x​fX​(t)dt

  • fX(x)≥0f_X(x) \geq 0fX​(x)≥0 for all xxx
  • ∫−∞∞fX(x) dx=1\int_{-\infty}^{\infty} f_X(x)\,dx = 1∫−∞∞​fX​(x)dx=1 (Total area = 1)
Density is not Probability
The PDF is not a probability. fX(x)f_X(x)fX​(x) can exceed 1. What must equal 1 is the total area under the curve.
Probability Density fX(t)f_X(t)fX​(t)
-2-1120.20.4
Cumulative Distribution FX(x)F_X(x)FX​(x)
-2-1120.51
Adjust Value xxx
x = 0.00
-303
Integration
P(X≤0.00)=∫−∞0.00fX(t) dtP(X \le 0.00) = \int_{-\infty}^{0.00} f_X(t) \, dtP(X≤0.00)=∫−∞0.00​fX​(t)dt
Cumulative Value & Confidence
FX(0.00)=0.5000F_X(0.00) = 0.5000FX​(0.00)=0.5000
Confidence: 50.0%
Example 2

The Uniform Case

Suppose we are given the following CDF and need to find the underlying density:FX(x)={0x<0x0≤x<11x≥1F_X(x) = \begin{cases} 0 & x < 0 \\ x & 0 \leq x < 1 \\ 1 & x \geq 1 \end{cases}FX​(x)=⎩⎨⎧​0x1​x<00≤x<1x≥1​
Solution

Differentiating piecewise gives:

fX(x)=ddxFX(x)={10<x<10otherwisef_X(x) = \frac{d}{dx} F_X(x) = \begin{cases} 1 & 0 < x < 1 \\ 0 & \text{otherwise} \end{cases}fX​(x)=dxd​FX​(x)={10​0<x<1otherwise​

This result confirms that XXX follows a Uniform(0,1) distribution.

Cumulative FX(x)F_X(x)FX​(x)Continuous
-1.5-1-0.50.511.50.51x

FX(x)F_X(x)FX​(x) is continuous everywhere

Density fX(x)f_X(x)fX​(x)Discontinuous
-1.5-1-0.50.511.50.51x

fX(x)f_X(x)fX​(x) is discontinuous at x=0,1x=0,1x=0,1

Remark — Continuity Contrast
While the CDF of a continuous r.v. must be continuous everywhere, its PDF can have jump discontinuities. In the Uniform(0,1) case, the PDF jumps at x=0x=0x=0 and x=1x=1x=1, yet the CDF remains continuous throughout.
Next Stage

Where does the normalization constant come from?

In the next lecture, we'll learn how to find the constant kkk that ensures the total area under a density curve is exactly one.

Continue to Part II
The Null Hypothesis.

Where rigorous statistics and fluid design converge to build the architecture of insight.

Begin Exploration

The Platform

  • The Atlas
  • Laboratory
  • Case Studies
  • Workshop

Reference

  • The Library
  • About
  • Source Code↗

Get in Touch

contact@nullhypothesis.dev

© 2026 The Null Hypothesis. All Rights Reserved.