1. Conditional Probability:
P(A∣B)=P(B)P(A∩B),P(B)=0
2. Multiplication Theorem:
- For dependent events:
P(A∩B)=P(A)P(B∣A)
- For independent events:
P(A∩B)=P(A)P(B)
3. Theorem of Total Probability
If E1,E2,…,En is a partition of the sample space S, then for any event A,
P(A)=j=1∑nP(Ej)P(A∣Ej)
4. Bayes' Theorem
P(Ei∣A)=∑j=1nP(Ej)P(A∣Ej)P(Ei)P(A∣Ei)
5. Random Variable Parameters
- Mean (Expectation):
E(X)=∑xipi
- Variance:
Var(X)=E(X2)−[E(X)]2
6. Binomial Distribution B(n,p)
- Probability mass function:
P(X=r)=(rn)prqn−r,q=1−p
- Mean:
E(X)=np
- Variance:
Var(X)=npq
Example 1: Basic Conditional Probability
If P(A)=137,P(B)=139 and P(A∩B)=134, evaluate P(A∣B).
Solution:
Using the definition of conditional probability,
P(A∣B)=P(B)P(A∩B)
Substituting the given values,
P(A∣B)=139134=134⋅913=94
Answer:
94
Example 2: Family Probability
A family has two children. What is the probability that both are boys given that at least one of them is a boy?
Solution:
Assume that each child is equally likely to be a boy or a girl, and the births are independent.
The sample space is
S={BB,BG,GB,GG}
Let
A={BB}(both are boys)
and
B={BB,BG,GB}(at least one is a boy)
Then,
A∩B={BB}
Hence,
P(A∣B)=n(B)n(A∩B)=31
Answer:
31
Example 3: Two Dice Sum
A die is thrown twice and the sum of the numbers appearing is observed to be 6. What is the conditional probability that the number 4 has appeared at least once?
Solution:
Let
B={sum is 6}
Then the possible ordered outcomes are
B={(1,5),(2,4),(3,3),(4,2),(5,1)}
So,
n(B)=5
Let
A={the number 4 appears at least once}
Among the outcomes in B, the favorable ones for A are
A∩B={(2,4),(4,2)}
Thus,
n(A∩B)=2
Therefore,
P(A∣B)=n(B)n(A∩B)=52
Answer:
52
Example 4: Independent Events Check
If P(A)=53 and P(B)=51, find P(A∩B) if A and B are independent events.
Solution:
For independent events,
P(A∩B)=P(A)P(B)
Hence,
P(A∩B)=53⋅51=253
Answer:
253
Example 5: Target Hitting
A and B appear for an interview. The probability of A's selection is 71 and B's selection is 51. Find the probability that at least one of them is selected.
Solution:
Assuming the selections are independent,
P(A)=71,P(B)=51
The probability that at least one is selected is
1−P(none selected)
Now,
P(A′)=1−71=76,P(B′)=1−51=54
So,
P(none selected)=P(A′∩B′)=P(A′)P(B′)=76⋅54=3524
Hence,
P(at least one selected)=1−3524=3511
Answer:
3511
Example 6: Total Probability (Bags)
Bag I contains 3 red and 4 black balls while Bag II contains 5 red and 6 black balls. One ball is drawn at random from one of the bags. Find the probability that the ball drawn is red.
Solution:
Let
E1={Bag I is chosen},E2={Bag II is chosen}
Since one of the two bags is chosen at random,
P(E1)=P(E2)=21
Let
A={red ball is drawn}
Then,
P(A∣E1)=73,P(A∣E2)=115
By the theorem of total probability,
P(A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)
=21⋅73+21⋅115
=143+225
Taking LCM 154,
P(A)=15433+35=15468=7734
Answer:
7734
Example 7: Bayes' Theorem (Classic)
In a factory, machine A produces 60% and machine B produces 40% of items. 2% from A and 1% from B are defective. An item is chosen and found to be defective. Find the probability it was from machine B.
Solution:
Let
EA={item produced by A},EB={item produced by B}
Then,
P(EA)=0.6,P(EB)=0.4
Let
D={item is defective}
Given,
P(D∣EA)=0.02,P(D∣EB)=0.01
First compute P(D) using total probability:
P(D)=P(EA)P(D∣EA)+P(EB)P(D∣EB)
=(0.6)(0.02)+(0.4)(0.01)=0.012+0.004=0.016
Now apply Bayes' theorem:
P(EB∣D)=P(D)P(EB)P(D∣EB)
=0.016(0.4)(0.01)=0.0160.004=41
Answer:
41
Example 8: Student Knowing/Guessing
A student knows the answer with probability 43 and guesses with probability 41. If he guesses, the probability of being correct is 41. Find the probability he knew the answer given that his answer was correct.
Solution:
Let
E1={student knows the answer},E2={student guesses}
Then,
P(E1)=43,P(E2)=41
Let
C={answer is correct}
Since a student who knows the answer answers correctly with certainty,
P(C∣E1)=1
If he guesses,
P(C∣E2)=41
By Bayes' theorem,
P(E1∣C)=P(E1)P(C∣E1)+P(E2)P(C∣E2)P(E1)P(C∣E1)
=43⋅1+41⋅4143⋅1
=43+16143
=161343=43⋅1316=1312
Answer:
1312
Example 9: Bayes (Card Lost)
A card from a pack of 52 is lost. From the remaining cards, 2 cards are drawn and found to be diamonds. Find the probability that the lost card was a diamond.
Solution:
Let
E1={lost card is a diamond},E2={lost card is not a diamond}
Then,
P(E1)=5213=41,P(E2)=43
Let
A={the two drawn cards are diamonds}
If the lost card is a diamond, then 12 diamonds remain among 51 cards, so
P(A∣E1)=(251)(212)=127566
If the lost card is not a diamond, then all 13 diamonds remain among 51 cards, so
P(A∣E2)=(251)(213)=127578
Applying Bayes' theorem,
P(E1∣A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)P(E1)P(A∣E1)
=41⋅66+43⋅7841⋅66
=66+23466=30066=5011
Answer:
5011
Example 10: Bayes (Insurance)
An insurance company has insured 2000 scooters, 4000 cars, and 6000 trucks. The probability of an accident involving a scooter, car, and truck are 0.01, 0.03, and 0.15 respectively. If one of the insured vehicles meets with an accident, find the probability that it is a scooter.
Solution:
Let
E1={vehicle is a scooter},E2={vehicle is a car},E3={vehicle is a truck}
Total insured vehicles:
2000+4000+6000=12000
Hence,
P(E1)=120002000=61,P(E2)=31,P(E3)=21
Let
A={vehicle had an accident}
Then,
P(A∣E1)=0.01,P(A∣E2)=0.03,P(A∣E3)=0.15
By Bayes' theorem,
P(E1∣A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)+P(E3)P(A∣E3)P(E1)P(A∣E1)
=61(0.01)+31(0.03)+21(0.15)61(0.01)
Now,
61(0.01)=6001,31(0.03)=0.01,21(0.15)=0.075
So,
P(E1∣A)=6001+0.01+0.0756001
Converting to denominator 600,
6001+0.01+0.075=6001+6006+60045=60052
Hence,
P(E1∣A)=52/6001/600=521
Answer:
521
Example 11: Random Variable Distribution
Find the probability distribution of the number of tails in three tosses of a coin.
Solution:
Let X denote the number of tails in 3 tosses.
Then possible values of X are
X∈{0,1,2,3}
Since there are
23=8
equally likely outcomes, we get:
For X=0:
P(X=0)=P(HHH)=81
For X=1:
P(X=1)=P(HHT,HTH,THH)=83
For X=2:
P(X=2)=P(TTH,THT,HTT)=83
For X=3:
P(X=3)=P(TTT)=81
Answer:
P(X=0)=81,P(X=1)=83,P(X=2)=83,P(X=3)=81
Example 12: Finding k in Distribution
P(X=x)=kx2 for x=1,2,3. Find k and E(X).
Solution:
Since total probability is 1,
∑P(X=x)=1
Thus,
k(12+22+32)=1
k(1+4+9)=1
14k=1
k=141
Now,
E(X)=∑xP(X=x)
=1⋅k(12)+2⋅k(22)+3⋅k(32)
=k(1+8+27)=36k
E(X)=36⋅141=718
Answer:
k=141,E(X)=718
Example 13: Mean and Variance Calculation
Find mean and variance for X: {0,1} with probabilities {q,p}.
Solution:
The random variable takes values 0 and 1 with probabilities q and p respectively, where
p+q=1
Now,
E(X)=0⋅q+1⋅p=p
Also,
E(X2)=02⋅q+12⋅p=p
Therefore,
Var(X)=E(X2)−[E(X)]2
=p−p2=p(1−p)=pq
Answer:
Mean=p,Variance=pq
Example 14: Binomial (Exactly r)
A fair coin is tossed 10 times. Find the probability of exactly 6 heads.
Solution:
Here,
n=10,p=21,q=21,r=6
Using the binomial formula,
P(X=6)=(610)(21)6(21)4
=(610)(21)10
Since,
(610)=(410)=210
Therefore,
P(X=6)=1024210=512105
Answer:
512105
Example 15: Binomial (At least once)
Probability of hitting a target is 41. A man fires 7 times. Find the probability of hitting the target at least once.
Solution:
Let success mean hitting the target.
Then,
n=7,p=41,q=43
We need
P(X≥1)
Using the complement rule,
P(X≥1)=1−P(X=0)
Now,
P(X=0)=(43)7=163842187
Hence,
P(X≥1)=1−163842187=1638414197
Answer:
1638414197
Example 16: Inverse Binomial (Finding n)
Mean of B(n,p) is 4 and variance is 3. Find n.
Solution:
For a binomial distribution,
np=4
and
npq=3
Dividing the second equation by the first,
q=43
Therefore,
p=1−q=1−43=41
Now use
np=4
so,
n⋅41=4
n=16
Answer:
16
Example 17: Truth Reporting with a Die
A man speaks truth 43 of the time. He reports that the die shows 6. Find the probability that the die actually showed 6.
Solution:
Let
E1={actual outcome is 6},E2={actual outcome is not 6}
Then,
P(E1)=61,P(E2)=65
Let
A={man reports 6}
If the actual outcome is 6 and he tells the truth,
P(A∣E1)=43
If the actual outcome is not 6 and he reports 6, then he must be lying:
P(A∣E2)=41
By Bayes' theorem,
P(E1∣A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)P(E1)P(A∣E1)
=61⋅43+65⋅4161⋅43
=3+53=83
Answer:
83
Example 18: Multiple Targets
A hits with probability 54, B hits with probability 43, and C hits with probability 32. All fire once. Find the probability that exactly two hit the target.
Solution:
Exactly two hit in the following mutually exclusive cases:
ABC′,AB′C,A′BC
Hence,
P(exactly two hit)=P(ABC′)+P(AB′C)+P(A′BC)
Using independence,
=(54⋅43⋅31)+(54⋅41⋅32)+(51⋅43⋅32)
=6012+608+606=6026=3013
Answer:
3013
Example 19: Drawing without Replacement
An urn contains 5 white and 3 black balls. Two balls are drawn without replacement. Find the probability distribution of the number of black balls drawn.
Solution:
Let X be the number of black balls drawn in 2 draws.
Then,
X∈{0,1,2}
Now,
For X=0:
P(X=0)=85⋅74=5620=145
For X=1:
This can happen in two ways:
WBorBW
So,
P(X=1)=85⋅73+83⋅75=5630=2815
For X=2:
P(X=2)=83⋅72=566=283
Thus the distribution is:
P(X=0)=145,P(X=1)=2815,P(X=2)=283
Answer:
(145,2815,283)
Example 20: Dice (Multiple 6s)
A die is rolled 6 times. Find the probability of getting at most two 6s.
Solution:
Let success mean getting a 6.
Then,
n=6,p=61,q=65
We need
P(X≤2)=P(X=0)+P(X=1)+P(X=2)
Now,
P(X=0)=(65)6
P(X=1)=(16)(61)(65)5=6⋅61(65)5=(65)5
P(X=2)=(26)(61)2(65)4=15⋅361(65)4
Taking (65)4 common,
P(X≤2)=(65)4[3625+3630+3615]
=(65)4⋅3670
=1835(65)4
Equivalently,
P(X≤2)=58324375
Answer:
1835(65)4=58324375
JEE Main Standard
Example 21: Sum of Mean and Variance
If for a binomial distribution, the sum of its mean and variance is 1.8 and their product is 0.8, find n.
Solution:
Let mean =m and variance =v.
Given,
m+v=1.8,mv=0.8
So m and v are the roots of
t2−1.8t+0.8=0
Multiplying by 10,
10t2−18t+8=0
Dividing by 2,
5t2−9t+4=0
Factorizing,
(5t−4)(t−1)=0
Hence,
t=1ort=54
Since for a binomial distribution mean is greater than variance (when 0<p<1), we take
m=1,v=0.8
Now,
np=1,npq=0.8
Dividing,
q=0.8
So,
p=1−0.8=0.2
Using np=1,
n(0.2)=1
n=5
Answer:
5
Example 22: Intersection of Independent Events
If A and B are independent events such that P(A∪B)=0.6 and P(A)=0.2, find P(B).
Solution:
Let
P(B)=x
Now,
P(A∪B)=P(A)+P(B)−P(A∩B)
Since A and B are independent,
P(A∩B)=P(A)P(B)=0.2x
Therefore,
0.6=0.2+x−0.2x
0.4=0.8x
x=0.5
Hence,
0.5
Example 23: Sequence until Success
A die is thrown until a '1' is obtained. Find the probability that '1' is obtained on an even-numbered throw.
Solution:
Let success mean getting 1.
Then,
P(S)=61,P(F)=65
We need the probability that the first success occurs on the 2nd, 4th, 6th, … throw.
So,
P=FS+FFFS+FFFFFS+⋯
Thus,
P=(65)(61)+(65)3(61)+(65)5(61)+⋯
This is an infinite geometric progression with
a=365,r=(65)2=3625
Hence,
P=1−ra=1−3625365=3611365=115
Answer:
115
Example 24: Conditional Odds
In a class, 40% study Math, 25% study Biology, and 15% study both. A student is selected. If he studies Biology, what is the probability that he also studies Math?
Solution:
Let
M={student studies Math},B={student studies Biology}
Given,
P(M)=0.4,P(B)=0.25,P(M∩B)=0.15
We need
P(M∣B)
Using conditional probability,
P(M∣B)=P(B)P(M∩B)=0.250.15=53=0.6
Answer:
0.6
Example 25: Expectation of Absolute Difference
Two dice are rolled. Let X be the absolute difference of the numbers obtained. Find E(X).
Solution:
The possible values of X are
0,1,2,3,4,5
The number of outcomes corresponding to each value are:
X=0X=1X=2X=3X=4X=5⇒6 outcomes⇒10 outcomes⇒8 outcomes⇒6 outcomes⇒4 outcomes⇒2 outcomes
Since the total number of outcomes is 36,
E(X)=360⋅6+1⋅10+2⋅8+3⋅6+4⋅4+5⋅2
=360+10+16+18+16+10=3670=1835
Answer:
1835
Example 26: Balls in Urns (Total Probability)
Urn A contains 2 white and 1 black ball. Urn B contains 1 white and 2 black balls. One ball is transferred from A to B. Then one ball is drawn from B. Find the probability that it is white.
Solution:
Let
E1={white ball transferred from A to B},E2={black ball transferred from A to B}
From urn A,
P(E1)=32,P(E2)=31
Let
W={white ball drawn from urn B}
If a white ball is transferred, urn B becomes:
2W,2B
So,
P(W∣E1)=42=21
If a black ball is transferred, urn B becomes:
1W,3B
So,
P(W∣E2)=41
By total probability,
P(W)=P(E1)P(W∣E1)+P(E2)P(W∣E2)
=32⋅21+31⋅41
=31+121=125
Answer:
125
Example 27: Multiple Independent Events
If A, B, and C are independent events such that P(A)=0.2, P(B)=0.3, and P(C)=0.4, find P(exactly one occurs).
Solution:
Exactly one of A, B, C occurs in the following mutually exclusive cases:
AB′C′,A′BC′,A′B′C
Therefore,
P(exactly one occurs)=P(AB′C′)+P(A′BC′)+P(A′B′C)
Using independence,
=0.2(1−0.3)(1−0.4)+(1−0.2)0.3(1−0.4)+(1−0.2)(1−0.3)0.4
=0.2(0.7)(0.6)+0.8(0.3)(0.6)+0.8(0.7)(0.4)
=0.084+0.144+0.224=0.452
Answer:
0.452
Example 28: Variance Property
If Var(X)=4, find Var(3X+5).
Solution:
Using the variance property,
Var(aX+b)=a2Var(X)
Here,
a=3,b=5
So,
Var(3X+5)=32Var(X)=9⋅4=36
Answer:
36
Example 29: Coin Bias
Two coins, one fair and one double-headed, are placed in a box. One coin is picked at random and tossed. It shows Head. Find the probability that the chosen coin was double-headed.
Solution:
Let
EF={fair coin chosen},ED={double-headed coin chosen}
Since one coin is chosen at random,
P(EF)=P(ED)=21
Let
H={Head is observed}
Then,
P(H∣EF)=21,P(H∣ED)=1
By Bayes' theorem,
P(ED∣H)=P(ED)P(H∣ED)+P(EF)P(H∣EF)P(ED)P(H∣ED)
=21⋅1+21⋅2121⋅1
=21+4121=4321=32
Answer:
32
Example 30: System Reliability
A system works if component A or component B works. If P(A)=0.9 and P(B)=0.8, and the components work independently, find the probability that the system works.
Solution:
The system fails only if both A and B fail.
Thus,
P(system works)=1−P(A′∩B′)
Since the components are independent,
P(A′∩B′)=P(A′)P(B′)
Now,
P(A′)=1−0.9=0.1,P(B′)=1−0.8=0.2
So,
P(system works)=1−(0.1)(0.2)=1−0.02=0.98
Answer:
0.98