Paper ZeroSign in

Given that X is in a range

Conditional probability with a distribution

  • In 11 of 20 recent exams
  • 2% of the marks
  • Paper 1 or 2
  • 3 to 5 marks
How it is set in the exam

Paper 2 (calculator), 3–5 marks, usually a later part whose denominator is an earlier part's answer. Very common (11 of 20 exam versions, 17 parts). Once on Paper 1 (no calculator), with a table.

Spot it in the exam
Exam phrases to spot (4)
  • “given that at least one …, find the probability that at most kk …”

  • “given that a bag weighs more than …, find the probability that it weighs less than …”

  • “given that the person is over a given age”

  • “one class is removed …”

In disguise (3)
  • no "given that": "of the bags that pass inspection, what proportion …", or only one class goes on to the next stage. The condition is the class that is kept (a reduced sample space).
  • "if it is known that …", "among those who …": a condition in other words
  • the condition is an earlier answer: "(b) find P(X≥1)\mathrm{P}(X \ge 1)", then "(c) given that at least one …"
Variants (2)
  • source = a discrete table (), a grouped table in percentages, a binomial, a normal, a reduced sample space
  • ranges = nested (one inside the other), overlapping, or symmetric about the mean; the cut-offs strict or not
Looks like it, but isn't (2)
  • the events are Venn regions, table cells or tree paths, not ranges of one variable: Conditional probability
  • a conditional probability is given, and μ\mu and σ\sigma are unknown: Unknown mean or standard deviation (the conditional supplies the second fact)
Worked example

A table: both events are inequalities

Paper 1 (no calculator)
Question

The random variable XX has the probability distribution shown.

xxP(X=x)\mathrm{P}(X = x)
11320\frac{3}{20}
2214\frac{1}{4}
33310\frac{3}{10}
4415\frac{1}{5}
55110\frac{1}{10}

Find P(X>2∣X≤4)\mathrm{P}(X > 2 \mid X \le 4). [3]

Try it yourself first, then compare.

Now try one like it

Write your working on paper or on screen. Paper Zero marks it step by step, like the worked example, and shows where each mark went. Free, with no account.

A handwritten page as Paper Zero marks it: ticks at the two lines that earned a mark, a cross on line 3 where +7 was copied as −7, and a short note beside that line.123456f′(x) = 4x − 124x − 12 = 0, so x = 3f(3) = 2(3)² − 12(3) − 7= 18 − 36 − 7 = −25minimum at (3, −25)M1 ✓A1 ✓A1 ✗11The +7 became −7: 18 − 36 + 7 = −11.
See it move: Given that: a smaller sample space
  • P(X>2∣X≤4)=P({3,4})P(X≤4)=6+43+5+6+4=1018=59P(X > 2 \mid X \le 4) = \frac{P(\{3, 4\})}{P(X \le 4)} = \frac{6 + 4}{3 + 5 + 6 + 4} = \frac{10}{18} = \frac{5}{9} (0.556).
  • The condition shrinks the sample space to the shaded bars, X ≤ 4: the denominator is their total, 18 of 20, not 20. The numerator is the overlap, the yellow bars: 5 is in the event but fails the condition, so its count doesn't count.
  • Strict words first: "more than 2" is X≥3X \ge 3 and "at most 4" is X≤4X \le 4, so the overlap is {3,4}\{3, 4\}, not {3,4,5}\{3, 4, 5\}: 6+43+5+6+4=1018=59\frac{6 + 4}{3 + 5 + 6 + 4} = \frac{10}{18} = \frac{5}{9}. With every probability written over 20, the 20s cancel.
  • The other way round, P(X≤4∣X>2)=1012=56P(X \le 4 \mid X > 2) = \frac{10}{12} = \frac{5}{6} (0.833): the same overlap over a different condition.
  • Check: the answer is at least the overlap's own probability, 1020=0.500\frac{10}{20} = 0.500, and at most 1: dividing by a probability under 1 makes it bigger.
Steps
  1. Write the conditional in context,

    with the variable: P(X≤5∣X≥3)\mathrm{P}(X \le 5 \mid X \ge 3), or P(fewer than 6∣more than 2)\mathrm{P}(\text{fewer than } 6 \mid \text{more than } 2). A bare P(A∣B)\mathrm{P}(A \mid B) earns nothing.

  2. Draw both ranges on a number line.

    The intersection is the overlap: for nested ranges, the narrower one. For a discrete variable, convert strict words first: "more than 22" is X≥3X \ge 3, "fewer than 66" is X≤5X \le 5.

  3. Numerator: the probability of the overlap. Denominator: the probability of the condition.

    Take them from the table, the binomial pdf (a single value) or cdf (GDC), or the normal cdf (GDC). The denominator is often an earlier part: use its stored value (keep full-accuracy values).

  4. Divide,

    and simplify an exact fraction on .

  5. Check:

    the answer is at most 11 and at least the numerator (dividing by a probability makes it bigger).

Common mistakes
  • The event alone as the numerator

    in Example 5.2, P(X≤5)\mathrm{P}(X \le 5) instead of P(3≤X≤5)\mathrm{P}(3 \le X \le 5). An answer above 11 gives it away there, but not always: in Example 5.1, P(X>2)P(X≤4)=23\frac{\mathrm{P}(X > 2)}{\mathrm{P}(X \le 4)} = \frac{2}{3} is below 11 and still wrong. Always write the overlap.

  • An exact value given a range

    in P(X=2∣X<5)\mathrm{P}(X = 2 \mid X < 5) the overlap is X=2X = 2 itself: P(X=2)\mathrm{P}(X = 2) from the pdf, not P(X≤2)\mathrm{P}(X \le 2).

  • Strict words not converted

    for a binomial, "more than 22" is X≥3X \ge 3, before the cdf.

More mistakes (4)
  • A bare P(A∣B)\mathrm{P}(A \mid B)

    the recognition mark needs the actual events, in symbols or words.

  • The unconditional probability used later

    after a class is removed, the new pp is the conditional one (Example 5.5).

  • Dividing the wrong way round

    the condition goes in the denominator. Upside down, the result is always at least 11; but a result above 11 can also come from a numerator that is not the overlap.

  • A rounded earlier answer as the denominator

    use the stored value.

Next typeNormal probabilities

More in The normal and binomial distributions