Probability Basics. Combinatorics. Bayes Theorem. Part 1
Almaz Khusnutdinov•Math enthusiast, love coding and mathematics
Published 9/27/2025
Conditional Probability
Problem 1.1
In a family with 2 children, at least one is a girl. What is the probability that both are girls?Answer: 31.
Problem 1.2
A family has 2 children. One child chosen uniformly at random from the two is a boy. What is the probability that both children are boys?Answer: 21.
Problem 1.3
In a family with 3 children, at least one child is a boy. What is the probability that all three children are boys?Answer: 71.
Problem 1.4
Two independent servers A and B are up with probabilities pA=0.9,pB=0.8.The system is up iff at least one server is up.Given the system is up, what is the probability that both servers are up?Answer: P(A∪B)P(A∩B)=0.9+0.8−0.720.72=4936.
Problem 1.5
A die is selected: fair with probability 32,loaded with probability 31.Loaded die rolls 6 with probability 21and each of 1–5 with probability 101.A single roll shows 6.What is the probability the selected die was loaded?Answer: 31⋅21+32⋅6131⋅21=53.
Problem 1.6
Factory F1 makes 40% of chips with defect rate 1%.Factory F2 makes 60% with defect rate 3%.A randomly chosen chip is defective. What is the probability it came from F1?Answer: 0.4⋅0.01+0.6⋅0.030.4⋅0.01=112.
Problem 1.7
A family has 2 children. It is known that at least one child is a boy born on a Tuesday. What is the probability that both children are boys?Answer: 2713.
Problem 1.8
A family has 2 children. The older child is a boy. What is the probability that both children are boys?Answer: 21.
Problem 1.9
In a two-child family, each birth is a boy with probability p∈(0,1) independently. Given that at least one child is a boy, what is the probability that both are boys?Answer: 1−(1−p)2p2=2−pp.