Discrete Random Variables and Their Probability Distributions | Edexcel IAL Maths notes

Free preview: Discrete Random Variables and Their Probability Distributions

What Is a Discrete Random Variable?

Unit S1 (WST01): Statistics 1

Let's start with something you already know from IGCSE: the probability of an event, such as "the die shows a six". Now ask a slightly different question. Toss two fair coins. How many heads do you get?

  • The answer is not an event, it is a number: 0, 1 or 2.
  • Which number you get depends on chance. Toss again and you might get a different one.
  • Lots of experiments give a number like this: the score on a die, the number of heads in ten tosses, the number of faulty bulbs in a box.
  • A number that depends on chance is called a random variable.

Why turn outcomes into numbers?

  • Once outcomes are numbers we can add them, compare them and use inequalities such as "at least 3".
  • We can draw them on a graph and spot patterns.
  • Later in the course, whole families of random variables (binomial, Normal) let us answer questions with one formula instead of a long list of outcomes.

Notation

  • A random variable is written with a capital letter, usually X. It names the quantity, for example "X = the score on the die".
  • A particular value it can take is written with a small letter, x.
  • P(X=x) means "the probability that X takes the value x".
  • Example: P(X=4)=16 says the probability of scoring 4 on a fair die is one sixth.

๐Ÿ’ก In plain words

  • Capital X is the question: "what will the score be?"
  • Small x is a possible answer: 1, 2, 3, ...

Discrete or continuous?

  • A random variable is discrete if it can only take separate (countable) values, with gaps between them: 0, 1, 2, 3, ... or 1, 2, 3, 4, 5, 6.
  • Counts are always discrete: you can have 2 heads or 3 heads, but not 2.5 heads.
  • A continuous random variable can take any value in a range, such as a height or a time. Between any two heights there is always another height.
  • This note is about discrete random variables. Continuous ones appear with the Normal distribution at the end of S1, and in more depth in Unit S2.
Random variableDiscrete or continuous?Why
Number of sixes in 5 rollsDiscreteIt is a count: 0, 1, 2, 3, 4 or 5.
Time to run 100 mContinuousIt could be 12.3 s, 12.31 s, 12.314 s, ...
Shoe sizeDiscreteOnly certain sizes exist (5, 5.5, 6, ...), with gaps between them.
Mass of an appleContinuousAny value in a range is possible.

The probability distribution

  • The probability distribution of X lists every value X can take, together with its probability.
  • One of the values must happen, so the probabilities always add up to 1.

๐Ÿ‘€ Watch me do it: build the distribution of X = the number of heads when two fair coins are tossed

What I writeWhy I do it
Outcomes: HH, HT, TH, TT, each with probability 14.List everything that can happen first. The coins are fair and independent, so each outcome is 12×12.
X = 0 from TT only, so P(X=0)=14.Now group the outcomes by their value of X.
X = 1 from HT or TH, so P(X=1)=24=12.Two different outcomes give the same number, so add their probabilities.
X = 2 from HH only, so P(X=2)=14.Last value.
x012
P(X = x)141214


Write it as a table: values on top, probabilities underneath.
Check: 14+12+14=1.Always check the total is 1.

∑all xP(X=x)=1

๐Ÿ’ก In plain words

  • ∑ means "add up", and "all x" means every value that X can take.
  • Add every probability in the distribution and you must get exactly 1.
  • Also, every single probability must lie between 0 and 1.

๐Ÿ“ Check the sum first

Whenever you are given or build a distribution, check that the probabilities add to exactly 1. It is the quickest way to find an unknown constant, and the quickest way to spot an arithmetic slip.

โœ๏ธ YOUR TURN 1

Try this first:

Which of these tables could be a probability distribution? Give a reason each time.

  1. x012
    P(X = x)0.50.30.3


  2. x123
    P(X = x)0.6โˆ’0.10.5


  3. x2468
    P(X = x)0.250.250.40.1


Answer:

  1. No. 0.5+0.3+0.3=1.1, which is more than 1.
  2. No. The total is 1, but a probability can never be negative.
  3. Yes. Every probability is between 0 and 1, and 0.25+0.25+0.4+0.1=1. (The values of X don't have to be 1, 2, 3, ...; any separate values are fine.)

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in S1.4 Discrete Random Variables

  1. Discrete Random Variables and Their Probability Distributions
  2. Discrete Random Variables: Probability Functions, Cumulative Distributions and Expectation
  3. Variance of a Discrete Random Variable and Coding with aX + b
  4. The Discrete Uniform Distribution: When Every Value Is Equally Likely

What's inside for this topic

4 teacher notes, 151 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Next note: Discrete Random Variables: Probability Functions, Cumulative Distributions and Expectation

Discrete Random Variables and Their Probability Distributions on other exam boards

All Edexcel IAL Maths topics ยท A Level Maths