ArticleslgStudy

mathematics

Conditional probability

Conditional probability is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Conditional probability rather than just read about it. In short: In probability theory, conditional probability is a measure of the probability of an event occurring, given that another event (by assumption, presumption, assertion, or evidence) is already known to have occurred. This particular method relies on event A occurring with some sort of relationship with another event B.

Conditional probability — main illustration
Conditional probability — illustration

Key takeaways

  • Conditional probability belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Conditional probability to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Conditional probability from memory before moving on to harder problems.

Reference excerpt

In probability theory, conditional probability is a measure of the probability of an event occurring, given that another event (by assumption, presumption, assertion, or evidence) is already known to have occurred. This particular method relies on event A occurring with some sort of relationship with another event B. In this situation, the event A can be analyzed by a conditional probability with respect to B. If the event of interest is A and the event B is known or assumed to have occurred, "the conditional probability of A given B", or "the probability of A under the condition B", is usually written as P(A|B) or occasionally PB(A). This can also be understood as the fraction of probability B that intersects with A, or the ratio of the probabilities of both events happening to the "given" one happening (how many times A occurs rather than not assuming B has occurred):

P(A∣B)=P(A∩B)P(B). For example, the probability that any given person has a cough on any given day may be only 5%. But if we know or assume that the person is sick, then they are much more likely to be coughing. For example, the conditional probability that someone sick is coughing might be 75%, in which case we would have that P(Cough) = 5% and P(Cough|Sick) = 75%. Although there is a relationship between A and B in this example, such a relationship or dependence between A and B is not necessary, nor do they have to occur simultaneously. P(A|B) may or may not be equal to P(A), i.e., the unconditional probability or absolute probability of A. If P(A|B) = P(A), then events A and B are said to be independent: in such a case, knowledge about either event does not alter the likelihood of the other. P(A|B) (the conditional probability of A given B) typically differs from P(B|A). For example, if a person has dengue fever, the person might have a 90% chance of being tested as positive for the disease. In this case, what is being measured is that if event B (having dengue) has occurred, the probability of A (tested as positive) given that B occurred is 90%, simply writing P(A|B) = 90%. Alternatively, if a person is tested as positive for dengue fever, they may have only a 15% chance of actually having this rare disease due to high false positive rates. In this case, the probability of the event B (having dengue) given that the event A (testing positive) has occurred is 15% or P(B|A) = 15%. It should be apparent now that falsely equating the two probabilities can lead to various errors of reasoning, which is commonly seen through base rate fallacies. While conditional probabilities can provide extremely useful information, limited information is often supplied or at hand. Therefore, it can be useful to reverse or convert a conditional probability using Bayes' theorem: P(A∣B)=P(B∣A)P(A)P(B). Another option is to display conditional probabilities in a conditional probability table to illuminate the relationship between events.

Definition

Conditioning on an event

Kolmogorov definition Given two events A and B from the sigma-field of a probability space, with the unconditional probability of B being greater than zero (i.e., P(B) > 0), the conditional probability of A given B (P(A∣B)) is the probability of A occurring if B has or is assumed to have happened. A is assumed to be the set of all possible outcomes of an experiment or random trial that has a restricted or reduced sample space. The conditional probability can be found by the quotient of the probability of the joint intersection of events A and B, that is, P(A∩B), the probability at which A and B occur together, and the probability of B:

P(A∣B)=P(A∩B)P(B). For a sample space consisting of equal likelihood outcomes, the probability of the event A is understood as the fraction of the number of outcomes in A to the number of all outcomes in the sample space. Then, this equation is understood as the fraction of the set A∩B to the set B. Note that the above equation is a definition, not just a theoretical result. We denote the quantity P(A∩B)P(B) as P(A∣B) and call it the "conditional probability of A given B."

As an axiom of probability Some authors, such as de Finetti, prefer to introduce conditional probability as an axiom of probability:

P(A∩B)=P(A∣B)P(B). This equation for a conditional probability, although mathematically equivalent, may be intuitively easier to understand. It can be interpreted as "the probability of B occurring multiplied by the probability of A occurring, provided that B has occurred, is equal to the probability of the A and B occurrences together, although not necessarily occurring at the same time". Additionally, this may be preferred philosophically; under major probability interpretations, such as the subjective theory, conditional probability is considered a primitive entity. Moreover, this "multiplication rule" can be practically useful in computing the probability of A∩B and introduces a symmetry with the summation axiom for Poincaré Formula:

P(A∪B)=P(A)+P(B)−P(A∩B) Thus the equations can be combined to find a new representation of the : P(A∩B)=P(A)+P(B)−P(A∪B)=P(A∣B)P(B) P(A∪B)=P(A)+P(B)−P(A∣B)P(B)

As the probability of a conditional event Conditional probability can be defined as the probability of a conditional event AB. The Goodman–Nguyen–Van Fraassen conditional event can be defined as:

AB=⋃i≥1(⋂j<iB‾j,AiBi), where Ai and Bi represent states or elements of A or B. It can be shown that

P(AB)=P(A∩B)P(B) which meets the Kolmogorov definition of conditional probability.

Conditioning on an event of probability zero If P(B)=0, then according to the definition, P(A∣B) is undefined. The case of greatest interest is that of a random variable Y, conditioned on a continuous random variable X resulting in a particular outcome x. The event B={X=x} has probability zero and, as such, cannot be conditioned on. Instead of conditioning on X being exactly x, we could condition on it being closer than distance ε away from x. The event B={x−ε<X<x+ε} will generally have nonzero probability and hence, can be conditioned on. We can then take the limit

For example, if two continuous random variables X and Y have a joint density fX,Y(x,y), then by L'Hôpital's rule and Leibniz integral rule, upon differentiation with respect to ε:

… excerpt ends here. Continue reading the full article.

Illustrations

Conditional probability illustration
Conditional probability: Illustration of conditional probabilities with an Euler diagram. The unconditional probability P(A) = 0.30 + 0.10 + 0.12 = 0.52. However, the conditional probability P(A|B1) = 1, P(A|B2) = 0.12 ÷ (0.12 + 0.04) = 0.75, and P(A|B3) = 0.
Illustration of conditional probabilities with an Euler diagram. The unconditional probability P(A) = 0.30 + 0.10 + 0.12 = 0.52. However, the conditional probability P(A|B1) = 1, P(A|B2) = 0.12 ÷ (0.12 + 0.04) = 0.75, and P(A|B3) = 0.
Conditional probability: On a tree diagram, branch probabilities are conditional on the event associated with the parent node. (Here, the overbars indicate that the event does not occur.)
On a tree diagram, branch probabilities are conditional on the event associated with the parent node. (Here, the overbars indicate that the event does not occur.)
Conditional probability: Venn pie chart describing conditional probabilities
Venn pie chart describing conditional probabilities
Conditional probability: A geometric visualization of Bayes' theorem. In the table, the values 2, 3, 6 and 9 give the relative weights of each corresponding condition and case. The figures denote the cells of the table involved in each metric, the probability being the fraction of each figure that is shaded. This shows that P(A∣B)P(B)=P(B∣A)P(A) i.e. P(A∣B)=P(B∣A)P(A)P(B) . Similar reasoning can be used to show that P(A¯∣B)=P(B∣A¯)P(A¯)P(B) etc.
A geometric visualization of Bayes' theorem. In the table, the values 2, 3, 6 and 9 give the relative weights of each corresponding condition and case. The figures denote the cells of the table involved in each metric, the probability being the fraction of each figure that is shaded. This shows that P(A∣B)P(B)=P(B∣A)P(A) i.e. P(A∣B)=P(B∣A)P(A)P(B) . Similar reasoning can be used to show that P(A¯∣B)=P(B∣A¯)P(A¯)P(B) etc.

Worked examples

Example 1 — a first encounter with Conditional probability

Start with the simplest possible case. Write down what Conditional probability claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Conditional probability before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Conditional probability ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Conditional probability

In research
Conditional probability appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Conditional probability in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Conditional probability is common in secondary-school and first-year university syllabi. It links to neighbouring topics Conditional probability, Mathematical fallacies, Statistical ratios, so understanding it makes those chapters shorter.
In everyday life
Look for Conditional probability outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Conditional probability” →

How to study Conditional probability in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Conditional probability means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Conditional probability out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Conditional probability in simple terms?

In probability theory, conditional probability is a measure of the probability of an event occurring, given that another event (by assumption, presumption, assertion, or evidence) is already known to have occurred. This particular method relies on event A occurring with some sort of relationship wi…

Why does Conditional probability matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Conditional probability?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Conditional probability.

Tags

  • Conditional probability
  • Mathematical fallacies
  • Statistical ratios

Keep exploring