Chapter 1: Probability Theory: Sample Spaces, Events, Counting Rules, and Bayes' Theorem

Sample Space

  • Observations and Statistical Experiments:

    • An observation refers to any recorded information, whether numerical (such as counts or measurements) or categorical (classified according to specific criteria).

    • Numerical observation examples: Recording monthly accident counts at the intersection of Driftwood Lane and Royal Oak Drive as 22, 00, 11, and 22.

    • Categorical observation examples: Inspecting five manufactured items and recording their quality status as nondefective (NN) or defective (DD): NN, DD, NN, NN, DD.

    • An experiment is any process that generates a set of data.

    • Statistical studies—including designed experiments, observational studies, and retrospective studies—are all classified as statistical experiments because the data generated is subject to uncertainty.

    • Examples of statistical experiments include tossing a coin, launching a missile to record velocity over time, surveying voter opinions on a new sales tax, analyzing corrosion measurements, evaluating blood cholesterol and sodium levels, or evaluating historical monthly electric power consumption against ambient temperature.

  • Definition of Sample Space:

    • The sample space of a statistical experiment is the set of all possible outcomes and is represented by the symbol SS.

    • Each individual outcome in a sample space is called an element, a member, or a sample point.

    • When a sample space contains a finite number of elements, they can be listed explicitly inside braces separated by commas.

    • For a single coin flip: S={H,T}S = \{H, T\}, where HH represents heads and TT represents tails.

  • Multiple Sample Spaces and Detailed Representation:

    • Depending on the objective of an investigation, an experiment can be described by more than one sample space.

    • Example 2.1: Tossing a single six-sided die.

    • If interested in the exact number showing on the top face: S1={1,2,3,4,5,6}S_1 = \{1, 2, 3, 4, 5, 6\}.

    • If interested only in whether the top face is even or odd: S2={even,odd}S_2 = \{\text{even}, \text{odd}\}.

    • S1S_1 contains more detailed information than S2S_2. Knowing which element occurs in S1S_1 uniquely determines the outcome in S2S_2, whereas knowing the outcome in S2S_2 does not uniquely determine the element in S1S_1. The sample space providing the maximum information is generally preferred.

  • Tree Diagrams:

    • Tree diagrams systematically list the sample points of multi-stage experiments.

    • Example 2.2: Flipping a coin once. If heads occurs, the coin is flipped a second time. If tails occurs on the first flip, a six-sided die is tossed once.

    • First-stage paths: HH or TT.

    • Second-stage paths following HH: HH or TT.

    • Second-stage paths following TT: 1, 2, 3, 4, 5, 6$.\n - Resulting sample space: S = {HH, HT, T1, T2, T3, T4, T5, T6}.\n\n![Tree diagram for Example 2.2](https://assets.knowt.com/pdf-flow-prod/d6baa0e2-ab34-420b-9829-5871eb1a5f3e-figures/2.png)\n\n - **Example 2.3:** Selecting three items at random from a manufacturing process and classifying each as defective (D)ornondefective() or nondefective (N).\n - Path outcomes across three successive items generate 2^3 = 8 sample points.\n - Resulting sample space: S = {DDD, DDN, DND, DNN, NDD, NDN, NND, NNN}.\n\n![Tree diagram for Example 2.3](https://assets.knowt.com/pdf-flow-prod/d6baa0e2-ab34-420b-9829-5871eb1a5f3e-figures/3.png)\n\n- **Statement or Rule Method:**\n - When a sample space contains a large or infinite number of outcomes, it is represented using rule notation: S = {x \mid \text{condition on } x},readas", read as "Sisthesetofallis the set of allx such that the condition holds."\n - Examples:\n - Cities with population over 1 million: S = {x \mid x \text{ is a city with a population over } 1\,\text{million}}.\n - Points on or inside a circle of radius 2centeredattheorigin:centered at the origin:S = {(x, y) \mid x^2 + y^2 \le 4}.\n - Sampling items sequentially until one defective item is observed: S = {D, ND, NND, NNND, \dots}.\n\n# Events\n\n- **Definition of Events and Special Subsets:**\n - An **event** is a subset of a sample space S.\n - **Example 2.4:** Let S = {t \mid t \ge 0}representthelifelengthinyearsofanelectroniccomponent.Theeventrepresent the life length in years of an electronic component. The eventAthatthecomponentfailsbeforetheendofthefifthyearisthat the component fails before the end of the fifth year isA = {t \mid 0 \le t < 5}.\n - **Entire Sample Space (S):** The subset containing all outcomes.\n - **Null Set (\phi):** A subset containing no elements, representing an impossible event.\n - Example: Detecting a microscopic organism with the naked eye (A = \phi).\n - Example: B = {x \mid x \text{ is an even factor of } 7} = \phi,becausethefactorsof, because the factors of7areare1andand7, which are both odd.\n\n- **Complements of Events:**\n - The **complement** of an event Awithrespecttowith respect toSisthesubsetofallelementsinis the subset of all elements inSthatarenotinthat are not inA,denotedby, denoted byA'\n - **Example 2.5:** If Ristheeventofselectingaredcardfromastandarddeckofis the event of selecting a red card from a standard deck of52playingcardsplaying cardsS,then, thenR' is the event of selecting a card that is not red (i.e., a black card).\n - **Example 2.6:** Given S = {\text{book}, \text{cell phone}, \text{mp3}, \text{paper}, \text{stationery}, \text{laptop}}.If. IfA = {\text{book}, \text{stationery}, \text{laptop}, \text{paper}},then, thenA' = {\text{cell phone}, \text{mp3}}.\n\n- **Operations on Events:**\n - **Intersection (A \cap B):∗∗Theeventcontainingallelementscommontoboth):** The event containing all elements common to bothAandandB.\n - **Example 2.7:** Let Ebetheeventthatastudentchoseninaclassroomismajoringinengineering,andbe the event that a student chosen in a classroom is majoring in engineering, andFbetheeventthatthestudentisfemale.Theintersectionbe the event that the student is female. The intersectionE \cap F is the event of choosing a female engineering student.\n - **Example 2.8:** Let V = {a, e, i, o, u}andandC = {l, r, s, t}.Theirintersectionis. Their intersection isV \cap C = \phi.\n - **Mutually Exclusive / Disjoint Events:**\n - Two events AandandBaremutuallyexclusive(ordisjoint)ifare mutually exclusive (or disjoint) ifA \cap B = \phi; they cannot occur simultaneously.\n - **Example 2.9:** Let AbetheeventthatatelevisionprogramisaffiliatedwithNBC,andbe the event that a television program is affiliated with NBC, andBbetheeventthatitisaffiliatedwithCBS.Sinceaprogramcannotbelongtomorethanonenetwork,be the event that it is affiliated with CBS. Since a program cannot belong to more than one network,A \cap B = \phi,so, soAandandB are mutually exclusive.\n - **Union (A \cup B):∗∗Theeventcontainingallelementsbelongingto):** The event containing all elements belonging toA,to, toB, or to both.\n - **Example 2.10:** If A = {a, b, c}andandB = {b, c, d, e},then, thenA \cup B = {a, b, c, d, e}.\n - **Example 2.11:** Let Pbetheeventthatanemployeesmokescigarettes,andbe the event that an employee smokes cigarettes, andQbetheeventthattheemployeedrinksalcoholicbeverages.be the event that the employee drinks alcoholic beverages.P \cup Q is the event that the employee drinks, smokes, or does both.\n - **Example 2.12:** If M = {x \mid 3 < x < 9}andandN = {y \mid 5 < y < 12},then, thenM \cup N = {z \mid 3 < z < 12}.\n\n- **Venn Diagrams and Fundamental Set Identities:**\n - Graphical representation: Sample space S is depicted as a rectangle, and events are represented as circles drawn inside.\n\n![Venn diagram for events represented by various regions](https://assets.knowt.com/pdf-flow-prod/d6baa0e2-ab34-420b-9829-5871eb1a5f3e-figures/19.png)\n\n - Fundamental Identities:\n 1. A \cap \phi = \phi\n 2. A \cup \phi = A\n 3. A \cap A' = \phi\n 4. A \cup A' = S\n 5. S' = \phi\n 6. \phi' = S\n 7. (A')' = A\n 8. (A \cap B)' = A' \cup B'\n 9. (A \cup B)' = A' \cap B'\n\n# Counting Sample Points\n\n- **Multiplication Rules:**\n - **Rule 2.1 (Two Operations):** If an operation can be performed in n_1ways,andforeachofthesewaysasecondoperationcanbeperformedinways, and for each of these ways a second operation can be performed inn_2ways,thenthetwooperationscanbeperformedtogetherinways, then the two operations can be performed together inn_1 n_2 ways.\n - **Example 2.13:** Tossing a pair of dice. The first die lands face-up in n_1 = 6ways,andthesecondinways, and the second inn_2 = 6ways.Totaloutcomes=ways. Total outcomes =n_1 n_2 = (6)(6) = 36.\n - **Example 2.14:** Choosing a home with 4exteriorstyles(Tudor,rustic,colonial,traditional)andexterior styles (Tudor, rustic, colonial, traditional) and3floorplans(ranch,two−story,split−level).Totalchoices=floor plans (ranch, two-story, split-level). Total choices =n_1 n_2 = (4)(3) = 12.\n\n![Tree diagram for Example 2.14 showing exterior styles and floor plans](https://assets.knowt.com/pdf-flow-prod/d6baa0e2-ab34-420b-9829-5871eb1a5f3e-figures/25.png)\n\n - **Example 2.15:** Electing a chair (22options)andatreasurer(options) and a treasurer (21options)fromaoptions) from a22−memberclub.Totalways=-member club. Total ways =n_1 n_2 = (22)(21) = 462$.

    • Rule 2.2 (Generalized Multiplication Rule): If a sequence of kk operations can be performed in n1,n2,…,nkn_1, n_2, \dots, n_k ways respectively, then the sequence can be performed in n1n2…nkn_1 n_2 \dots n_k ways.

    • Example 2.16: Assembling a computer with 22 chip brands, 44 hard drives, 33 memory options, and 55 accessory stores. Total ways = n_1 n_2 n_3 n_4 = (2)(4)(3)(5) = 120$.\n - **Example 2.17:** Forming even four-digit numbers from digits 0, 1, 2, 5, 6, 9 without repeating any digit.\n - Case 1: Units digit is 0((n_1 = 1choice).Thousandspositionhaschoice). Thousands position hasn_2 = 5choices,hundredspositionhaschoices, hundreds position hasn_3 = 4choices,tenspositionhaschoices, tens position hasn_4 = 3choices.Count=choices. Count =(1)(5)(4)(3) = 60$.

      • Case 2: Units digit is non-zero (22 or 66, so n1=2n_1 = 2 choices). Thousands position cannot be 00 or the units digit (n2=4n_2 = 4 choices), hundreds position has n3=4n_3 = 4 choices, tens position has n4=3n_4 = 3 choices. Count = (2)(4)(4)(3) = 96$.\n - Total even four-digit numbers = 60 + 96 = 156$.

  • Permutations:

    • A permutation is an arrangement of all or part of a set of objects.

    • Factorial Notation: For any non-negative integer nn, n!n! ("nn factorial") is defined as:     n!=n(n−1)…(2)(1)n! = n(n-1) \dots (2)(1)     with special case 0! = 1$.\n - **Theorem 2.1:** The number of permutations of ndistinctobjectsisdistinct objects isn!$.

    • Example: Permutations of four letters a,b,c,da, b, c, d equal 4! = 24$.\n - **Theorem 2.2:** The number of permutations of ndistinctobjectstakendistinct objects takenr at a time is:\n    {}n P_r = \frac{n!}{(n - r)!}\n - **Example 2.18:** Distributing 3distinctawards(research,teaching,service)toaclassofdistinct awards (research, teaching, service) to a class of25 graduate students with at most one award per student:\n      {}{25} P_3 = \frac{25!}{(25 - 3)!} = \frac{25!}{22!} = (25)(24)(23) = 13800\n - **Example 2.19:** Electing a president and a treasurer from a student club of 50 people.\n - (a) Without restrictions: {}_{50} P_2 = \frac{50!}{48!} = (50)(49) = 2450$.

      • (b) AA serves only if he is president: Either AA is president (4949 treasurer options) or AA is not selected (49P2=(49)(48)=2352{}_{49} P_2 = (49)(48) = 2352 options). Total = 49 + 2352 = 2401$.\n - (c) BandandCservetogetherornotatall:Servingtogetheryieldsserve together or not at all: Serving together yields2options(options (Bpres/pres/Ctreas,ortreas, orCpres/pres/Btreas);neitherservingyieldstreas); neither serving yields{}_{48} P_2 = 2256options.Total=options. Total =2 + 2256 = 2258$.

      • (d) DD and EE will not serve together: Total ways without restriction (24502450) minus ways they serve together (22) = 2450 - 2 = 2448$.\n\n- **Circular Permutations:**\n - **Theorem 2.3:** The number of permutations of ndistinctobjectsarrangedinacircleisdistinct objects arranged in a circle is(n - 1)!$.

    • Explanation: Fixing one object in a single position leaves (n−1)(n - 1) remaining objects to be arranged relative to it in (n−1)!(n - 1)! distinct ways.

  • Permutations of Similar / Non-Distinct Objects:

    • Theorem 2.4: The number of distinct permutations of nn things of which n1n_1 are of a first kind, n2n_2 of a second kind, …, nkn_k of a kk-th kind is:     n!n1!n2!…nk!\frac{n!}{n_1! n_2! \dots n_k!}

    • Example 2.20: Arranging 1010 football players in a row consisting of 11 freshman, 22 sophomores, 44 juniors, and 33 seniors, distinguishing only by class level:     10!1!2!4!3!=12600\frac{10!}{1! 2! 4! 3!} = 12600

  • Partitions:

    • Theorem 2.5: The number of ways of partitioning a set of nn objects into rr cells with n1n_1 elements in the first cell, n2n_2 elements in the second, …, and nrn_r elements in the rr-th cell (where n1+n2+⋯+nr=nn_1 + n_2 + \dots + n_r = n) is:     (nn1,n2,…,nr)=n!n1!n2!…nr!\binom{n}{n_1, n_2, \dots, n_r} = \frac{n!}{n_1! n_2! \dots n_r!}

    • Example 2.21: Assigning 77 graduate students to 11 triple room and 22 double rooms:     (73,2,2)=7!3!2!2!=210\binom{7}{3, 2, 2} = \frac{7!}{3! 2! 2!} = 210

  • Combinations:

    • A combination is a selection of rr objects from nn without regard to order. It represents a partition into two cells containing rr and n−rn - r objects.

    • Theorem 2.6: The number of combinations of nn distinct objects taken rr at a time is:     (nr)=n!r!(n−r)!\binom{n}{r} = \frac{n!}{r! (n - r)!}

    • Example 2.22: Selecting 33 arcade games from 1010 and 22 sports games from 55:     (103)=10!3!7!=120,(52)=5!2!3!=10\binom{10}{3} = \frac{10!}{3! 7!} = 120, \quad \binom{5}{2} = \frac{5!}{2! 3!} = 10     Total selections = (120)(10) = 1200$.\n - **Example 2.23:** Distinct letter arrangements from STATISTICS (10letters:letters:3S′s,S's,3T′s,T's,2I′s,I's,1A,A,1 C):\n    \binom{10}{3, 3, 2, 1, 1} = \frac{10!}{3! 3! 2! 1! 1!} = 50400\n\n# Probability of an Event\n\n- **Axioms and Definitions:**\n - **Definition 2.9:** The **probability** of an event A,denotedby, denoted byP(A),isthesumoftheweightsassignedtoallsamplepointsin, is the sum of the weights assigned to all sample points inA$.

    • Axioms:

    1. 0≤P(A)≤10 \le P(A) \le 1 for every event A$.\n 2. P(\phi) = 0$.

    2. P(S) = 1$.\n 4. If A_1, A_2, A_3, \dots is a sequence of mutually exclusive events, then:\n       P(A_1 \cup A_2 \cup A_3 \cup \dots) = P(A_1) + P(A_2) + P(A_3) + \dots\n\n- **Equally Likely Outcomes:**\n - **Rule 2.3:** If an experiment can result in any one of Ndifferentequallylikelyoutcomes,andexactlydifferent equally likely outcomes, and exactlynoftheseoutcomescorrespondtoeventof these outcomes correspond to eventA, then:\n    P(A) = \frac{n}{N}\n\n- **Detailed Applications and Examples:**\n - **Example 2.24:** Tossing a balanced coin twice (S = {HH, HT, TH, TT},eachassignedweight, each assigned weight\omega = \frac{1}{4}).Event). EventAisatleastis at least1head(head (A = {HH, HT, TH}):\n    P(A) = \frac{1}{4} + \frac{1}{4} + \frac{1}{4} = \frac{3}{4}\n - **Example 2.25:** A loaded die where even numbers are twice as likely as odd numbers. Assign weight wtooddnumbersandto odd numbers and2w to even numbers.\n - Sum of weights: w + 2w + w + 2w + w + 2w = 9w = 1 \implies w = \frac{1}{9}.\n - Odd probabilities = \frac{1}{9},Evenprobabilities=, Even probabilities =\frac{2}{9}.\n - Event E = {1, 2, 3}(numberlessthan(number less than4):\n      P(E) = \frac{1}{9} + \frac{2}{9} + \frac{1}{9} = \frac{4}{9}\n - **Example 2.26:** Using Example 2.25, let A = {2, 4, 6}(even)and(even) andB = {3, 6}(divisibleby(divisible by3).\n - A \cup B = {2, 3, 4, 6} \implies P(A \cup B) = \frac{2}{9} + \frac{1}{9} + \frac{2}{9} + \frac{2}{9} = \frac{7}{9}.\n - A \cap B = {6} \implies P(A \cap B) = \frac{2}{9}.\n - **Example 2.27:** Selecting a student at random from a class of 53((25industrial,industrial,10mechanical,mechanical,10electrical,electrical,8 civil engineering majors).\n - (a) Probability of selecting an industrial engineering major P(I) = \frac{25}{53}.\n - (b) Probability of selecting a civil or electrical engineering major P(C \cup E) = \frac{8 + 10}{53} = \frac{18}{53}.\n - **Example 2.28:** Probability of holding 2acesandaces and3jacksinajacks in a5-card poker hand:\n - Number of ways to get 2acesfromaces from4::\binom{4}{2} = 6$.

    • Number of ways to get 33 jacks from 44: \binom{4}{3} = 4$.\n - Favorable hands n = (6)(4) = 24$.

    • Total possible 55-card poker hands N = \binom{52}{5} = \frac{52!}{5! 47!} = 2598960$.\n - Probability P(C) = \frac{24}{2598960} \approx 0.9 \times 10^{-5}.\n\n- **Interpretations of Probability:**\n - **Relative Frequency:** The limiting proportion of times an event occurs in a long series of repeated identical statistical trials.\n - **Indifference Approach:** Equal likelihood assigned to symmetric outcomes (such as a fair die landing on any of its six sides with probability \frac{1}{6}).\n - **Subjective Probability:** Assigned based on personal beliefs, intuition, or historical non-repeatable information (used in Bayesian statistics).\n\n# Additive Rules\n\n- **Theorem 2.7 (Additive Rule for Two Events):**\n - For any two events AandandB:\n    P(A \cup B) = P(A) + P(B) - P(A \cap B)\n - Proof intuition: Adding P(A)andandP(B)countstheprobabilitiesincounts the probabilities inA \cap Btwice,sotwice, soP(A \cap B) must be subtracted once.\n\n- **Corollaries of the Additive Rule:**\n - **Corollary 2.1:** If AandandBaremutuallyexclusive(are mutually exclusive (A \cap B = \phi), then:\n    P(A \cup B) = P(A) + P(B)\n - **Corollary 2.2:** If A_1, A_2, \dots, A_n are mutually exclusive, then:\n    P(A_1 \cup A_2 \cup \dots \cup A_n) = P(A_1) + P(A_2) + \dots + P(A_n)\n - **Corollary 2.3:** If A_1, A_2, \dots, A_nformapartitionofthesamplespaceform a partition of the sample spaceS, then:\n    P(A_1 \cup A_2 \cup \dots \cup A_n) = P(A_1) + P(A_2) + \dots + P(A_n) = P(S) = 1\n\n- **Theorem 2.8 (Additive Rule for Three Events):**\n - For any three events A,,B,and, andC:\n    P(A \cup B \cup C) = P(A) + P(B) + P(C) - P(A \cap B) - P(A \cap C) - P(B \cap C) + P(A \cap B \cap C)\n\n- **Theorem 2.9 (Complement Rule):**\n - For complementary events AandandA',,P(A) + P(A') = 1, or:\n    P(A) = 1 - P(A')\n\n- **Examples:**\n - **Example 2.29:** Job offer probabilities: P(A) = 0.8(companyA),(company A),P(B) = 0.6(companyB),(company B),P(A \cap B) = 0.5 (both companies). Probability of at least one offer:\n    P(A \cup B) = 0.8 + 0.6 - 0.5 = 0.9\n - **Example 2.30:** Tossing two fair dice. Find probability of getting a total of 7oror11$.

    • Event AA (sum 77): 66 outcomes out of 36  ⟹  P(A)=1636 \implies P(A) = \frac{1}{6}.

    • Event BB (sum 1111): 22 outcomes out of 36  ⟹  P(B)=11836 \implies P(B) = \frac{1}{18}.

    • Since A∩B=ϕA \cap B = \phi: P(A∪B)=16+118=29P(A \cup B) = \frac{1}{6} + \frac{1}{18} = \frac{2}{9}.

    • Example 2.31: Purchasing a car in green (0.090.09), white (0.150.15), red (0.210.21), or blue (0.230.23).

    • Since choices are mutually exclusive:       P(G∪W∪R∪B)=0.09+0.15+0.21+0.23=0.68P(G \cup W \cup R \cup B) = 0.09 + 0.15 + 0.21 + 0.23 = 0.68

    • Example 2.32: Mechanic servicing cars daily with probabilities: 33 (0.120.12), 44 (0.190.19), 55 (0.280.28), 66 (0.240.24), 77 (0.100.10), ≥8\ge 8 (0.070.07).

    • Event EE: servicing at least 55 cars. Complement E′E': servicing fewer than 55 cars (33 or 44).

    • P(E') = 0.12 + 0.19 = 0.31 \implies P(E) = 1 - 0.31 = 0.69$.\n - **Example 2.33:** Computer cable specification length 2000 \pm 10\,\text{mm}.\n - Probability meeting spec P(M) = 0.99.Probabilitytoosmall. Probability too smallP(S) = P(L) = \frac{1 - 0.99}{2} = 0.005$.

    • (a) Probability cable selected is too large = P(L) = 0.005$.\n - (b) Probability cable is larger than 1990\,\text{mm}:\n      P(X \ge 1990) = P(M) + P(L) = 0.99 + 0.005 = 0.995\n      Or via complement: P(X \ge 1990) = 1 - P(S) = 1 - 0.005 = 0.995$.

Conditional Probability, Independence, and the Product Rule

  • Conditional Probability:

    • Definition 2.10: The conditional probability of BB given AA, denoted P(B∣A)P(B|A), is defined by:     P(B∣A)=P(A∩B)P(A),provided P(A)>0P(B|A) = \frac{P(A \cap B)}{P(A)}, \quad \text{provided } P(A) > 0

    • Example 2.34: On-time flight departure (DD) and arrival (AA).

    • P(D)=0.83P(D) = 0.83, P(A)=0.82P(A) = 0.82, P(D \cap A) = 0.78$.\n - (a) On-time arrival given on-time departure:\n      P(A|D) = \frac{P(D \cap A)}{P(D)} = \frac{0.78}{0.83} \approx 0.94\n - (b) On-time departure given on-time arrival:\n      P(D|A) = \frac{P(D \cap A)}{P(A)} = \frac{0.78}{0.82} \approx 0.95\n - On-time arrival given late departure:\n      P(A|D') = \frac{P(A \cap D')}{P(D')} = \frac{0.82 - 0.78}{1 - 0.83} = \frac{0.04}{0.17} \approx 0.24\n - **Example 2.35:** Textile cloth strips failing length (L)andtexture() and texture (T) tests.\n - P(L) = 0.10,,P(T) = 0.05,,P(L \cap T) = 0.008$.

    • Conditional probability of texture defect given length defect:       P(T∣L)=P(T∩L)P(L)=0.0080.10=0.08P(T|L) = \frac{P(T \cap L)}{P(L)} = \frac{0.008}{0.10} = 0.08

  • Independent Events:

    • Definition 2.11: Two events AA and BB are independent if and only if:     P(B∣A)=P(B)orP(A∣B)=P(A)P(B|A) = P(B) \quad \text{or} \quad P(A|B) = P(A)     assuming conditional probabilities exist. Otherwise, AA and BB are dependent.

  • Product / Multiplicative Rules:

    • Theorem 2.10 (General Multiplicative Rule):     P(A∩B)=P(A)P(B∣A),provided P(A)>0P(A \cap B) = P(A) P(B|A), \quad \text{provided } P(A) > 0

    • Theorem 2.11 (Multiplicative Rule for Independent Events): Two events AA and BB are independent if and only if:     P(A∩B)=P(A)P(B)P(A \cap B) = P(A) P(B)

    • Example 2.36: Fuse box containing 2020 fuses (55 defective). Two fuses selected sequentially without replacement.

    • Let AA be first defective, BB second defective.

    • P(A)=520=14P(A) = \frac{5}{20} = \frac{1}{4}, P(B|A) = \frac{4}{19}$.\n - P(A \cap B) = \left(\frac{1}{4}\right) \left(\frac{4}{19}\right) = \frac{1}{19}$.

    • Example 2.37: Bag 1 contains 44 white, 33 black. Bag 2 contains 33 white, 55 black. One ball transferred unseen from Bag 1 to Bag 2, then a ball drawn from Bag 2.

    • Probability black ball drawn from Bag 2:       P(B2)=P(B1)P(B2∣B1)+P(W1)P(B2∣W1)=(37)(69)+(47)(59)=18+2063=3863P(B_2) = P(B_1) P(B_2|B_1) + P(W_1) P(B_2|W_1) = \left(\frac{3}{7}\right) \left(\frac{6}{9}\right) + \left(\frac{4}{7}\right) \left(\frac{5}{9}\right) = \frac{18 + 20}{63} = \frac{38}{63}

    • Example 2.38: Independent availability of fire engine (P(A)=0.98P(A) = 0.98) and ambulance (P(B)=0.92P(B) = 0.92).

    • Probability both are available: P(A \cap B) = P(A) P(B) = (0.98)(0.92) = 0.9016$.\n - **Example 2.39:** Electrical system with serial components A((0.9),),B((0.9)andparallelsubsystem) and parallel subsystemC((0.8),),D((0.8).\n\n![Electrical system diagram with four components](https://assets.knowt.com/pdf-flow-prod/d6baa0e2-ab34-420b-9829-5871eb1a5f3e-figures/35.png)\n\n - (a) Probability the system works:\n      P(A \cap B \cap (C \cup D)) = P(A) P(B) [1 - P(C') P(D')] = (0.9)(0.9)[1 - (0.2)(0.2)] = (0.81)(0.96) = 0.7776\n - (b) Probability component C does not work given system works:\n      \frac{P(A \cap B \cap C' \cap D)}{P(\text{system works})} = \frac{(0.9)(0.9)(0.2)(0.8)}{0.7776} = \frac{0.1296}{0.7776} = 0.1667\n\n- **Generalized Multiplicative Rule & Mutual Independence:**\n - **Theorem 2.12:** For events A_1, A_2, \dots, A_k:\n    P(A_1 \cap A_2 \cap \dots \cap A_k) = P(A_1) P(A_2|A_1) P(A_3|A_1 \cap A_2) \dots P(A_k|A_1 \cap A_2 \cap \dots \cap A_{k-1})\n    If events are independent:\n    P(A_1 \cap A_2 \cap \dots \cap A_k) = P(A_1) P(A_2) \dots P(A_k)\n - **Example 2.40:** Drawing 3 cards in succession without replacement.\n - A_1:redace(: red ace (P(A_1) = \frac{2}{52}).\n - A_2:10orjack(: 10 or jack (P(A_2|A_1) = \frac{8}{51}).\n - A_3:cardvaluebetween3and7(: card value between 3 and 7 (4, 5, 6,so, so12cards;cards;P(A_3|A_1 \cap A_2) = \frac{12}{50}).\n - P(A_1 \cap A_2 \cap A_3) = \left(\frac{2}{52}\right) \left(\frac{8}{51}\right) \left(\frac{12}{50}\right) = \frac{8}{5525}$.

    • Definition 2.12 (Mutual Independence): A collection of events A={A1,…,An}\mathcal{A} = \{A_1, \dots, A_n\} is mutually independent if for every subset {Ai1,…,Aik}\{A_{i_1}, \dots, A_{i_k}\} (with k≤nk \le n):     P(Ai1∩⋯∩Aik)=P(Ai1)…P(Aik)P(A_{i_1} \cap \dots \cap A_{i_k}) = P(A_{i_1}) \dots P(A_{i_k})

Bayes' Rule

  • Theorem of Total Probability (Rule of Elimination):

    • Theorem 2.13: Let B1,B2,…,BkB_1, B_2, \dots, B_k form a partition of the sample space SS such that P(Bi)≠0P(B_i) \neq 0 for all ii. Then for any event AA of SS:     P(A)=∑i=1kP(Bi∩A)=∑i=1kP(Bi)P(A∣Bi)P(A) = \sum_{i=1}^k P(B_i \cap A) = \sum_{i=1}^k P(B_i) P(A|B_i)

    • Example 2.41: Plant with 3 machines (B1,B2,B3B_1, B_2, B_3) producing 30%30\%, 45%45\%, and 25%25\% of products with defect rates 2%2\%, 3%3\%, and 2%2\% respectively.

    • P(B1)=0.30P(B_1) = 0.30, P(A|B_1) = 0.02 \implies P(B_1) P(A|B_1) = 0.006$.\n - P(B_2) = 0.45,,P(A|B_2) = 0.03 \implies P(B_2) P(A|B_2) = 0.0135$.

    • P(B3)=0.25P(B_3) = 0.25, P(A|B_3) = 0.02 \implies P(B_3) P(A|B_3) = 0.005$.\n - Total defective product probability P(A) = 0.006 + 0.0135 + 0.005 = 0.0245$.

  • Bayes' Rule:

    • Theorem 2.14 (Bayes' Rule): Let B1,B2,…,BkB_1, B_2, \dots, B_k be a partition of SS with P(Bi)≠0P(B_i) \neq 0. For any event AA with P(A)≠0P(A) \neq 0:     P(Br∣A)=P(Br∩A)∑i=1kP(Bi∩A)=P(Br)P(A∣Br)∑i=1kP(Bi)P(A∣Bi),r=1,2,…,kP(B_r|A) = \frac{P(B_r \cap A)}{\sum_{i=1}^k P(B_i \cap A)} = \frac{P(B_r) P(A|B_r)}{\sum_{i=1}^k P(B_i) P(A|B_i)}, \quad r = 1, 2, \dots, k

    • Example 2.42: Given that a selected product from Example 2.41 is defective, probability it was made by machine B3B_3:     P(B3∣A)=P(B3)P(A∣B3)P(A)=0.0050.0245=1049≈0.2041P(B_3|A) = \frac{P(B_3) P(A|B_3)}{P(A)} = \frac{0.005}{0.0245} = \frac{10}{49} \approx 0.2041

    • Example 2.43: Three analytical plans (P1,P2,P3P_1, P_2, P_3) used 30%30\%, 20%20\%, and 50%50\% of the time. Defect rates: P(D∣P1)=0.01P(D|P_1) = 0.01, P(D∣P2)=0.03P(D|P_2) = 0.03, P(D|P_3) = 0.02$.\n - Total defect probability:\n      P(D) = (0.30)(0.01) + (0.20)(0.03) + (0.50)(0.02) = 0.003 + 0.006 + 0.010 = 0.019\n - Posterior probabilities given a defective product:\n - Plan 1: P(P_1|D) = \frac{0.003}{0.019} \approx 0.158\n - Plan 2: P(P_2|D) = \frac{0.006}{0.019} \approx 0.316\n - Plan 3: P(P_3|D) = \frac{0.010}{0.019} \approx 0.526$$

    • Plan 3 is most likely responsible for the defective product.