Skip to content

Search topics

Practise for free Sign in

Calculator

Two-stage tree diagram calculator

In one sentence

Multiplies along branches and adds across paths.

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

  • branch probabilities

Worked input

  • Input first stage P(R) = 0.4; second stage P(R | R) = 0.3, P(R | B) = 0.5.
  • P(R then R) = 0.12; P(B then R) = 0.6 × 0.5 = 0.3.
  • P(second is R) = 0.42.
  • Take P(R) = 0.5 at the first stage, with P(R | R) = 0.2 and P(R | B) = 0.6 at the second. P(R then R) = 1/10, P(B then R) = 3/10, and P(second is R) = 2/5. Multiply along the branches to get the probability of each path and add the paths that end in the event you want, and all four path probabilities must add to one. Check: the four paths together have probability 1, and the two paths that end in R add to 2/5.
  • Take P(R) = 0.3 at the first stage, with the same second-stage probability 0.5 whatever the first result. P(R then R) = 3/20, P(B then R) = 7/20, and P(second is R) = 1/2. When the second-stage probabilities are the same whatever the first result the stages are independent, so the first outcome gives no information about the second. Check: the second stage does not depend on the first, so the probability of R second is 1/2, which is the shared branch value.
  • Take P(R) = 0.25 at the first stage, with P(R | R) = 1 and P(R | B) = 0, so the second stage simply repeats the first. P(R then R) = 1/4, P(B then R) = 0, and P(second is R) = 1/4. When the second stage simply repeats the first, the probability of the second outcome equals that of the first, and the other two paths have probability zero. Check: the second colour always matches the first, so the chance that the second is R equals the chance that the first is R, 1/4.

How to use it

  • Enter the branch values.
  • Sum the paths of the event.

Two-stage tree diagram calculator for your study of A-level maths: where it comes from and what it covers.

Related pages include Binomial coefficient calculator, Coefficient of xᵏ in a binomial expansion, Binomial series estimate and Probability union and conditional calculator.

Study brief

  • In the context of the Pearson Edexcel Level 3 Advanced GCE in Mathematics, students must understand how to use tree diagrams to work with conditional probability. This mathematical area involves using set notation to describe various events and calculating specific probabilities. When working with these diagrams, the formula P(A ∩ B) = P(A) P(B|A) is relevant for determining the intersection of events. Additionally, learners may need to use the rule P(A′) = 1 − P(A) or the formula P(A ∪ B) = P(A) + P(B) − P(A ∩ B). The curriculum also includes the study of mutually exclusive and independent events. For independent events, the relationship P(A ∩ B) = P(A) P(B) is applied, alongside the conditional identities P(B|A) = P(B) and P(A|B) = P(A). Understanding these tools is necessary for managing probability within the specification, which was issued in February 2020. While formal knowledge of probability density functions is not required, students should recognize that the area under a curve represents probability for a continuous distribution.

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