PYQ Vault

HSC Maths · Probability Distributions

Probability Distribution and Probability Mass Function

For a discrete random variable, the table or formula giving P(X = x) for each value x is its probability distribution; every probability must be non-negative and together they must add up to 1.

Why this matters

36 questions, four of them from board papers: P(X ≤ 4) for a table with k, 2k, 3k, 4k, 5k (2016), the value of k and P(X < 2) for the table 0.1, k, 2k, 2k, k (2024, asked again in 2025 with P(1 ≤ X < 4)), and the distribution of the number of heads when two coins are tossed (2024). The textbook rows are Exercise 7.1 Q.3 to Q.8, the worked examples of 7.3, and the p.m.f. questions of Miscellaneous Exercise 7.

Concept 1 of 3: Conditions for a probability mass function

Each probability is a share of certainty. A share cannot be negative, and the shares of all the values together must make up the whole, which is 1. A probability may be 0. The values of X themselves may be negative or fractions; the two conditions are about the probabilities only.

Definition

  • Let the possible values of XX be x1,x2,x3,…x_1, x_2, x_3, \ldots and let pi=P[X=xi]p_i = P[X = x_i].
  • The function pp is the probability mass function (p.m.f.) of XX if (i) pi≥0p_i \geq 0 for every ii, and (ii) ∑pi=1\sum p_i = 1.
  • The table of values xix_i with their probabilities pip_i is the probability distribution of XX.
  • To show a table is not a p.m.f., one failed condition is enough, but name the condition and show the working.

Conditions for a p.m.f.

pi≥0 for every i,∑ipi=1p_i \geq 0 \text{ for every } i, \qquad \sum_{i} p_i = 1

Worked example

State, with reasons, whether the following is the p.m.f. of a random variable: XX: −1,0,1,2-1, 0, 1, 2 with P(X)P(X): 16,13,14,14\dfrac{1}{6}, \dfrac{1}{3}, \dfrac{1}{4}, \dfrac{1}{4}.
Practise this conceptself-check · 2 quick reps

The same idea in a textbook question:

Balbharati textbook · Ex 7.1 Q.3 (ii)Easy

Example 1 · Probability Distributions · Probability Mass Function of a Discrete Random Variable

State which of the following are not the probability mass function of a random variable. Give reasons for your answer.
XX01234
P(X)P(X)0.10.50.2−0.1-0.10.2

Rejecting a table because a value of X is negative

The values of XX may be negative, such as a loss of money. Only a negative probability breaks the conditions.

Checking only the sum

The probabilities 0.6,−0.1,0.50.6, -0.1, 0.5 add up to 1, but the table is not a p.m.f. because one probability is negative. Check both conditions every time.

Concept 2 of 3: Finding k and the probability of an event

When the table has an unknown k, the condition that all probabilities add up to 1 gives an equation for k. Once k is known, the probability of an event is the sum of the probabilities of the values of X that lie in it. Most lost marks come from the inequality signs, so list the values first.

Definition

  • Step 1: add all the probabilities, put the sum equal to 1 and solve for kk.
  • Step 2: if the equation is quadratic, reject the root that makes any probability negative.
  • Step 3: for an event, list the values of XX in it, then add their probabilities.
  • X<aX < a leaves out aa; X≤aX \leq a keeps it. P[X>a]=1−P[X≤a]P[X > a] = 1 - P[X \leq a].
  • For an event in words, such as 'X is positive' or 'X is odd', write the values first.

Finding the constant

∑iP[X=xi]=1,P[a≤X≤b]=∑a≤xi≤bP[X=xi]\sum_{i} P[X = x_i] = 1, \qquad P[a \leq X \leq b] = \sum_{a \leq x_i \leq b} P[X = x_i]

Worked example

XX takes the values 0, 1, 2, 3 with probabilities kk, 2k2k, 2k22k^{2}, 3k2+k3k^{2} + k. Find kk, P[X≥2]P[X \geq 2] and P[0<X≤2]P[0 < X \leq 2].
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2024 · Q. 13Easy

Example 2 · Probability Distributions · Probability Mass Function of a Discrete Random Variable

The probability distribution of XX is as follows :
X=xX = x01234
P(X=x)P(X = x)0.1kk2k2k2k2kkk
Find (a) kk (b) P(X<2)P(X < 2)

Keeping the negative root of k

A quadratic in kk gives two roots. Write which one you reject and why: a probability such as kk or 2k2k cannot be negative.

Including the end value of a strict inequality

P[X<a]P[X < a] stops before aa; P[X≤a]P[X \leq a] includes it. Write the list of values in the event before adding.

Giving k without checking

Put the value of kk back into the table and show that the probabilities add up to 1. It takes one line and catches a slip in the equation.

Concept 3 of 3: Writing the probability distribution of an experiment

To build the table yourself: write the outcomes, read the value of X for each, group the outcomes that share a value, and find each group's probability. When draws are made with replacement, the draws are independent, so the probabilities multiply, and every order of successes and failures must be counted.

Definition

  • Step 1: write the sample space, or the probability pp of a success in one trial and q=1−pq = 1 - p.
  • Step 2: write the possible values of XX.
  • Step 3: for each value, find P[X=x]P[X = x]: count the favourable outcomes, or multiply the probabilities of independent trials, adding over every order.
  • Step 4: write the distribution as a table and check that the probabilities add up to 1.
  • When the probabilities follow a rule, the p.m.f. can be written as a formula, for example P[X=x]=4Cx(12)4P[X = x] = {}^{4}C_{x}\left(\dfrac{1}{2}\right)^{4}, x=0,1,2,3,4x = 0, 1, 2, 3, 4, for the number of heads in 4 tosses of a coin.

Building the table

P[X=x]=number of outcomes with X=xn(S)P[X = x] = \frac{\text{number of outcomes with } X = x}{n(S)}

Worked example

A bag contains 2 red and 3 white balls. Two balls are drawn one by one with replacement. Find the probability distribution of the number of red balls drawn.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2024 · Q. 14Easy

Example 3 · Probability Distributions · Probability Mass Function of a Discrete Random Variable

If two coins are tossed simultaneously, write the probability distribution of the number of heads.

Treating different orders as one outcome

With dice, (1,2)(1, 2) and (2,1)(2, 1) are two different outcomes. Counting them once makes the values look equally likely when they are not.

Forgetting the orders in independent draws

One success in two draws can happen as success then failure or failure then success, so its probability is 2pq2pq, not pqpq.

No check line

End every distribution with the sum of its probabilities equal to 1. A sum that is not 1 shows a missing outcome before the examiner sees it.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

Watch out for (8)

Test yourself on Probability Distributions

10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.