Conditional probability and independence

Maths: Analysis and Approaches · Statistics and probability. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths: Analysis and Approaches topics

The idea

Conditional probability is the probability of an event when you already know that another event has happened. P(A | B) means the probability of A given B. Knowing B makes the sample space smaller: you now look only at the outcomes inside B, and ask what fraction of them are also in A.

In a table or Venn diagram, divide the number in both A and B by the total for B. In a tree diagram, the second set of branches already shows conditional probabilities, so multiply along the branches and add the routes you need.

Two events are independent when one happening does not change the probability of the other, so P(A | B) = P(A).

In simpler words

Conditional probability is the chance of something when you already know another thing has happened. P(A | B) means A, given B. Knowing B shrinks what can happen. You look only at outcomes in B. Then ask what fraction are also in A. Two events are independent if one does not change the chance of the other.

An everyday comparison

Conditional probability is like being told a friend's birthday is in winter. The chance it is in December is no longer 1 in 12; you now look only at the winter months, so it is 1 in 3. The comparison is limited, because months have different lengths, so true probabilities are not exactly equal.

Rules to remember

Common mistake

Dividing by the wrong probability. In P(A | B) the event after the line is the one you know has happened, so its probability goes underneath: P(A | B) and P(B | A) are usually different.

In the exam

Write P(A | B) = P(A ∩ B) ÷ P(B), then substitute values from the diagram. Put the known event's probability underneath. For a tree diagram, multiply along branches, then add routes for the overall probability. To test independence, calculate P(A) × P(B) and compare it with P(A ∩ B), then state a conclusion. Do not confuse independent with mutually exclusive.

Worked example

Machine X makes 60% of the items in a factory and machine Y makes 40%. 5% of the items from X are faulty and 10% of the items from Y are faulty. An item is found to be faulty. Find the probability that it came from X.

  1. P(X and faulty) = 0.6 × 0.05 = 0.03
  2. P(Y and faulty) = 0.4 × 0.10 = 0.04
  3. P(faulty) = 0.03 + 0.04 = 0.07
  4. P(X | faulty) = 0.03 ÷ 0.07 = 3/7

Answer: 3/7, which is about 0.429

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Probability and combined eventsDiscrete random variables and the binomial distribution →Take a Maths: Analysis and Approaches test