P&S (Solex24)
P&S (Solex24)
P&S (Solex24)
Q1)
A. There are 𝟑 green and 𝟔 red balls in a box. Two balls are selected one after
another without replacing back the first ball. What is the sample space of
this experiment? Find the probability that first is green and second is red.
Calculate the same probability again if the first ball is replaced back to the
box.
Solution: we denote the green ball as 𝐺 and the red as 𝑅. Then proceeding.
The probability that the first ball is green, and the second one is red is (without
replacement):
3 6 1
𝑃(𝐺𝑅) = × = = 0.25
3+6 2+6 4
The probability that the first ball is green, and the second one is red is (with
replacement):
3 6 2
𝑃(𝐺𝑅) = × = = 0.222̅
3+6 3+6 9
B. Suppose we have two factories, Factory 𝑨𝟏 , and Factory 𝑨𝟐 , that produce
light bulbs. Factory 𝑨𝟏 produces 𝟔𝟎% of all light bulbs, while factory 𝑨𝟐
produces the remaining 𝟒𝟎%. From Factory 𝑨𝟏 , 𝟓% of light bulbs are
defective, and from Factory 𝑨₂, 𝟑% of light bulbs are defective. Let 𝑩 be the
event that a randomly selected light bulb is defective. Use total law of
probability to find 𝑷(𝑩).
Where,
Plugging in, we get the probability that a randomly selected light bulb is defective:
Q2)
Solution:
Page 2 of 6
Reasons for selecting samples instead of entire populations,
Solution:
Mean:
∑𝑛𝑖=1 𝑥𝑖
𝑥̅ =
𝑛
2+3+1+5+2+6+1+3+2+8
𝑥̅ =
10
33
𝑥̅ = = 3.3
10
1, 1, 2, 2, 2, 3, 3, 5, 6, 8
Since there are 10 values (even number), the median is the average of the 5th and
6th values.
2+3
𝑚𝑒𝑑𝑖𝑎𝑛 = = 2.5
2
Mode: the most repeated value is the mode which for the given dataset, it is:
𝑚𝑜𝑑𝑒 = 2
Page 3 of 6
Variance(𝝈𝟐 ):
∑𝑛𝑖=1(𝑥𝑖 − 𝑥̅ )2
𝜎2 =
𝑛
1.69 + 0.09 + 5.29 + 2.89 + 1.69 + 7.29 + 5.29 + 0.09 + 1.69 + 22.09 = 48.10
Then dividing by 𝒏. Note that we are using 𝒏 because we are seeing the dataset as a
population, if we were to calculate the variance of a sample. It would be divided into
𝒏 − 𝟏 parts rather than 𝒏 parts as follows:
∑𝑛𝑖=1(𝑥𝑖 − 𝑥̅ )2
𝑠2 =
𝑛−1
But since we are not dealing with a sample, the variance will be:
48.10
𝜎2 =
4.81
Page 4 of 6
Q3) Suppose that there a 𝟔𝟎 percent chance that it will rain today, 𝟓𝟎 percent
chance that it will rain tomorrow, and 𝟑𝟎 percent chance that it will not rain either
day. Draw a suitable Venn Diagram representing the event 𝑨 and 𝑩, where 𝑨 and
𝑩 represent the event that it will rain today and tomorrow, respectively. Then
answer the following questions:
2. The probability that it will rain today and tomorrow, 𝑷(𝑨 ⋂ 𝑩).
4. From the Venn diagram find the probability that it will rain today but not
tomorrow, 𝑷(𝑨 ⋂ 𝑩𝒄 ).
Solution:
Where,
Page 5 of 6
2. The probability that it will rain today and tomorrow, 𝑷(𝑨 ⋂ 𝑩)
𝑃(𝐴 ⋃ 𝐵) = 𝑃(𝐴) + 𝑃(𝐵) − 𝑃(𝐴 ⋂ 𝐵)
𝑃(𝐴 ⋂ 𝐵) = 𝑃(𝐴) + 𝑃(𝐵) − 𝑃(𝐴 ⋃ 𝐵)
𝑃(𝐴 ⋂ 𝐵) = 0.60 + 0.50 − 0.70
𝑃(𝐴 ⋂ 𝐵) = 0.40
4. From the Venn diagram find the probability that it will rain today but not
tomorrow, 𝑷(𝑨 ⋂ 𝑩𝒄 )?
We know:
𝑃(𝐴) = 𝑃(𝐴 ⋂ 𝐵) + 𝑃(𝐴 ⋂ 𝐵 𝑐 )
𝑃(𝐴 ⋂ 𝐵 𝑐 ) = 𝑃(𝐴) − 𝑃(𝐴 ⋂ 𝐵)
𝑃(𝐴 ⋂ 𝐵 𝑐 ) = 0.60 − 0.40
𝑃(𝐴 ⋂ 𝐵 𝑐 ) = 0.20
Page 6 of 6