Skip to main content
Probability
Lesson 38 of 75
Standard practice

Discrete random variables

Objective. Construct distributions and cumulative functions.

  1. 1. Learn
  2. 2. Worked example
  3. 3. Practice
  4. 4. Feedback
  5. 5. Continue

Learn: the key idea

A discrete random variable is one that takes a countable set of possible values, each with an associated probability given by its probability mass function (pmf), p(x) = P(X = x), which must satisfy p(x) ≥ 0 and Σp(x) = 1 over all possible values. The cumulative distribution function (cdf) F(x) = P(X ≤ x) accumulates these probabilities, forming a non-decreasing step function that jumps at each possible value of X. Constructing a distribution means listing every outcome with its probability, then verifying the probabilities sum to exactly 1 before building the cdf from running totals. For a fair coin flipped twice, X counting heads has p(0) = 1/4, p(1) = 1/2, p(2) = 1/4, giving F(1) = 3/4.

Worked example

A discrete random variable X has pmf P(X=1) = 0.2, P(X=2) = 0.5, P(X=3) = 0.3. Find the cumulative distribution value F(2).

1 … 0.2
Illustrated card showing 1 … 0.2
  1. 1Recall F(2) = P(X ≤ 2), summing all probabilities up to and including 2.
  2. 2Identify the relevant pmf values: P(X=1) = 0.2 and P(X=2) = 0.5.
  3. 3Add these probabilities together: 0.2 + 0.5.
  4. 4Simplify the sum to obtain F(2).

Answer: F(2) = 0.7

Concept mastery

Based on your past attempts at this lesson — the question types to practise again come first.

Complete a practice set to see your concept breakdown here.

Practice

Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.

Start practising

Common mistake. Students sometimes compute F(x) = P(X ≤ x) as if it meant P(X = x), confusing the cumulative function with the pmf; F accumulates all probability up to and including x, not just at x.

Your progress

Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.

0 of 5 steps complete

Your place saves automatically as you read.

My dashboard