Skip to content

Probability rules, Venn diagrams and tree diagrams

Probability measures uncertainty on a scale from 00 to 11. An impossible event has probability 00, a certain event has probability 11, and larger values mean stronger evidence that the event will occur.

This lesson develops the rules needed to combine events correctly. The central challenge is not arithmetic. It is translating words such as or, and, not and independent into precise mathematical statements.

You should be able to:

  • calculate with fractions, decimals and percentages;
  • list outcomes systematically and recognise equally likely outcomes;
  • use basic set notation for unions, intersections and complements;
  • multiply and add fractions without prematurely rounding.

Review probability foundations if sample spaces and relative frequency are unfamiliar.

A random experiment has an uncertain result. An outcome is one possible result. The sample space SS is the set of all possible outcomes, and an event is a subset of SS.

For one roll of a fair six sided die,

S={1,2,3,4,5,6}.S=\{1,2,3,4,5,6\}.

If AA is the event “an even number is rolled”, then

A={2,4,6}.A=\{2,4,6\}.

Because the six outcomes are equally likely,

P(A)=number of outcomes in Anumber of outcomes in S=36=12.\operatorname{P}(A)=\frac{\text{number of outcomes in }A}{\text{number of outcomes in }S} =\frac36=\frac12.

This counting formula is valid only when the elementary outcomes are equally likely. For an unfair spinner, probabilities must come from the model or from data, not merely from counting sectors.

Every event AA satisfies

0P(A)1,P(S)=1,P()=0.\boxed{0\leq \operatorname{P}(A)\leq1}, \qquad \operatorname{P}(S)=1, \qquad \operatorname{P}(\varnothing)=0.

Worked example 1: construct the sample space

Section titled “Worked example 1: construct the sample space”

A fair coin is tossed and a fair die is rolled. Find the probability of obtaining a head and a number greater than 44.

There are 2×6=122\times6=12 equally likely ordered outcomes:

S={H1,H2,,H6,T1,T2,,T6}.S=\{H1,H2,\ldots,H6,T1,T2,\ldots,T6\}.

The required event is {H5,H6}\{H5,H6\}, so

P(head and number greater than 4)=212=16.\operatorname{P}(\text{head and number greater than }4) =\frac2{12}=\boxed{\frac16}.

The word “and” requires both conditions to hold in the same outcome.

Two fair four sided dice, numbered 11 to 44, are rolled. Find the probability that their total is 55.

Answer

There are 42=164^2=16 equally likely ordered pairs. The successful pairs are

(1,4),(2,3),(3,2),(4,1).(1,4),(2,3),(3,2),(4,1).

Therefore

P(total 5)=416=14.\boxed{\operatorname{P}(\text{total }5)=\frac4{16}=\frac14}.

The pairs (1,4)(1,4) and (4,1)(4,1) are different outcomes.

Complements: the probability of not happening

Section titled “Complements: the probability of not happening”

The complement AA' contains every outcome in SS that is not in AA. Exactly one of AA and AA' must occur, so

P(A)=1P(A).\boxed{\operatorname{P}(A')=1-\operatorname{P}(A)}.

Complements are especially useful for phrases such as at least one. It is often shorter to subtract the probability of no successes from 11.

A biased coin has probability 0.30.3 of landing heads on each toss. Tosses are independent. Find the probability of at least one head in three tosses.

The complement of “at least one head” is “no heads”, which means three tails. Since

P(T)=10.3=0.7,\operatorname{P}(T)=1-0.3=0.7,

independence gives

P(at least one H)=1P(TTT)=1(0.7)3=10.343=0.657.\begin{aligned} \operatorname{P}(\text{at least one }H) &=1-\operatorname{P}(TTT)\\ &=1-(0.7)^3\\ &=1-0.343\\ &=\boxed{0.657}. \end{aligned}

Do not calculate 1(0.3)31-(0.3)^3. Three heads is not the complement of at least one head.

For events AA and BB:

  • ABA\cap B means AA and BB, so both events occur;
  • ABA\cup B means AA or BB, including the possibility that both occur;
  • AA' means not AA.

In probability, “or” is normally inclusive. The event ABA\cup B contains the AA only region, the overlap, and the BB only region.

Adding P(A)\operatorname{P}(A) and P(B)\operatorname{P}(B) counts the overlap twice. Subtract it once to obtain the addition rule:

P(AB)=P(A)+P(B)P(AB).\boxed{\operatorname{P}(A\cup B) =\operatorname{P}(A)+\operatorname{P}(B)-\operatorname{P}(A\cap B)}.

In a group of students, 52%52\% study French, 38%38\% study Spanish and 21%21\% study both. One student is selected at random. Find the probability that the student:

  1. studies French or Spanish;
  2. studies neither language;
  3. studies French but not Spanish.

Let FF and SS denote the two events.

First,

P(FS)=P(F)+P(S)P(FS)=0.52+0.380.21=0.69.\begin{aligned} \operatorname{P}(F\cup S) &=\operatorname{P}(F)+\operatorname{P}(S)-\operatorname{P}(F\cap S)\\ &=0.52+0.38-0.21\\ &=\boxed{0.69}. \end{aligned}

Neither is the complement of the union:

P((FS))=10.69=0.31.\operatorname{P}((F\cup S)')=1-0.69=\boxed{0.31}.

French but not Spanish is the part of FF outside the overlap:

P(FS)=0.520.21=0.31.\operatorname{P}(F\cap S')=0.52-0.21=\boxed{0.31}.

Worked example 4: find an unknown intersection

Section titled “Worked example 4: find an unknown intersection”

Suppose

P(A)=0.63,P(B)=0.48,P(AB)=0.79.\operatorname{P}(A)=0.63, \qquad \operatorname{P}(B)=0.48, \qquad \operatorname{P}(A\cup B)=0.79.

Find P(AB)\operatorname{P}(A\cap B).

Rearrange the addition rule:

P(AB)=P(A)+P(B)P(AB)=0.63+0.480.79=0.32.\begin{aligned} \operatorname{P}(A\cap B) &=\operatorname{P}(A)+\operatorname{P}(B)-\operatorname{P}(A\cup B)\\ &=0.63+0.48-0.79\\ &=\boxed{0.32}. \end{aligned}

The answer is plausible because an intersection cannot exceed either event probability.

Given P(A)=0.7\operatorname{P}(A)=0.7, P(B)=0.4\operatorname{P}(B)=0.4 and P(AB)=0.25\operatorname{P}(A\cap B)=0.25, find:

  1. P(AB)\operatorname{P}(A\cup B);
  2. P(AB)\operatorname{P}(A'\cap B);
  3. P(AB)\operatorname{P}(A'\cap B').
Answer P(AB)=0.7+0.40.25=0.85.\operatorname{P}(A\cup B)=0.7+0.4-0.25=\boxed{0.85}.

The part of BB outside AA is

P(AB)=0.40.25=0.15.\operatorname{P}(A'\cap B)=0.4-0.25=\boxed{0.15}.

Neither event occurs in the complement of the union, so

P(AB)=10.85=0.15.\operatorname{P}(A'\cap B')=1-0.85=\boxed{0.15}.

Events are mutually exclusive if they cannot occur together. Their intersection is empty:

AB=P(AB)=0.\boxed{A\cap B=\varnothing} \qquad\Longleftrightarrow\qquad \boxed{\operatorname{P}(A\cap B)=0}.

The addition rule then simplifies to

P(AB)=P(A)+P(B).\boxed{\operatorname{P}(A\cup B)=\operatorname{P}(A)+\operatorname{P}(B)}.

On one die roll, “roll a 22” and “roll a 55” are mutually exclusive. By contrast, “roll an even number” and “roll a number greater than 33” overlap at 44 and 66, so they are not mutually exclusive.

A tree diagram represents a sequence of events. Use three rules:

  1. probabilities on branches leaving the same point sum to 11;
  2. multiply probabilities along a route;
  3. add the probabilities of distinct routes that meet the requirement.

The multiplication rule in full is

P(AB)=P(A)P(BA).\operatorname{P}(A\cap B) =\operatorname{P}(A)\operatorname{P}(B\mid A).

The symbol P(BA)\operatorname{P}(B\mid A) means the probability of BB given that AA has occurred. For independent events it equals P(B)\operatorname{P}(B). Dependent trees are developed fully in conditional probability.

A bag contains 33 red and 22 blue counters. A counter is selected, replaced, and then a second counter is selected. Find the probability of obtaining one counter of each colour.

Replacement restores the original contents, so each selection has

P(R)=35,P(B)=25.\operatorname{P}(R)=\frac35, \qquad \operatorname{P}(B)=\frac25.

There are two mutually exclusive routes: RBRB and BRBR.

P(one of each)=P(RB)+P(BR)=35×25+25×35=625+625=1225.\begin{aligned} \operatorname{P}(\text{one of each}) &=\operatorname{P}(RB)+\operatorname{P}(BR)\\ &=\frac35\times\frac25+\frac25\times\frac35\\ &=\frac6{25}+\frac6{25}\\ &=\boxed{\frac{12}{25}}. \end{aligned}

Multiplying gives one complete route. Adding combines the two alternative routes.

The same bag contains 33 red and 22 blue counters, but counters are not replaced. Find the probability that both selected counters have the same colour.

After the first selection, only 44 counters remain. The required routes are RRRR and BBBB:

P(same colour)=35×24+25×14=310+110=25.\begin{aligned} \operatorname{P}(\text{same colour}) &=\frac35\times\frac24+\frac25\times\frac14\\ &=\frac3{10}+\frac1{10}\\ &=\boxed{\frac25}. \end{aligned}

The second branch probabilities change because the first counter is not replaced. This is dependence.

A box contains 44 green and 66 yellow balls. Two balls are selected without replacement. Find the probability of at least one green ball.

Answer

Use the complement, which is two yellow balls:

P(at least one green)=1P(YY)=1610×59=113=23.\begin{aligned} \operatorname{P}(\text{at least one green}) &=1-\operatorname{P}(YY)\\ &=1-\frac6{10}\times\frac59\\ &=1-\frac13\\ &=\boxed{\frac23}. \end{aligned}

Events AA and BB are independent when knowing that one occurred does not change the probability of the other. The most useful test is

P(AB)=P(A)P(B).\boxed{\operatorname{P}(A\cap B)=\operatorname{P}(A)\operatorname{P}(B)}.

Do not assume independence merely because events sound unrelated. Use the information given or test the equation.

Suppose

P(A)=0.4,P(B)=0.7,P(AB)=0.82.\operatorname{P}(A)=0.4, \qquad \operatorname{P}(B)=0.7, \qquad \operatorname{P}(A\cup B)=0.82.

Determine whether AA and BB are independent.

First find the intersection:

P(AB)=0.4+0.70.82=0.28.\operatorname{P}(A\cap B)=0.4+0.7-0.82=0.28.

Now compare it with the product:

P(A)P(B)=(0.4)(0.7)=0.28.\operatorname{P}(A)\operatorname{P}(B)=(0.4)(0.7)=0.28.

The values are equal, so AA and BB are \boxed{\text{independent}}.

Worked example 8: find a probability using independence

Section titled “Worked example 8: find a probability using independence”

Events CC and DD are independent, with

P(C)=0.6andP(CD)=0.8.\operatorname{P}(C)=0.6 \qquad\text{and}\qquad \operatorname{P}(C\cup D)=0.8.

Find P(D)\operatorname{P}(D).

Let P(D)=p\operatorname{P}(D)=p. Independence gives P(CD)=0.6p\operatorname{P}(C\cap D)=0.6p. Substitute into the addition rule:

0.8=0.6+p0.6p.0.8=0.6+p-0.6p.

Therefore

0.2=0.4pp=0.5.0.2=0.4p \qquad\Longrightarrow\qquad \boxed{p=0.5}.

This example requires both the addition rule and the independence condition. Adding 0.6+p0.6+p alone would wrongly assume the events were mutually exclusive.

Events AA and BB satisfy P(A)=0.3\operatorname{P}(A)=0.3, P(B)=0.5\operatorname{P}(B)=0.5 and P(AB)=0.15\operatorname{P}(A\cap B)=0.15.

  1. Are AA and BB independent?
  2. Are AA and BB mutually exclusive?
Answer

Since

P(A)P(B)=(0.3)(0.5)=0.15=P(AB),\operatorname{P}(A)\operatorname{P}(B)=(0.3)(0.5)=0.15 =\operatorname{P}(A\cap B),

the events are independent.

They are not mutually exclusive because

P(AB)=0.150.\operatorname{P}(A\cap B)=0.15\ne0.

When outcomes are equally likely, probability is often a counting problem. The multiplication principle says that if one stage has mm choices and a second stage has nn choices for each first choice, there are mnmn possible ordered outcomes.

If order does not matter, combinations may be more efficient:

(nr)=n!r!(nr)!.\binom nr=\frac{n!}{r!(n-r)!}.

Worked example 9: combinations in probability

Section titled “Worked example 9: combinations in probability”

A committee of 33 is chosen at random from 55 women and 44 men. Find the probability that exactly 22 women are chosen.

Every committee of 33 is equally likely. The total number is

(93)=84.\binom93=84.

For exactly 22 women, choose 22 of the 55 women and 11 of the 44 men:

(52)(41)=10×4=40.\binom52\binom41=10\times4=40.

Hence

P(exactly 2 women)=4084=1021.\operatorname{P}(\text{exactly }2\text{ women}) =\frac{40}{84}=\boxed{\frac{10}{21}}.

The choices are multiplied because both selections are required. There is no factor of 3!3! because a committee has no order.

A probability calculation is only as sound as its model. Before calculating, ask:

  • Are the stated outcomes equally likely?
  • Is sampling with replacement or without replacement?
  • Is independence stated, justified by the mechanism, or testable from data?
  • Does “or” include the overlap?
  • Are the events exhaustive, so their probabilities should sum to 11?

After calculating, check that the answer lies between 00 and 11. Also use bounds. For example,

0P(AB)min{P(A),P(B)}.0\leq \operatorname{P}(A\cap B)\leq \min\{\operatorname{P}(A),\operatorname{P}(B)\}.

If P(A)=0.2\operatorname{P}(A)=0.2, an answer of 0.350.35 for P(AB)\operatorname{P}(A\cap B) is impossible because the overlap is contained within AA.

MisconceptionCorrection
”Or” means addSubtract the overlap unless the events are mutually exclusive.
”And” always means multiply the marginal probabilitiesP(A)P(B)\operatorname{P}(A)\operatorname{P}(B) is valid only for independent events. In general use a conditional branch probability.
Mutually exclusive means independentThey describe different ideas. Positive probability events cannot be both.
At least one means calculate every successful routeThe complement of none is often shorter.
Without replacement leaves probabilities unchangedThe total and possibly the favourable count change after each selection.
A decimal from a calculator is automatically exactKeep fractions or full precision during working, then round only at the end.

In a group of 100100 people, 5858 read newspaper AA, 4545 read newspaper BB, and 1818 read neither. One person is selected at random.

  1. Find the probability that the person reads at least one newspaper.
  2. Find the probability that the person reads both newspapers.
  3. Determine whether reading AA and reading BB are independent.
  4. Find the probability that the person reads exactly one of the newspapers.
Answer

The probability of at least one is the complement of neither:

P(AB)=10.18=0.82.\operatorname{P}(A\cup B)=1-0.18=\boxed{0.82}.

Use the addition rule to find the overlap:

P(AB)=0.58+0.450.82=0.21.\begin{aligned} \operatorname{P}(A\cap B) &=0.58+0.45-0.82\\ &=\boxed{0.21}. \end{aligned}

For independence, compare:

P(A)P(B)=(0.58)(0.45)=0.261.\operatorname{P}(A)\operatorname{P}(B)=(0.58)(0.45)=0.261.

Since 0.210.2610.21\ne0.261, the events are not independent.

Exactly one consists of the two non-overlapping outer regions:

P(exactly one)=(0.580.21)+(0.450.21)=0.37+0.24=0.61.\begin{aligned} \operatorname{P}(\text{exactly one}) &=(0.58-0.21)+(0.45-0.21)\\ &=0.37+0.24\\ &=\boxed{0.61}. \end{aligned}
P(A)=1P(A),P(AB)=P(A)+P(B)P(AB),A,B mutually exclusiveP(AB)=0,A,B independentP(AB)=P(A)P(B).\begin{aligned} \operatorname{P}(A')&=1-\operatorname{P}(A),\\ \operatorname{P}(A\cup B)&=\operatorname{P}(A)+\operatorname{P}(B)-\operatorname{P}(A\cap B),\\ A,B\text{ mutually exclusive}&\Longrightarrow \operatorname{P}(A\cap B)=0,\\ A,B\text{ independent}&\Longleftrightarrow \operatorname{P}(A\cap B)=\operatorname{P}(A)\operatorname{P}(B). \end{aligned}

On a tree, multiply along routes and add alternative routes. Always decide whether later branches change before copying probabilities across the tree.

Continue to conditional probability to formalise changing sample spaces, dependent events and reverse probability problems. Then study discrete random variables and the binomial distribution to turn repeated random processes into probability distributions. For the assumptions behind real applications, see probability modelling.