Class 12 Maths, Worked in Full Past papersGet updates
Chapter 13 · Probability

Example 1: P(A∣B)P(A|B) when P(B)=913P(B) = \frac{9}{13} and P(A∩B)=413P(A \cap B) = \frac{4}{13}

ExamplesConditional probability · Section 13.2
The question

If P(A)=713P(A) = \dfrac{7}{13}⁠, P(B)=913P(B) = \dfrac{9}{13} and P(A∩B)=413P(A \cap B) = \dfrac{4}{13}⁠, evaluate P(A∣B)P(A|B)⁠.

Exam answer

Given P(B)=913P(B) = \frac{9}{13} and P(A∩B)=413P(A\cap B) = \frac{4}{13}⁠.

By the definition of conditional probability,

P(A∣B)=P(A∩B)P(B)=  413  913=413×139\begin{aligned} P(A|B) &= \frac{P(A\cap B)}{P(B)} \\ &= \dfrac{\;\frac{4}{13}\;}{\frac{9}{13}} \\ &= \frac{4}{13}\times\frac{13}{9} \end{aligned}

∴ P(A∣B)=49\therefore\ P(A|B) = \dfrac{4}{9}⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

"Given B" means B becomes the whole world. Once we know that BB has happened, only the outcomes inside BB still count, and AA can now happen only through the part it shares with BB⁠. So the conditional probability is the share of BB taken up by A∩BA \cap B⁠:

P(A∣B)=P(A∩B)P(B),P(A|B) = \frac{P(A \cap B)}{P(B)},

provided P(B)≠0P(B) \ne 0⁠.

Given, to find, and the plan
Given
P(A)=713P(A) = \frac{7}{13}⁠, P(B)=913P(B) = \frac{9}{13}⁠, P(A∩B)=413P(A \cap B) = \frac{4}{13}⁠.
To find
P(A∣B)P(A|B)⁠, the probability of AA given that BB has occurred.
Plan
Write the definition; check that P(B)≠0P(B) \ne 0⁠; substitute; divide the two fractions; then check that the data are possible and that the multiplication rule gives back P(A∩B)P(A \cap B)⁠.

Basics you need

1Conditional probability

For events EE⁠, FF of the same experiment with P(F)≠0P(F) \ne 0⁠, P(E∣F)=P(E∩F)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)} (Definition 1, Section 13.2). The event after the bar goes in the denominator. Lesson: conditional probability

2Dividing fractions

ac÷bc=ac×cb=ab\frac{a}{c} \div \frac{b}{c} = \frac{a}{c} \times \frac{c}{b} = \frac{a}{b}⁠: with the same denominator, the denominators cancel. Basics: dividing by a fraction

3Two events cut S into four regions

"A only", "both", "B only" and "neither". Their probabilities add up to 1. Basics: Venn diagrams

Solution

  1. Write the definition and check the condition

    P(A∣B)=P(A∩B)P(B),P(A|B) = \frac{P(A \cap B)}{P(B)},

    which may be used because P(B)=913≠0P(B) = \frac{9}{13} \ne 0⁠.

    The question gives exactly the two numbers the definition needs: the probability of both events, and the probability of the event we are told has happened. The definition divides by P(B)P(B)⁠, so it only makes sense when P(B)≠0P(B) \ne 0⁠; here P(B)=913P(B) = \frac{9}{13}⁠, so we may use it.
    Definition 1, Section 13.2. Lesson: conditional probability
  2. Substitute the given values

    P(A∣B)=  413  913.P(A|B) = \dfrac{\;\frac{4}{13}\;}{\frac{9}{13}}.
    The top is P(A∩B)=413P(A \cap B) = \frac{4}{13} and the bottom is P(B)=913P(B) = \frac{9}{13}⁠. The value P(A)=713P(A) = \frac{7}{13} is not needed for P(A∣B)P(A|B)⁠; it is used only in the checks below.
  3. Divide the fractions

    P(A∣B)=413×139=49.\begin{aligned} P(A|B) &= \frac{4}{13} \times \frac{13}{9} \\ &= \frac{4}{9}. \end{aligned}
    Dividing by 913\frac{9}{13} is the same as multiplying by its flip 139\frac{13}{9}⁠. The 13s cancel, so the answer is simply 4 parts out of 9.
  4. See it in a Venn diagram

    Measure every probability in thirteenths. Then "A only" is 713−413=313\frac{7}{13} - \frac{4}{13} = \frac{3}{13}⁠, "B only" is 913−413=513\frac{9}{13} - \frac{4}{13} = \frac{5}{13}⁠, and "neither" is 1−3+4+513=1131 - \frac{3 + 4 + 5}{13} = \frac{1}{13}⁠.

    S A B 3/13 4/13 5/13 1/13 Given B: keep only circle B (9/13).
    The four regions, in thirteenths. Given BB⁠, only circle BB counts: 9 thirteenths, of which 4 are in AA⁠.
    Inside circle BB there are 4+5=94 + 5 = 9 thirteenths, and 4 of them lie in AA⁠. That share, 49\frac{4}{9}⁠, is exactly what Step 3 found: knowing BB shrinks the world to circle BB⁠.
Result

P(A∣B)=49P(A|B) = \dfrac{4}{9}⁠.

(Textbook answer: 49\frac{4}{9}⁠.)

Check it with numbers

The data are possible. P(A∪B)=713+913−413=1213P(A \cup B) = \frac{7}{13} + \frac{9}{13} - \frac{4}{13} = \frac{12}{13}⁠, which is at most 1, and P(A∩B)=413P(A \cap B) = \frac{4}{13} is not larger than P(A)P(A) or P(B)P(B)⁠.

The multiplication rule gives back the overlap. P(B) P(A∣B)=913×49=413P(B)\,P(A|B) = \frac{9}{13} \times \frac{4}{9} = \frac{4}{13}⁠, which is the given P(A∩B)P(A \cap B)⁠.

Decimals. 49≈0.4444\frac{4}{9} \approx 0.4444⁠, which lies between 0 and 1 as every probability must. It is smaller than P(A)=713≈0.5385P(A) = \frac{7}{13} \approx 0.5385⁠: knowing BB makes AA a little less likely, so AA and BB are not independent events (Section 13.4).

Common mistakes
  1. Dividing by the wrong event. P(A∣B)P(A|B) divides by P(B)P(B)⁠, the event after the bar. Dividing by P(A)P(A) gives P(B∣A)=47P(B|A) = \frac{4}{7}⁠, a different number.
  2. Multiplying instead of dividing. 413×913\frac{4}{13} \times \frac{9}{13} is not a conditional probability.
  3. Using P(A)P(A) in the formula. The value 713\frac{7}{13} is extra information for this question.
What to take away
  1. P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}⁠: "both" over "the given one".
  2. Check P(B)≠0P(B) \ne 0 before dividing.
  3. When both probabilities have the same denominator, the answer is just the ratio of the numerators.

Every fact used, and where it comes from

FactUsed inSource
P(E∣F)=P(E∩F)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)}⁠, P(F)≠0P(F) \ne 0Steps 1 to 3Definition 1, Section 13.2 (Lesson: conditional probability)
ac÷bc=ab\frac{a}{c} \div \frac{b}{c} = \frac{a}{b}Step 3Arithmetic of fractions (Basics: dividing by a fraction)
Four regions of a Venn diagram add to 1Step 4Class XI, Sets and Probability (Basics: Venn diagrams)
P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)CheckClass XI, Probability (addition rule) (Basics: the addition rule)
P(A∩B)=P(B) P(A∣B)P(A \cap B) = P(B)\,P(A|B)CheckMultiplication rule, Section 13.3 (Lesson: the multiplication rule)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →