Introduction to Statistics · Chapter 3 · Probability Topics

Two Basic Rules of Probability

Two rules turn a compound probability statement — both happen, either happens — into arithmetic on the pieces you already know, and each collapses to a shortcut exactly when the events are independent or mutually exclusive.


bookSHelf  ·  Introduction to Statistics  ·  §3.3  ·  a self-paced section

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Learning objectives — by the end of this section you will be able to

Objectives

  1. State the multiplication rule and use it to find the probability that two events both happen §3.3.1
  2. State the addition rule and use it to find the probability that at least one of two events happens §3.3.2
  3. Simplify each rule when the events are independent or mutually exclusive, and explain why the simplification is allowed §3.3.1–3.3.2
  4. Translate a sentence about a real situation into the symbols P(A AND B)P(A \text{ AND } B), P(A OR B)P(A \text{ OR } B), and P(AB)P(A \mid B), and back again §3.3.1–3.3.2
  5. Decide from computed probabilities whether two events are independent, mutually exclusive, or neither §3.3.3–3.3.4
Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.1

The Multiplication Rule

What is the chance that two events both happen?

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.1 — conditioning shrinks the crowd, then A's share is taken inside it

Definition 3.3.1: The Multiplication Rule

Definition 3.3.1 — The Multiplication Rule

For any two events AA and BB defined on the same sample space,

P(A AND B)=P(B)P(AB)P(A \text{ AND } B) = P(B) \, P(A \mid B)

Definition 3.3.1: conditioning on B shrinks the crowd, then A's share is taken inside what is left.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.1 — a two-step recipe, either order

Read it left to right

To have both AA and BB happen, first BB has to happen — that costs you P(B)P(B). Then, in the shrunken world where BB already happened, AA has to happen too — that costs you P(AB)P(A \mid B). Multiply the two costs together.

The rule works just as well with the letters swapped, because “both” does not care which event you name first: P(A AND B)=P(A)P(BA)P(A \text{ AND } B) = P(A) \, P(B \mid A). Use whichever version matches the conditional probability the problem actually handed you.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.1 — solving for the conditional

The same rule, rearranged

Divide both sides by P(B)P(B) and the multiplication rule rearranges into a formula for a conditional probability:

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

In words: the probability of AA given BB equals the probability of AA and BB together, divided by the probability of BB — the same conditional probability from §3.1, now derived as a consequence of the multiplication rule.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.1 — when knowing B changes nothing about A

Definition 3.3.2: Independent Events

Definition 3.3.2 — The Multiplication Rule for Independent Events

If AA and BB are independent, then P(AB)=P(A)P(A \mid B) = P(A), and the multiplication rule collapses to

P(A AND B)=P(A)P(B)P(A \text{ AND } B) = P(A) \, P(B)

Definition 3.3.2: the conditional and the plain probability are the same height, which is what lets the two rates simply multiply.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.1 — the only situation the shortcut is allowed

Independence licenses the shortcut — and only independence

Independence is exactly the statement that knowing BB happened tells you nothing new about AA — the filter changes nothing, so P(AB)P(A \mid B) is just P(A)P(A). Multiplying two plain probabilities when the events are dependent is the single most common error in this chapter.

This also runs in reverse, and that is how you will usually use it: if you can compute P(A AND B)P(A \text{ AND } B), P(A)P(A), and P(B)P(B) separately and the product does not match, the events are not independent. You will do exactly that test three times in this section.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Insight Note — the vertical bar is a filter, not a comma

P(A AND B)P(A \text{ AND } B) asks about the whole crowd.

P(AB)P(A \mid B) throws out everyone who isn't in BB first, then asks about the crowd that's left. Same numerator, smaller denominator.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Your turn — replacement changes the answer

Try It Now 3.3.1

Try It Now 3.3.1 — a drawer of socks

A drawer holds ten pairs of socks: six black and four white. You pull out one pair, put it back, and pull out a second pair. a. Are the two draws independent? Why? b. Find the probability that both pairs are black. c. Now suppose you do not put the first pair back, and the first pair was black. Find the probability that the second pair is also black.

a. Independent  ·  b. 0.36  ·  c. 590.5556\dfrac{5}{9} \approx 0.5556

Replacement restores the drawer, so the first draw tells you nothing about the second: P(B1 AND B2)=(0.6)(0.6)=0.36P(B_1 \text{ AND } B_2) = (0.6)(0.6) = 0.36. Without replacement, one black pair removed leaves five of nine black — smaller than 0.6, which is what “dependent” means.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.2

The Addition Rule

What is the chance that at least one of two events happens?

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.2 — don't count the overlap twice

Definition 3.3.3: The Addition Rule

Definition 3.3.3 — The Addition Rule

For any two events AA and BB defined on the same sample space,

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)

Definition 3.3.3: adding both circles counts the lens twice; removing one copy restores the true total.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.2 — the subtraction is the whole point

Every outcome counted exactly once

If you just add P(A)P(A) and P(B)P(B), every outcome that belongs to both events gets counted twice — once when you counted AA and again when you counted BB. Subtracting P(A AND B)P(A \text{ AND } B) removes the second copy, leaving each outcome counted exactly once.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Context Pause — why the overlap is subtracted once, not twice

Count the students who play soccer or run track.

Add the two rosters and anyone on both teams is counted twice, so the total comes out too high. Subtract the double-counted group once and you are back to a headcount of real people.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.2 — nothing left to subtract

Definition 3.3.4: Mutually Exclusive Events

Definition 3.3.4 — The Addition Rule for Mutually Exclusive Events

If AA and BB are mutually exclusive, then P(A AND B)=0P(A \text{ AND } B) = 0, and the addition rule collapses to

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

Definition 3.3.4: the slabs meet at a boundary neither crosses, so there is nothing to subtract.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.2 — a different question than independence

Mutually exclusive is not independent

Mutually exclusive means the two events cannot both happen on the same trial, so there is no overlap to double-count. Do not confuse this with independence: mutually exclusive asks whether the events can co-occur; independent asks whether one changes the odds of the other. Two events can be neither, either, or — in the degenerate case where one is impossible — both.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Your turn — one car only

Try It Now 3.3.2

Try It Now 3.3.2 — Anna buys a car

Anna has to buy a new car. She has two choices, car AA and car BB. Anna can afford only one car. P(A)=0.35P(A) = 0.35 and P(B)=0.65P(B) = 0.65. Find: a. P(A AND B)P(A \text{ AND } B)   b. P(A OR B)P(A \text{ OR } B)

a. 0  ·  b. 1

Buying both is impossible, so AA and BB are mutually exclusive: P(A AND B)=0P(A \text{ AND } B) = 0. With no overlap to subtract, P(A OR B)=0.35+0.65=1P(A \text{ OR } B) = 0.35 + 0.65 = 1 — Anna is certain to buy one of the two.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Worked example — one trip, two choices

Example 3.3.1 · Vale Picks One Vacation

Example 3.3.1 — Vale is choosing between two trips

A=A = New Zealand, P(A)=0.6P(A) = 0.6; B=B = Alaska, P(B)=0.35P(B) = 0.35. Vale can only afford one vacation. a. Explain why P(A AND B)=0P(A \text{ AND } B) = 0. b. Find P(A OR B)P(A \text{ OR } B). c. What is the probability they go nowhere?

a. Mutually exclusive  ·  b. 0.95  ·  c. 0.05

One trip only, so “both” is impossible: P(A AND B)=0P(A \text{ AND } B) = 0. Then P(A OR B)=0.6+0.35=0.95P(A \text{ OR } B) = 0.6 + 0.35 = 0.95, and staying home is the complement: 10.95=0.051 - 0.95 = 0.05.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.3

Using Both Rules on the Same Problem

Most real problems hand you a few probabilities and then ask four or five questions about them at once — an AND, an OR, an independence check, and a mutually-exclusive check. The work is always the same: write down what you were given in symbols, pick the rule that matches the question, and finish with arithmetic.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.3 — the habit that prevents errors

Label every event before you compute

Before you compute anything, label every event with a letter and write each given number next to the symbol it belongs to.

Half the errors in this section are not arithmetic — they are computing P(AB)P(A \mid B) when the problem gave you P(BA)P(B \mid A).

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Your turn — pair the conditional with the right event

Try It Now 3.3.3

Try It Now 3.3.3 — Owen's free throws

Owen makes a free throw 75% of the time: P(F)=0.75P(F) = 0.75, P(S)=0.75P(S) = 0.75. Given he made the first, P(SF)=0.85P(S \mid F) = 0.85. What is the probability Owen makes both free throws?

P(F AND S)=(0.75)(0.85)=0.6375P(F \text{ AND } S) = (0.75)(0.85) = 0.6375

Pair the given conditional P(SF)P(S \mid F) with P(F)P(F). Sanity check: if independent the answer would be (0.75)(0.75)=0.5625(0.75)(0.75) = 0.5625 — smaller, as expected, since making the first shot improves his odds on the second.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Worked example — streaky shooting

Example 3.3.2 · Nora Shoots Twice

Setup

Nora makes a goal 65% of the time: P(A)=P(B)=0.65P(A) = P(B) = 0.65. She shoots in streaks: P(BA)=0.90P(B \mid A) = 0.90. a. P(A AND B)P(A \text{ AND } B)? b. P(A OR B)P(A \text{ OR } B)? c. Independent? d. Mutually exclusive?

Answers

a. (0.90)(0.65)=0.585(0.90)(0.65) = 0.585
b. 0.65+0.650.585=0.7150.65+0.65-0.585 = 0.715
c. No — (0.65)(0.65)=0.42250.585(0.65)(0.65)=0.4225 \neq 0.585
d. No — 0.58500.585 \neq 0

The independence test compares the product of the plain probabilities to the real AND; the mutually-exclusive test just checks whether the AND is zero. Nora fails both, which matches the story — streaky shooting is real dependence, and she can certainly make both shots.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Try it in rāSHio

Both rules on one set of numbers

Open rāSHio, choose Calculators → Probability, switch the mode to Conditional, and enter P(A)=0.65P(A) = 0.65 and P(B)=0.65P(B) = 0.65 with Assume independence ticked. The panel returns P(A AND B)=0.4225P(A \text{ AND } B) = 0.4225 — because assuming independence is exactly what makes the AND equal the product.

That is the number the independence test compares against: the real AND for Nora is 0.585, so the panel's assumption is false and the two shots are not independent. Run it as the counterfactual, not as the answer.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Figure 3.3.1 — the panel behind the counterfactual

rāSHio's Probability Panel, in Conditional Mode

Figure 3.3.1: with Assume independence ticked, the panel returns the AND as the product — the value the independence test compares against.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Your turn — the leftover group

Try It Now 3.3.4

Try It Now 3.3.4 — 200 seniors, three plans

200 seniors: 140 go to college, 40 go directly to work, the remainder take a gap year. What is the probability a senior is taking a gap year?

P(gap year)=20200=0.10P(\text{gap year}) = \dfrac{20}{200} = 0.10

The three plans cover all 200 seniors, so the gap-year count is what is left: 20014040=20200 - 140 - 40 = 20.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Worked example — a headcount problem, five questions

Example 3.3.3 · The Swim Team

Setup

150 members: 75 advanced, 47 intermediate, 28 novice. 40 advanced, 30 intermediate, 10 novice practice four times a week. One member is chosen randomly.

Answers

a. novice 0.1867\approx 0.1867
b. practices 4x 0.5333\approx 0.5333
c. advanced AND 4x 0.2667\approx 0.2667
d. advanced AND intermediate =0= 0, mutually exclusive
e. novice AND 4x 0.06670.0996\approx 0.0667 \neq 0.0996, not independent

Parts c and d were direct headcounts — no rule needed once the overlap is handed to you. Part e is the independence test: compare the real AND to the product of the separate probabilities.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Your turn — book and DVD

Try It Now 3.3.5

Try It Now 3.3.5 — a library visit

B=B = checks out a book, D=D = checks out a DVD. P(B)=0.40P(B) = 0.40, P(D)=0.30P(D) = 0.30, P(DB)=0.5P(D \mid B) = 0.5. a. P(B AND D)P(B \text{ AND } D)? b. P(B OR D)P(B \text{ OR } D)?

a. 0.20  ·  b. 0.50

P(B AND D)=(0.40)(0.5)=0.20P(B \text{ AND } D) = (0.40)(0.5) = 0.20; then P(B OR D)=0.40+0.300.20=0.50P(B \text{ OR } D) = 0.40 + 0.30 - 0.20 = 0.50.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Worked example — comparing a conditional to the plain rate

Example 3.3.4 · Tou Enrolls in Classes

Setup

P(M)=0.2P(M) = 0.2, P(S)=0.65P(S) = 0.65, P(MS)=0.25P(M \mid S) = 0.25. a. P(M AND S)P(M \text{ AND } S)? b. P(M OR S)P(M \text{ OR } S)? c. Independent? d. Mutually exclusive?

Answers

a. (0.25)(0.65)=0.1625(0.25)(0.65) = 0.1625
b. 0.2+0.650.1625=0.68750.2+0.65-0.1625=0.6875
c. No — 0.250.20.25 \neq 0.2
d. No — 0.162500.1625 \neq 0

Comparing P(MS)P(M \mid S) to P(M)P(M) is the independence test; comparing P(M AND S)P(M \text{ AND } S) to zero is the mutually-exclusive test. They are two different questions, and Tou fails both — he can, and is somewhat more likely to, take both classes.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.4

Probability and Medical Testing

A medical screening test is one of the most useful places to practice these two rules, because the question a patient actually cares about is a conditional probability that is easy to confuse with a different one. “How often does the test miss the disease?” and “how often does a negative result mean the patient is healthy?” are different questions with very different answers, and the difference is entirely a matter of which event you condition on.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3.4 — two examples, one setup

Same numbers, flipped to their complements

The next two examples use the same setup and are meant to be read together. The first works from the disease to the test result; the second flips several of the same quantities to their complements. Keep your list of symbols in front of you.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Your turn — an AND handed to you directly

Try It Now 3.3.6

Try It Now 3.3.6 — 200 seniors, three plans

Same 200 seniors as before; 50 of the college-bound seniors play sports. What is the probability a senior is going to college and plays sports?

P(college AND sports)=50200=0.25P(\text{college AND sports}) = \dfrac{50}{200} = 0.25

The overlap was handed to you directly as a headcount — no multiplication rule needed.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Worked example — a screening test with a known miss rate

Example 3.3.5 · A Screening Test

Example 3.3.5 — breast cancer screening

About one woman in seven who live to 90 develops breast cancer (14.3%). Of those who develop it, the test is negative 2% of the time. In the general population, the test is negative about 85% of the time. B=B = develops breast cancer, N=N = tests negative.

a. P(B)P(B), P(N)P(N)? b. P(NB)P(N \mid B)? c. P(B AND N)P(B \text{ AND } N)? d. P(B OR N)P(B \text{ OR } N)? e. Independent? f. Mutually exclusive?

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Example 3.3.5 — worked through

A test whose result depends on the disease

The six answers

a. P(B)=0.143P(B)=0.143, P(N)=0.85P(N)=0.85
b. P(NB)=0.02P(N \mid B) = 0.02
c. (0.143)(0.02)0.0029(0.143)(0.02) \approx 0.0029
d. 0.143+0.850.0029=0.99010.143+0.85-0.0029 = 0.9901
e. No — 0.850.020.85 \neq 0.02
f. No — 0.002900.0029 \neq 0

Why the answer to (e) is good news

A useful test's result should not be independent of the disease. P(NB)=0.02P(N \mid B) = 0.02 is nowhere near P(N)=0.85P(N) = 0.85 — exactly what you want from a screening test.

Part f is the false-negative rate: a woman can have breast cancer and still test negative, so the events are not mutually exclusive either.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Your turn — five quantities, one setup

Try It Now 3.3.7

Try It Now 3.3.7 — the same library visit

P(B)=0.40P(B) = 0.40, P(D)=0.30P(D) = 0.30, P(DB)=0.5P(D \mid B) = 0.5. a. P(B)P(B') b. P(D AND B)P(D \text{ AND } B) c. P(BD)P(B \mid D) d. P(D AND B)P(D \text{ AND } B') e. P(DB)P(D \mid B')

a. 0.60  ·  b. 0.20  ·  c. 0.6667\approx 0.6667  ·  d. 0.10  ·  e. 0.1667\approx 0.1667

c divides the same overlap by P(D)P(D) instead of P(B)P(B) — same top, different bottom, different answer. d splits DD into the part that overlaps BB and the part that doesn't: 0.300.20=0.100.30 - 0.20 = 0.10.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Worked example — flipping the same test to its complements

Example 3.3.6 · Flipping to Complements

Setup

Refer to Example 3.3.5. P=P = tests positive. a. P(PB)P(P \mid B)? b. P(B AND P)P(B \text{ AND } P)? c. P(B)P(B')? d. P(P)P(P)?

Answers

a. 10.02=0.981-0.02=0.98
b. (0.98)(0.143)0.1401(0.98)(0.143)\approx 0.1401
c. 10.143=0.8571-0.143=0.857
d. 10.85=0.151-0.85=0.15

Parts a and d are both about a positive result, yet they read completely differently: a is restricted to women who have the disease (0.98); d covers all women, most of whom are healthy (0.15). Same event, different condition, completely different number.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Try it in rāSHio

Ask the tool what a useless test would look like

Open rāSHio, choose Calculators → Probability in Conditional mode, and enter P(B)=0.143P(B) = 0.143 and P(N)=0.85P(N) = 0.85 with Assume independence ticked. The panel hands back P(NB)=0.85P(N \mid B) = 0.85 — the same as P(N)P(N), because that is what independence means.

Now compare it to the 0.02 this example actually gives you. The gap between 0.85 and 0.02 is the test doing its job; a screening test whose result really was independent of the disease would return the panel's number, and would be worth nothing.

Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

Key Terminology

Four terms from §3.3

  • multiplication ruleP(A AND B)=P(B)P(AB)P(A \text{ AND } B) = P(B)P(A \mid B); the probability that two events both occur.
  • addition ruleP(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); the probability that at least one of two events occurs.
  • independent events — two events for which P(AB)=P(A)P(A \mid B) = P(A), so that P(A AND B)=P(A)P(B)P(A \text{ AND } B) = P(A)P(B).
  • mutually exclusive events — two events that cannot both occur on the same trial, so that P(A AND B)=0P(A \text{ AND } B) = 0 and P(A OR B)=P(A)+P(B)P(A \text{ OR } B) = P(A) + P(B).
3.3

§3.3 — the headline result

Two tests turn dependence and overlap into arithmetic checks

Independent: compare P(A AND B)P(A \text{ AND } B) to the product P(A)P(B)P(A)P(B). Mutually exclusive: compare P(A AND B)P(A \text{ AND } B) to zero. Neither test assumes the other — a pair of events can be independent, mutually exclusive, both (only if one is impossible), or neither.

The same two rules that compute P(A AND B)P(A \text{ AND } B) and P(A OR B)P(A \text{ OR } B) are also the tests that tell you whether the shortcut was ever allowed in the first place.

A useful screening test is deliberately not independent of the disease it tests for — Example 3.3.5's P(NB)=0.02P(N \mid B) = 0.02 versus P(N)=0.85P(N) = 0.85 is the gap that makes the test worth running.

3.3
Two Basic Rules of Probability · bookSHelf Intro Stats§3.3

§3.3 — conclusions

What §3.3 leaves you with

The core idea

The multiplication rule turns AND into a product of a probability and a conditional; the addition rule turns OR into a sum minus the overlap. Each collapses to a one-step shortcut — multiply plain probabilities, or just add them — exactly when the events are independent or mutually exclusive, and never otherwise.

The failure case

Multiplying two plain probabilities when the events are dependent, or forgetting to subtract the overlap for a non-exclusive OR, both return numbers that look plausible and are wrong. Label every event before you compute — most errors here are a mismatched conditional, not bad arithmetic.

Next: §3.4 — Contingency Tables, where these same AND/OR/conditional questions get read straight off a table of counts.