
Cumulative Distribution Function Formula Properties and Solved Examples
The concept of cumulative distribution function (CDF) plays a key role in mathematics and statistics, helping you understand how probabilities add up in real-life and exam scenarios. Whether you’re preparing for competitive exams or analyzing data, CDF is a central concept you must know.
What Is Cumulative Distribution Function (CDF)?
A cumulative distribution function (CDF) is a mathematical function that gives the probability that a random variable takes a value less than or equal to a specific point. You’ll find this concept applied in areas such as probability, statistics, and data analysis.
Key Formula for Cumulative Distribution Function (CDF)
Here’s the standard formula:
For a discrete random variable X:
\( F_X(x) = P(X \leq x) = \sum_{t \leq x} P(X = t) \)
For a continuous random variable X:
\( F_X(x) = \int_{-\infty}^{x} f_X(t)dt \)
Key Properties of Cumulative Distribution Function
- CDFs are non-decreasing (never go down).
- Their values always lie between 0 and 1.
- They are right-continuous (no gaps on a jump from left to right).
- \( \lim_{x \to -\infty} F_X(x) = 0 \), and \( \lim_{x \to +\infty} F_X(x) = 1 \).
- For discrete variables, CDFs have jumps. For continuous ones, they are smooth curves.
Cross-Disciplinary Usage
The cumulative distribution function is not only useful in Maths but also plays a big part in Physics (for random processes), Computer Science (algorithms, randomization), and even daily logical thinking. Students preparing for exams like JEE or NEET will see CDF-based problems often. Understanding CDF also helps with interpreting graphs and tables in economics, biology, and other sciences.
Step-by-Step Illustration: Example Problem
Example (Discrete Variable): Suppose the random variable X gives the result of rolling a fair six-sided die. Find the CDF at x = 4.
- We list out the possible values X can take: 1, 2, 3, 4, 5, 6.
- The probability for each number is \( \frac{1}{6} \).
- To find \( F_X(4) \), add up all probabilities for values ≤ 4:
P(X ≤ 4) = P(1) + P(2) + P(3) + P(4) = \( \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} = \frac{4}{6} \) = 0.67
Example (Continuous Variable): If the probability density function (PDF) of X is \( f_X(x) = 2x \) for \( x \) in [0,1], calculate CDF at x = 0.5.
- Use the integral for CDF: \( F_X(0.5) = \int_{0}^{0.5} 2x dx \)
- Integrate: \( [x^2]_{0}^{0.5} = (0.5)^2 - 0^2 = 0.25 \)
- So, CDF at x = 0.5 is 0.25
Try These Yourself
- Write the CDF values for all outcomes when a coin is tossed twice (hint: 0, 0.25, …, 1).
- Suppose \( f_X(x) = 3x^2 \) for x in [0,1]. Find the CDF at x = 1.
- If given a CDF table for a random variable, what is the probability that X is greater than 2?
Frequent Errors and Misunderstandings
- Confusing the CDF with the probability density function (PDF)—PDF shows “point probability,” CDF shows cumulative up to a point.
- Assuming CDF can decrease—it cannot.
- Forgetting that the area under the PDF up to a point gives the CDF for continuous cases.
Relation to Other Concepts
The idea of cumulative distribution function is closely related to Probability Density Function (PDF) and Probability Mass Function (PMF). Understanding how CDFs work helps you analyze more advanced topics such as Normal Distribution and Statistical Inference.
CDF vs PDF/PMF: The Comparison
| Aspect | CDF | PDF / PMF |
|---|---|---|
| Shows... | Probability up to x | Probability at x (PDF = density, PMF = mass) |
| Type | Non-decreasing function, right continuous | Curve (continuous) or step (discrete) |
| Range | 0 to 1 | 0 to 1 (discrete sum, continuous area) |
| Use | Find cumulative probabilities, percentiles | Find probability at a point |
Application and Importance
The cumulative distribution function is fundamental in analyzing data, calculating probabilities, and working with statistical models. Real-life applications include predicting scores, understanding risks in finance, modeling weather, and even machine learning. Statistical tests, such as the Kolmogorov-Smirnov test, use CDFs to compare datasets with theoretical models. You’ll also find CDFs used in Probability and advanced analytics.
Classroom Tip
To easily visualize a CDF, sketch a graph—on the x-axis are values of X, and on the y-axis, CDF values go from 0 to 1, stepping up at each value (discrete) or as a smooth S-shaped curve (continuous). Vedantu’s teachers show these visual cues during live classes for clarity.
We explored cumulative distribution function (CDF) in detail—covering what it is, key formula, problem examples, common mistakes, and its connection to other statistics ideas. Keep practicing CDF problems with Vedantu’s expert resources, and you’ll find this concept much simpler both in classroom tests and real-world data.
Learn more on related Vedantu topics:
- Probability – to lay a strong foundation for CDFs in probability and statistics.
- Probability Density Function (PDF) – to compare CDF with point-probability functions.
- Normal Distribution – for application of CDF in continuous curves and bell-shaped graphs.
- Random Variables – understand what variables CDFs describe.
FAQs on Cumulative Distribution Function in Probability Explained
1. What is a cumulative distribution function (CDF)?
A cumulative distribution function (CDF) is a function that gives the probability that a random variable is less than or equal to a certain value. Mathematically, it is defined as F(x) = P(X ≤ x).
For any random variable X:
- F(x) represents accumulated probability up to x.
- 0 ≤ F(x) ≤ 1 for all x.
- As x → −∞, F(x) → 0 and as x → ∞, F(x) → 1.
2. What is the formula for the CDF of a continuous random variable?
The CDF of a continuous random variable is given by F(x) = ∫−∞x f(t) dt, where f(t) is the probability density function (PDF).
- The CDF is the integral of the PDF from −∞ to x.
- It measures accumulated probability.
- The derivative of the CDF gives back the PDF: f(x) = F′(x).
3. How do you find the CDF from a PDF?
To find the CDF from a PDF, integrate the PDF from −∞ to x. The formula is F(x) = ∫−∞x f(t) dt.
Steps:
- Start with the given PDF f(x).
- Set up the definite integral from −∞ to x.
- Evaluate the integral.
F(x) = ∫0x 2t dt = x².
4. How do you find the CDF of a discrete random variable?
The CDF of a discrete random variable is found by summing probabilities up to x: F(x) = P(X ≤ x) = Σ P(X = k) for all k ≤ x.
Steps:
- List all possible values of X.
- Add the probabilities for values ≤ x.
- Repeat for each x to form the CDF table.
5. What are the main properties of a cumulative distribution function?
A cumulative distribution function satisfies key properties that make it valid for probability calculations.
Main properties:
- 0 ≤ F(x) ≤ 1
- F(x) is non-decreasing.
- limx→−∞ F(x) = 0
- limx→∞ F(x) = 1
6. What is the difference between a CDF and a PDF?
The CDF gives cumulative probability up to x, while the PDF gives probability density at a specific point.
Key differences:
- CDF: F(x) = P(X ≤ x)
- PDF: f(x) = F′(x) (for continuous variables)
- CDF values range from 0 to 1.
- PDF values can exceed 1 but must integrate to 1 over the entire range.
7. How do you use the CDF to find probabilities?
You use the CDF to find probabilities by subtracting cumulative values: P(a < X ≤ b) = F(b) − F(a).
Examples:
- P(X ≤ x) = F(x)
- P(X > x) = 1 − F(x)
- P(a < X ≤ b) = F(b) − F(a)
8. What is the CDF of the normal distribution?
The CDF of the normal distribution is the probability that a normally distributed variable is less than or equal to x, computed using the standard normal table or software. It is written as Φ(x) for the standard normal distribution.
For X ~ N(μ, σ²):
- Standardize using Z = (X − μ)/σ.
- Then compute P(X ≤ x) = Φ(z).
9. Can a CDF decrease or have negative values?
No, a valid cumulative distribution function can never decrease or be negative. A CDF must satisfy 0 ≤ F(x) ≤ 1 and be non-decreasing.
This is because:
- Probabilities cannot be negative.
- Accumulated probability cannot decrease as x increases.
10. Can you give a simple example of a cumulative distribution function?
A simple example of a CDF is for a uniform distribution on [0,1], where F(x) = 0 for x < 0, F(x) = x for 0 ≤ x ≤ 1, and F(x) = 1 for x > 1.
This means:
- The probability increases linearly between 0 and 1.
- At x = 0.5, F(0.5) = 0.5.
- Total probability equals 1 over the interval.

































