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

Example 2: Two children: both boys, given at least one is a boy

ExamplesConditional probability · Section 13.2
The question

A family has two children. What is the probability that both the children are boys given that at least one of them is a boy?

Exam answer

Let bb stand for boy and gg for girl. The sample space is

S={(b,b),(g,b),(b,g),(g,g)}\begin{aligned} S = \{&(b,b), (g,b), \\ &(b,g), (g,g)\} \end{aligned}

with all four outcomes equally likely.

Let EE⁠: both the children are boys, and FF⁠: at least one of the children is a boy.

E={(b,b)}E = \{(b,b)\} F={(b,b),(g,b),(b,g)}F = \{(b,b), (g,b), (b,g)\} E∩F={(b,b)}E\cap F = \{(b,b)\} P(F)=34,P(E∩F)=14P(F) = \frac{3}{4},\quad P(E\cap F) = \frac{1}{4}

By the definition of conditional probability,

P(E∣F)=P(E∩F)P(F)=  14  34=14×43\begin{aligned} P(E|F) &= \frac{P(E\cap F)}{P(F)} \\ &= \dfrac{\;\frac{1}{4}\;}{\frac{3}{4}} = \frac{1}{4}\times\frac{4}{3} \end{aligned}

∴ P(E∣F)=13\therefore\ P(E|F) = \dfrac{1}{3}⁠.

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

The one idea this problem is built on

"Given at least one boy" throws away only the family with two girls. Of the four equally likely families, three are left, and just one of those three has two boys. So the answer is 13\frac{1}{3}⁠, not 12\frac{1}{2}⁠. The definition of conditional probability turns this counting into a calculation:

P(E∣F)=P(E∩F)P(F).P(E|F) = \frac{P(E \cap F)}{P(F)}.
Given, to find, and the plan
Given
A family with two children; each child is a boy or a girl, and the four possible families are equally likely. We are told that at least one child is a boy.
To find
The probability that both children are boys, given that at least one is a boy.
Plan
List the sample space with the children in order; name the two events and list their outcomes; find P(F)P(F) and P(E∩F)P(E \cap F) by counting; divide.

Basics you need

1Events are sets of outcomes

An event is the set of outcomes in which it happens; "both" is the intersection E∩FE \cap F⁠. Basics: events as sets

2Equally likely outcomes

When all outcomes are equally likely, P(E)=n(E)n(S)P(E) = \frac{n(E)}{n(S)}⁠. Basics: the classical definition

3Conditional probability

P(E∣F)=P(E∩F)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)} when P(F)≠0P(F) \ne 0 (Definition 1, Section 13.2). Lesson: conditional probability

4Dividing fractions

Dividing by 34\frac{3}{4} is multiplying by 43\frac{4}{3}⁠. Basics: dividing by a fraction

Solution

  1. Write the sample space, in order

    Let bb stand for boy and gg for girl, and write the elder child first. Then

    S={(b,b),(g,b),(b,g),(g,g)},S = \{(b,b), (g,b), (b,g), (g,g)\}, n(S)=4.n(S) = 4.
    Each child can be a boy or a girl, so there are 2×2=42 \times 2 = 4 families. The order matters: (g,b)(g,b) (elder girl, younger boy) and (b,g)(b,g) (elder boy, younger girl) are different families. Keeping them apart is what makes the four outcomes equally likely; lumping them together as "one boy and one girl" would give an outcome twice as likely as the others.
  2. Name the events and list their outcomes

    Let EE⁠: both the children are boys, and FF⁠: at least one of the children is a boy. Then

    E={(b,b)},E = \{(b,b)\}, F={(b,b),(g,b),(b,g)},F = \{(b,b), (g,b), (b,g)\}, E∩F={(b,b)}.E \cap F = \{(b,b)\}.
    FF contains every family with a boy in it, which is every family except (g,g)(g,g)⁠. The only family in both EE and FF is (b,b)(b,b)⁠. In fact EE lies inside FF (two boys certainly means at least one boy), so E∩F=EE \cap F = E⁠.
  3. Find the two probabilities by counting

    P(F)=n(F)n(S)=34,P(F) = \frac{n(F)}{n(S)} = \frac{3}{4}, P(E∩F)=n(E∩F)n(S)=14.P(E \cap F) = \frac{n(E \cap F)}{n(S)} = \frac{1}{4}.
    The four outcomes are equally likely, so each probability is the number of outcomes in the event over 4.
  4. Divide, using the definition

    P(E∣F)=P(E∩F)P(F)=  14  34=14×43=13.\begin{aligned} P(E|F) &= \frac{P(E \cap F)}{P(F)} = \dfrac{\;\frac{1}{4}\;}{\frac{3}{4}} \\ &= \frac{1}{4} \times \frac{4}{3} = \frac{1}{3}. \end{aligned}
    We are told that FF has happened, so FF becomes the whole world; the definition measures what share of FF is also in EE⁠. We may divide because P(F)=34≠0P(F) = \frac{3}{4} \ne 0⁠.
    Definition 1, Section 13.2. Lesson: conditional probability
  5. See it as a grid

    younger child b g b g elder (b, b) (b, g) (g, b) (g, g) F: at least one boy (3) E = E ∩ F: both boys (1) Given F: 1 of 3 cells P(E|F) = 1/3
    The four equally likely families (elder child first). The shaded cells make FF⁠; only the ringed cell (b,b)(b,b) is in EE⁠. Given FF⁠, one cell out of three: 13\frac{1}{3}⁠.
    Once we know there is a boy, the cell (g,g)(g,g) is ruled out and the three shaded cells stay equally likely. One of the three has two boys.
Result

P(E∣F)=13P(E|F) = \dfrac{1}{3}⁠.

(Textbook answer: 13\frac{1}{3}⁠.)

Check it with numbers

Counting inside FF⁠. n(E∩F)n(F)=13\frac{n(E \cap F)}{n(F)} = \frac{1}{3}⁠, the same value, because with equally likely outcomes the n(S)n(S) cancels.

Compare with a different condition. If instead we are told that the elder child is a boy, call this F1={(b,b),(b,g)}F_1 = \{(b,b), (b,g)\}⁠. Then P(E∣F1)=12P(E|F_1) = \frac{1}{2}⁠, because the younger child is still a boy or a girl. "At least one is a boy" is weaker information than "the elder is a boy", so it leaves more families, and the answer is smaller.

Decimals. 13≈0.3333\frac{1}{3} \approx 0.3333⁠. Without any information, P(E)=14=0.25P(E) = \frac{1}{4} = 0.25⁠; knowing there is a boy raises the chance of two boys from 0.25 to about 0.3333.

Common mistakes
  1. Answering 12\frac{1}{2} by thinking "the other child is a boy or a girl". We are not told which child is the boy, so there is no single "other child". That reasoning answers the question about the elder child (the check above).
  2. Using three outcomes: two boys, one of each, two girls. These are not equally likely; "one of each" happens in two ways, (g,b)(g,b) and (b,g)(b,g)⁠.
  3. Answering P(E)=14P(E) = \frac{1}{4}⁠. That ignores the information that there is at least one boy.
What to take away
  1. Write ordered outcomes so that they are equally likely.
  2. The condition removes outcomes; the answer is the share of what is left.
  3. Read the condition carefully: "at least one" and "the elder one" give different answers.

Every fact used, and where it comes from

FactUsed inSource
Two choices for each child: 2×2=42 \times 2 = 4 familiesStep 1Counting principle, Class XI (Basics: multiply the choices)
Events as sets; "both" is the intersectionStep 2Class XI, Probability (Basics: events as sets)
P(E)=n(E)n(S)P(E) = \frac{n(E)}{n(S)} for equally likely outcomesStep 3, CheckClass XI, Probability (Basics: the classical definition)
P(E∣F)=P(E∩F)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)}⁠, P(F)≠0P(F) \ne 0Step 4, CheckDefinition 1, Section 13.2 (Lesson: conditional probability)
P(E∣F)=n(E∩F)n(F)P(E|F) = \frac{n(E \cap F)}{n(F)}CheckSection 13.2, equation (1)
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 →