Comprehensive Study Notes on Contingency Tables, Tree Diagrams, Venn Diagrams, and Probability Topics

Contingency Tables

A contingency table provides a structured method for displaying sample data involving two categorical variables that may be dependent or contingent upon one another. Contingency tables facilitate the calculation of simple, joint, and conditional probabilities by organizing raw counts into clear rows and columns with corresponding totals.

Structure and Basic Probability Calculations

  • Table Layout: Rows represent the outcomes of one variable, while columns represent the outcomes of a second variable. Row totals, column totals, and the overall grand total (NN) are calculated along the margins.

  • Marginal Probability: The probability of a single event occurring, calculated using the row or column total divided by the total sample size NN.

  • Joint Probability (AND\text{AND}): The probability that two events occur simultaneously, found at the intersection of a specific row and column divided by NN.

  • Union Probability (OR\text{OR}): The probability that either event occurs, calculated using the addition rule:

P(A OR B)=P(A)+P(B)−P(A AND B)P(A \text{ OR } B) = P(A) + P(B) - P(A \text{ AND } B)

  • Conditional Probability (GIVEN\text{GIVEN} or ∣\mid): The probability of an event occurring given that another event has already occurred. This restricts the sample space to the total of the given condition:

P(A∣B)=P(A AND B)P(B)P(A \mid B) = \frac{P(A \text{ AND } B)}{P(B)}


Worked Examples and Exercises

Example 3.20: Speeding Violations and Cell Phone Use

A study examining speeding violations in the last year and cell phone usage while driving produced the following data:

Cell Phone Usage

Speeding Violation in Last Year

No Speeding Violation in Last Year

Total

Uses cell phone while driving

2525

280280

305305

Does not use cell phone while driving

4545

405405

450450

Total

7070

685685

755755

  • Sample Totals:

    • Total sample size: N=755N = 755

    • Row totals: 305305 and 450450 (305+450=755305 + 450 = 755)

    • Column totals: 7070 and 685685 (70+685=75570 + 685 = 755)

  • Calculations:

    • a. Find P(Driver is a cell phone user)P(\text{Driver is a cell phone user}):

P(Cell Phone User)=305755P(\text{Cell Phone User}) = \frac{305}{755}

*   **b. Find P(Driver had no violation in the last year)P(\text{Driver had no violation in the last year})**:

P(No Violation)=685755P(\text{No Violation}) = \frac{685}{755}

*   **c. Find P(Driver had no violation in the last year AND was a cell phone user)P(\text{Driver had no violation in the last year AND was a cell phone user})**:

P(No Violation AND Cell Phone User)=280755P(\text{No Violation AND Cell Phone User}) = \frac{280}{755}

*   **d. Find P(Driver is a cell phone user OR driver had no violation in the last year)P(\text{Driver is a cell phone user OR driver had no violation in the last year})**:

P(Cell Phone User OR No Violation)=305755+685755−280755=710755P(\text{Cell Phone User OR No Violation}) = \frac{305}{755} + \frac{685}{755} - \frac{280}{755} = \frac{710}{755}

*   **e. Find P(Driver is a cell phone user GIVEN driver had a violation in the last year)P(\text{Driver is a cell phone user GIVEN driver had a violation in the last year})**:

P(Cell Phone User∣Violation)=2570P(\text{Cell Phone User} \mid \text{Violation}) = \frac{25}{70}

*   **f. Find P(Driver had no violation last year GIVEN driver was not a cell phone user)P(\text{Driver had no violation last year GIVEN driver was not a cell phone user})**:

P(No Violation∣Non-Cell Phone User)=405450P(\text{No Violation} \mid \text{Non-Cell Phone User}) = \frac{405}{450}


Try It 3.20: Athletic Stretching and Injury Rates

A study tracked athletes who stretch before exercising and whether they sustained injuries within the past year:

Stretching Status

Injury in Last Year

No Injury in Last Year

Total

Stretches

5555

295295

350350

Does not stretch

231231

219219

450450

Total

286286

514514

800800

  • Calculations:

    • a. Find P(Athlete stretches before exercising)P(\text{Athlete stretches before exercising}):

P(Stretches)=350800P(\text{Stretches}) = \frac{350}{800}

*   **b. Find P(Athlete stretches before exercising∣No injury in the last year)P(\text{Athlete stretches before exercising} \mid \text{No injury in the last year})**:

P(Stretches∣No Injury)=295514P(\text{Stretches} \mid \text{No Injury}) = \frac{295}{514}


Example 3.21: Hiking Area Preference by Sex

A sample of 100100 hikers produced preferences for hiking areas:

Sex

The Coastline

Near Lakes and Streams

On Mountain Peaks

Total

Women (FF)

1818

1616

1111

4545

Men (MM)

2323

1818

1414

5555

Total

4141

3434

2525

100100

  • Completing Table 3.5:

    • Women Mountain Peaks = 45−18−16=1145 - 18 - 16 = 11

    • Men Coastline = 41−18=2341 - 18 = 23

    • Men Total = 100−45=55100 - 45 = 55

    • Men Lakes and Streams = 55−23−14=1855 - 23 - 14 = 18

    • Lakes and Streams Total = 16+18=3416 + 18 = 34

    • Mountain Peaks Total = 11+14=2511 + 14 = 25

  • Testing Independence:

    • Events: Let F=being a womanF = \text{being a woman}, C=preferring the coastlineC = \text{preferring the coastline}.

P(F AND C)=18100=0.18P(F \text{ AND } C) = \frac{18}{100} = 0.18

P(F)=45100=0.45P(F) = \frac{45}{100} = 0.45

P(C)=41100=0.41P(C) = \frac{41}{100} = 0.41

P(F)P(C)=(0.45)(0.41)=0.1845P(F)P(C) = (0.45)(0.41) = 0.1845

*   Since P(F AND C)≠P(F)P(C)P(F \text{ AND } C) \neq P(F)P(C) (0.18≠0.18450.18 \neq 0.1845), the events "being a woman" and "preferring the coastline" are **not independent**.
  • Conditional Probability:

    • Find the probability that a person is a man given that the person prefers hiking near lakes and streams (M∣LM \mid L):

      1. The word "given" indicates a conditional probability.

      2. Calculation:

P(M∣L)=1834P(M \mid L) = \frac{18}{34}

    3. The sample space is restricted to the 3434 hikers who prefer lakes and streams, not all 100100 hikers.
  • Union Probability:

    • Find the probability that a person is a woman or prefers hiking on mountain peaks (F OR PF \text{ OR } P):

      1. P(F)=45100P(F) = \frac{45}{100}

      2. P(P)=25100P(P) = \frac{25}{100}

      3. P(F AND P)=11100P(F \text{ AND } P) = \frac{11}{100}

      4. Calculation:

P(F OR P)=P(F)+P(P)−P(F AND P)=45100+25100−11100=59100=0.59P(F \text{ OR } P) = P(F) + P(P) - P(F \text{ AND } P) = \frac{45}{100} + \frac{25}{100} - \frac{11}{100} = \frac{59}{100} = 0.59


Try It 3.21: Cyclist Route Preference by Age Group

A random sample of 200200 cyclists was surveyed regarding route preferences:

Age Group

Lake Path

Hilly Path (HH)

Wooded Path

Total

Younger

4545

3838

2727

110110

Older (OO)

2626

5252

1212

9090

Total

7171

9090

3939

200200

  • a. Find P(H∣O)P(H \mid O):

P(H∣O)=5290P(H \mid O) = \frac{52}{90}

  • b. Test Independence of "being older" (OO) and "preferring the hilly path" (HH):

P(O AND H)=52200=0.26P(O \text{ AND } H) = \frac{52}{200} = 0.26

P(O)P(H)=(90200)(90200)=(0.45)(0.45)=0.2025P(O)P(H) = \left(\frac{90}{200}\right)\left(\frac{90}{200}\right) = (0.45)(0.45) = 0.2025

Since 0.26≠0.20250.26 \neq 0.2025, the events are not independent.


Example 3.22: Muddy Mouse and Door Choice

Muddy Mouse lives in a cage with three doors. Door selection is equally likely (P(Door One)=P(Door Two)=P(Door Three)=13P(\text{Door One}) = P(\text{Door Two}) = P(\text{Door Three}) = \frac{1}{3}).

  • Door One: P(Caught∣Door One)=15P(\text{Caught} \mid \text{Door One}) = \frac{1}{5}, P(Not Caught∣Door One)=45P(\text{Not Caught} \mid \text{Door One}) = \frac{4}{5}

  • Door Two: P(Caught∣Door Two)=14P(\text{Caught} \mid \text{Door Two}) = \frac{1}{4}, P(Not Caught∣Door Two)=34P(\text{Not Caught} \mid \text{Door Two}) = \frac{3}{4}

  • Door Three: P(Caught∣Door Three)=12P(\text{Caught} \mid \text{Door Three}) = \frac{1}{2}, P(Not Caught∣Door Three)=12P(\text{Not Caught} \mid \text{Door Three}) = \frac{1}{2}

Probability Contingency Table (Table 3.8):

Caught or Not

Door One

Door Two

Door Three

Total

Caught

(15)(13)=115\left(\frac{1}{5}\right)\left(\frac{1}{3}\right) = \frac{1}{15}

(14)(13)=112\left(\frac{1}{4}\right)\left(\frac{1}{3}\right) = \frac{1}{12}

(12)(13)=16\left(\frac{1}{2}\right)\left(\frac{1}{3}\right) = \frac{1}{6}

115+112+16=1960\frac{1}{15} + \frac{1}{12} + \frac{1}{6} = \frac{19}{60}

Not Caught

(45)(13)=415\left(\frac{4}{5}\right)\left(\frac{1}{3}\right) = \frac{4}{15}

(34)(13)=312\left(\frac{3}{4}\right)\left(\frac{1}{3}\right) = \frac{3}{12}

(12)(13)=16\left(\frac{1}{2}\right)\left(\frac{1}{3}\right) = \frac{1}{6}

415+312+16=4160\frac{4}{15} + \frac{3}{12} + \frac{1}{6} = \frac{41}{60}

Total

115+415=13\frac{1}{15} + \frac{4}{15} = \frac{1}{3}

112+312=13\frac{1}{12} + \frac{3}{12} = \frac{1}{3}

16+16=13\frac{1}{6} + \frac{1}{6} = \frac{1}{3}

1960+4160=1\frac{19}{60} + \frac{41}{60} = 1

  • Calculations:

    • b. Find P(Alissa does not catch Muddy)P(\text{Alissa does not catch Muddy}):

P(Not Caught)=4160P(\text{Not Caught}) = \frac{41}{60}

*   **c. Find P(Door One OR Door Two∣Caught)P(\text{Door One OR Door Two} \mid \text{Caught})**:

P(Door One OR Door Two∣Caught)=P((Door One OR Door Two) AND Caught)P(Caught)=115+1121960=9601960=919P(\text{Door One OR Door Two} \mid \text{Caught}) = \frac{P((\text{Door One OR Door Two}) \text{ AND Caught})}{P(\text{Caught})} = \frac{\frac{1}{15} + \frac{1}{12}}{\frac{19}{60}} = \frac{\frac{9}{60}}{\frac{19}{60}} = \frac{9}{19}


Try It 3.22: Car Selection (Mutually Exclusive Choice)

Anna must buy a new car and can afford only one. P(A)=0.25P(A) = 0.25 and P(B)=0.65P(B) = 0.65.

  • Because Anna can afford only one car, buying car A and buying car B are mutually exclusive (P(A AND B)=0P(A \text{ AND } B) = 0).

  • P(A AND B)=0P(A \text{ AND } B) = 0

  • P(A OR B)=P(A)+P(B)−P(A AND B)=0.25+0.65−0=0.90P(A \text{ OR } B) = P(A) + P(B) - P(A \text{ AND } B) = 0.25 + 0.65 - 0 = 0.90


Example 3.23: United States Crime Index Rates

Crimes per 100,000100,000 inhabitants over four years (Table 3.10):

Year

Robbery

Burglary

Vandalism

Vehicle

Total

1

145.7145.7

732.1732.1

29.729.7

314.7314.7

1222.21222.2

2

133.1133.1

717.7717.7

29.129.1

259.2259.2

1139.11139.1

3

119.3119.3

701.0701.0

27.727.7

239.1239.1

1087.11087.1

4

113.7113.7

702.2702.2

26.826.8

229.6229.6

1072.31072.3

Total

511.8511.8

2853.02853.0

113.3113.3

1042.61042.6

4520.74520.7

  • Calculations:

    • a. Find P(Year 2 AND Robbery)P(\text{Year 2 AND Robbery}):

P(Year 2 AND Robbery)=133.14520.7P(\text{Year 2 AND Robbery}) = \frac{133.1}{4520.7}

*   **b. Find P(Year 3 AND Burglary)P(\text{Year 3 AND Burglary})**:

P(Year 3 AND Burglary)=7014520.7P(\text{Year 3 AND Burglary}) = \frac{701}{4520.7}

*   **c. Find P(Year 3 OR Burglary)P(\text{Year 3 OR Burglary})**:

P(Year 3 OR Burglary)=1087.14520.7+2853.04520.7−7014520.7=3239.14520.7P(\text{Year 3 OR Burglary}) = \frac{1087.1}{4520.7} + \frac{2853.0}{4520.7} - \frac{701}{4520.7} = \frac{3239.1}{4520.7}

*   **d. Find P(Year 4∣Vandalism)P(\text{Year 4} \mid \text{Vandalism})**:

P(Year 4∣Vandalism)=26.8113.3P(\text{Year 4} \mid \text{Vandalism}) = \frac{26.8}{113.3}

*   **e. Find P(Vehicle∣Year 1)P(\text{Vehicle} \mid \text{Year 1})**:

P(Vehicle∣Year 1)=314.71222.2P(\text{Vehicle} \mid \text{Year 1}) = \frac{314.7}{1222.2}


Try It 3.23: Weight and Height Observational Study

Relationships between weight and height categories (Table 3.11):

Weight / Height

Tall

Medium

Short

Total

Overweight

1818

2828

1414

6060

Typical Weight Range

2020

5151

2828

9999

Underweight

1212

2525

99

4646

Total

5050

104104

5151

205205

  • Calculations:

    • a. Totals: Row totals are 6060, 9999, 4646. Column totals are 5050, 104104, 5151. Grand Total =205= 205.

    • b. Find P(Tall)P(\text{Tall}):

P(Tall)=50205P(\text{Tall}) = \frac{50}{205}

*   **c. Find P(Overweight AND Tall)P(\text{Overweight AND Tall})**:

P(Overweight AND Tall)=18205P(\text{Overweight AND Tall}) = \frac{18}{205}

*   **d. Find P(Tall∣Overweight)P(\text{Tall} \mid \text{Overweight})**:

P(Tall∣Overweight)=1860P(\text{Tall} \mid \text{Overweight}) = \frac{18}{60}

*   **e. Find P(Overweight∣Tall)P(\text{Overweight} \mid \text{Tall})**:

P(Overweight∣Tall)=1850P(\text{Overweight} \mid \text{Tall}) = \frac{18}{50}

*   **f. Find P(Tall AND Underweight)P(\text{Tall AND Underweight})**:

P(Tall AND Underweight)=12205P(\text{Tall AND Underweight}) = \frac{12}{205}

*   **g. Are Overweight and Tall independent?**

P(Overweight AND Tall)=18205≈0.0878P(\text{Overweight AND Tall}) = \frac{18}{205} \approx 0.0878

P(Overweight)P(Tall)=(60205)(50205)=300042025≈0.0714P(\text{Overweight})P(\text{Tall}) = \left(\frac{60}{205}\right)\left(\frac{50}{205}\right) = \frac{3000}{42025} \approx 0.0714

Since 0.0878≠0.07140.0878 \neq 0.0714, the events Overweight and Tall are not independent.

Tree Diagrams

A tree diagram is a structural graph used to model sequential outcomes of an experiment. It consists of branches labeled with frequencies or probabilities.

Sampling Methods

  • Sampling With Replacement: The selected item is returned to the population before the subsequent draw. The sample size and probabilities remain constant for each draw.

  • Sampling Without Replacement: The selected item is not returned. The sample size decreases and probabilities change for each subsequent draw.


Worked Examples and Exercises

Example 3.24: Sampling With Replacement (Urn with 11 Balls)

An urn contains 1111 balls: 33 red (RR) and 88 blue (BB). Draw two balls, one at a time, with replacement.

Tree Diagram for Drawing Two Balls With Replacement
  • Sample Space Size: 11×11=12111 \times 11 = 121

  • Outcome Frequencies:

    • BB=8×8=64BB = 8 \times 8 = 64

    • BR=8×3=24BR = 8 \times 3 = 24

    • RB=3×8=24RB = 3 \times 8 = 24

    • RR=3×3=9RR = 3 \times 3 = 9

    • Total frequency =64+24+24+9=121= 64 + 24 + 24 + 9 = 121

  • Listing Specific Outcomes:

    • The 99 RRRR outcomes are: R1R1,R1R2,R1R3,R2R1,R2R2,R2R3,R3R1,R3R2,R3R3R1R1, R1R2, R1R3, R2R1, R2R2, R2R3, R3R1, R3R2, R3R3.

    • The 2424 BRBR outcomes are: B1R1,B1R2,B1R3,B2R1,B2R2,B2R3,…,B8R3B1R1, B1R2, B1R3, B2R1, B2R2, B2R3, \dots, B8R3.

  • Calculations:

    • b. Find P(RR)P(RR):

P(RR)=9121P(RR) = \frac{9}{121}

*   **c. Find P(RB OR BR)P(RB \text{ OR } BR)**:

P(RB OR BR)=24+24121=48121P(RB \text{ OR } BR) = \frac{24 + 24}{121} = \frac{48}{121}

*   **d. Find P(R on 1st AND B on 2nd)P(R \text{ on 1st AND } B \text{ on 2nd})**:

P(RB)=24121P(RB) = \frac{24}{121}

*   **e. Find P(R on 2nd∣B on 1st)P(R \text{ on 2nd} \mid B \text{ on 1st})**:

P(R on 2nd∣B on 1st)=311P(R \text{ on 2nd} \mid B \text{ on 1st}) = \frac{3}{11}

*   **f. Find P(BB)P(BB)**:

P(BB)=64121P(BB) = \frac{64}{121}

*   **g. Find P(B on 2nd∣R on 1st)P(B \text{ on 2nd} \mid R \text{ on 1st})**:

P(B on 2nd∣R on 1st)=811P(B \text{ on 2nd} \mid R \text{ on 1st}) = \frac{8}{11}


Try It 3.24: Card Drawing With Replacement

A standard deck of 5252 cards contains 1212 face cards (FF) and 4040 non-face cards (NN). Draw two cards with replacement.

P(FF)=(1252)(1252)=(313)(313)=9169P(FF) = \left(\frac{12}{52}\right)\left(\frac{12}{52}\right) = \left(\frac{3}{13}\right)\left(\frac{3}{13}\right) = \frac{9}{169}


Example 3.25: Sampling Without Replacement (Urn with Marbles)

An urn contains 33 red marbles (RR) and 88 blue marbles (BB). Draw two marbles, one at a time, without replacement.

  • Branch Probabilities:

    • First Draw: P(R)=311P(R) = \frac{3}{11}, P(B)=811P(B) = \frac{8}{11}

    • Second Draw Given Red First: P(R∣R)=210P(R \mid R) = \frac{2}{10}, P(B∣R)=810P(B \mid R) = \frac{8}{10}

    • Second Draw Given Blue First: P(R∣B)=310P(R \mid B) = \frac{3}{10}, P(B∣B)=710P(B \mid B) = \frac{7}{10}

  • End-of-Branch Probabilities:

    • P(RR)=(311)(210)=6110P(RR) = \left(\frac{3}{11}\right)\left(\frac{2}{10}\right) = \frac{6}{110}

    • P(RB)=(311)(810)=24110P(RB) = \left(\frac{3}{11}\right)\left(\frac{8}{10}\right) = \frac{24}{110}

    • P(BR)=(811)(310)=24110P(BR) = \left(\frac{8}{11}\right)\left(\frac{3}{10}\right) = \frac{24}{110}

    • P(BB)=(811)(710)=56110P(BB) = \left(\frac{8}{11}\right)\left(\frac{7}{10}\right) = \frac{56}{110}

    • Total probability sum =6+24+24+56110=110110=1= \frac{6 + 24 + 24 + 56}{110} = \frac{110}{110} = 1

  • Calculations:

    • a. Find P(RR)P(RR): 6110\frac{6}{110}

    • b. Find P(RB OR BR)P(RB \text{ OR } BR):

P(RB OR BR)=(311)(810)+(811)(310)=24110+24110=48110P(RB \text{ OR } BR) = \left(\frac{3}{11}\right)\left(\frac{8}{10}\right) + \left(\frac{8}{11}\right)\left(\frac{3}{10}\right) = \frac{24}{110} + \frac{24}{110} = \frac{48}{110}

*   **c. Find P(R on 2nd∣B on 1st)P(R \text{ on 2nd} \mid B \text{ on 1st})**: 310\frac{3}{10}
*   **d. Find P(R on 1st AND B on 2nd)P(R \text{ on 1st AND } B \text{ on 2nd})**:

P(RB)=(311)(810)=24110P(RB) = \left(\frac{3}{11}\right)\left(\frac{8}{10}\right) = \frac{24}{110}

*   **e. Find P(BB)P(BB)**: 56110\frac{56}{110}
*   **f. Find P(B on 2nd∣R on 1st)P(B \text{ on 2nd} \mid R \text{ on 1st})**: 810\frac{8}{10}
  • General Tree Diagram Notation Rules:

    • P(R∣R)P(R \mid R) represents P(R on 2nd∣R on 1st)P(R \text{ on 2nd} \mid R \text{ on 1st})

    • P(B∣R)P(B \mid R) represents P(B on 2nd∣R on 1st)P(B \text{ on 2nd} \mid R \text{ on 1st})

    • P(R∣B)P(R \mid B) represents P(R on 2nd∣B on 1st)P(R \text{ on 2nd} \mid B \text{ on 1st})

    • P(B∣B)P(B \mid B) represents P(B on 2nd∣B on 1st)P(B \text{ on 2nd} \mid B \text{ on 1st})


Try It 3.25: Card Drawing Without Replacement

In a standard deck of 5252 cards (1212 face cards FF, 4040 non-face cards NN), draw two cards without replacement.

  • a. Find P(FN OR NF)P(FN \text{ OR } NF):

P(FN OR NF)=(1252)(4051)+(4052)(1251)=4802652+4802652=9602652P(FN \text{ OR } NF) = \left(\frac{12}{52}\right)\left(\frac{40}{51}\right) + \left(\frac{40}{52}\right)\left(\frac{12}{51}\right) = \frac{480}{2652} + \frac{480}{2652} = \frac{960}{2652}

  • b. Find P(N∣F)P(N \mid F):

P(N∣F)=4051P(N \mid F) = \frac{40}{51}

  • c. Find P(at most one face card)P(\text{at most one face card}) (means 00 or 11 face card):

P(at most 1 face card)=1−P(FF)=1−(1252)(1151)=1−1322652=25202652P(\text{at most 1 face card}) = 1 - P(FF) = 1 - \left(\frac{12}{52}\right)\left(\frac{11}{51}\right) = 1 - \frac{132}{2652} = \frac{2520}{2652}

  • d. Find P(at least one face card)P(\text{at least one face card}) (means 11 or 22 face cards):

P(at least 1 face card)=1−P(NN)=1−(4052)(3951)=1−15602652=10922652P(\text{at least 1 face card}) = 1 - P(NN) = 1 - \left(\frac{40}{52}\right)\left(\frac{39}{51}\right) = 1 - \frac{1560}{2652} = \frac{1092}{2652}


Example 3.26: Kitten Adoption (Humane Society)

A litter of kittens has 44 tabby kittens and 55 black kittens (99 total). A family selects two kittens randomly without replacement.

  • a. Probability both kittens are tabby:

P(TT)=(49)(38)=1272P(TT) = \left(\frac{4}{9}\right)\left(\frac{3}{8}\right) = \frac{12}{72}

  • b. Probability one kitten of each coloring is selected:

P(TB OR BT)=(49)(58)+(59)(48)=2072+2072=4072P(TB \text{ OR } BT) = \left(\frac{4}{9}\right)\left(\frac{5}{8}\right) + \left(\frac{5}{9}\right)\left(\frac{4}{8}\right) = \frac{20}{72} + \frac{20}{72} = \frac{40}{72}

  • c. Probability tabby chosen second when black chosen first:

P(T on 2nd∣B on 1st)=48P(T \text{ on 2nd} \mid B \text{ on 1st}) = \frac{4}{8}

  • d. Probability of choosing two kittens of the same color:

P(TT OR BB)=(49)(38)+(59)(48)=1272+2072=3272P(TT \text{ OR } BB) = \left(\frac{4}{9}\right)\left(\frac{3}{8}\right) + \left(\frac{5}{9}\right)\left(\frac{4}{8}\right) = \frac{12}{72} + \frac{20}{72} = \frac{32}{72}


Try It 3.26: Ball Selection Without Replacement

Four red balls and three yellow balls are in a box (77 total). Two balls are drawn without replacement.

P(one ball of each color)=P(RY OR YR)=(47)(36)+(37)(46)=1242+1242=2442=47P(\text{one ball of each color}) = P(RY \text{ OR } YR) = \left(\frac{4}{7}\right)\left(\frac{3}{6}\right) + \left(\frac{3}{7}\right)\left(\frac{4}{6}\right) = \frac{12}{42} + \frac{12}{42} = \frac{24}{42} = \frac{4}{7}

Venn Diagrams

A Venn diagram visually displays outcomes of an experiment using a rectangular box to represent the sample space SS and circles/ovals inside to represent individual events.

Structure and Basic Concepts

  • Sample Space (SS or XX): Represented by the outer bounding box.

  • Events: Represented by circles or ovals inside the rectangle.

  • Intersection (A AND BA \text{ AND } B): The overlapping region shared by circles AA and BB.

  • Union (A OR BA \text{ OR } B): The total area covered by circle AA, circle BB, or their overlap.

  • Complement / Outside: The area within the rectangle but outside the circles.


Worked Examples and Exercises

Example 3.27: Integer Outcomes 1 through 12

An experiment has outcomes 1,2,3,…,121, 2, 3, \dots, 12 with equal probability. Event A={1,2,3,4,5,6}A = \{1, 2, 3, 4, 5, 6\} and event B={6,7,8,9}B = \{6, 7, 8, 9\}.

  • A AND B={6}A \text{ AND } B = \{6\}

  • A OR B={1,2,3,4,5,6,7,8,9}A \text{ OR } B = \{1, 2, 3, 4, 5, 6, 7, 8, 9\}

  • Elements outside both circles: {10,11,12}\{10, 11, 12\}


Try It 3.27: Color Outcomes

Sample space S={black,white,red,orange,yellow,green,blue,purple}S = \{\text{black}, \text{white}, \text{red}, \text{orange}, \text{yellow}, \text{green}, \text{blue}, \text{purple}\}. Event C={green,blue,purple}C = \{\text{green}, \text{blue}, \text{purple}\} and event P={red,yellow,blue}P = \{\text{red}, \text{yellow}, \text{blue}\}.

  • C AND P={blue}C \text{ AND } P = \{\text{blue}\}

  • C OR P={green,blue,purple,red,yellow}C \text{ OR } P = \{\text{green}, \text{blue}, \text{purple}, \text{red}, \text{yellow}\}

  • Elements outside both circles: {black,white,orange}\{\text{black}, \text{white}, \text{orange}\}


Example 3.28: Coin Flipping Sample Space

Flip two fair coins. Let A=tails on the first coinA = \text{tails on the first coin} and B=tails on the second coinB = \text{tails on the second coin}.

  • Sample Space X={HH,HT,TH,TT}X = \{HH, HT, TH, TT\}

  • A={TT,TH}A = \{TT, TH\}

  • B={TT,HT}B = \{TT, HT\}

  • A AND B={TT}A \text{ AND } B = \{TT\}

  • A OR B={TH,TT,HT}A \text{ OR } B = \{TH, TT, HT\}

  • The outcome HHHH is in neither AA nor BB and sits in the region outside both circles.


Try It 3.28: Six-Sided Die Rolling

Roll a fair six-sided die. Sample space S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}. Let A=prime number rolled={2,3,5}A = \text{prime number rolled} = \{2, 3, 5\} and B=odd number rolled={1,3,5}B = \text{odd number rolled} = \{1, 3, 5\}.

  • A AND B={3,5}A \text{ AND } B = \{3, 5\}

  • A OR B={1,2,3,5}A \text{ OR } B = \{1, 2, 3, 5\}

  • Elements outside both circles: {4,6}\{4, 6\}


Example 3.29: College Student Clubs and Part-Time Work

At a local college, 40%40\% of students belong to a club (CC), 50%50\% work part time (PTPT), and 5%5\% work part time and belong to a club (C AND PTC \text{ AND } PT).

  • P(C)=0.40P(C) = 0.40

  • P(PT)=0.50P(PT) = 0.50

  • P(C AND PT)=0.05P(C \text{ AND } PT) = 0.05

  • Conditional Probability:

P(C∣PT)=P(C AND PT)P(PT)=0.050.50=0.1P(C \mid PT) = \frac{P(C \text{ AND } PT)}{P(PT)} = \frac{0.05}{0.50} = 0.1

  • Union Probability:

P(C OR PT)=P(C)+P(PT)−P(C AND PT)=0.40+0.50−0.05=0.85P(C \text{ OR } PT) = P(C) + P(PT) - P(C \text{ AND } PT) = 0.40 + 0.50 - 0.05 = 0.85


Try It 3.29: Factory Workers Second Job and Spouse Work

At a factory, 50%50\% of workers work a second job (WW), 25%25\% have a spouse who works (SS), and 5%5\% work a second job and have a spouse who works (W AND SW \text{ AND } S).

  • Circle WW only: 50%−5%=45%50\% - 5\% = 45\%

  • Circle SS only: 25%−5%=20%25\% - 5\% = 20\%

  • Intersection W AND SW \text{ AND } S: 5%5\%

  • Outside both circles: 100%−(45%+20%+5%)=30%100\% - (45\% + 20\% + 5\%) = 30\%


Example 3.30: Blood Types (Type O and Rh- Factor)

In African Americans, 4%4\% have type O blood and negative Rh factor (Rh−Rh^{-}), 5–10%5\text{--}10\% have the Rh−Rh^{-} factor, and 51%51\% have type O blood.

  • Taking the average of 5%5\% and 10%10\%, use 7.5%7.5\% for Rh−Rh^{-}.

  • Let O=Type O bloodO = \text{Type O blood} and R=Rh− factorR = Rh^{-} \text{ factor}.

    • a. P(O)=0.51P(O) = 0.51

    • b. P(R)=0.075P(R) = 0.075

    • c. P(O AND R)=0.04P(O \text{ AND } R) = 0.04

    • d. P(O OR R)=P(O)+P(R)−P(O AND R)=0.51+0.075−0.04=0.545P(O \text{ OR } R) = P(O) + P(R) - P(O \text{ AND } R) = 0.51 + 0.075 - 0.04 = 0.545

    • e. Overlapping Area Description: The overlapping area represents the percentage of African Americans who have both type O blood and the Rh−Rh^{-} factor (4%4\%

    • f. Outside Area Description: The area inside the rectangle but outside both shapes represents the percentage of African Americans who have neither type O blood nor the Rh−Rh^{-} factor (1−0.545=0.4551 - 0.545 = 0.455 or 45.5%45.5\%


Try It 3.30: Bookstore Customer Purchases

In a bookstore, P(Novel)=0.6P(\text{Novel}) = 0.6, P(Non-fiction)=0.4P(\text{Non-fiction}) = 0.4, and P(Both)=0.2P(\text{Both}) = 0.2.

  • b. Find P(Novel OR Non-fiction)P(\text{Novel OR Non-fiction}):

P(Novel OR Non-fiction)=0.6+0.4−0.2=0.8P(\text{Novel OR Non-fiction}) = 0.6 + 0.4 - 0.2 = 0.8

  • c. Overlapping Area Description: The overlapping area represents customers who buy both a novel and a non-fiction book (20%20\%

  • d. Disjoint Event: Customers buying only compact disks are represented by a separate oval that does not overlap with books.

Stats Lab: Probability Topics

Learning Outcomes

  • Use theoretical and empirical methods to estimate probabilities.

  • Appraise the differences between theoretical and empirical estimates.

  • Demonstrate an understanding of long-term relative frequencies.


Experimental Procedure

  1. Population Count: Count out 4040 mixed-color M&Ms (approximately one small bag) and record quantities by color in Table 3.12 (Yellow YY, Green GG, Blue BLBL, Brown BB, Orange OO, Red RR).

  2. Trial 1 (With Replacement): Place M&Ms in a cup. Pick two M&Ms one at a time, replacing the first M&M before picking the second. Record results in Table 3.14. Perform this process 1212 times.

  3. Trial 2 (Without Replacement): Pick two M&Ms one at a time without replacing the first M&M before picking the second. Record results in Table 3.14, then return both M&Ms to the cup. Perform this process 1212 times.

  4. Data Processing: Calculate empirical probabilities in Table 3.15 in unreduced fractional form.


Event Notation and Formulas

  • R1R_1 = Red on first pick

  • R2R_2 = Red on second pick

  • B1B_1 = Brown on first pick

  • B2B_2 = Brown on second pick

  • G2G_2 = Green on second pick

  • doubles\text{doubles} = Both picks are the same color

Probability Statement

Theoretical Formula (With Replacement)

Theoretical Formula (Without Replacement)

P(2 reds)P(2 \text{ reds})

(Reds40)(Reds40)\left(\frac{\text{Reds}}{40}\right)\left(\frac{\text{Reds}}{40}\right)

(Reds40)(Reds−139)\left(\frac{\text{Reds}}{40}\right)\left(\frac{\text{Reds}-1}{39}\right)

P(R1B2 OR B1R2)P(R_1 B_2 \text{ OR } B_1 R_2)

(Reds40)(Browns40)+(Browns40)(Reds40)\left(\frac{\text{Reds}}{40}\right)\left(\frac{\text{Browns}}{40}\right) + \left(\frac{\text{Browns}}{40}\right)\left(\frac{\text{Reds}}{40}\right)

(Reds40)(Browns39)+(Browns40)(Reds39)\left(\frac{\text{Reds}}{40}\right)\left(\frac{\text{Browns}}{39}\right) + \left(\frac{\text{Browns}}{40}\right)\left(\frac{\text{Reds}}{39}\right)

P(R1 AND G2)P(R_1 \text{ AND } G_2)

(Reds40)(Greens40)\left(\frac{\text{Reds}}{40}\right)\left(\frac{\text{Greens}}{40}\right)

(Reds40)(Greens39)\left(\frac{\text{Reds}}{40}\right)\left(\frac{\text{Greens}}{39}\right)

P(G2∣R1)P(G_2 \mid R_1)

Greens40\frac{\text{Greens}}{40}

Greens39\frac{\text{Greens}}{39}

P(no yellows)P(\text{no yellows})

(40−Yellows40)(40−Yellows40)\left(\frac{40 - \text{Yellows}}{40}\right)\left(\frac{40 - \text{Yellows}}{40}\right)

(40−Yellows40)(39−Yellows39)\left(\frac{40 - \text{Yellows}}{40}\right)\left(\frac{39 - \text{Yellows}}{39}\right)

P(doubles)P(\text{doubles})

∑colors(Count40)2\sum_{\text{colors}} \left(\frac{\text{Count}}{40}\right)^2

∑colors(Count40)(Count−139)\sum_{\text{colors}} \left(\frac{\text{Count}}{40}\right)\left(\frac{\text{Count}-1}{39}\right)

P(no doubles)P(\text{no doubles})

1−P(doubles)1 - P(\text{doubles})

1−P(doubles)1 - P(\text{doubles})


Discussion and Conceptual Questions

  1. Difference Between Replacement Conditions: "With Replacement" and "Without Replacement" probabilities differ because sampling without replacement changes both the total population size (from 4040 to 3939) and the specific color composition available for the second draw.

  2. Comparison of Probabilities: Converting P(no yellows)P(\text{no yellows}) to decimal format rounded to four decimal places allows direct comparison between theoretical predictions and empirical experiment results.

  3. Effect of Sample Size: Increasing the number of repeated trials (e.g., from 1212 to 240240) causes empirical probabilities to fluctuate and refine based on cumulative observed outcomes.

  4. Law of Large Numbers: Increasing trial counts causes empirical probabilities to move closer to theoretical probabilities, as long-term relative frequencies stabilize toward theoretical values as n→∞n \to \infty.

  5. Joint vs. Conditional Meaning: P(G1 AND R2)P(G_1 \text{ AND } R_2) represents the joint probability of selecting green first AND red second out of the entire original sample space, whereas P(R1∣G2)P(R_1 \mid G_2) represents the conditional probability that red was selected given that green occurred, evaluating outcomes over a restricted sample space.