Probability (Extended)
flowchart TD A[Probability Depth] --> B[Key Concepts] A --> C[Core Principles] A --> D[Practical Applications] B --> E[Fundamental definitions] C --> F[Design patterns] D --> G[Real-world usage]Probability (Extended Treatment)
Section titled “Probability (Extended Treatment)”This document extends the core probability material with rigorous treatments of conditional Probability, independence, Venn diagrams, tree diagrams, and Bayes” theorem.
1. Conditional Probability
Section titled “1. Conditional Probability”1.1 Definition
Section titled “1.1 Definition”The conditional probability of event given that event has occurred is:
Provided .
Interpretation. is the probability of within the “reduced sample space” .
1.2 Multiplication rule
Section titled “1.2 Multiplication rule”For any two events and :
Extension to three events:
1.3 Worked example
Section titled “1.3 Worked example”Problem. A bag contains 5 red and 3 blue balls. Two balls are drawn without replacement. Find The probability that both are red.
Let = “first ball is red”, = “second ball is red”.
1.4 The Law of Total Probability
Section titled “1.4 The Law of Total Probability”If is a partition of the sample space (mutually exclusive and exhaustive), Then for any event :
Proof. Since the partition :
The sets are mutually exclusive, so:
1.5 Worked example: law of total probability
Section titled “1.5 Worked example: law of total probability”Problem. In a factory, Machine produces 60% of items and Machine produces 40%. Machine has a defect rate of 2% and Machine has a defect rate of 5%. Find the probability that a Randomly selected item is defective.
Let = “item is defective”.
2. Bayes’ Theorem
Section titled “2. Bayes’ Theorem”2.1 Statement
Section titled “2.1 Statement”Bayes’ Theorem. For events and with :
Using the law of total probability in the denominator, for a partition :
2.2 Proof
Section titled “2.2 Proof”The first step is the definition of conditional probability. The second step applies the Multiplication rule to the numerator.
2.3 Worked example
Section titled “2.3 Worked example”Problem. A disease affects 1% of a population. A test for the disease has a 95% true positive Rate () and a 10% false positive rate (). If a person tests positive, what is the Probability they actually have the disease?
Let = “has disease”, = “tests positive”.
So even with a positive test, there is only about an 8.8% chance of having the disease.
2.4 Worked example: factory with three machines
Section titled “2.4 Worked example: factory with three machines”Problem. A factory has three machines producing bolts. Machine 1 produces 50%, Machine 2 produces 30%, and Machine 3 produces 20%. Defect rates are 1%, 2%, and 3% respectively. A bolt is found to Be defective. What is the probability it came from Machine 3?
3. Venn Diagrams
Section titled “3. Venn Diagrams”3.1 Notation and regions
Section titled “3.1 Notation and regions”For two events and The Venn diagram has four regions:
| Region | Description | Probability |
|---|---|---|
| In both and | ||
| In but not in | ||
| In but not in | ||
| In neither nor |
3.2 Worked example
Section titled “3.2 Worked example”Problem. In a group of 100 students, 45 study Maths, 30 study Physics, and 15 study both. A Student is chosen at random. Find: (a) the probability they study at least one subject; (b) the Probability they study Maths given they study Physics.
(a)
(b)
3.3 Three-event Venn diagrams
Section titled “3.3 Three-event Venn diagrams”For three events , , The inclusion-exclusion formula gives:
3.4 Worked example: three events
Section titled “3.4 Worked example: three events”Problem. In a survey, 60% of people like tea, 50% like coffee, 40% like chocolate, 30% like Tea and coffee, 25% like tea and chocolate, 20% like coffee and chocolate, and 10% like all three. What proportion likes none of these?
4. Tree Diagrams
Section titled “4. Tree Diagrams”4.1 Structure
Section titled “4.1 Structure”A tree diagram represents a sequence of events. Each branch represents a possible outcome with its Probability. The probability of any path through the tree is the product of the probabilities along that path.
4.2 Rules
Section titled “4.2 Rules”- The probabilities on branches from any single node must sum to 1.
- The probability of an outcome is the product of probabilities along the path to that outcome.
- To find the probability of a compound event, add the probabilities of all paths leading to that event.
4.3 Worked example: two-stage selection
Section titled “4.3 Worked example: two-stage selection”Problem. A box contains 7 red and 5 green counters. Two counters are drawn at random without Replacement. Find the probability that: (a) both are the same colour; (b) exactly one is red.
(a)
(b)
4.4 Worked example: with replacement
Section titled “4.4 Worked example: with replacement”Problem. Two dice are rolled. Find the probability that the sum is at least 9, given that the First die shows at least 4.
Let = “sum ” and = “first die “.
5. Independence
Section titled “5. Independence”5.1 Definition
Section titled “5.1 Definition”Events and are independent if and only if:
Equivalently: Or .
Interpretation. Knowing that occurred provides no information about whether occurred.
5.2 Pairwise vs mutual independence
Section titled “5.2 Pairwise vs mutual independence”For three events , , :
- Pairwise independence means each pair is independent.
- Mutual independence means pairwise independence and .
Mutual independence is a stronger condition. Pairwise independence does not imply mutual Independence.
5.3 Worked example
Section titled “5.3 Worked example”Problem. Events and are independent with and . Find: (a) ; (b) ; (c) ; (d) .
(a)
(b)
(c) (by independence)
(d)
Note: confirms the complements are Also independent.
5.4 Theorem: complements of independent events are independent
Section titled “5.4 Theorem: complements of independent events are independent”Theorem. If and are independent, then and are also independent.
Proof.