Discrete & Continuous random variables
Page 1 of 9
A. Measures of centre and Measures of spread
Universal formula
Discrete random variable
𝑬(𝒙)
∑ 𝒙 × 𝒑(𝒙)
Continuous random variable
𝒃
∫ 𝒙 × 𝒇(𝒙) × 𝒅𝒙
𝒂
𝑽𝒂𝒓(𝒙)
𝑬(𝒙 − 𝝁)𝟐 = 𝑬(𝒙𝟐 ) − 𝝁𝟐
𝒃
∫ 𝒙𝟐 × 𝒇(𝒙) × 𝒅𝒙 − 𝝁𝟐
𝒂
𝒔𝒅(𝒙)
√𝑽𝒂𝒓(𝒙)
√𝑽𝒂𝒓(𝒙)
Special formula
Binomial distribution - discrete random variable
𝑬(𝒙) = 𝒏𝒑
𝑽𝒂𝒓(𝒙) = 𝒏𝒑(𝟏 − 𝒑)
𝒔𝒅(𝒙) = √𝒏𝒑(𝟏 − 𝒑)
B. Discrete random variable
B-1 Discrete random variable – General distributions
Question: A fair die has faces numbered 1,1,3,3,3 and 8, The random variable X
represents the score when the die is rolled.
a. Construct a probability distribution table for X
b. Construct a probability distribution chart for X
c. Find the measures of centre and the measures of spread of this distribution.
William’s Maths Tuition
Discrete & Continuous random variables
Page 2 of 9
B-2 Discrete random variable – Hypergeometric distribution
Question: An urn contains 3 red balls and 5 green balls. 2 balls are chosen randomly
without replacement. X represents the number of red balls selected.
a. Constrict a probability distribution table for X
b. Construct a probability distribution chart for X
c. Find the measures of centre and the measures of spread of this distribution.
William’s Maths Tuition
Discrete & Continuous random variables
Page 3 of 9
B-3 Discrete random variable – Bernoulli distribution
Question: An urn contains 3 red balls and 5 green balls. One ball is chosen randomly.
X represents the number of red balls chosen.
a. Constrict a probability distribution table for X
b. Construct a probability distribution chart for X
c. Find the measures of centre and the measures of spread of this distribution.
William’s Maths Tuition
Discrete & Continuous random variables
Page 4 of 9
B-4 Discrete random variable – Binomial distribution
Question: An urn contains 3 red balls and 5 green balls. Two balls are chosen
randomly with replacement. X represents the number of red balls selected. Constrict a
probability distribution table for X
a. Find the measures of centre and the measures of spread of this distribution.
b. Construct a probability distribution chart for X
c. Find the measures of centre and the measures of spread of this distribution.
William’s Maths Tuition
Discrete & Continuous random variables
Page 5 of 9
C. Continuous random variable
C-1 Continuous random variable
Question:
Find the measures of centre and the measures of spread of this distribution.
𝟑 𝟐
𝒙 ,
𝒊𝒇 𝟎 ≤ 𝒙 ≤ 𝟏
𝒇(𝒙) = { 𝟐
𝟎 , 𝒊𝒇 𝒙 < 𝟎 𝒐𝒕 𝒙 > 𝟎
0.6
𝑃𝑟(0.3 < 𝑋 < 0.6) = ∫ 𝑓(𝑥)𝑑𝑥
0.3
William’s Maths Tuition
Discrete & Continuous random variables
Page 6 of 9
C-2 Continuous random variable – Hybrid distribution
Question:
Find the measures of centre and the measures of spread of this distribution.
𝟏
𝒙,
𝒊𝒇 𝟎 ≤ 𝒙 ≤ 𝟏
𝟐𝟑
𝟕
𝒇(𝒙) = −𝟏
𝒙+
,
𝒊𝒇 𝟏 < 𝒙 ≤ 𝟕
𝟓
𝟏𝟓
𝒊𝒇 𝒙 < 𝟎 𝒐𝒕 𝒙 > 𝟕
{𝟎 ,
4
𝑃𝑟(2 < 𝑋 < 4) = ∫ 𝑓(𝑥)𝑑𝑥
2
William’s Maths Tuition
Discrete & Continuous random variables
Page 7 of 9
C-3 Continuous random variable – Uniform distribution
Question:
Find the measures of centre and the measures of spread of this distribution.
𝟏 𝟐
𝒙 ,
𝒊𝒇 𝟐 ≤ 𝒙 ≤ 𝟓
𝒇(𝒙) = { 𝟑
𝟎 , 𝒊𝒇 𝒙 < 𝟐 𝒐𝒕 𝒙 > 𝟓
3.5
𝑃𝑟(3 < 𝑋 < 3.5) = ∫ 𝑓(𝑥)𝑑𝑥
3
William’s Maths Tuition
Discrete & Continuous random variables
Page 8 of 9
C-4 Continuous random variable – Exponential distribution
Question:
Find the measures of centre and the measures of spread of this distribution.
𝒇(𝒙) = {𝟑𝒆
𝟎,
−𝟑𝒙 𝟐
,
𝒊𝒇 𝒙 ≥ 𝟎
𝒊𝒇 𝒙 < 𝟎
4
𝑃𝑟(2 < 𝑋 < 4) = ∫ 𝑓(𝑥)𝑑𝑥
2
William’s Maths Tuition
Discrete & Continuous random variables
Page 9 of 9
C-5 Continuous random variable – Normal distribution
𝒇(𝒙) =
𝟏
√𝟐𝝅
𝟏
𝟏 𝟐
× 𝒆− 𝟐 𝒙
𝟏 𝒙−𝟑 𝟐
𝒇(𝒙) = 𝟓√𝟐𝝅 × 𝒆−𝟐( 𝟓 )
=> 𝝁 = 𝟎, 𝝈 = 𝟏
=> 𝝁 = 𝟑, 𝝈 = 𝟓
William’s Maths Tuition