Statistics

Compound Events and Independence

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
💊
Nursing

Medication dosages, IV drip rates, vital monitoring

💰
Retail & Finance

Discounts, tax, tips, profit margins

A compound event involves two or more individual events happening together or in sequence. When you need to find the probability that event A and event B both occur, you use the multiplication rule. The key question is whether the events are independent or dependent — this determines which version of the rule to apply.

Independent vs Dependent Events

Two events are independent if the outcome of one event has no effect on the probability of the other. Mathematically, events A and B are independent when:

P(BA)=P(B)P(B \mid A) = P(B)

This means knowing that A happened does not change the likelihood of B.

Two events are dependent if the outcome of the first event changes the probability of the second event. When events are dependent:

P(BA)P(B)P(B \mid A) \neq P(B)

Here are some examples to build your intuition:

ScenarioIndependent or Dependent?Why?
Flipping a coin twiceIndependentThe first flip does not affect the second
Rolling two diceIndependentEach die has no effect on the other
Drawing two cards without replacementDependentThe first card changes what remains in the deck
Drawing two marbles without replacementDependentRemoving one marble changes the total count
Drawing a marble, replacing it, then drawing againIndependentReplacement restores the original conditions

Multiplication Rule for Independent Events

When events A and B are independent, the probability that both occur is:

P(A and B)=P(A)P(B)P(A \text{ and } B) = P(A) \cdot P(B)

This extends to any number of independent events:

P(A and B and C)=P(A)P(B)P(C)P(A \text{ and } B \text{ and } C) = P(A) \cdot P(B) \cdot P(C)

Example 1: Two Coin Flips

What is the probability of getting heads on both flips of a fair coin?

Each flip has P(heads)=12P(\text{heads}) = \frac{1}{2}, and the flips are independent.

P(heads and heads)=12×12=14=0.25P(\text{heads and heads}) = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4} = 0.25

Answer: The probability of two heads in a row is 14\frac{1}{4}, or 25%.

Example 2: Rolling Two Dice

What is the probability of rolling a 6 on the first die AND an even number on the second die?

The two dice are independent. There is 1 way to roll a 6 out of 6 outcomes, and there are 3 even numbers (2, 4, 6) out of 6 outcomes.

P(6 on first)=16P(6 \text{ on first}) = \frac{1}{6}

P(even on second)=36=12P(\text{even on second}) = \frac{3}{6} = \frac{1}{2}

P(6 and even)=16×12=1120.0833P(6 \text{ and even}) = \frac{1}{6} \times \frac{1}{2} = \frac{1}{12} \approx 0.0833

Answer: The probability is 112\frac{1}{12}, or about 8.3%.

Multiplication Rule for Dependent Events

When events are dependent, the probability that both occur uses conditional probability:

P(A and B)=P(A)P(BA)P(A \text{ and } B) = P(A) \cdot P(B \mid A)

Here P(BA)P(B \mid A) is the probability of B occurring given that A has already occurred. The first event changes the conditions for the second event.

Example 3: Drawing Cards Without Replacement

What is the probability of drawing two aces in a row from a standard 52-card deck, without replacing the first card?

Step 1: Find the probability of drawing an ace on the first draw.

P(first ace)=452=113P(\text{first ace}) = \frac{4}{52} = \frac{1}{13}

Step 2: Given that the first card was an ace, find the probability of drawing another ace. Now only 3 aces remain out of 51 total cards.

P(second acefirst ace)=351=117P(\text{second ace} \mid \text{first ace}) = \frac{3}{51} = \frac{1}{17}

Step 3: Multiply.

P(two aces)=452×351=122652=12210.00452P(\text{two aces}) = \frac{4}{52} \times \frac{3}{51} = \frac{12}{2652} = \frac{1}{221} \approx 0.00452

Answer: The probability of drawing two aces in a row without replacement is 1221\frac{1}{221}, or about 0.45%.

With Replacement vs Without Replacement

Many probability problems involve drawing items from a collection. The crucial distinction is whether you put the item back before the next draw.

FeatureWith ReplacementWithout Replacement
Item returned?Yes — put it back before the next drawNo — it stays out
Total count changes?No — same total each timeYes — total decreases by 1 each draw
Events independent?YesNo — events are dependent
FormulaP(A)P(B)P(A) \cdot P(B)P(A)P(BA)P(A) \cdot P(B \mid A)

Example 4: Colored Marbles

A bag contains 5 red marbles, 3 blue marbles, and 2 green marbles (10 total). You draw one marble, note its color, then draw a second marble. Find the probability of drawing a red marble first and a blue marble second.

With replacement (put the first marble back):

The draws are independent. The total stays at 10 for both draws.

P(red then blue)=510×310=15100=320=0.15P(\text{red then blue}) = \frac{5}{10} \times \frac{3}{10} = \frac{15}{100} = \frac{3}{20} = 0.15

Without replacement (keep the first marble out):

The draws are dependent. After removing a red marble, 9 marbles remain.

P(red then blue)=510×39=1590=160.1667P(\text{red then blue}) = \frac{5}{10} \times \frac{3}{9} = \frac{15}{90} = \frac{1}{6} \approx 0.1667

Answer: With replacement, the probability is 320=0.15\frac{3}{20} = 0.15. Without replacement, the probability is 160.167\frac{1}{6} \approx 0.167.

Notice that the without-replacement probability is slightly higher. This makes sense: after removing a red marble, the remaining pool has a slightly higher proportion of blue marbles (3 out of 9 instead of 3 out of 10).

Testing for Independence

To check whether two events are independent, verify whether this equation holds:

P(A and B)=P(A)P(B)P(A \text{ and } B) = P(A) \cdot P(B)

If the equation is true, the events are independent. If not, they are dependent.

Example: A survey of 200 people finds that 80 exercise regularly, 50 are vegetarian, and 30 both exercise regularly and are vegetarian.

P(exercise)=80200=0.40P(\text{exercise}) = \frac{80}{200} = 0.40

P(vegetarian)=50200=0.25P(\text{vegetarian}) = \frac{50}{200} = 0.25

P(exercise)×P(vegetarian)=0.40×0.25=0.10P(\text{exercise}) \times P(\text{vegetarian}) = 0.40 \times 0.25 = 0.10

P(exercise and vegetarian)=30200=0.15P(\text{exercise and vegetarian}) = \frac{30}{200} = 0.15

Since 0.150.100.15 \neq 0.10, the events are not independent. People who exercise regularly are more likely to be vegetarian in this data.

”At Least One” Using the Complement

When a problem asks for the probability of “at least one” occurrence, it is almost always easier to use the complement:

P(at least one)=1P(none)P(\text{at least one}) = 1 - P(\text{none})

This avoids having to calculate every possible combination (exactly one, exactly two, exactly three, and so on).

Example 5: Defective Items

A factory’s defect rate is 5%, meaning P(defective)=0.05P(\text{defective}) = 0.05 for each item. Three items are randomly selected from a large production run (large enough to treat the draws as independent). What is the probability that at least one item is defective?

Step 1: Find the probability that a single item is NOT defective.

P(not defective)=10.05=0.95P(\text{not defective}) = 1 - 0.05 = 0.95

Step 2: Find the probability that ALL three items are not defective.

P(none defective)=0.95×0.95×0.95=0.953=0.857375P(\text{none defective}) = 0.95 \times 0.95 \times 0.95 = 0.95^3 = 0.857375

Step 3: Use the complement.

P(at least one defective)=10.857375=0.1426250.143P(\text{at least one defective}) = 1 - 0.857375 = 0.142625 \approx 0.143

Answer: There is about a 14.3% chance that at least one of the three items is defective.

Real-World Application: Nursing — Sequential Diagnostic Tests

In clinical settings, patients often undergo multiple diagnostic tests. Understanding compound events helps nurses and healthcare professionals interpret the combined results.

A patient is given two independent screening tests for a condition. Test A has a sensitivity of 90% (correctly identifies 90% of people with the condition), and Test B has a sensitivity of 85%.

What is the probability that both tests correctly detect the condition in a patient who has it?

Since the tests are independent:

P(both detect)=0.90×0.85=0.765=76.5%P(\text{both detect}) = 0.90 \times 0.85 = 0.765 = 76.5\%

What is the probability that at least one test detects the condition?

P(neither detects)=(10.90)×(10.85)=0.10×0.15=0.015P(\text{neither detects}) = (1 - 0.90) \times (1 - 0.85) = 0.10 \times 0.15 = 0.015

P(at least one detects)=10.015=0.985=98.5%P(\text{at least one detects}) = 1 - 0.015 = 0.985 = 98.5\%

Using two independent tests increases the overall detection rate from 90% (one test alone) to 98.5% (at least one of two tests). This is why clinicians often use multiple screening tools — the compound probability of missing a condition drops dramatically.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: You roll a fair die twice. What is the probability of rolling an even number on both rolls?

Each roll has P(even)=36=12P(\text{even}) = \frac{3}{6} = \frac{1}{2}. The rolls are independent.

P(even and even)=12×12=14=0.25P(\text{even and even}) = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4} = 0.25

Answer: The probability is 14\frac{1}{4}, or 25%.

Problem 2: A bag holds 6 red and 4 blue marbles. You draw two marbles without replacement. What is the probability of drawing two red marbles?

P(first red)=610P(\text{first red}) = \frac{6}{10}

P(second redfirst red)=59P(\text{second red} \mid \text{first red}) = \frac{5}{9}

P(two red)=610×59=3090=130.333P(\text{two red}) = \frac{6}{10} \times \frac{5}{9} = \frac{30}{90} = \frac{1}{3} \approx 0.333

Answer: The probability is 13\frac{1}{3}, or about 33.3%.

Problem 3: A fire alarm has a 2% false alarm rate each day. What is the probability of at least one false alarm during a 5-day work week? (Assume days are independent.)

P(no false alarm on a given day)=10.02=0.98P(\text{no false alarm on a given day}) = 1 - 0.02 = 0.98

P(no false alarms all week)=0.985=0.90392079680.904P(\text{no false alarms all week}) = 0.98^5 = 0.9039207968 \approx 0.904

P(at least one)=10.904=0.096P(\text{at least one}) = 1 - 0.904 = 0.096

Answer: There is about a 9.6% chance of at least one false alarm during the week.

Problem 4: A standard deck of 52 cards is shuffled. You draw two cards without replacement. What is the probability of drawing a king first and a queen second?

P(king first)=452P(\text{king first}) = \frac{4}{52}

P(queen secondking first)=451P(\text{queen second} \mid \text{king first}) = \frac{4}{51}

P(king then queen)=452×451=162652=46630.00603P(\text{king then queen}) = \frac{4}{52} \times \frac{4}{51} = \frac{16}{2652} = \frac{4}{663} \approx 0.00603

Answer: The probability is 4663\frac{4}{663}, or about 0.6%.

Problem 5: Two machines in a factory operate independently. Machine A has a 3% failure rate per day, and Machine B has a 5% failure rate per day. What is the probability that both machines fail on the same day?

P(both fail)=0.03×0.05=0.0015=0.15%P(\text{both fail}) = 0.03 \times 0.05 = 0.0015 = 0.15\%

Answer: The probability that both fail on the same day is 0.15%, or about 1 in 667.

Key Takeaways

  • Independent events do not affect each other: P(A and B)=P(A)P(B)P(A \text{ and } B) = P(A) \cdot P(B).
  • Dependent events require conditional probability: P(A and B)=P(A)P(BA)P(A \text{ and } B) = P(A) \cdot P(B \mid A).
  • With replacement keeps events independent; without replacement makes them dependent.
  • To test for independence, check whether P(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B).
  • For “at least one” problems, use the complement: P(at least one)=1P(none)P(\text{at least one}) = 1 - P(\text{none}).
  • These rules extend to any number of events — multiply across the chain.

Return to Statistics for more topics in this section.

Last updated: March 29, 2026