SlideShare a Scribd company logo
Discrete Random Variables for mathematics
Discrete Random Variables
• This Chapter is on Discrete Random Variables
• We are going to learn what these are!
• Mean/ Expected value in these situations
Discrete Random Variables
Explanation of Discrete Random Variables
Discrete Random Variables are linked to Probability.
A Discrete Random Variable can be obtained by real-world measurement. For
example, rolling a dice.
They must always be numerical values. For example, you could toss a coin and say
‘how many heads?’, the answer being 1 or 0.
However you could not say ‘heads or tails’ as these are not numerical.
The possibilities can only be whole numbers (discrete). There can be others but
these are not the focus of the chapter.
Summary Discrete random variables allow us to calculate the expected
→
outcomes of events with given probabilities.
Discrete Random Variables
Notation of Discrete Random Variables
A Capital letter, such as X, will be used for the random variable, and a lower case
x for a particular value of that variable.
P(X = x) means the Probability that the Random variable is equal to a particular
value.
Rolling a Dice ‘X’
→
P(X = 5) = 1
/6
P(X > 4) = 2
/6 = 1
/3
Tossing a coin once Number of heads ‘X’
→ →
P(X = 0) = 1
/2
P(X = 1) = 1
/2
Discrete Random Variables
Discrete Random Variables
A coin is tossed 6 times and the number of heads (X) is noted. What are the
possible values of X?
→ 0, 1, 2, 3, 4, 5, 6
Which of the following are Discrete Random Variables?
→ The average height of a group of boys
→ No as height is on a continuous scale
→ The number of times a dice is rolled before a 2 appears
→ Yes, it is numerical and comes from an experiment
→ The number of months in a year
→ No as it is fixed and therefore not random
8A
Discrete Random Variables
Discrete Random Variables
You can draw up a table to show the Probability Distribution of a discrete
Random Variable. This should be something you always do first if you are not
given it in the question.
A fair dice is rolled. Show the Probability of getting any number as a Probability
Distribution.
8A
1
/6
1
/6
1
/6
1
/6
1
/6
1
/6
P(X = x)
6
5
4
3
2
1
x
→ P(X = x) = 1
/6 for x = 1, 2, 3, 4, 5, 6
This is the Probability
Function. It summarises
the data in the table.
Discrete Random Variables
Discrete Random Variables
Three fair coins are tossed. The number of
heads is counted.
a) Draw the sample space for this experiment.
→ This shows all possibilities
b) Show this as a Probability Distribution
→ The table summarises the Probabilities
H
H H
H
H
H
T
T H
T
H T
H
T
T
H
H T
T
T
T
H
T T
a)
b)
1
/8
3
/8
3
/8
1
/8
P(X = x)
3
2
1
0
No. Heads, x
These
Probabilities
will always
add up to 1
Discrete Random Variables
Discrete Random Variables
You will need to be able to calculate missing
values, based on the Probabilities adding up to
1.
a) Find the value of k in the table opposite
b) Complete the missing values in the table,
based on the value of k.
8A
3k
0.2
0.1
k
0.2
P(X = x)
5
4
3
2
1
x
0.2 + k + 0.1 + 0.2 + 3k = 1
4k + 0.5 = 1
4k = 0.5
k = 0.125
Group
together
like terms
- 0.5
÷ 4
0.375
0.2
0.1
0.125
0.2
P(X = x)
5
4
3
2
1
x
Discrete Random Variables
Discrete Random Variables
You will need to be able to calculate
missing values, based on the
Probabilities adding up to 1.
A tetrahedral (4 sided) dice is
numbered 1, 2, 3 and 4.
The probability of it landing on a given
side is k
/x, where k is constant.
a) Draw the Probability Distribution of
P(X = x), in terms of k.
b) Calculate the value of k
8A
k
/4
k
/3
k
/2
k
/1
P(X = x)
4
3
2
1
x
Make the
denominator
s equal
Now you can
group them
x 12
÷ 25
Discrete Random Variables
Discrete Random Variables
You will need to be able to calculate missing
values, based on the Probabilities adding up
to 1.
A tetrahedral (4 sided) dice is numbered 1, 2,
3 and 4.
The probability of it landing on a given side is
k
/x, where k is constant.
a) Draw the Probability Distribution of P(X =
x), in terms of k.
b) Calculate the value of k
c) Draw the finished Probability Distribution
8A
k
/4
k
/3
k
/2
k
/1
P(X = x)
4
3
2
1
x
3
/25
4
/25
6
/25
12
/25
P(X = x)
4
3
2
1
x
Half of
12
/25
12
/25 ÷ 312
/25 ÷ 4
Discrete Random Variables
Probability of multiple values
A discrete random variable X has the
Probability Distribution to the right
Calculate:
a)
b)
c)
d)
8B
x 1 2 3 4 5 6
P(X = x) 0.1 0.2 0.3 0.25 0.1 0.05
‘Probability X is bigger
than 1 and less than 5’
‘Probability X is bigger
than or equal to 2 and
less than or equal to 4’
‘Probability X is bigger
than 3 and less than or
equal to 6’
‘Probability X is less
than 3’
Discrete Random Variables
Probability of multiple values
Two fair coins are tossed. X is the
number of heads showing on the coins.
Draw up a sample space and then a
Probability Distribution table.
HH HT TH TT
0.25
0.5
0.25
P(X = x)
2
1
0
No.
heads, x
The Possibilities
Discrete Random Variables
Calculating the Expected value
The theoretical mean, μ, of a discrete random variable X is found by multiplying
each possible value of X by its probability, and then adding these products
together:
The expected value is not necessarily a value which is possible
It is effectively the mean of the distribution (this will become clearer as we do
some questions)
Notation
‘The sum of (x multiplied by
the probability of x)’
‘The expected value of x’
𝐸(𝑋)=∑
𝑖
𝑥𝑖 ×P(𝑋=𝑥𝑖)=∑
𝑖
𝑥𝑖 𝑝𝑖
Example: The probability distribution of a random variable X is:
x –2 –1 0 1
P(X = x) 0.2 0.2 0.2 0.4
E[X] = (–2 × 0.2) + (–1 × 0.2) + (0 × 0.2) + (1 × 0.4) = –0.2
Discrete Random Variables
The random variable X has the
following probability
distribution.
a) Given that E(X) = 3, write
down 2 equations involving p
and q.
x 1 2 3 4 5
p(x) 0.1 p 0.3 q 0.2
All the probabilities
add up to 1
Group
together the
numbers
Subtract 0.6
8C
Discrete Random Variables
The random variable X has the
following probability
distribution.
a) Given that E(X) = 3, write
down 2 equations involving p
and q.
x 1 2 3 4 5
p(x) 0.1 p 0.3 q 0.2
Work out
each
bracket
Group
numbers
Subtract 2
8C
Discrete Random Variables
The random variable X has the
following probability
distribution.
a) Given that E(X) = 3, write
down 2 equations involving p
and q.
b) Use your equations to find
the values of p and q.
0.2
q
0.3
p
0.1
p(x)
5
4
3
2
1
x
1
2
3
4
x 2
3
4 -
0.3 0.1
8C
Discrete Random Variables
Discrete Random Variables
Discrete Random Variables

More Related Content

PDF
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
PPTX
Statistics and Probability-Random Variables and Probability Distribution
PPTX
Qt random variables notes
PPTX
Random Variables and Probability Distributions
PDF
MATH11-SP-Q3-M1-pdf.pdf
PPTX
Unit 2 – Probability Distributions (1).pptx
PPTX
Probability Distribution
PPTX
2 DISCRETE PROBABILITY DISTRIBUTION.pptx
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
Statistics and Probability-Random Variables and Probability Distribution
Qt random variables notes
Random Variables and Probability Distributions
MATH11-SP-Q3-M1-pdf.pdf
Unit 2 – Probability Distributions (1).pptx
Probability Distribution
2 DISCRETE PROBABILITY DISTRIBUTION.pptx

Similar to Discrete Random Variables for mathematics (20)

PDF
STAT-WEEK-1-2.pdfAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
PPTX
Quantitative Techniques random variables
PPTX
GROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt ppt
PPTX
Stat.pptx
PPT
random variation 9473 by jaideep.ppt
PDF
Discrete probability distribution (complete)
PPTX
MODULE 1 Third Quarter in Statistics.pptx
PPTX
Discussion about random variable ad its characterization
PPTX
MODULE 1: Random Variables and Probability Distributions Quarter 3 Statistics...
PPTX
ISM_Session_5 _ 23rd and 24th December.pptx
PPTX
Unit2.Lesson1.pptx
PPT
Probability 4.1
PPT
Probability 4
PPTX
Understanding statistics 2#1 Random Variation and Discrete Probability Distri...
PPTX
Prob distribution.pptx
PPTX
Prob distribution.pptx
PPTX
Binomial distribution
PPTX
discrete probability distribution lesson.pptx
PPTX
probability distribution term 1 IMI .pptx
PPTX
DISCRETE PROBABILITY DISTRIBUTION IB AI HL
STAT-WEEK-1-2.pdfAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Quantitative Techniques random variables
GROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt ppt
Stat.pptx
random variation 9473 by jaideep.ppt
Discrete probability distribution (complete)
MODULE 1 Third Quarter in Statistics.pptx
Discussion about random variable ad its characterization
MODULE 1: Random Variables and Probability Distributions Quarter 3 Statistics...
ISM_Session_5 _ 23rd and 24th December.pptx
Unit2.Lesson1.pptx
Probability 4.1
Probability 4
Understanding statistics 2#1 Random Variation and Discrete Probability Distri...
Prob distribution.pptx
Prob distribution.pptx
Binomial distribution
discrete probability distribution lesson.pptx
probability distribution term 1 IMI .pptx
DISCRETE PROBABILITY DISTRIBUTION IB AI HL
Ad

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Presentation on HIE in infants and its manifestations
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Cell Structure & Organelles in detailed.
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Lesson notes of climatology university.
PPTX
GDM (1) (1).pptx small presentation for students
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Classroom Observation Tools for Teachers
102 student loan defaulters named and shamed – Is someone you know on the list?
Presentation on HIE in infants and its manifestations
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
01-Introduction-to-Information-Management.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Cell Structure & Organelles in detailed.
Final Presentation General Medicine 03-08-2024.pptx
Lesson notes of climatology university.
GDM (1) (1).pptx small presentation for students
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
FourierSeries-QuestionsWithAnswers(Part-A).pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Classroom Observation Tools for Teachers
Ad

Discrete Random Variables for mathematics

  • 2. Discrete Random Variables • This Chapter is on Discrete Random Variables • We are going to learn what these are! • Mean/ Expected value in these situations
  • 3. Discrete Random Variables Explanation of Discrete Random Variables Discrete Random Variables are linked to Probability. A Discrete Random Variable can be obtained by real-world measurement. For example, rolling a dice. They must always be numerical values. For example, you could toss a coin and say ‘how many heads?’, the answer being 1 or 0. However you could not say ‘heads or tails’ as these are not numerical. The possibilities can only be whole numbers (discrete). There can be others but these are not the focus of the chapter. Summary Discrete random variables allow us to calculate the expected → outcomes of events with given probabilities.
  • 4. Discrete Random Variables Notation of Discrete Random Variables A Capital letter, such as X, will be used for the random variable, and a lower case x for a particular value of that variable. P(X = x) means the Probability that the Random variable is equal to a particular value. Rolling a Dice ‘X’ → P(X = 5) = 1 /6 P(X > 4) = 2 /6 = 1 /3 Tossing a coin once Number of heads ‘X’ → → P(X = 0) = 1 /2 P(X = 1) = 1 /2
  • 5. Discrete Random Variables Discrete Random Variables A coin is tossed 6 times and the number of heads (X) is noted. What are the possible values of X? → 0, 1, 2, 3, 4, 5, 6 Which of the following are Discrete Random Variables? → The average height of a group of boys → No as height is on a continuous scale → The number of times a dice is rolled before a 2 appears → Yes, it is numerical and comes from an experiment → The number of months in a year → No as it is fixed and therefore not random 8A
  • 6. Discrete Random Variables Discrete Random Variables You can draw up a table to show the Probability Distribution of a discrete Random Variable. This should be something you always do first if you are not given it in the question. A fair dice is rolled. Show the Probability of getting any number as a Probability Distribution. 8A 1 /6 1 /6 1 /6 1 /6 1 /6 1 /6 P(X = x) 6 5 4 3 2 1 x → P(X = x) = 1 /6 for x = 1, 2, 3, 4, 5, 6 This is the Probability Function. It summarises the data in the table.
  • 7. Discrete Random Variables Discrete Random Variables Three fair coins are tossed. The number of heads is counted. a) Draw the sample space for this experiment. → This shows all possibilities b) Show this as a Probability Distribution → The table summarises the Probabilities H H H H H H T T H T H T H T T H H T T T T H T T a) b) 1 /8 3 /8 3 /8 1 /8 P(X = x) 3 2 1 0 No. Heads, x These Probabilities will always add up to 1
  • 8. Discrete Random Variables Discrete Random Variables You will need to be able to calculate missing values, based on the Probabilities adding up to 1. a) Find the value of k in the table opposite b) Complete the missing values in the table, based on the value of k. 8A 3k 0.2 0.1 k 0.2 P(X = x) 5 4 3 2 1 x 0.2 + k + 0.1 + 0.2 + 3k = 1 4k + 0.5 = 1 4k = 0.5 k = 0.125 Group together like terms - 0.5 ÷ 4 0.375 0.2 0.1 0.125 0.2 P(X = x) 5 4 3 2 1 x
  • 9. Discrete Random Variables Discrete Random Variables You will need to be able to calculate missing values, based on the Probabilities adding up to 1. A tetrahedral (4 sided) dice is numbered 1, 2, 3 and 4. The probability of it landing on a given side is k /x, where k is constant. a) Draw the Probability Distribution of P(X = x), in terms of k. b) Calculate the value of k 8A k /4 k /3 k /2 k /1 P(X = x) 4 3 2 1 x Make the denominator s equal Now you can group them x 12 ÷ 25
  • 10. Discrete Random Variables Discrete Random Variables You will need to be able to calculate missing values, based on the Probabilities adding up to 1. A tetrahedral (4 sided) dice is numbered 1, 2, 3 and 4. The probability of it landing on a given side is k /x, where k is constant. a) Draw the Probability Distribution of P(X = x), in terms of k. b) Calculate the value of k c) Draw the finished Probability Distribution 8A k /4 k /3 k /2 k /1 P(X = x) 4 3 2 1 x 3 /25 4 /25 6 /25 12 /25 P(X = x) 4 3 2 1 x Half of 12 /25 12 /25 ÷ 312 /25 ÷ 4
  • 11. Discrete Random Variables Probability of multiple values A discrete random variable X has the Probability Distribution to the right Calculate: a) b) c) d) 8B x 1 2 3 4 5 6 P(X = x) 0.1 0.2 0.3 0.25 0.1 0.05 ‘Probability X is bigger than 1 and less than 5’ ‘Probability X is bigger than or equal to 2 and less than or equal to 4’ ‘Probability X is bigger than 3 and less than or equal to 6’ ‘Probability X is less than 3’
  • 12. Discrete Random Variables Probability of multiple values Two fair coins are tossed. X is the number of heads showing on the coins. Draw up a sample space and then a Probability Distribution table. HH HT TH TT 0.25 0.5 0.25 P(X = x) 2 1 0 No. heads, x The Possibilities
  • 13. Discrete Random Variables Calculating the Expected value The theoretical mean, μ, of a discrete random variable X is found by multiplying each possible value of X by its probability, and then adding these products together: The expected value is not necessarily a value which is possible It is effectively the mean of the distribution (this will become clearer as we do some questions) Notation ‘The sum of (x multiplied by the probability of x)’ ‘The expected value of x’ 𝐸(𝑋)=∑ 𝑖 𝑥𝑖 ×P(𝑋=𝑥𝑖)=∑ 𝑖 𝑥𝑖 𝑝𝑖
  • 14. Example: The probability distribution of a random variable X is: x –2 –1 0 1 P(X = x) 0.2 0.2 0.2 0.4 E[X] = (–2 × 0.2) + (–1 × 0.2) + (0 × 0.2) + (1 × 0.4) = –0.2
  • 15. Discrete Random Variables The random variable X has the following probability distribution. a) Given that E(X) = 3, write down 2 equations involving p and q. x 1 2 3 4 5 p(x) 0.1 p 0.3 q 0.2 All the probabilities add up to 1 Group together the numbers Subtract 0.6 8C
  • 16. Discrete Random Variables The random variable X has the following probability distribution. a) Given that E(X) = 3, write down 2 equations involving p and q. x 1 2 3 4 5 p(x) 0.1 p 0.3 q 0.2 Work out each bracket Group numbers Subtract 2 8C
  • 17. Discrete Random Variables The random variable X has the following probability distribution. a) Given that E(X) = 3, write down 2 equations involving p and q. b) Use your equations to find the values of p and q. 0.2 q 0.3 p 0.1 p(x) 5 4 3 2 1 x 1 2 3 4 x 2 3 4 - 0.3 0.1 8C