4.5 Basic probability

4.5 Basic probability

IB Maths: Analysis and Approaches SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • P(A)=n(A)n(U)P(A)=\frac{n(A)}{n(U)} for equally likely outcomes.
  • P(A′)=1−P(A)P(A')=1-P(A); all probabilities add to 1.
  • Relative frequency == successes ÷\div trials; more trials give a better estimate.
  • Expected number =np=np.
  • Two dice: 36 ordered outcomes.

The language of probability

A trial gives one outcome; the sample space is all outcomes; an event is a set of outcomes.

A trial is one performance of an experiment. Each possible result is an outcome; the set of all outcomes is the sample space UU; an event AA is a set of outcomes, such as "the score is even".

With two dice, (red 1, blue 2) and (red 2, blue 1) are different outcomes, so there are 6×6=366\times6=36 equally likely outcomes.

012345623456789101112TotalNumber of outcomes
Totals of two dice: 36 equally likely ordered outcomes. A total of 7 is the most likely.

Worked example

Two fair dice are rolled. Find the probability that the total is 7.

How many outcomes are in the sample space when two dice are rolled?

Theoretical probability

Divide the number of outcomes in the event by the number in the sample space.

Every probability satisfies 0≤P(A)≤10\le P(A)\le1, and the probabilities of all outcomes add to 1. Tickets 1 to 30: the multiples of 4 are 4, 8, …, 28, so P=730P=\frac{7}{30}.

  • P(A)P(A)n(A)n(U)\dfrac{n(A)}{n(U)}

Worked example

A ticket is chosen from 1 to 30. Find the probability it is a multiple of 4.

A number from 1 to 30 is chosen. What is P(prime)P(\text{prime})?

Complementary events

The complement A′A' is "not AA", and P(A′)=1−P(A)P(A')=1-P(A).

Exactly one of AA and A′A' happens. Use the complement whenever "not" or "at least" makes direct counting long: P(not prime)=1−1030=23P(\text{not prime})=1-\frac{10}{30}=\frac23.

The same idea finds unknown probabilities: if red has probability 0.28 and blue is twice yellow, then 0.28+2p+p=10.28+2p+p=1.

  • P(A)+P(A′)P(A)+P(A')11
  • P(A′)P(A')1−P(A)1-P(A)

Worked example

A bag has red, blue and yellow counters. P(red)=0.28P(\text{red})=0.28 and blue is twice as likely as yellow. Find P(yellow)P(\text{yellow}).

If P(A)=0.35P(A)=0.35, what is P(A′)P(A')?

Relative frequency

When outcomes are not equally likely, estimate the probability as the fraction of trials in which the event occurred.

The more trials, the more reliable the estimate, so combine samples from the same source: 14+27400+600=0.041\frac{14+27}{400+600}=0.041.

A relative frequency that differs slightly from a theoretical probability does not prove the theory wrong; results vary by chance.

  • Relative frequencytimes the event occursnumber of trials\dfrac{\text{times the event occurs}}{\text{number of trials}}

Two samples from the same source: 14 successes in 400 trials and 27 in 600. What is the best estimate of the probability?

Expected number

With probability pp and nn trials, the expected number of occurrences is npnp.

128 students each with probability 0.1 of absence gives an expected number of 12.812.8 absences. It need not be a whole number, and it is a long-run average, not a guarantee. Do not round unless asked.

  • Expected numbernpnp

Worked example

128 students each have probability 0.1 of being absent. How many absences are expected?

An event has probability 0.35 and there are 200 trials. What is the expected number of occurrences?

Try an exam question

A bag contains red, blue and green counters. P(red)=0.25P(\text{red})=0.25 and a blue counter is twice as likely as a green one. (a) Find P(green)P(\text{green}). (b) A counter is taken and replaced 80 times. How many blue counters are expected?

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the probability that the number on the ticket is a multiple of 4.

1 mark, marked against the mark scheme

Revision notes