Sunday, January 5, 2025

UNIT 1 Conditional Probability

 

Lecture Notes: Conditional Probability


Definition

Conditional probability measures the likelihood of an event occurring given that another event has already occurred. It helps analyze dependencies between events.

Formula

If AA and BB are two events, and P(B)>0P(B) > 0, the conditional probability of AA given BB is:

P(AB)=P(AB)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

Where:

  • P(AB)P(A|B): Probability of AA given BB
  • P(AB)P(A \cap B): Probability of both AA and BB occurring
  • P(B)P(B): Probability of BB occurring

Solved Problems


Problem 1

Question: In a class of 50 students, 30 study Mathematics, and 20 study both Mathematics and Physics. If a student studies Physics, what is the probability that they also study Mathematics?
Solution:

P(Mathematics | Physics)=P(MathematicsPhysics)P(Physics)P(\text{Mathematics | Physics}) = \frac{P(\text{Mathematics} \cap \text{Physics})}{P(\text{Physics})} P(Physics)=2050=0.4, P(MathematicsPhysics)=2050=0.4P(\text{Physics}) = \frac{20}{50} = 0.4,\ P(\text{Mathematics} \cap \text{Physics}) = \frac{20}{50} = 0.4 P(Mathematics | Physics)=0.40.4=1P(\text{Mathematics | Physics}) = \frac{0.4}{0.4} = 1

Answer: P(Mathematics | Physics)=1P(\text{Mathematics | Physics}) = 1


Problem 2

Question: A die is rolled. If the outcome is an even number, what is the probability that it is a 4?
Solution:

P(4Even)=P(4Even)P(Even)P(4 | \text{Even}) = \frac{P(4 \cap \text{Even})}{P(\text{Even})}
  • P(4Even)=P(4)=16P(4 \cap \text{Even}) = P(4) = \frac{1}{6}
  • P(Even)=36=12P(\text{Even}) = \frac{3}{6} = \frac{1}{2}
P(4Even)=1612=13P(4 | \text{Even}) = \frac{\frac{1}{6}}{\frac{1}{2}} = \frac{1}{3}

Answer: P(4Even)=13P(4 | \text{Even}) = \frac{1}{3}


Problem 3

Question: A box contains 5 red, 3 green, and 2 blue balls. If a ball is randomly picked and found to be red, what is the probability that it is one of the 3 red balls numbered 1, 2, or 3?
Solution:

P(Numbered Red | Red)=P(Numbered RedRed)P(Red)P(\text{Numbered Red | Red}) = \frac{P(\text{Numbered Red} \cap \text{Red})}{P(\text{Red})}
  • P(Red)=510=0.5P(\text{Red}) = \frac{5}{10} = 0.5
  • P(Numbered RedRed)=310=0.3P(\text{Numbered Red} \cap \text{Red}) = \frac{3}{10} = 0.3
P(Numbered Red | Red)=0.30.5=0.6P(\text{Numbered Red | Red}) = \frac{0.3}{0.5} = 0.6

Answer: P(Numbered Red | Red)=0.6P(\text{Numbered Red | Red}) = 0.6


Problem 4

Question: A student is selected randomly. The probability that they study both Chemistry and Biology is 0.2, and the probability that they study Biology is 0.5. What is the probability that a student studies Chemistry, given that they study Biology?
Solution:

P(Chemistry | Biology)=P(ChemistryBiology)P(Biology)P(\text{Chemistry | Biology}) = \frac{P(\text{Chemistry} \cap \text{Biology})}{P(\text{Biology})} P(Chemistry | Biology)=0.20.5=0.4P(\text{Chemistry | Biology}) = \frac{0.2}{0.5} = 0.4

Answer: P(Chemistry | Biology)=0.4P(\text{Chemistry | Biology}) = 0.4


Problem 5

Question: In a company, 60% of employees are male, and 70% of males are engineers. What is the probability that a randomly chosen engineer is male?
Solution: Let MM = Male, EE = Engineer.

P(ME)=P(ME)P(E)P(M|E) = \frac{P(M \cap E)}{P(E)}
  • P(M)=0.6,P(EM)=0.7P(M) = 0.6, P(E|M) = 0.7
P(ME)=P(M)P(EM)=0.60.7=0.42P(M \cap E) = P(M) \cdot P(E|M) = 0.6 \cdot 0.7 = 0.42

Assume P(E)=0.5P(E) = 0.5 (given context or additional data).

P(ME)=0.420.5=0.84P(M|E) = \frac{0.42}{0.5} = 0.84

Answer: P(ME)=0.84P(M|E) = 0.84


Summary

  1. Conditional probability measures the dependency of events.
  2. Formula: P(AB)=P(AB)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}.
  3. Practice problems enhance understanding of real-life applications.

No comments:

Post a Comment

UNIT II Statistical Probability

Statistical Probability Distributions for Civil Engineering Applications Statistical probability distributions –Students’ t, Chi – square an...