Pusat Pengajian: Pra-Universiti
Pusat Pengajian: Pra-Universiti
Pusat Pengajian: Pra-Universiti
PRA-UNIVERSITI
UNIMAS
PRT1034 PREPARATORY MATHEMATICS
SEMESTER 1 SESSION 2024-2025
LU8 PROBABILTY DISTRIBUTION
INDICES, SURDS & LOGARITHMS
✓ Find the mean, variance, and standard deviation for a probability distribution
What is random
variable???
• A tree diagram can be used to show all the possible outcomes of a discrete random
variable.
Types of Random Variables
Discrete Random Variable Continuous Random Variable
Random variables that have countable Random variables that are not integers
numbers of values, usually taking but take values that lie in an interval.
values like zero and positive integers
The random variable, X, represents the number of heads obtained in the two
tosses. List all the possible outcomes of X in the form of set notation.
Answer:
What if the process is repeated three times?
Answer:
Example 3
Determine whether the event is a discrete random variable or a continuous random
variable. Give your reasons. Hence, represent the random variable in set notation.
a) A fair dice is thrown three times, given X is a random variable which represents the
number of times to get the number 4.
Answer:
b) 𝑋 is a random variable which represents the time taken by a pupil to wait for his
bus at a bus stop. The range of time taken by the pupil is between 5 to 55 minutes.
Answer:
Exercise 1
Determine whether the event is a discrete random variable or a continuous random
variable. Give your reasons. Hence, represent the random variable in set notation.
b) The random variable, 𝑋, represents the number of times getting the number ’5’ when
a dices is tossed 10 times
Answer:
8.2
Probability Distribution for Discrete
Random Variables
(tree diagram, prob. table, prob graph)
Probability
What is
probability???
Answer:
𝑆𝑎𝑚𝑝𝑙𝑒 𝑠𝑝𝑎𝑐𝑒, 𝑆 = {𝐻𝐻𝐻, 𝐻𝐻𝑇, 𝐻𝑇𝐻, 𝐻𝑇𝑇, 𝑇𝐻𝐻, 𝑇𝐻𝑇, 𝑇𝑇𝐻, 𝑇𝑇𝑇}
H
𝑛(𝑆) = 8 Probability of getting 2 heads; H
T
H
𝑛(𝐴) H
𝑃 𝐴 = T
Let A be the event of getting 2 𝑛(𝑆) T
head. 3 H
𝑃 𝐴 = H
𝐸𝑣𝑒𝑛𝑡 𝐴 = {𝐻𝐻𝑇, 𝐻𝑇𝐻, 𝑇𝐻𝐻} 8 T
T
𝑛(𝐴) = 3 H
T
T
Probability Distribution for Discrete
Random Variables
▪ Let X be a discrete random variable. If we list all possible values of X together with
the corresponding probabilities, then we have a probability distribution of X.
DEFINITION
If 𝑋 is a discrete random variable with the values 𝑟1 , 𝑟2 , 𝑟3 , … , 𝑟𝑛 and their respective
probabilities are 𝑃 𝑋 = 𝑟1 , 𝑃 𝑋 = 𝑟2 , 𝑃 𝑋 = 𝑟3 , … , 𝑃 𝑋 = 𝑟𝑛 , then
0≤𝑃 𝑋=𝑟 ≤1
𝑃(𝑋 = 𝑟𝑖 ) = 1
𝑖=1
c) List the probability distribution for all the possible values of X in a table.
Answer:
Example 6
A fair coin is tossed 3 times continuously. X represents the number of times a head
appears.
a) Draw a tree diagram to show all the possible outcomes. Hence, list all the
possible values of X.
Find
a) 𝑃 𝑋>1 c) 𝑃 𝑋 ≥ 1
b) 𝑃 0<𝑋<3 d) 𝑃 𝑋 ≤ 2
Answer:
Exercise 3
X is a random discrete variable with the following probability distribution
𝑿=𝒓 2 4 6 8
𝑷(𝑿 = 𝒓) 0.14 0.21 𝑝 0.27
Find
a) The value of 𝑝
b) 𝑃 𝑋 ≤ 6
c) 𝑃 2 ≤ 𝑋 ≤ 6
d) 𝑃 𝑋 > 4
Ans:
a) 𝑝 = 0.38 b) 0.73 c) 0.73 d) 0.65
8.3
Binomial Distribution
Bernoulli Trial
Consider the following situations:
When a fair coin is tossed once, the outcome is either a head or a tail.
If the outcome of getting a head is regarded as a ‘success’, then the outcome of getting a
tail will be regarded as a ‘failure’.
When the Bernoulli trial is repeated 𝑛 times independently, the experiment is called a
Binomial Experiment.
Binomial Distribution
▪ If the probability of ‘success’ is given by 𝒑, then the probability of ‘failure’ is
given by 𝒒 = (𝟏 – 𝒑) where 𝟎 < 𝒑 < 𝟏.
▪ If 𝑿 is the discrete random variable that shows the number of success in the
Binomial experiment, then X is said to have a Binomial distribution with the
notation X ~ B(n, p)
For X ~ B(n, p), the probability of getting r success from n trials is given by
𝒏
𝑷 𝑿=𝒓 = 𝑪𝒓 𝒑𝒓 𝒒𝒏−𝒓 , 𝒓 = 𝟎, 𝟏, 𝟐, … . , 𝒏
Answer:
Example 9
Draw a graph for the following binomial distribution:
𝑃 𝑋 = 𝑟 = 4 𝐶𝑛 𝑝𝑟 𝑞4−𝑟 , 𝑟 = 0, 1, 2, 3, 4, where 𝑝 = 1/4
Answer:
Exercise 4
The random variable, X has the binomial distribution 𝑋~𝐵(5,0.25). Find the following
probabilities:
a) 𝑃 𝑋=2
b) 𝑃 𝑋≤3
c) 𝑃 𝑋>4
d) 𝑃 𝑋≥3
Answer:
a) 0.2637 b) 0.9844 c) 0.00097 d) 0.1035
Example 11
Miss Aishah found that 90% of the students who took Preparatory Mathematics passed
in the mid-semester examination. If 30 students are chosen at random, find the
probability that not more than 2 students failed the Additional Mathematics.
Answer:
Exercise 5
A fair coin is tossed 5 times continuously. What is the probability of getting
then the expected value or mean, the variance and the standard deviation can be found
as below;
Expected value or Mean, 𝝁 = 𝒏𝒑
Variance, 𝝈𝟐 = 𝒏𝒑𝒒
a) the mean
b) the variance
c) standard deviation
Answer:
Example 13
There are 6000 families in a district. It is found that two out of three families have a
computer at home. Find the mean and the standard deviation for the number of
families having a computer at home.
Answer:
Exercise 6
The random variable, X has the binomial distribution 𝑋~𝐵(9, 1/6). Find
a) the mean
b) the variance
c) standard deviation
Answer:
a) 1.5 b) 1.25 c) 1.118
Exercise 7
2% of the electric components made by manufacturing factory are defective. If a sample
of 20 electric components are chosen, find the number of components expected to be
defective and calculate the standard deviation.
Answer:
𝜇 = 0.4, 𝜎 = 0.6261
8.4
Normal Distribution
Normal Distribution
▪ A normal distribution is a probability function of a continuous random variable.
▪ If a random variable has a binomial distribution B(𝑛, 𝑝) and when 𝑛 is large (𝑛 > 30),
the random variable, X, will follow a normal distribution.
Characteristic of Normal Distribution
Function Graph
The graph function for a normal distribution has the
following characteristic:
The area under the graph for X from a to b represents the probability of X
occurring for the value of X from a to b and is written as:
𝑃(𝑎 < 𝑋 < 𝑏) = 𝑃(𝑎 ≤ 𝑋 ≤ 𝑏)
Example 14
The diagram on the right shows a normal distribution function graph which is
symmetrical at 𝑋 = 35.
(c) If the probability of the shaded region is 0.64, find 𝑃(𝑋 < 28).
Exercise 8
The diagram shows a normal distribution graph of a continuous random variable, X.
42 52 62
i. 𝑃 𝑋 > 62
𝑿−𝝁
𝒁 = , 𝒘𝒉𝒆𝒓𝒆 𝒁 ~ 𝑵(𝟎, 𝟏)
𝝈
where
𝑍 = continuous random variable called the z−score for the standard normal distribution
𝑋 = continuous random variable of the original normal distribution
𝜇 = mean of the original normal distribution
𝜎 = standard deviation of the original normal distribution
Example 16
A continuous random variable X is normally distributed with a mean of 30 and a
standard deviation of 8. Find the z-score for 𝑋 = 42.
Answer:
Example 17
The heights of buildings in Kampung Pekan are normally distributed with a mean of
23 𝑚 and a variance of 25 𝑚2 . Find the height of the building if the standard score is
0.213.
Answer:
Exercise 9
A continuous random variable X is normally distributed with a mean of 10 and a
standard deviation of 3. Find the z-score for eqach of the following
a) 𝑋 = 12
b) 𝑋 = 8.5
▪ The diagram below shows the relation between the normal distribution graph and the
standard normal distribution graph.
Standardised
Standard Normal Distribution
Table
▪ The probability of z-score for a standard normal distribution, such as 𝑃(𝑍 > 𝑧) can be
determined by using the standard normal distribution table.
▪ The diagram below shows a part of the standard normal distribution table.
Value of z
𝑃(𝑍 > 𝑧)
𝑧
Standard Normal Distribution
Table
▪ Note that for each value of 𝑍 = 𝑧 , it gives 𝑷(𝒁 > 𝒛) = 𝑷(𝒁 < −𝒛) because the
standard normal distribution is symmetrical at 𝑍 = 0.
−𝑧 𝑧
a) 𝑃(𝑍 ≥ 0.2)
b) 𝑃(−0.3 ≤ 𝑍 ≤ 0.3)
a) 𝑃(𝑋 ≥ 190)
b) 𝑃 𝑋 < 215
Ans:
a) 0.9525 b) 0.9938 c) 0.9839 d) 0.1915
Working Backwards with the
Standard Normal Table
Finding the value of z when given the probability
Step 1: Draw the bell curve to find the position and determine whether the value is on
the right or left of the curve
Step 2: Find the equivalent probability on the right hand tail to obtain
𝑃(𝑍 > 𝑧) = 𝑐 where 𝑐 ≤ 0.5
Step 3: Look inside the body of the table for a proportion close to the probability
Step 4: From the standard normal table, obtain the value of z and second decimal of z
Example 20
Find the z –score of each of the following.
a) 𝑃 𝑍 > 𝑧 = 0.3594
a) 𝑃 (𝑋 < 𝑘) = 0.40
b) 𝑃 (𝑋 > 𝑘) = 0.35
c) 𝑃 (𝑋 < 𝑘) = 0.75
d) 𝑃 (𝑋 > 𝑘 = 0.95
Exercise 12
If 𝑋~𝑁(100,36), the value of 𝑘 in each of the following
a) 𝑃 (𝑋 > 𝑘) = 0.78
b) 𝑃 (𝑋 > 𝑘) = 0.225
Ans:
a) 95.38 b) 104.5 c) 102.88
Example 21
(Finding the values of 𝝁 and 𝝈)
The masses of durian in basket have a normal distribution with mean 𝜇 and standard
deviation 𝜎. 6% of the durian have masses exceeding 1531g and 15% of the durian have
masses less than 1479g.