Ctrl+k

Calculate conditional probabilities

Conditional probability describes the likelihood of event AA when event BB is known to have occurred, calculated as P(AB)=P(AB)P(B)P(A\mid B)=\frac{P(A\cap B)}{P(B)} for P(B)>0P(B)>0. The learner interprets BB as a restricted sample space, calculates conditional probabilities from tables, tree diagrams, or stated probabilities, distinguishes P(AB)P(A\mid B) from P(BA)P(B\mid A), and identifies independence when conditioning does not change probability; this supports the multiplication rule for dependent events. Continuous distributions and measure-theoretic generalizations are outside this scope.

Detailed Explanation: Calculate conditional probabilities

A conditional probability is the probability that event AA occurs when we know that event BB has occurred.

Use the formula

P(AB)=P(AB)P(B),P(A\mid B)=\frac{P(A\cap B)}{P(B)},

where (AB)(A\cap B) means that both AA and BB occur.

Think of BB as the new, restricted sample space. Once BB is known, only the outcomes in BB matter.

Example

A school surveys 100 students about club membership and whether they play a sport.

Plays a sportDoes not play a sportTotal
Club member181230
Not a club member422870
Total6040100

Find the probability that a student plays a sport, given that the student is a club member.

Step 1: Identify the events

Let

  • AA: the student plays a sport
  • BB: the student is a club member

We want (P(AB))(P(A\mid B)), which means “the probability of playing a sport given club membership.”

Step 2: Restrict the sample space

Because we know the student is a club member, consider only the 30 club members. Thus,

P(B)=30100.P(B)=\frac{30}{100}.

Step 3: Count students in both events

There are 18 students who are both club members and play a sport. Therefore,

P(AB)=18100.P(A\cap B)=\frac{18}{100}.

Step 4: Apply the formula

P(AB)=P(AB)P(B)=1810030100=1830=35=0.6.P(A\mid B) =\frac{P(A\cap B)}{P(B)} =\frac{\frac{18}{100}}{\frac{30}{100}} =\frac{18}{30} =\frac{3}{5} =0.6.

Therefore, the probability is

P(AB)=0.6\boxed{P(A\mid B)=0.6}

or (60%)(60\%).

The denominator is (30)(30), not (100)(100), because the information that the student is a club member restricts the sample space to the 30 club members.

Be careful not to reverse the events. For example,

P(BA)=1860=0.3,P(B\mid A)=\frac{18}{60}=0.3,

which is different from (P(AB)=0.6)(P(A\mid B)=0.6). In general,

P(AB)P(BA).P(A\mid B)\ne P(B\mid A).

Learn by doing: Calculate conditional probabilities

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Probability Union, Intersection, Complement - Word Problem Percents to Probability


    ?