Skip to content

Search topics

Practise for free Sign in

Calculator

Probability union and conditional calculator

In one sentence

Computes P(A ∪ B), P(A | B) and an independence test.

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Inputs

  • P(A), P(B), P(A ∩ B)

Worked input

  • Input P(A) = 0.6, P(B) = 0.5, P(A ∩ B) = 0.3.
  • P(A ∪ B) = 0.8; P(A | B) = 0.6.
  • 0.6 × 0.5 = 0.3, so the events are independent.
  • Take P(A) = 0.3, P(B) = 0.45 and P(A ∩ B) = 0, two events that cannot happen together. P(A ∪ B) = 3/4 and P(A | B) = 0. Mutually exclusive events cannot occur together, so the probability of both is zero, the union is a plain sum, and the conditional probability of one given the other is also zero. Check: for mutually exclusive events the union is just the sum 3/4, and the conditional P(A | B) is 0 because B rules out A.
  • Take P(A) = 0.2, P(B) = 0.5 and P(A ∩ B) = 0.2, where A is a subset of B. P(A ∪ B) = 1/2 and P(A | B) = 2/5. When one event lies entirely inside another, the union is just the larger event, and the conditional probability of the smaller given the larger is the ratio of their probabilities. Check: when A lies inside B the union is just P(B) = 1/2, and P(A | B) = 2/5, which is the share of B taken up by A.
  • Take P(A) = 0.5, P(B) = 0.4 and P(A ∩ B) = 0.1, a pair that overlaps less than independence would predict. P(A ∪ B) = 4/5 and P(A | B) = 1/4. Events are independent only if the probability of both equals the product, and comparing the two numbers shows whether the events attract each other or repel, which is what a conditional probability measures. Check: the independent value of P(A ∩ B) would be 0.2, not 0.1, so the events are dependent, and P(A | B) = 1/4 is below P(A) = 0.5.

How to use it

  • Enter the three probabilities.
  • Independent if P(A)P(B) = P(A ∩ B).

Probability union and conditional calculator for your study of A-level maths: where it comes from and what it covers.

See also Binomial coefficient calculator, Sigma notation evaluator, Binomial series estimate and Coefficient of xᵏ in a binomial expansion.

Study brief

  • For students preparing for the Pearson Edexcel Level 3 Advanced GCE in Mathematics, understanding probability is essential. Within this subject, events are identified as A, B, C, and others. The union of events A and B is denoted as A∪B. Conversely, the intersection of these events is represented by A∩B. The probability of an event A is written as P(A), while the complement of event A is expressed as A'. To calculate the probability of the union, use the formula P(A ∪ B) = P(A) + P(B) − P(A ∩ B). The probability of event A conditional on event B is denoted as P(A | B). This conditional probability can be determined using the formula P(A|B) = P(A ∩ B) / P(B). Additionally, the intersection can be found using P(A ∩ B) = P(A)P(B|A). Students should also understand the relationship P(A') = 1 − P(A). These mathematical concepts form part of the Probability and Statistics content required for the February 2020 specification. Mastery of these formulas allows for the modeling of real-world situations using discrete distributions.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction