HexMathv1.0.4

Probability calculator for multiple events

This probability calculator for multiple events finds the chance of two or three events together: all of them, none of them, at least one or exactly one. Type the question or scan it. HexMath returns the probability and shows each step for independent events and for dependent ones, such as drawing without replacement.

Loading math input...

What this page covers

  • Independent events: all of them, none of them, at least one, exactly one.
  • Dependent events, such as drawing without replacement.
  • Two or three events with given probabilities as fractions, decimals or percentages.
  • Not covered here: a single event from counting outcomes (see the probability calculator) and the probability of one event given another (type the problem into the solver).

How to enter the problem

  • Type it or paste it. Give each probability, for example P(A)=0.5, say whether the events are independent, and say what you want to find.
  • Scan it. Fit the one problem in the frame.
  • Choose a photo. Several problems in one photo are solved as a list.
  • Then tap Solve.

Worked examples

Example 1: Events A, B and C are independent with P(A) = 0.5, P(B) = 0.4 and P(C) = 0.2. Find the probability that at least one of them happens.

Problem

Events A\displaystyle A, B\displaystyle B and C\displaystyle C are independent with P(A)=0.5\displaystyle P(A) = 0.5, P(B)=0.4\displaystyle P(B) = 0.4 and P(C)=0.2\displaystyle P(C) = 0.2. Find the probability that at least one of them happens.

Answer

Verified

The answer is

0.760.76

Explanation

  1. Use the complement
    \"At least one\" is the opposite of \"none\"
    P(at least one)=1−P(none)P(\text{at least one}) = 1 - P(\text{none})
  2. Find the probability of each not happening
    P(not A)=0.5P(\text{not } A) = 0.5, P(not B)=0.6P(\text{not } B) = 0.6, P(not C)=0.8P(\text{not } C) = 0.8.
  3. Multiply, because the events are independent
    P(none)=0.5×0.6×0.8=0.24P(\text{none}) = 0.5 \times 0.6 \times 0.8 = 0.24
  4. Subtract from 1
    1−0.24=0.761 - 0.24 = 0.76
  5. Check the size
    The answer must be at least the largest single probability, 0.50.5, and at most 11. 0.760.76 is.

Example 2: For the same three machines, what is the probability that exactly one works?

Problem

For the same three machines, what is the probability that exactly one works?

Answer

Verified

The answer is

0.0920.092

Explanation

  1. List the three cases
    Only the first works, only the second works, or only the third works. The cases cannot happen together, so their probabilities add.
  2. Find each case
    Use 1−p1 - p for a machine that fails: 0.9×0.2×0.3=0.0540.9 \times 0.2 \times 0.3 = 0.054, 0.1×0.8×0.3=0.0240.1 \times 0.8 \times 0.3 = 0.024, 0.1×0.2×0.7=0.0140.1 \times 0.2 \times 0.7 = 0.014.
  3. Add the cases
    0.054+0.024+0.014=0.0920.054 + 0.024 + 0.014 = 0.092

Example 3: A bag holds 4 red and 6 blue counters. Three are drawn one after another without replacement. What is the probability that all three are red?

Problem

A bag holds 4 red and 6 blue counters. Three are drawn one after another without replacement. What is the probability that all three are red?

Answer

Verified

The answer is

130\frac{1}{30}

Explanation

  1. First draw
    P(red)=410P(\text{red}) = \frac{4}{10}
  2. Second draw
    One red is gone, so P(red)=39P(\text{red}) = \frac{3}{9}.
  3. Third draw
    P(red)=28P(\text{red}) = \frac{2}{8}
  4. Multiply the conditional probabilities
    410×39×28=24720=130\frac{4}{10} \times \frac{3}{9} \times \frac{2}{8} = \frac{24}{720} = \frac{1}{30}

Common mistakes

  • Adding the probabilities for at least one: 0.5+0.4+0.2=1.10.5 + 0.4 + 0.2 = 1.1 is more than 1. Use 1−P(none)1 - P(\text{none}) instead.
  • Multiplying probabilities of events that are not independent, such as draws without replacement, without updating the counts.
  • For exactly one, multiplying only the event that happens and forgetting the factors 1−p1 - p for the events that do not.
  • Treating mutually exclusive events as independent. Events that cannot happen together are not independent unless one has probability 0.

Checks, assumptions and limits

  • Check with the complement. P(at least one)+P(none)=1P(\text{at least one}) + P(\text{none}) = 1. For the example in the solver above, P(none)=0.5×0.6×0.8=0.24P(\text{none}) = 0.5 \times 0.6 \times 0.8 = 0.24 and 0.76+0.24=10.76 + 0.24 = 1.
  • Independence is an assumption the problem has to state or justify. Without it, the product rule needs conditional probabilities.
  • HexMath can make mistakes. Double check important steps.

Frequently asked questions

Find the probability that none of the events happen, then subtract it from 1. For independent events, none is the product of the values 1 − p.

Yes, when the problem gives the conditional probabilities or describes the draws, as in drawing without replacement. Each step shows the updated probability.

Yes. Type 50% or 0.5. Ask a follow-up question in the same thread if you want the answer in another form.

Independent events do not affect each other, like two coin flips, so their probabilities multiply directly. Dependent events do, like drawing cards without replacement, so each probability is adjusted for what came before.

Ready to solve your next math problem?

Create a free account for 3 math questions a day in your browser. No card.

Get HexMath on your phone

The same solver and camera scan on iPhone and Android.

Last updated: · HexMath