Probability- question
Probability- question
Sample Space : The set of all possible outcomes of an experiment is called sample space and it’s
denoted by S.
S={ } 𝑛(𝑆) =
e.g. When rolling the die, A : number will be even B: number will be odd prime
Types of Event:
Mutually Exclusive Events: Mutually Exclusive means we can’t get both the Events at the same
time.
If A and B are the two events are said to be Mutually Exclusive if 𝐴∩𝐵=∅.
e.g. Rolling die, A : number will be even B: number will be odd prime
Dependent Events : Events are dependent if events may be affected by other events.
e.g. If temperature and humidity are checked in the same room, then depending on the
temperature.
Independent Events: Events are independent if each events not affected by other events.
e.g. By rolling a die twice, the results are independent.
Complementary Event: A complementary event of A is another event which realized when A is
not realized and it’s denoted by 𝐴̅
𝐴̅ : 𝐴̅ = { }
1
Probability of Event:
If S is a sample space and A is an event of S then probability of A is given by
𝑛(𝐴) 𝑁𝑜.𝑜𝑓 𝑒𝑙𝑒𝑚𝑒𝑛𝑡𝑠 𝑖𝑛 𝐴
P(A) = =
𝑛(𝑠) 𝑁𝑜.𝑜𝑓 𝑒𝑙𝑒𝑚𝑒𝑛𝑡𝑠 𝑖𝑛 𝑆
Standard Properties:
3. P( A̅ ) = 1 − P(A)
4. De morgan’s Law :
P( ̅̅̅̅̅̅̅̅
A ∪ B ) = P( A̅ ∩ B
̅) & P( ̅̅̅̅̅̅̅̅
A ∩ B ) = P( A̅ ∪ B
̅)
5. Laws of Probability :
1. If A and B are two events such that P(A) =0.3, P(B)=0.4 and 𝑃(𝐴 ∩ 𝐵) = 0.2 then find
𝑃(𝐴 ∪ 𝐵), 𝑃(𝐴̅ ∪ 𝐵̅ ), P( A̅ ∩ B
̅)
Solution:
𝑃(𝐴 ∪ 𝐵) =
𝑃(𝐴̅ ∪ 𝐵̅ ) =
P( A̅ ∩ B
̅) =
2
Conditional Probability:
Let A & B are two events in a sample space S. The probability that A will occurs, given that B has
already occurred is called conditional probability of B on A and it’s denoted by 𝑃(𝐴⁄𝐵) is given by
𝑃(𝐴 ∩ 𝐵)
𝑃(𝐴⁄𝐵) =
𝑃(𝐵)
Multiplication theorem:
∴ 𝐴𝑖 ∩ 𝐴𝑗 = 𝜙 for 𝑖 ≠ 𝑗
∴ 𝐴1 ∪ 𝐴2 ∪ ⋯ ∪ 𝐴𝑛 = 𝑆
Let B be an event of S
Baye’s theorem
Let events 𝐴1 , 𝐴2 , ⋯ , 𝐴𝑛 be partition of sample space S
1. If A and B are two events such that P(A) =0.3 P(B)=0.4 and 𝑃(𝐴 ∩ 𝐵) = 0.2 then Find 𝑃(𝐴⁄𝐵 ),
𝑃(𝐴̅⁄𝐵 ), 𝑃(𝐴̅⁄𝐵̅ ).
2. A bag contains two dice, one of which is regular and fair and the other is false with number 6 on
all its faces. A dice was drawn from the bag and tossed. It gave 6. What is the probability that the
dice obtained was the false one?
3. A card is drawn from a pack of cards. If a person who speaks truth 3 times out of 5 sees the card and
states it is an ace, what is the probability that it is truly an ace?
4. There are three boxes A, B and C. The probability of getting a white ball from the box A is 1/3, from
the box B is 2/3 and from the box C is ¾. A box is chosen at random and three balls are drawn from
it (without replacement) and it was found that two of them were white. What is the probability that
the box B as chosen?
5. In a bolt factory, machines A, B, C produce 25%, 35%, 40% of the total output and 5%, 4% and
2% of the output is defective respectively. A bolt is drawn at random and is found to be defective.
Find the probability of defective bolts.What is the probability that it was produced on machines
A,B and C.
3
Random Variable:
Let 𝐸 be an experiment & 𝑆 be sample space associated with it. A function 𝑋 assigning to every
elements 𝑥 of 𝑆 one and only one real number is called a Random variable.
Probability Distribution:
If 𝑥𝑖 is the values of X and 𝑃(𝑥𝑖 ) is the probability of 𝑥𝑖 then the set of pairs { (𝑥𝑖 ), 𝑃(𝑥𝑖 ) } is
called probability distribution.
Foreach 𝑥𝑖 assign probability 𝑃(𝑥𝑖 ) = 𝑃(𝑋 = 𝑥𝑖 ) = 𝑝𝑖 then 𝑃(𝑥𝑖 ) is called probability mass
function if it is satisfies :
i) 𝑃(𝑥𝑖 ) ≥ 0, ∀𝑥𝑖
ii) ∑ 𝑃(𝑥𝑖 ) = 1
Properties of CDF:
1. 0 ≤ 𝐹(𝑥𝑖 ) ≤ 1
2. 𝑃(𝑥𝑖 ) = 𝐹(𝑥𝑖 ) − 𝐹(𝑥𝑖−1 )
4
Problems:
1. Verify whether the following functions can be considered as p.m.f.
x2 − 2
(i) P(X=x) = , x=1,2,3
8
x2 +1
(ii) P(X=x) = , x=0,1,2,3
18
3. If X1 has mean 5 and variance 5, X2 has mean -2 and variance 3, and if X1, X2 are independent,
find: E(X1 + X2), V(X1 + X2), E(X1 - X2), V(X1 - X2), E(2X1 + 3X2 -5), V(2X1 + 3X2 -5)
X 0 1 2 3 4 5 6
Find P(X < 4), P(3 < X 6), expectation and Variance of X
𝑋 0 1 2 3 4 5 6 7
𝑃(𝑥 = 𝑥) 0 𝑐 2𝑐 2𝑐 3𝑐 𝑐2 2𝑐 2 2
7𝑐 + 𝑐
X -3 -2 -1 0 1 2 3
7. A random variable takes values 1,2,3,4 such that 2P(X=1) = 3P(X=2) = P(X=3) = 5P(X=4)
8. Two urns contain respectively 5 white and 3 black balls; 2 white and 3 black balls. One ball is
drawn from each urn. Find the expected number and variance of white balls drawn.
5
CONTINOUS ONE DIMENSIONAL RANDOM VARIABLE
• 𝑓(𝑥) ≥ 0 ∀𝑥
∞
• ∫−∞ 𝑓(𝑥) 𝑑𝑥 = 1
• 𝑓(𝑥) ≥ 0 ∀𝑥 ∈ [𝑎, 𝑏]
𝑏
• ∫𝑎 𝑓(𝑥) 𝑑𝑥 = 1
𝛽
Probability that 𝛼 ≤ 𝑋 ≤ 𝛽 is given by 𝑃(𝛼 ≤ 𝑋 ≤ 𝛽) = ∫𝛼 𝑓(𝑥) 𝑑𝑥
𝛽
• 𝑃(𝛼 ≤ 𝑋 ≤ 𝛽) = 𝑃(𝛼 ≤ 𝑋 < 𝛽) = 𝑃(𝛼 < 𝑋 ≤ 𝛽) = 𝑃(𝛼 < 𝑋 < 𝛽) = ∫𝛼 𝑓(𝑥) 𝑑𝑥
• 𝟎 ≤ 𝑭(𝒙) ≤ 𝟏
• 𝑭′ (𝒙) = 𝒇(𝒙)
6
Problems:
2k, 2≤x≤4
6k – kx, 4 ≤ x ≤ 6
4. Following is the p.d.f. of random variable X f(x) = kxe− x (0 x ), find c.d.f and P(x 1.5)
2
/4
x +1
5. Following is the c.d.f. of random variable X, F(x) = 0 (x < -1), (-1 x 3), 1 (3<x),
4
find p.d.f.