Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Distribution Functions: PMF, PDF, CDF

Lesson 3 of 11 in the free Probability and Statistics- BCA-DS-23-204 notes on Siksha Sarovar, written by Rohit Jangra.

3. Distribution Functions

3.1 Probability Mass Function (PMF)

  • For: Discrete Variables. A table or function listing probabilities for specific values.
  • Example (Rolling a Die):
  • Let $X$ be the number shown on the die.
  • PMF Table:
$x$123456
$P(X=x)$1/61/61/61/61/61/6
  • Check: Sum of all probabilities $= 1$.

3.2 Probability Density Function (PDF)

  • For: Continuous Variables.
  • Probability is the Area Under the Curve between two points.
  • Example (Bus Wait Time):
  • A bus arrives every 30 minutes. Let $X$ be the wait time.
  • PDF: $f(x) = 1/30$ for $0 \le x \le 30$.
  • Question: What is the probability you wait less than 10 minutes?
  • Solution: Area of rectangle = Width $\times$ Height.
  • $$ P(0 \le X \le 10) = 10 \times \frac{1}{30} = \frac{1}{3} \approx 33\% $$

3.3 Cumulative Distribution Function (CDF)

  • Definition: $F(x) = P(X \le x)$. It adds up probabilities from the start up to $x$.
  • Example (Die Roll):
  • What is $F(3)$? (Probability of rolling a number $\\le 3$).
  • Outcomes: ${1, 2, 3}$.
  • $F(3) = P(1) + P(2) + P(3) = 1/6 + 1/6 + 1/6 = 3/6 = 0.5$.