AND Probability Calculator
Head after head, that's the beginning of a lucky streak; but how do you define and calculate the probability of such events? Follow Omni in this tool dedicated to calculating the joint probability of two events.
What are you going to learn in this article?
A short introduction to probability and a detailed explanation of what joint probability is. The conditions required and the formula we use when we learn how to find the probability of
B, a generic pair of events.
Examples and explanations of mathematical applications and real-world use of the joint probability formula. And much more!
Basics of probability: introduction to the joint probability (and probability)
To define the probability of multiple events, it's better to define what is probability first.
Probability is the likelihood of the outcome of a particular event. For example, the probability of getting a head in a coin toss is .
Where does this number come from? Super easy: toss the coin many, many times, and count the number of times you get a head, then divide this number by the number of launches. Say you throw it times: we got head times: . Try again! After another 100 flips you get heads: .
Increase the number of tosses (though it will take time!): in a million launches, we counted heads. This is our probability.
When the number of outcomes is defined, we can also notice that the sum of the probabilities is . is a particular probability: it represents an event we're sure will happen. The probability of obtaining either head or cross in a coin toss is since either one of the events will happen. Au contraire, represents an event that won't happen.
How to calculate the joint probability of A and B
🙋 In our calculator, we will indicate the two events with the letters and .
When considering multiple events, we can apply simple mathematical rules to calculate their joint probability, that is, the probability of both events to happen.
🙋 The events don't need to happen together: that would depend on the definition of your event, for example, a simultaneous coin toss.
To calculate the joint probability of
B, we need to impose an important condition: their independence. Two (or more) events are said to be independent if the outcome of each of them doesn't affect the others. For example:
Throwing a die ten times represent ten separate, independent events; but
Throwing ten dies at the same time in the same box represents events that influence each other: they are not independent.
The formula to calculate the joint probability of
B (independent events) is:
We can also mark the joint probability with the notation . The symbol is the intersection.
The best way to understand the "and" probability formula is with sets, also known as Venn diagrams.
We are interested in the green area where the two sets intersect. That's where both events happen. Remember that Venn diagrams are purely a qualitative means to convey information but can't give you quantitative information about the values of the probabilities involved.
In case you have multiple events, you can calculate the joint probability by multiplying together the probability of every single event:
Examples of the joint probability calculations
The formula for the probability of
B is straightforward. It's time to see it in action.
Say you want to calculate the probability of obtaining two 's from two die tosses. That would be luck, right?
First, define the probability to get a on the first die. Since there are six possible results, and we assume the die to not be tampered with, we say that:
To find the probability of two sixes, we just need to multiply the probability of getting six two times:
You can express this result in percentage:
To give you some context, you are more likely to get five times heads in a row while tossing a coin than two sixes in two rolls:
How to calculate the joint probability of dependent events
It may happen that your events are not independent. In that case, the outcome of one event would affect the outcome of the other. If you want to calculate the joint probability of such events, you can't directly multiply the probability of the individual events, but consider a quantity called conditional probability.
The conditional probability of
B, written , is the probability of the outcome
A for the first event in case the other event had outcome
B. We use this quantity to find in the formula:
As you can see, this is a modification of the original multiplication rule. You can also calculate the same quantity but considering a different "order" of the events:
The result is the same. How do you calculate the conditional probability? We're glad you asked: we have a tool for that purpose! Visit Omni's conditional probability calculator to learn everything about this useful quantity.
You probably need these other tools, too!
Probability and statistics are, we know, complex topics, often badly taught in school or directly overlooked. That's why Omni created a small suite of focused tools to help you with your problems and homework. Try our other probability calculators:
How do I find the probability of A and B?
To calculate the joint probability of two events, follow three easy steps:
Calculate the probability of the outcome
Calculate the probability of the outcome
Multiply these quantities together:
P(A∩B) = P(A) × P(B)
The result is the probability that outcome
A and outcome
B will both happen.
What is the formula for the joint probability of independent events?
The formula for the joint probability of independent events is simply a multiplication of the probability of the single events.
For two events,
B, the joint probability is:
P(A∩B) = P(A) × P(B)
For greater numbers of events, the generic formula is:
P(A∩B∩C∩...) = P(A) × P(B) × P(C) × ...
What is the probability of obtaining two heads in two coin tosses?
The probability of obtaining two heads in two separate coin tosses is
To calculate this result:
Define the probability of the two events. In our case:
P(head) = 0.5
Calculate the probability of two heads by multiplying the probability of two tosses:
P(2 heads) = P(head) × P(head) = 0.5 × 0.5 = 0.25
Why is a streak of tails very unlikely in a series of toin cosses?
Because the formula of the joint probability tells us that to find the result, we multiply together the probability of single events.
Since the probability of an event is always at most equal to
1, the multiplication of such values will necessarily cause the result to decrease. Look at the growing streak's probability:
P(2 tails) = P(tail) × P(tail) = 0.5 × 0.5 = 0.25.
P(3 tails) = 0.5 × 0.5 x 0.5 = 0.125.
P(4 tails) = 0.5 × 0.5 x 0.5 x 0.5 = 0.0625.