Discrete Probability Distributions (DP IB Analysis & Approaches (AA): HL): Revision Note

Discrete probability distributions

What is a discrete random variable? 

  • A random variable is a variable whose value depends on the outcome of a random event

    • The value of the random variable is not known until the event occurs (this is what is meant by 'random' in this case)

  • Random variables are denoted using upper case letters (X, Y, etc )

  • Particular outcomes of the event are denoted using lower case letters (x, y, etc)

  • P(X=x) means "the probability of the random variable X taking the value x"

  • A discrete random variable (often abbreviated to DRV) can only take certain values within a set

    • Discrete random variables often count something

    • A discrete random variables usually can only take a finite number of values but it is possible that it can take an infinite number of values (see the examples below)

  • Examples of discrete random variables include:

    • The number of times a coin lands on heads when flipped 20 times

      • this has a finite number of outcomes: {0,1,2,…,20}

    • The number of emails a manager receives within an hour

      • this has an infinite number of outcomes: {0,1,2,3,…}

    • The number of times a dice is rolled until it lands on a 6

      • this has an infinite number of outcomes: {1,2,3,…}

    • The number that a dice lands on when rolled once

      • this has a finite number of outcomes: {1,2,3,4,5,6}

What is a probability distribution of a discrete random variable?

  • A discrete probability distribution fully describes all the values that a discrete random variable can take along with their associated probabilities

    • This can be given in a table

    • Or it can be given as a function (called a discrete probability distribution function or "pdf")

    • Or it can be represented by vertical line graph (the possible values along the horizontal axis, and the probability on the vertical axis)

  • The sum of the probabilities of all the values of a discrete random variable is 1

    • This is usually written P(X=x)=1

  • A discrete uniform distribution is one where the random variable takes a finite number of values each with an equal probability

    • If there are n values then the probability of each one is 1n

Octagonal spinner with outcomes -2 (twice), 0 (once), 1/3 (once) and 5 (four times). The associated probability distribution is shown as a table, as a bar chart, and  as a probability distribution function (pdf).

How do I calculate probabilities using a discrete probability distribution? 

  • First draw a table to represent the probability distribution

    • If it is given as a function then find each probability

    • If any probabilities are unknown then use algebra to represent them

  • Form an equation using P(X=x)=1

    • Add together all the probabilities and make the sum is equal to 1

  • To find P(X=k)

    • If k is a possible value of the random variable X then P(X=k) will be given in the table

    • If k is not a possible value then P(X=k)=0

  • To find P(Xk)

    • Identify all possible values, xi, that X can take which satisfy xik

      • Note that this includes k

    • Add together all their corresponding probabilities

    • P(Xk)=xikP(X=xi)

    • Some mathematicians use the notation F(x) to represent the cumulative distribution

      • F(x)=P(Xx)

  • Using a similar method you can find P(X<k)P(X>k) and P(Xk)

  • As all the probabilities add up to 1 you can form the following equivalent equations:

    • P(X<k)+P(X=k)+P(X>k)=1

    • P(X>k)=1P(Xk)

    • P(Xk)=1P(X<k)

How do I know which inequality to use? 

  • P(Xk) would be used for phrases such as:

    • At most , no greater than , etc

  • P(X<k) would be used for phrases such as:

    • Fewer than, etc.

  • P(Xk) would be used for phrases such as:

    • At least , no fewer than , etc

  • P(X>k) would be used for phrases such as:

    • Greater than , etc

Worked Example

The probability distribution of the discrete random variable X is given by the function

P(X=x)={kx²0    x=3, 1, 2, 4otherwise.

a) Show that k=130.

Answer:

4-4-1-ib-ai-aa-sl-discrete-pd-a-we-solution

b) Calculate P(X3).

Answer:

4-4-1-ib-ai-aa-sl-discrete-pd-b-we-solution

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Dan Finlay

Author: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.

Roger B

Reviewer: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.