CBSE Class 12 Maths · Probability
Random Variables and Probability Distributions
A random variable gives a number to each outcome of an experiment; its probability distribution lists each value with its probability, and its mean is the sum of each value times its probability.
Why this matters
36 questions, all from board papers: five in 2022, eleven in 2023, nine in 2024 and eleven in 2025, and none in 2026. The present NCERT chapter defines a random variable only in a remark after Example 21 and does not teach probability distributions or the mean, so this page teaches them from the board questions. The board asked for k in a given table (2022 to 2025, including two one-mark MCQs), a distribution built by counting outcomes such as the larger of two numbers or the difference on two dice (2022 to 2025), a distribution for repeated draws or throws followed by its mean (2022 to 2025), and the mean or an unknown found from the mean (2023 to 2025, including a 2025 MCQ).
Concept 1 of 4: A random variable and its distribution: finding k
Definition
- Random variable (NCERT, remark after Example 21): a real valued function whose domain is the sample space of a random experiment. For two tosses, X = number of heads gives X(HH) = 2, X(HT) = X(TH) = 1, X(TT) = 0.
- More than one random variable can be defined on the same sample space.
- Probability distribution: a table of the values with , where every and .
- Finding k: add the row of probabilities, set the sum equal to 1, solve. If k comes from a quadratic, reject the root that gives a negative probability.
- leaves out 1 and 4; keeps them.
- Syllabus note: the board asked this every year from 2022 to 2025 and not in 2026. The present NCERT chapter says little about distributions, so learn the methods on this page from the board questions, and check the current CBSE syllabus for your year.
Condition on a probability distribution
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 1 · Probability · Random Variables and Probability Distributions
Keeping a negative root
Strict and non-strict signs
Answering k when a probability is asked
Concept 2 of 4: Building a distribution by listing outcomes
Definition
- Step 1: write the sample space and say how many outcomes it has.
- Step 2: state the values X can take.
- Step 3: for each value, count (or multiply out) its probability.
- Step 4: write the table and check that the probabilities add to 1.
- Without replacement, the second draw comes from one fewer ball, and 'one of each colour' can happen in two orders.
- For 'two numbers chosen from n', there are equally likely pairs.
Each entry of the table
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 2 · Probability · Random Variables and Probability Distributions
Forgetting the second order
A value X cannot take
Concept 3 of 4: Repeated independent draws and throws
Definition
- Let p be the probability of success in one trial and . With replacement, p stays the same in every trial.
- Two trials: , (success in the first OR the second trial), .
- Three trials: .
- A biased coin or die: find p first. 'Head is 3 times as likely as tail' gives ; 'an even face is twice as likely as an odd one' gives each odd face and each even face .
- After the table, find the mean from . That working is what earns the marks.
Number of successes in two trials
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 3 · Probability · Random Variables and Probability Distributions
Leaving out the 2 in P(X = 1)
Treating a biased die as fair
Concept 4 of 4: The mean (expectation) of a random variable
Definition
- Mean or expectation: .
- Multiply each value by its own probability, then add. Negative values keep their signs.
- Unknowns from the mean: two unknowns need two equations, and the given mean.
- If a table has an unknown k, find k first, then the mean.
- Write the answer with its unit when X has one (rupees, hours, students).
Mean of a random variable
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 4 · Probability · Random Variables and Probability Distributions
| X | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| P(X) | 0.2 | a | a | 0.2 | b |
Adding the probabilities only
Dropping a minus sign
One equation for two unknowns
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 (4)
- A random variable and its distribution: finding k
Condition on a probability distribution
- Building a distribution by listing outcomes
Each entry of the table
- Repeated independent draws and throws
Number of successes in two trials
- The mean (expectation) of a random variable
Mean of a random variable
Watch out for (10)
- Keeping a negative root→ A random variable and its distribution: finding k
- Strict and non-strict signs→ A random variable and its distribution: finding k
- Answering k when a probability is asked→ A random variable and its distribution: finding k
- Forgetting the second order→ Building a distribution by listing outcomes
- A value X cannot take→ Building a distribution by listing outcomes
- Leaving out the 2 in P(X = 1)→ Repeated independent draws and throws
- Treating a biased die as fair→ Repeated independent draws and throws
- Adding the probabilities only→ The mean (expectation) of a random variable
- Dropping a minus sign→ The mean (expectation) of a random variable
- One equation for two unknowns→ The mean (expectation) of a random variable
Test yourself on Probability
15 past CBSE Class 12 questions from this chapter, timed at 23 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.