Skip to content

Probability foundations: rules, diagrams and conditional probability

Probability measures uncertainty on a scale from impossible to certain:

0P(A)1.0\leq P(A)\leq 1.

Here AA is an event, such as obtaining an even number when a die is rolled. A probability may be written as a fraction, decimal or percentage, but exact fractions are usually best during a calculation.

This lesson secures the probability ideas assumed throughout A-level Mathematics. The central challenge is not arithmetic. It is translating words into the correct events and deciding whether to add, multiply or condition.

You should be able to:

  • simplify fractions;
  • convert between fractions, decimals and percentages;
  • use ratios and proportions;
  • count systematically;
  • read two-way tables.

Review exact arithmetic and ratio and proportion if needed.

The sample space, usually written Ω\Omega, is the set of all possible outcomes. An event is a subset of that sample space.

For one fair six-sided die,

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

If AA is the event “the score is even”, then

A={2,4,6},P(A)=36=12.A=\{2,4,6\},\qquad P(A)=\frac36=\frac12.

For equally likely outcomes,

P(A)=number of outcomes in Atotal number of outcomes.P(A)=\frac{\text{number of outcomes in }A}{\text{total number of outcomes}}.

This formula is valid only when the outcomes being counted are equally likely. The outcomes “wins” and “loses” are two possibilities, but that does not make each probability 12\frac12.

NotationMeaning
P(A)P(A)probability that AA occurs
AA'complement of AA: AA does not occur
ABA\cap Bboth AA and BB occur
ABA\cup BAA or BB or both occur
P(AB)P(A\mid B)probability of AA, given that BB has occurred

In probability, or is normally inclusive. Thus ABA\cup B includes the overlap ABA\cap B.

An event and its complement are mutually exclusive and together cover the whole sample space. Therefore

P(A)=1P(A).P(A')=1-P(A).

The probability that a train is late is 0.180.18. Find the probability that it is not late.

Let LL be the event that the train is late. Then

P(L)=1P(L)=10.18=0.82.P(L')=1-P(L)=1-0.18=\boxed{0.82}.

A fair coin is tossed three times. Find the probability of at least one head.

The direct event contains several cases: exactly one, exactly two or exactly three heads. Its complement is simpler:

no heads=three tails.\text{no heads}=\text{three tails}.

The tosses are independent, so

P(three tails)=(12)3=18.P(\text{three tails})=\left(\frac12\right)^3=\frac18.

Hence

P(at least one head)=118=78.P(\text{at least one head})=1-\frac18=\boxed{\frac78}.

The phrase at least one often signals a useful complement, but always check whether the complementary event really is easier.

If an event occurs rr times in nn trials, its relative frequency is

rn.\frac rn.

This estimates the underlying probability. It is not guaranteed to equal it. Over many repeated trials, relative frequency tends to become more stable around the modelled probability.

A drawing pin lands point-up 9393 times in 150150 trials.

An estimate for the probability of point-up is

p^=93150=0.62.\hat p=\frac{93}{150}=0.62.

Using this estimate, the expected number of point-up results in another 400400 trials is

400(0.62)=248.400(0.62)=\boxed{248}.

This is a modelled expectation, not a promise of exactly 248248.

If a fair coin gives five heads in succession, a tail is not “due”. Provided the tosses are independent,

P(tail on the next toss)=12.P(\text{tail on the next toss})=\frac12.

Long-run stability does not force results to compensate immediately.

A complete, non-repeating sample space prevents missed or double-counted cases. Use an ordered list, table or tree.

Two fair four-sided spinners are numbered 1,2,3,41,2,3,4. Find the probability that their total is 55.

There are 4×4=164\times4=16 equally likely ordered pairs. The favourable pairs are

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

Therefore

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

The totals 2,3,,82,3,\ldots,8 are not equally likely. For example, only (1,1)(1,1) gives 22, while four pairs give 55.

Worked example 5: counting without replacement

Section titled “Worked example 5: counting without replacement”

A box contains four cards labelled A,B,C,DA,B,C,D. Two different cards are selected in order without replacement. Find the probability that one is AA.

There are 4×3=124\times3=12 equally likely ordered outcomes. Those containing AA are

AB,AC,AD,BA,CA,DA.AB,AC,AD,BA,CA,DA.

Thus

P(one is A)=612=12.P(\text{one is }A)=\frac6{12}=\boxed{\frac12}.

Here “one is AA” means exactly one, because AA cannot be selected twice without replacement.

  1. A fair die is rolled. Find P(score greater than 4)P(\text{score greater than }4).
  2. Two fair coins are tossed. Find P(exactly one head)P(\text{exactly one head}).
  3. The probability of rain is 0.350.35. Find the probability of no rain.
Answers
  1. The favourable scores are 55 and 66, so P=26=13P=\frac26=\frac13.
  2. The equally likely outcomes are HH,HT,TH,TTHH,HT,TH,TT. Two give exactly one head, so P=24=12P=\frac24=\frac12.
  3. 10.35=0.651-0.35=0.65.

Adding P(A)P(A) and P(B)P(B) counts outcomes in the overlap twice. Subtract the overlap once:

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

Events are mutually exclusive if they cannot occur together. Then ABA\cap B is impossible, so

P(AB)=P(A)+P(B).P(A\cup B)=P(A)+P(B).

Worked example 6: mutually exclusive events

Section titled “Worked example 6: mutually exclusive events”

A fair die is rolled. Let AA be “score 11” and BB be “score greater than 44”. These events cannot happen together, so

P(AB)=16+26=12.P(A\cup B)=\frac16+\frac26=\boxed{\frac12}.

One card is selected from a standard pack of 5252. Find the probability that it is a heart or a king.

There are 1313 hearts and 44 kings. The king of hearts belongs to both sets, so

P(HK)=1352+452152=1652=413.P(H\cup K)=\frac{13}{52}+\frac4{52}-\frac1{52} =\frac{16}{52}=\boxed{\frac4{13}}.

Simply calculating (13+4)/52(13+4)/52 counts the king of hearts twice.

A Venn diagram represents events as regions. Fill a diagram from the overlap outwards:

  1. enter ABA\cap B;
  2. calculate the parts belonging only to AA and only to BB;
  3. calculate the region outside both events;
  4. check that all regions total the size of the universal set.

In a group of 8080 students, 4646 study French, 3535 study Spanish and 1818 study both. One student is selected at random.

The four disjoint regions are:

both=18,French only=4618=28,Spanish only=3518=17,neither=80(18+28+17)=17.\begin{aligned} \text{both}&=18,\\ \text{French only}&=46-18=28,\\ \text{Spanish only}&=35-18=17,\\ \text{neither}&=80-(18+28+17)=17. \end{aligned}

Therefore

P(FS)=18+28+1780=6380P(F\cup S)=\frac{18+28+17}{80}=\boxed{\frac{63}{80}}

and

P(FS)=P(Spanish only)=1780.P(F'\cap S)=P(\text{Spanish only})=\boxed{\frac{17}{80}}.

Notice that FSF'\cap S means outside FF but inside SS. A prime changes the region, not merely the notation.

The multiplication rule and conditional probability

Section titled “The multiplication rule and conditional probability”

For events AA and BB,

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

After AA has occurred, P(BA)P(B\mid A) uses a reduced sample space containing only outcomes in AA.

Rearranging gives the conditional probability formula

P(BA)=P(AB)P(A),P(A)>0.\boxed{P(B\mid A)=\frac{P(A\cap B)}{P(A)}},\qquad P(A)>0.

In the group from Worked example 8, find the probability that a student studies Spanish, given that the student studies French.

The condition restricts attention to the 4646 French students. Of those, 1818 also study Spanish. Therefore

P(SF)=1846=923.P(S\mid F)=\frac{18}{46}=\boxed{\frac9{23}}.

The denominator is 4646, not 8080, because the phrase “given that” changes the sample space.

A bag contains 55 red and 33 blue counters. Two counters are taken without replacement. Find the probability that both are red.

The first counter is red with probability 5/85/8. Given that it was red, 44 red counters remain among 77 counters. Hence

P(R1R2)=P(R1)P(R2R1)=58×47=514.P(R_1\cap R_2)=P(R_1)P(R_2\mid R_1) =\frac58\times\frac47 =\boxed{\frac5{14}}.

The second fraction changes because there is no replacement.

Events AA and BB are independent if knowing that one occurred does not change the probability of the other:

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

Equivalently,

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

This product is a test for independence, not a rule to apply automatically.

Suppose

P(A)=0.4,P(B)=0.5,P(AB)=0.2.P(A)=0.4,\qquad P(B)=0.5,\qquad P(A\cap B)=0.2.

Since

P(A)P(B)=0.4(0.5)=0.2=P(AB),P(A)P(B)=0.4(0.5)=0.2=P(A\cap B),

AA and BB are independent.

If instead P(AB)=0.15P(A\cap B)=0.15, they would not be independent.

If two events with non-zero probabilities are mutually exclusive, occurrence of one makes the other impossible. Therefore they are dependent.

For example, on one die roll, “odd” and “even” are mutually exclusive. But

P(oddeven)=012×12.P(\text{odd}\cap\text{even})=0 \ne \frac12\times\frac12.

Mutually exclusive concerns whether events can occur together. Independent concerns whether one changes the probability of the other.

A tree diagram displays successive events. Use two rules:

  • probabilities on branches leaving the same node sum to 11;
  • multiply probabilities along a route, then add probabilities of distinct routes that satisfy the event.

A biased coin has P(H)=0.6P(H)=0.6 and is tossed twice independently. Find the probability of exactly one head.

There are two suitable routes:

HTorTH.HT\quad\text{or}\quad TH.

Their probabilities are

P(HT)=0.6(0.4)=0.24,P(TH)=0.4(0.6)=0.24.P(HT)=0.6(0.4)=0.24, \qquad P(TH)=0.4(0.6)=0.24.

The routes are mutually exclusive, so add:

P(exactly one head)=0.24+0.24=0.48.P(\text{exactly one head})=0.24+0.24=\boxed{0.48}.

A bag contains 44 green and 22 yellow counters. Two are selected without replacement. Find the probability that they have different colours.

There are two routes:

GYorYG.GY\quad\text{or}\quad YG.

After one counter is removed, 55 remain. Thus

P(GY)=46×25=415,P(YG)=26×45=415.\begin{aligned} P(GY)&=\frac46\times\frac25=\frac4{15},\\ P(YG)&=\frac26\times\frac45=\frac4{15}. \end{aligned}

Therefore

P(different colours)=415+415=815.P(\text{different colours})=\frac4{15}+\frac4{15} =\boxed{\frac8{15}}.

As a check, the complementary event is two counters of the same colour:

46×35+26×15=615+115=715,\frac46\times\frac35+\frac26\times\frac15 =\frac6{15}+\frac1{15}=\frac7{15},

and 8/15+7/15=18/15+7/15=1.

Worked example 14: reverse a tree using algebra

Section titled “Worked example 14: reverse a tree using algebra”

A factory uses machines AA and BB. Machine AA makes 60%60\% of the items and 2%2\% of its items are defective. Machine BB makes the rest and 5%5\% of its items are defective. Given that an item is defective, find the probability it came from BB.

Let DD mean defective. First find the probabilities of the two defective routes:

P(AD)=0.60(0.02)=0.012,P(A\cap D)=0.60(0.02)=0.012, P(BD)=0.40(0.05)=0.020.P(B\cap D)=0.40(0.05)=0.020.

Hence

P(D)=0.012+0.020=0.032.P(D)=0.012+0.020=0.032.

Restricting attention to defective items gives

P(BD)=P(BD)P(D)=0.0200.032=0.625.P(B\mid D)=\frac{P(B\cap D)}{P(D)} =\frac{0.020}{0.032} =\boxed{0.625}.

Although BB makes fewer items, its higher defect rate means it is responsible for most defective items.

Two-way tables are especially useful when data are given as frequencies. Add row and column totals before calculating probabilities. For a conditional probability, use the total of the conditioned row or column as the denominator.

The table records whether 120120 people cycle to work.

CyclesDoes not cycleTotal
Under 40323228286060
40 or over181842426060
Total50507070120120

For a randomly selected person,

P(under 40 and cycles)=32120=415.P(\text{under 40 and cycles})=\frac{32}{120}=\frac4{15}.

Given that the person cycles, the relevant column contains 5050 people, so

P(under 40cycles)=3250=1625.P(\text{under 40}\mid\text{cycles})=\frac{32}{50}=\boxed{\frac{16}{25}}.

By contrast,

P(cyclesunder 40)=3260=815.P(\text{cycles}\mid\text{under 40})=\frac{32}{60}=\frac8{15}.

Reversing the condition usually changes the probability.

Translate the event before calculating.

Wording or structureTypical operationQuestion to ask
not AAcomplementIs 1P(A)1-P(A) simpler?
AA or BBaddition ruleIs there an overlap to subtract?
AA and then BBmultiplication ruleDoes the second probability depend on the first?
given BBconditional probabilityWhat is the reduced sample space?
at least oneoften a complementIs “none” a single simple case?

Words alone do not determine an operation. In “red or blue” the events may be mutually exclusive for one counter. In “studies French or Spanish” they may overlap.

Count outcomes only after establishing equal likelihood. A spinner’s sectors are equally likely only if they have equal angles and the physical model supports that assumption.

Use

P(AB)=P(A)+P(B)P(AB).P(A\cup B)=P(A)+P(B)-P(A\cap B).

Omit the overlap only when the events are mutually exclusive.

Multiplying unchanged probabilities without justification

Section titled “Multiplying unchanged probabilities without justification”

With replacement, probabilities usually stay constant. Without replacement, they usually change. Independence must be stated, implied by a valid model or verified.

Confusing P(AB)P(A\mid B) with P(BA)P(B\mid A)

Section titled “Confusing P(A∣B)P(A\mid B)P(A∣B) with P(B∣A)P(B\mid A)P(B∣A)”

The event after the vertical bar is the information already known. It determines the denominator.

Keep fractions or full calculator values until the end. Early rounding can noticeably distort probabilities built from several branches.

  1. Given P(A)=0.7P(A)=0.7, P(B)=0.4P(B)=0.4 and P(AB)=0.25P(A\cap B)=0.25, find P(AB)P(A\cup B).
  2. A fair die is rolled twice. Find the probability of at least one 66.
  3. A bag contains 33 red and 77 blue counters. Two are selected without replacement. Find the probability that both are blue.
  4. In a class, 1212 of the 2020 girls and 99 of the 1515 boys study physics. A physics student is chosen at random. Find the probability that the student is a girl.
  5. Events CC and DD satisfy P(C)=0.3P(C)=0.3, P(D)=0.6P(D)=0.6 and P(CD)=0.18P(C\cap D)=0.18. Are they independent?
  6. Explain why two mutually exclusive events with positive probabilities cannot be independent.
Answers
  1. P(AB)=0.7+0.40.25=0.85.P(A\cup B)=0.7+0.4-0.25=\boxed{0.85}.

  2. The complement is no sixes: 1(56)2=12536=1136.1-\left(\frac56\right)^2=1-\frac{25}{36}=\boxed{\frac{11}{36}}.

  3. 710×69=715.\frac7{10}\times\frac69=\boxed{\frac7{15}}.

  4. There are 12+9=2112+9=21 physics students, of whom 1212 are girls: P(girlphysics)=1221=47.P(\text{girl}\mid\text{physics})=\frac{12}{21}=\boxed{\frac47}.

  5. Yes, because P(C)P(D)=0.3(0.6)=0.18=P(CD).P(C)P(D)=0.3(0.6)=0.18=P(C\cap D).

  6. If CC and DD are mutually exclusive, P(CD)=0P(C\cap D)=0. If both probabilities are positive, P(C)P(D)>0P(C)P(D)>0, so P(CD)P(C)P(D)P(C\cap D)\ne P(C)P(D) and the independence condition fails.

You should now be able to:

  • describe sample spaces and events using set notation;
  • calculate theoretical and experimental probabilities;
  • use complements, including for “at least one” questions;
  • apply the general addition rule and recognise mutually exclusive events;
  • apply the multiplication rule and recognise independent events;
  • calculate conditional probabilities from diagrams and tables;
  • build and interpret probability trees with and without replacement;
  • distinguish independence from mutual exclusivity;
  • check that every probability lies between 00 and 11.

Continue to probability at A-level and conditional probability. You will also use these foundations in choosing a probability distribution and checking answers.