Science Library - free educational site

Conditional Probability

From a Venn diagram, it is easy to see the relative probabilities of an event A, B, both A and B, or neither A nor B.

Venn diagram

This is assuming a single, random occurrence. But, what effect does knowing extra information have on the probability of the events?

Take for example, the case of a school year with 66 pupils. 22 study German, 15 study French, and 37 do not take any language. 8 pupils take both languages.

If a child is selected at random, the chances he or she studies French are $P(F) = {n(F)}/{n(U)} = {15}/{66} = 0.23$.

If we know the child takes German (B), what is the probability she also takes French (A)?

$P(A|B)$ means 'what is the probability of A given B?'.

$P(A|B) = {n(A∩B)}/{n(B)} = {8}/{22} = 4/{11} = 0.36$.

This is the conditional probability, since the outcome of A is dependent on the outcome of B.

Independent Events

If event A is independent of event B, $P(A) = P(A|B) = P(A|B')$. The probability of A occurring does not change as a result of the other event occurring: $P(A∩B) = P(A) × P(B)$.

Mathematics question

Of the 38 million coffee drinkers in a country, 24 million take milk, 16 million take sugar, and 10 million take neither milk nor sugar.

(a) How many drink their coffee with both milk and sugar?

A lady enters a cafeteria. Find the probability that:

(b) She adds milk but not sugar.

(c) If she adds milk, she also adds sugar.

(d) If she takes sugar, she does not add milk.


a) Let $n(A ∩ B) = x$

$(24 - x) + x + (16 - x) + 10 = 38$

$x = 12$

Therefore $P(A ∩ B) = {12}/{38} = 6/{19}$

(b) $P(A∩B') = {24-12}/{38} = {6}/{19}$

(c) $P(B|A) = {P(B∩A)}/{P(A)} = {{12}/{38}}/{{24}/{38}} = {12}/{24} = 1/2$

(d) $P(A'|B) = {P(A'∩B)}/{P(B)} = {{4}/{38}}/{{16}/{38}} = {4}/{16} = 1/4$

Probability Tree Diagrams

Probability tree diagram
Probability tree diagrams break probabilities of a series of events into different independent paths

When more than one event occurs, tree diagrams can create a division of event paths, which makes it easy to visualise the distributions of probabilities for each part of the system.

With Replacement

Probability tree diagram

If the original conditions are reinstated before a repeat of the trial, as in the case of tossing a coin, or drawing a card, then replacing it, then the probability of a particular sequence of events (results of the trial) is the product of the probabilities of each step in the path.

Without Replacement

Probability tree diagram

Without replacement, each subsequent stage along the path has different conditions, so the probabilities change accordingly.


There are equal numbers of boys and girls in a school. One in ten boys and one in ten girls walk to school each day. One in three boys, and one out of two girls are brought by car. The remaining children come by bus.

a) What proportion of all children in the school are girls who come by bus?

b) What proportion of the children come by bus?

Mathematics question


a) $P(G+b) = P(G) × P(b) = 0.5 × 0.4 = 0.2 = 1/5$

20% of girls come by bus.

b) $P($bus$) = P(G+b) + P(B+b) = 0.2 + 0.285 = 0.485$

48.5% of all children come by bus.

Content © Renewable.Media. All rights reserved. Created : April 5, 2015 Last updated :October 5, 2015

Latest Item on Science Library:

The most recent article is:


View this item in the topic:

Vectors and Trigonometry

and many more articles in the subject:

Subject of the Week


'Universe' on covers astronomy, cosmology, and space exploration. Learn Science with


Great Scientists

Michael Faraday

1791 - 1867

Michael Faraday, 1791 - 1867, was an English physicist whose work effectively created the field of electromagnetism.

Michael Faraday, 1791 - 1867, english physicist and chemist

Quote of the day...

The gains of economic growth are being usurped by a few, and the pains of the growth are being borne by the many. The trick is to meet the desire for consumption in a sustainable way. It is easy to change mindsets - it is difficult to change set minds.

Renewable.Media Internet Promotions

Science Library