Free Mathematics Class 12 ICSE notes · practise this chapter with an AI quiz

← All study notes

How to Find the Average Win in a Game of Chance Before You Play

Define a random variable and construct its probability distribution, check that a distribution is valid by testing non-negativity and a total of one, and compute the mean or expected value of a random variable.

How can you predict the average outcome of a game of chance?

A stall at a school fair charges ₹10 to roll a die and pays out according to the number shown. Is the game worth playing? Turning each outcome into a number, listing the chance of each number and averaging gives the answer before a single rupee is spent.

This lesson covers random variables and their probability distributions, the conditions every distribution must satisfy, and the mean of a random variable.

What is a random variable and how do you construct its probability distribution?

**A random variable is a rule that assigns a real number to each outcome of a random experiment, and its probability distribution lists each possible value with its probability .

Discrete random variables take separate values that can be listed, such as the number of heads or the number of defective items.

Worked example (two coins).** Let X be the number of heads when two coins are tossed. The outcomes HH, HT, TH and TT give

- , from TT
- , from HT and TH
- , from HH

Worked example (drawing without replacement). Two balls are drawn from a bag of 4 red and 2 black balls. Let X be the number of black balls. There are possible pairs.

-
-
-

An everyday example. The number of customers who walk into a chemist's shop in a given ten minutes is a random variable that the owner can describe with a distribution.

The substance. Many outcomes can share one value — HT and TH are different outcomes but give the same value , so their probabilities add.

How do you check that a probability distribution is valid?

**A function is a valid probability distribution only if every lies between 0 and 1 and all the add up to exactly 1.

Worked example (checking).** Is for valid? Each value lies between 0 and 1, and , so yes.

Worked example (finding k). X takes the values 1, 2, 3 and 4 with probabilities k, 2k, 3k and 4k. Then , so and .

Worked example (rejecting a root). If , and , then , so



The negative root would make negative, so it is rejected, leaving .

An everyday example. A forecast giving a 50% chance of sun, a 30% chance of cloud and a 30% chance of rain as the only possibilities cannot be right, because the chances add up to 110%.

The substance. A value of k that makes any probability negative must be rejected even though it satisfies the sum condition.

How do you calculate the mean of a random variable?

**The mean, or expected value, of a random variable is — each value multiplied by its probability, then added.

Worked example (two coins).** head.

Worked example (a die).

Worked example (the fair stall). The stall charges ₹10. It pays ₹20 for a six, ₹10 for a four or a five, and nothing otherwise. The expected payout in rupees is



so the expected gain per game is about rupees — a loss.

Worked example (balls). For the black balls above, .

An everyday example. A vegetable seller estimating how many kilograms of tomatoes sell on an average day is using the mean of a distribution built from past sales.

The substance. The mean need not be a possible value — no single roll of a die shows 3.5, yet 3.5 is the long-run average.
Exam tip

What earns full marks on probability distributions?

Present the distribution as a clear list of each value of X with its probability, and show that the probabilities add up to 1 before finding the mean.

- Distribution: each value with its probability
- Validity: and
- Mean:
- Reject any k that makes a probability negative

The trap. Missing a value of X, such as . List the smallest and largest possible values first, then everything between them.
Did you know

Why do lotteries and insurance both depend on expected value?

A lottery sets its prizes so that the expected payout on each ticket is less than the ticket price. Every player hopes for a big win, but on average the organiser keeps the difference.

Insurance works the same way from the other side: the premium is set a little above the expected cost of claims, so that the insurer can pay every claim across many customers.

In both cases no one can predict a single result, but with enough tickets or policies the mean of the distribution predicts the total remarkably well.
Exam relevance

How are random variables and their means tested in JEE Main?

Probability distributions are part of the JEE Main probability chapter, and JEE Advanced sometimes asks for the mean and variance of a distribution built from a counting problem.

What gets asked. Finding k so that a distribution is valid, building a distribution from dice, coins or draws, and computing the mean, often followed by the variance .

Question types. Mostly numerical-value and multiple-choice questions.

Why it matters later. The mean and variance lead directly to the binomial distribution, whose mean is .

The trap that costs marks. Forgetting that the probabilities must add up to 1 when finding k, or keeping a root that gives a negative probability.
Key takeaways

What must you be able to do from this lesson?

- Random variable: a rule assigning a number to each outcome, with a distribution listing each value and its probability
- Validity: every probability between 0 and 1, and all of them adding up to 1
- Mean: , which need not be a possible value

Two dice are rolled and X is the number of sixes. Can you show that the mean of X is ?

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Random Variables and Probability DistributionCreate a free account
← Back to all articles