WHY do we bother? The raw sample space Ω (e.g. "the dice landed showing a 3 and a 4") is awkward. We usually care about a number extracted from it (e.g. "the sum is 7"). The RV X is the translator from messy outcomes to numbers we can do algebra on.
WHAT does "discrete" buy us? Because the values are countable, we can assign probability to individual points and just add them. (For continuous RVs each point has probability 0 — there you integrate instead. That contrast is the whole reason this subtopic exists.)
HOW must a valid PMF behave? Derive it from the axioms of probability:
Probabilities are never negative, so pX(x)≥0 for all x. (Why? Axiom: P(A)≥0.)
The events {X=xi} are disjoint (X can't equal both 2 and 5 at once) and together cover everything X can do. By countable additivity:
∑ipX(xi)=P(⋃i{X=xi})=P(Ω)=1.
HOW is it built from the PMF? You just sum all the mass at points ≤x. For a discrete RV this makes FX a step function: flat between the values, jumping up by exactly pX(xi) at each value xi.
Imagine a row of buckets numbered 1, 2, 3… and you pour 1 liter of water total, splitting it among the buckets however the game says. The PMF is "how much water is in each bucket." The total is always exactly 1 liter (that's the rule). The CDF is "if I walk from bucket 1 onward and keep adding up the water, how much have I collected by the time I reach this bucket?" When you pass a full bucket your total jumps up; between buckets it stays flat. The last bucket always brings you to a full 1 liter.
Dekho, ek discrete random variable ka matlab bas itna hai ki kisi random experiment ke har outcome ko ek number de do. Jaise do dice phenke, toh "sum" ek random variable hai jiski values 2 se 12 tak ho sakti hain. "Discrete" isliye kyunki values countable hain — alag-alag points, beech mein kuch nahi.
Ab PMF (probability mass function) ka kaam hai batana ki har point pe kitni probability "mass" rakhi hai, yaani pX(x)=P(X=x). Do hi rule hain: koi bhi mass negative nahi ho sakti, aur saari masses jodne par total exactly 1 aana chahiye. Yeh "sum = 1" wala rule normalization karta hai — jab bhi koi constant c nikaalna ho, isi rule se nikalega.
CDF (cumulative distribution function)FX(x)=P(X≤x) ek running total hai — number line pe left se right chalo aur jitni mass milti jaaye uska total banao. Discrete case mein yeh ek staircase (seedhiyan) banta hai: do values ke beech flat, aur har value pe utna upar jump karta hai jitni us point ki mass hai. Isiliye smooth curve mat banao!
Sabse important practical baat: range ki probability nikaalni ho toh P(a<X≤b)=F(b)−F(a). Yahan endpoints dhyan se — < aur ≤ ka farq discrete mein real hota hai kyunki har point ki apni positive mass hoti hai. Exam mein yahi galti sabse zyada hoti hai, toh bracket type hamesha check karo.