HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Mathematics
  2. /Statistics and Probability
  3. /Random Variables and Probability Distributions

Random Variables and Probability Distributions

Mathematics · High School (11–12) · 1 course, 10 worked problems, 37 practice questions

A random variable gives a number to each outcome of an experiment. A discrete random variable takes separate values, such as the number of sixes when a die is rolled three times. Its probability distribution lists each value with its probability, and these add up to 111. The mean, or expected value, is E(X)=∑x P(x)E(X) = \sum x\,P(x)E(X)=∑xP(x), and the variance is E(X2)−[E(X)]2E(X^2) - [E(X)]^2E(X2)−[E(X)]2. In a binomial distribution there are nnn independent trials with the same chance ppp of success, so P(X=r)=(nr)pr(1−p)n−rP(X = r) = \binom{n}{r}p^r(1 - p)^{n-r}P(X=r)=(rn​)pr(1−p)n−r.

With practice you will be able to

  • Write the probability distribution of a random variable
  • Find the mean and variance of a discrete random variable
  • Find binomial probabilities with P(X=r)P(X = r)P(X=r)

On the syllabus of

  • JEE Main
  • JEE Advanced
  • ISC
  • CUET UG
  • BITSAT
  • MHT-CET
  • WBJEE
  • VITEEE
  • and 11 more

Lessons

  • Random Variables and the Binomial DistributionA player scores 70% of her free shots. How likely is she to score 4 of 6?High School (11–12)

Practice questions

Choose an answer, then check it. Each one shows a full explanation.

At a carnival, a player pays 444 dollars to roll a fair six-sided die once. A roll of 666 wins a prize of 101010 dollars. A roll of 444 or 555 wins a prize of 333 dollars. Any other roll wins nothing. The player does not get the 444 dollars back. Which is the expected result per play?

A student has no idea about any of the 444 questions on a multiple-choice quiz. Each question offers 444 choices with one right answer, so the student picks every answer at random. What is the probability that at least 333 of the answers are right?

A permutation of 1,2,3,4,51, 2, 3, 4, 51,2,3,4,5 is chosen at random, all 120120120 being equally likely. Let XXX be its number of fixed points, that is, numbers iii that stay in place iii. Which of the following statements is (are) TRUE?

One or more options are correct. Tick all the correct ones: a wrong option costs marks, and a part-right answer earns part of the marks.

A fair six-faced die is thrown nnn times, and the throws are independent. Let pnp_npn​ be the probability that at least one six appears in the nnn throws. Find the least positive integer nnn for which pn>910p_n > \frac{9}{10}pn​>109​. You may use log⁡102=0.3010\log_{10} 2 = 0.3010log10​2=0.3010 and log⁡103=0.4771\log_{10} 3 = 0.4771log10​3=0.4771. The answer is an integer. Give the exact least value of nnn, with no rounding.

A random variable XXX takes the values k=1,2,3,…k = 1, 2, 3, \dotsk=1,2,3,… (all positive integers) with P(X=k)=ck(k+1)P(X = k) = \dfrac{c}{k(k+1)}P(X=k)=k(k+1)c​, where ccc is a positive constant. Here E(X)E(X)E(X) means ∑k=1∞k P(X=k)\sum_{k=1}^{\infty} k\,P(X = k)∑k=1∞​kP(X=k) when this series converges to a finite sum. Which one of the following statements is correct?

A random variable XXX follows a binomial distribution with parameters nnn and ppp, where nnn is a positive integer and 0<p<10<p<10<p<1. The sum of the mean and the variance of XXX is 121212, and the mean exceeds the variance by 444. If P(X≤2)=k216P(X \le 2) = \dfrac{k}{2^{16}}P(X≤2)=216k​, find the value of kkk. The answer is an integer, so no rounding is needed.

Two players, A and B, take turns throwing a fair six-faced die, with A throwing first. The throws go A, B, A, B, and so on, until a six appears for the first time. The player who throws that first six wins. All throws are independent, and the game may in principle last for any number of rounds. What is the probability that A wins the game?

A random variable XXX takes the values 111, 222, 333 and 444 with probabilities 0.150.150.15, 0.350.350.35, kkk and 0.250.250.25 in that order. What is the mean of XXX?

A sensor reading XXX has mean 555 and variance 444. After calibration, the reading is changed to Y=2X−3Y = 2X - 3Y=2X−3. What is the variance of YYY?

A ticket for a prize draw costs 121212 rupees. The organiser has 101010 tickets in a box. One of them wins 505050 rupees, two win 202020 rupees each, and the other seven win nothing. A player buys one ticket from the box at random. What is the expected net gain of the player, in rupees?

All 37 practice questions on Random Variables and Probability Distributions →

Worked problems

Each one has a hint, the key idea and a full worked solution.

  • At a school fair, a spinner game pays 0 rupees with probability 0.5, 10 rupees with probability 0.3…Easy
  • Two cards are dealt from a well-shuffled pack of 52 cards, one after the other, without replacement…Medium
  • A club runs a dice game at its open day…Hard
  • A netball player scores from a free shot with probability 0.7, independently each time…Easy
  • A quiz has 10 questions, each with four options and exactly one right option…Medium
  • Five cards are drawn from a standard pack of 52 cards…Medium
  • An inspector tests 8 items from a production line…Hard
  • A laboratory tests water samples for a pollutant…Medium
  • A call centre knows that each call to its helpline is answered at the first ring with probability…Hard
  • A shooter hits a target with probability 0.4 on each shot, independently of the other shots…Advanced

Python labs

  • Mean and variance of a distribution
  • The binomial by code

Related topics

  • Statistics and Probability
  • Statistics
  • Probability
  • Conditional Probability and Bayes' Theorem