Chapitre 1

Table of contents

  1. Combinatorial Analysis
  2. Exercises
  3. Random Experiment
  4. Event Tribe
  5. Probability
  6. Exercises
  7. Independence and Conditional Probability

1. Combinatorial Analysis

1.1 Introduction to Combinatorial Analysis

Combinatorial analysis is a branch of mathematics dedicated to counting techniques. It provides essential methods for calculating probabilities and understanding the number of possible outcomes in various scenarios 3.

1.2 The Multiplicative Principle

The multiplicative principle is used to count the total number of outcomes for experiments that can be broken down into a sequence of sub-experiments. If an experiment consists of pp steps, where the first step can be performed in n1n_1 ways, the second in n2n_2 ways, and so on, up to the last step in npn_p ways, the total number of possible outcomes is the product of the number of ways for each step 4 5.

  • The total number of results is calculated as n=∏i=1pni=n1×n2×⋯×npn = \prod_{i=1}^{p} n_i = n_1 \times n_2 \times \dots \times n_p 4 5.

1.3 Arrangements Without Repetition

Arrangements without repetition, also known as permutations of pp distinct objects chosen from a set of nn objects, involve creating ordered sequences where each object can be used only once. The number of such arrangements is denoted by AnpA^p_n or PnpP^p_n 6.

  • The formula for arrangements without repetition is Anp=n!(n−p)!A^p_n = \frac{n!}{(n-p)!}7.
  • This concept applies when selecting pp distinct items from a set of nn items and the order of selection matters 6.

📝 To find the number of possible choices of 2 elements from the set {A,B,C,D}, we calculate A42=4!(4−2)!=12A^2_4 = \frac{4!}{(4-2)!} = 12 7.

1.4 Arrangements With Repetition

Arrangements with repetition allow for the selection of objects where an object can be chosen multiple times. This corresponds to sampling with replacement and where order matters.

In this case, pp can be greater than nn 8.

  • The number of arrangements with repetition of pp objects from a set of nn is npn^p 8 9.

1.5 Permutations Without Repetition

A permutation without repetition of nn distinct elements is an ordered sequence of all nn elements. This is a special case of arrangements where p=np=n 10.

  • The number of permutations of nn objects is denoted by PnP_n or AnnA^n_n, and is calculated as Pn=n!P_n = n! 10 11.

1.6 Permutations With Repetition

When calculating permutations of a set of nn objects where some objects are identical, the total number of permutations must be adjusted. If there are kk identical objects, the number of distinct permutations is found by dividing the total permutations of nn objects by the factorial of kk 12.

  • The formula for permutations with repetition is n!k!\frac{n!}{k!}, where nn is the total number of objects and kk is the number of identical objects 12 13 14 15 16.

1.7 Combinations Without Repetition

A combination without repetition refers to selecting a subset of pp objects from a set of nn objects, where the order of selection does not matter. This is equivalent to drawing pp items simultaneously without replacement 17.

  • The number of combinations without repetition of pp objects from a set of nn is denoted by CnpC^p_n or (np)\binom{n}{p}, and is calculated as Cnp=n!p!(n−p)!C^p_n = \frac{n!}{p!(n-p)!} 17 18 19.

1.8 Combinations With Repetition

Combinations with repetition involve selecting pp objects from a set of nn elements, where repetition is allowed and the order of selection does not matter. This is equivalent to drawing with replacement and without regard to order 20.

  • The number of combinations with repetition of pp objects from a set of nn is given by Knp=Cpn+p−1=(n+p−1)!p!(n−1)!K^p_n = C^{n+p-1}_p = \frac{(n+p-1)!}{p!(n-1)!} 20.

1.9 Properties of Combinations

Combinations have several useful properties that simplify calculations and relationships 20.

  • Identity: Cn0=Cnn=1C^0_n = C^n_n = 1.
  • Complementary Property: Cnp=Cnn−pC^p_n = C^{n-p}_n.
  • Pascal's Triangle: Cnp=Cn−1p+Cn−1p−1C^p_n = C^p_{n-1} + C^{p-1}_{n-1}.
  • Binomial Theorem: (x+y)n=∑k=0nCnkxn−kyk(x+y)^n = \sum_{k=0}^{n} C^k_n x^{n-k} y^k 20.
ConceptFormulaDescription
Arrangements without repetitionAnp=n!(n−p)!A^p_n = \frac{n!}{(n-p)!}Ordered selection of pp distinct items from nn.
Arrangements with repetitionnpn^pOrdered selection of pp items from nn, with replacement.
Permutations without repetitionPn=n!P_n = n!Ordered arrangement of all nn distinct items.
Permutations with repetitionn!k1!k2!...\frac{n!}{k_1!k_2!...}Ordered arrangement of nn items with kik_i identical items of type ii.
Combinations without repetitionCnp=(np)=n!p!(n−p)!C^p_n = \binom{n}{p} = \frac{n!}{p!(n-p)!}Unordered selection of pp distinct items from nn.
Combinations with repetitionKnp=Cpn+p−1=(n+p−1)!p!(n−1)!K^p_n = C^{n+p-1}_p = \frac{(n+p-1)!}{p!(n-1)!}Unordered selection of pp items from nn, with replacement.

2. Exercises

2.1 Exercise 1: Tournament Matches

This exercise involves calculating the total number of matches in a tournament where each of the 8 teams plays every other team exactly once. This is a problem of combinations, as the order of teams in a match does not matter.

  • The problem requires finding the number of ways to choose 2 teams out of 8 for each match.
  • This can be solved using the combination formula C(n,k)=n!k!(n−k)!C(n, k) = \frac{n!}{k!(n-k)!}, where nn is the total number of teams and kk is the number of teams per match.
  • The number of matches is C(8,2)C(8, 2).

📝 In a tournament with 4 teams (A, B, C, D), each team plays every other team once. The matches are AB, AC, AD, BC, BD, CD. This is C(4,2)=4!2!(4−2)!=4!2!2!=244=6C(4, 2) = \frac{4!}{2!(4-2)!} = \frac{4!}{2!2!} = \frac{24}{4} = 6 matches 21.

2.2 Exercise 1: Exam Question Choices

This exercise explores the number of ways a student can choose questions to answer on an exam, considering different constraints. It involves combinations.

  • Part a) asks for the total number of ways to choose 8 questions out of 10.
  • This is calculated as C(10,8)C(10, 8).
  • Part b) asks for the number of choices if the student must answer the first three questions.
  • This means the student needs to choose the remaining 8−3=58 - 3 = 5 questions from the remaining 10−3=710 - 3 = 7 questions.
  • The calculation is C(3,3)×C(7,5)C(3, 3) \times C(7, 5).
  • Part c) asks for the number of choices if the student must answer at least 4 of the first 5 questions.
  • This requires considering two cases: answering exactly 4 of the first 5, or answering all 5 of the first 5.
  • Case 1: Answer 4 of the first 5 questions and 8−4=48 - 4 = 4 from the remaining 10−5=510 - 5 = 5 questions. This is C(5,4)×C(5,4)C(5, 4) \times C(5, 4).
  • Case 2: Answer 5 of the first 5 questions and 8−5=38 - 5 = 3 from the remaining 10−5=510 - 5 = 5 questions. This is C(5,5)×C(5,3)C(5, 5) \times C(5, 3).
  • The total number of choices is the sum of the choices from Case 1 and Case 2.

2.3 Exercise 2: Distinct Permutations 21

This exercise focuses on calculating the number of distinct permutations for the letters within given words. This involves permutations with repetitions.

  • The number of distinct permutations of a word with nn letters, where there are n1n_1 identical letters of type 1, n2n_2 identical letters of type 2,..., nkn_k identical letters of type k, is given by the formula: n!n1!n2!⋯nk!\frac{n!}{n_1! n_2! \cdots n_k!}
WordTotal Letters (n)Letter FrequenciesDistinct Permutations
leur4l:1, e:1, u:1, r:14!1!1!1!1!=24\frac{4!}{1!1!1!1!} = 24
anabase7a:3, n:1, b:1, s:1, e:17!3!1!1!1!1!=840\frac{7!}{3!1!1!1!1!} = 840
sociologique12s:1, o:3, c:2, i:2, l:1, g:1, u:1, e:112!1!3!2!2!1!1!1!1!=19,958,400\frac{12!}{1!3!2!2!1!1!1!1!} = 19,958,400

3. Random Experiment

3.1 Definition of a random experiment

A random experiment is any experiment whose outcome cannot be predicted with certainty, but whose set of all possible outcomes can be predicted. This set of all possible outcomes is called the fundamental set or sample space, denoted by Ω 23 24 25 26 27 28 29.

3.2 Examples of random experiments

  • Rolling a die: The fundamental set is Ω = {1, 2, 3, 4, 5, 6} 25.
  • Successive coin flips: For n coin flips, the fundamental set is Ω = {P, F}\textsuperscript{n}. For two flips, Ω = {PP, PF, FP, FF} = {P, F}\textsuperscript{2} 27.
  • Lifespan of a light bulb: The fundamental set is Ω = IR+ (all positive real numbers) 29.

📝 Rolling a die has a fundamental set of Ω = {1, 2, 3, 4, 5, 6} 25. For successive coin flips, two flips result in Ω = {PP, PF, FP, FF} 27.

3.3 Events

An event A is a set of results or a subset of the fundamental set Ω. An event is considered realized if the outcome of the random experiment belongs to A. The set of all possible events of Ω is called the family of events, denoted by P(Ω), which is the set of all its subsets 30 31.

  • Rolling a die: The event A = {2, 4, 6} represents "obtaining an even number" 30.
  • Lifespan of a light bulb: The event A = [100, +∞) represents "the light bulb functions for more than one hundred hours" 31.

3.4 Set operations and probabilistic vocabulary 32

The operations on sets are used to describe events, with corresponding probabilistic vocabulary:

Set NotationSet VocabularyProbabilistic Vocabulary
ΩSample spaceCertain event
∅Empty setImpossible event
{ω}Singleton ωElementary event ω
A ⊂ BA is included in BA implies B
A⁳Complement of AThe opposite of A is realized
A ∪ BA union BA or B is realized
∪ₑ₂ₑₐAiUnion of (Ai)i∈IOne of the Ai is realized
A ∩ BA intersection BA and B are realized
∩ₑ₂ₑₐAiIntersection of (Ai)i∈IAll Ai are realized

📝 The event "A and B are realized" corresponds to the set operation A ∩ B 32.

3.5 Types of events

  • Elementary event: An event consisting of a single outcome. For example, obtaining the number 2 when rolling a die, A1 = {2} 33.
  • Certain event: An event that is guaranteed to occur, which is the entire sample space Ω. For example, obtaining a number less than 8 when rolling a die, A2 = Ω 34.
  • Impossible event: An event that cannot occur, represented by the empty set ∅. For example, obtaining a number divisible by 11 when rolling a die, A3 = ∅ 35 36.

3.6 Incompatible events

Two events, A and B, are incompatible if their intersection is the empty set (A ∩ B = ∅). This means that A and B cannot be realized simultaneously.

For instance, an event A and its complement A\u2073 are incompatible because A ∩ A\u2073 = ∅ 37.

3.7 Distributivity and De Morgan's Laws

Set operations follow distributive laws and De Morgan's laws:

  • Distributivity: For any sets A, B, and C:
  • A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
  • A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C).
  • De Morgan's Laws: For any sets A and B:
  • (A ∩ B)\u2073 = A\u2073 ∪ B\u2073
  • (A ∪ B)\u2073 = A\u2073 ∩ B\u2073 37.

3.8 Useful properties of sets

The cardinality of the union of two sets can be calculated using the following proposition:

  • Cardinality of Union: If A and B are two sets, then Card(A ∪ B) = Card(A) + Card(B) − Card(A ∩ B) 38.

4. Event Tribe

4.1 Definition of a tribe

A tribe (or sigma-algebra) on a sample space Ω\Omega is a collection FF of subsets of Ω\Omega that satisfies specific properties. These properties ensure that the collection of events is well-behaved for probability calculations.

The pair (Ω,F)(\Omega, F) is called a measurable or probabilizable space 40.

4.2 Properties of a tribe

A family FF of subsets of Ω\Omega is a tribe if it meets the following conditions:

  • C1: The sample space is included. Ω\Omega must be an element of FF.
  • C2: Closure under complementation. If a set AA is in FF, then its complement AcA^c must also be in FF.
  • C3: Closure under finite unions and intersections. If sets AA and BB are in FF, then their union A∪BA \cup B and their intersection A∩BA \cap B must also be in FF.
  • C4: Closure under countable unions. If AnA_n is a sequence of sets in FF for all n∈Nn \in \mathbb{N}, then their countable union ⋃n=0∞An\bigcup_{n=0}^{\infty} A_n must also be in FF 40.

📝 If AA is a set in a tribe FF, then its complement AcA^c must also be in FF 40.

4.3 Exercise: Verifying tribes

Verify that P(Ω)P(\Omega) and (∅,Ω)(\emptyset, \Omega) are tribes on Ω\Omega 41.

4.4 Exercise: Tribe generated by a set

Let AA be a subset of Ω\Omega. Show that {∅,A,Ac,Ω}\{ \emptyset, A, A^c, \Omega \} is a tribe on Ω\Omega 41.

5. Probability

5.1 Definition of probability

Probability is an application that assigns a numerical value between 0 and 1 to an event within a defined sample space and event space. This application, denoted as P, must satisfy specific axioms to be considered a valid probability measure.

The triple (Ω, F, P), consisting of the sample space, the event space, and the probability measure, is termed a probabilistic space 42.

  • Axiom 1: The probability of the entire sample space (Ω) is 1, meaning that some outcome is certain to occur.
  • Axiom 2: For any countable sequence of mutually exclusive events (An), the probability of their union is the sum of their individual probabilities. This property is known as sigma-additivity 42.

5.2 Calculating probabilities: The case of equiprobability

When dealing with a random experiment where the sample space (Ω) has a finite number of outcomes and each outcome is equally likely, the probability of an event (A) can be calculated using a simplified formula. This formula is only applicable in situations of equiprobability 43 44.

  • Equiprobability formula: The probability of an event is the ratio of the number of favorable outcomes to the total number of possible outcomes 43. P(A)=nombre de cas favorablesnombre total de casP(A) = \frac{\text{nombre de cas favorables}}{\text{nombre total de cas}}

5.3 Properties of probability

Several key properties govern the calculation and interpretation of probabilities, derived from the fundamental axioms. These properties help in determining probabilities for complementary events, impossible events, and unions of events 45.

  • P1 (Complementary event): The probability of the complement of an event A (denoted as Aˉ\bar{A}) is 1 minus the probability of event A: P(Aˉ)=1−P(A)P(\bar{A}) = 1 - P(A).
  • P2 (Impossible event): The probability of the impossible event (∅) is 0.
  • P3 (Inclusion): If event A is a subset of event B (A ⊂ B), then the probability of A is less than or equal to the probability of B: P(A)≤P(B)P(A) \leq P(B).
  • P4 (Union of events): The probability of the union of two events A and B is the sum of their individual probabilities minus the probability of their intersection: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B) 45.

5.4 Examples of probability calculation

Illustrative examples demonstrate how to apply probability concepts, particularly in scenarios involving equiprobability. These examples include coin tosses and dice rolls, showcasing the calculation of probabilities for simple and compound events 46 47.

  • Coin toss: For a fair coin, the sample space is Ω = {Heads, Tails}. The probability of getting heads is P({Heads})=1/2P(\{Heads\}) = 1/2, and the probability of getting tails is P({Tails})=1/2P(\{Tails\}) = 1/2 46.
  • Dice roll: For a fair six-sided die, the sample space is Ω = {1, 2, 3, 4, 5, 6}. The probability of rolling any specific number is P({n})=1/6P(\{n\}) = 1/6 for n∈{1,2,3,4,5,6}n \in \{1, 2, 3, 4, 5, 6\} 47.
  • Compound event: For a dice roll, the probability of rolling a 2 or a 3 is calculated as the sum of their individual probabilities: P({2,3})=P({2})+P({3})=1/6+1/6=2/6=1/3P(\{2, 3\}) = P(\{2\}) + P(\{3\}) = 1/6 + 1/6 = 2/6 = 1/3 49.

📝 Consider the event of rolling an even number on a fair six-sided die. The sample space is Ω={1,2,3,4,5,6}\Omega = \{1, 2, 3, 4, 5, 6\}. The event of rolling an even number is A={2,4,6}A = \{2, 4, 6\}. Using the equiprobability formula: P(A)=number of favorable casestotal number of cases=36=12P(A) = \frac{\text{number of favorable cases}}{\text{total number of cases}} = \frac{3}{6} = \frac{1}{2} 48.

6. Exercises

6.1 Exercises on probability calculations

This section presents exercises focused on calculating probabilities in scenarios involving drawing tokens from a bag. The problems cover both sequential and simultaneous draws without replacement 50.

6.2 Sequential draws without replacement

This exercise involves calculating probabilities for drawing 3 tokens sequentially from a bag containing 5 green tokens (numbered 1-5) and 4 red tokens (numbered 1-4), without replacing the drawn tokens 50.

  • a) Probability of drawing 3 green tokens: This question asks for the probability that all three tokens drawn are green.
  • b) Probability of drawing no green tokens: This question asks for the probability that none of the three drawn tokens are green, meaning all three are red.
  • c) Probability of drawing at most 2 green tokens: This question asks for the probability that the number of green tokens drawn is 0, 1, or 2.
  • d) Probability of drawing exactly 1 green token: This question asks for the probability that precisely one of the three drawn tokens is green 50.

📝 To find the probability of drawing 3 green tokens sequentially without replacement from a bag with 5 green and 4 red tokens, you would calculate the probability of the first draw being green (5/9), then the second being green given the first was green (4/8), and finally the third being green given the first two were green (3/7). The overall probability is (5/9)∗(4/8)∗(3/7)(5/9) \ast (4/8) \ast (3/7) 50.

6.3 Simultaneous draws without replacement

This exercise involves calculating probabilities for drawing 3 tokens simultaneously from the same bag (5 green, 4 red) without replacement. The questions are identical to those in the sequential draw exercise 50.

  • a) Probability of drawing 3 green tokens: This question asks for the probability that all three simultaneously drawn tokens are green.
  • b) Probability of drawing no green tokens: This question asks for the probability that none of the three simultaneously drawn tokens are green.
  • c) Probability of drawing at most 2 green tokens: This question asks for the probability that the number of green tokens drawn simultaneously is 0, 1, or 2.
  • d) Probability of drawing exactly 1 green token: This question asks for the probability that precisely one of the three simultaneously drawn tokens is green 50.

7. Independence and Conditional Probability

7.1 Independence

Two events, A and B, are considered independent if the occurrence of one does not affect the probability of the other. This is mathematically defined by the relationship between their joint probability and the product of their individual probabilities.

To determine if two events are independent, one must calculate both P(A ∩ B) and P(A) × P(B) separately and compare them 52.

  • Independence definition: Events A and B are independent if P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B) 52.

  • Verification: To check for independence, calculate P(A∩B)P(A \cap B) and P(A)×P(B)P(A) \times P(B) independently. If they are equal, the events are independent; otherwise, they are not 52.

  • Coin toss example: If two coin tosses are independent, the probability of getting heads on both is the product of the individual probabilities: P(Heads on 1st∩Heads on 2nd)=P(Heads on 1st)×P(Heads on 2nd)=12×12=14P(\text{Heads on 1st} \cap \text{Heads on 2nd}) = P(\text{Heads on 1st}) \times P(\text{Heads on 2nd}) = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4} 53.

  • Dice roll example: Consider rolling a fair die once. Let A be the event that the face obtained is a multiple of 6, and B be the event that the face obtained is even.

  • A = {6}, so P(A)=16P(A) = \frac{1}{6}.

  • B = {2, 4, 6}, so P(B)=36=12P(B) = \frac{3}{6} = \frac{1}{2}.

  • The intersection A∩BA \cap B is {6}, so P(A∩B)=16P(A \cap B) = \frac{1}{6}.

  • Since P(A)×P(B)=16×12=112P(A) \times P(B) = \frac{1}{6} \times \frac{1}{2} = \frac{1}{12}, which is not equal to P(A∩B)P(A \cap B) (16\frac{1}{6}), events A and B are not independent 55.

7.2 Mutual Independence

Mutual independence extends the concept of independence to a collection of more than two events. For a set of events to be mutually independent, the probability of the intersection of any subset of these events must equal the product of their individual probabilities.

This condition must hold for all possible non-empty subsets 56.

  • Mutual independence definition: Events A1,…,AnA_1, \dots, A_n are mutually independent if for every subset J⊆{1,…,n}J \subseteq \{1, \dots, n\}, P(⋂j∈JAj)=∏j∈JP(Aj)P\left(\bigcap_{j \in J} A_j\right) = \prod_{j \in J} P(A_j) 56.

  • Consequence of mutual independence: If events A1,…,AnA_1, \dots, A_n are mutually independent, then the probability of their simultaneous occurrence is the product of their individual probabilities: P(⋂i=1nAi)=∏i=1nP(Ai)P\left(\bigcap_{i=1}^n A_i\right) = \prod_{i=1}^n P(A_i) 56.

  • Warning: Satisfying the product rule for all subsets is necessary but not always sufficient for mutual independence. A specific example involving coin tosses illustrates a scenario where pairwise independence holds, but mutual independence does not 57.

7.3 Conditional Probability

Conditional probability quantifies the likelihood of an event occurring, given that another event has already occurred. It is denoted as P(B∣A)P(B|A) or PA(B)P_A(B) and is calculated by dividing the probability of both events occurring by the probability of the conditioning event.

This concept is fundamental for updating probabilities based on new information 58.

  • Conditional probability definition: For events A and B with P(A)≠0P(A) \neq 0, the conditional probability of B given A is PA(B)=P(B∣A)=P(A∩B)P(A)P_A(B) = P(B|A) = \frac{P(A \cap B)}{P(A)} 58.

  • Dice roll example: Consider rolling a fair six-sided die. Let A be the event "the number obtained is less than or equal to 5," and B be the event "the number obtained is greater than or equal to 3." If we know A has occurred, what is the probability of B?

  • A = {1, 2, 3, 4, 5}, P(A)=56P(A) = \frac{5}{6}.

  • B = {3, 4, 5, 6}, P(B)=46=23P(B) = \frac{4}{6} = \frac{2}{3}.

  • A∩B={3,4,5}A \cap B = \{3, 4, 5\}, P(A∩B)=36=12P(A \cap B) = \frac{3}{6} = \frac{1}{2}.

  • P(B∣A)=P(A∩B)P(A)=1/25/6=12×65=35P(B|A) = \frac{P(A \cap B)}{P(A)} = \frac{1/2}{5/6} = \frac{1}{2} \times \frac{6}{5} = \frac{3}{5} 58 59.

  • Conditional probability as a new probability: The application PB(A)=P(A∣B)P_B(A) = P(A|B) defines a new probability measure on the sample space, provided P(B)>0P(B) > 0 59.

  • Rearranged formula: The definition can be rewritten as P(A∩B)=P(B∣A)P(A)P(A \cap B) = P(B|A)P(A) or P(A∩B)=P(A∣B)P(B)P(A \cap B) = P(A|B)P(B), which is useful for calculating the probability of the simultaneous occurrence of two events 60.

  • Properties of conditional probability: For an event C with P(C)>0P(C) > 0:

  • P(Aˉ∣C)=1−P(A∣C)P(\bar{A}|C) = 1 - P(A|C)

  • If A⊆BA \subseteq B, then P(A∣C)≤P(B∣C)P(A|C) \leq P(B|C)

  • P{(A∩B)∣C}=P(B∣C)−P(Aˉ∩B∣C)P\{(A \cap B)|C\} = P(B|C) - P(\bar{A} \cap B|C)

  • P{(A∪B)∣C}=P(A∣C)+P(B∣C)−P{(A∩B)∣C}P\{(A \cup B)|C\} = P(A|C) + P(B|C) - P\{(A \cap B)|C\} 60.

  • Independence and conditional probability: If events A and B are independent, then P(A∣B)=P(A)P(A|B) = P(A) and P(B∣A)=P(B)P(B|A) = P(B). This means the occurrence of one event does not influence the probability of the other 61.

7.4 Bayes' Theorem and Total Probability

Bayes' Theorem provides a way to update the probability of a hypothesis based on new evidence, by relating conditional probabilities. The Law of Total Probability allows for the calculation of the probability of an event by summing the probabilities of that event occurring under different mutually exclusive and exhaustive conditions 62.

  • Bayes' Theorem: If P(A)≠0P(A) \neq 0, then P(B∣A)=P(A∣B)⋅P(B)P(A)P(B|A) = \frac{P(A|B) \cdot P(B)}{P(A)} 62.

  • Law of Total Probability: For a partition of the sample space Ω\Omega into non-empty events {A1,A2,…,An}\{A_1, A_2, \dots, A_n\}, and any event B: P(B)=∑i=1nP(B∣Ai)P(Ai)P(B) = \sum_{i=1}^n P(B|A_i)P(A_i) 62.

  • Special case for n=2: P(A)=P(A∣B)P(B)+P(A∣Bˉ)P(Bˉ)P(A) = P(A|B)P(B) + P(A|\bar{B})P(\bar{B}) 62.

  • Extended Bayes' Theorem: For a partition {A1,A2,…,An}\{A_1, A_2, \dots, A_n\} of Ω\Omega and an event B: P(Ai∣B)=P(Ai)P(B∣Ai)∑j=1nP(Aj)P(B∣Aj)P(A_i|B) = \frac{P(A_i)P(B|A_i)}{\sum_{j=1}^n P(A_j)P(B|A_j)} 64.

  • Example: Production machines: An factory has three machines (A, B, C) producing 50%, 30%, and 20% of the output, respectively. Their defect rates are 3%, 4%, and 5%.

  1. Calculate the probability that a randomly chosen piece is defective.
  2. Calculate the probability that a defective piece comes from machine A 64.
  • Example: Urn problem: A box contains 4 red and 10 white balls. A second box contains 6 red balls. A ball is drawn from the first box and placed into the second. Then, a ball is drawn from the second box. Calculate the probability that this second ball is red.
  • Let B be the event "drawing a red ball from the second box."
  • Let A1A_1 be the event "the first ball drawn is red."
  • Let A2A_2 be the event "the first ball drawn is white."
  • Calculate P(B)P(B) 63.

7.5 Exercises

This section presents problems designed to test understanding of independence and conditional probability concepts 65.

  • Exercise 1: In a high school, 40% of students are girls. Half of the girls play a sport, while one-third of the boys play a sport. A student is chosen at random.
  1. What is the probability that this student plays a sport?
  2. What is the probability that the chosen student is a girl, given that they play a sport 65?

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also