← Senior Mathematics Studio

LEARN · EXPLAIN · REVISE

Conditions, partitions and posterior probability

Read the idea, work independently, then explain what changed.

高三選擇性必修 第三册(A版).pdf · 7.1 · PDF 49 / printed page 44

TOPIC 01

Conditions, partitions and posterior probability

Identify the conditioning group, verify partitions, and update priors with observed evidence.

What you will be able to explain

  • Identify the conditioning group, verify partitions, and update priors with observed evidence.
  • Distinguish reverse conditionals, disjointness and independence.

Change the denominator

A flag can come from true positives or false flags, so its meaning depends on prevalence.

Given B, the eligible outcomes are those in B; reverse conditioning uses a different group.

P(A∣B)=P(A∩B)/P(B)P(A|B)=P(A\cap B)/P(B)
  1. Given B, the eligible outcomes are those in B; reverse conditioning uses a different group.

    P(F)=pα+(1−p)βP(F)=p\alpha+(1-p)\beta
  2. Given B, the eligible outcomes are those in B; reverse conditioning uses a different group.

    P(D∣F)=pα/[pα+(1−p)β]P(D|F)=p\alpha/[p\alpha+(1-p)\beta]

When it applies

  • P(B)>0; mixture cases are disjoint and exhaustive.

Counterexample: Equal prior bags need not remain equally likely after a red draw; positive-probability disjoint events are dependent.

  • Two-way count table, probability tree and prior/posterior bar comparison.

PREDICT → EXPLORE → EXPLAIN → TRANSFER

Make a prediction, then explore the relationship.

Lesson question: Keep flagging likelihoods fixed and predict how changing the defective prior changes the posterior.

Model exploration: predict which displayed result changes with the parameters, check the values, and compare the observation with the lesson question.

The flagged group includes both joint contributions; posterior is 0.5, rather than the likelihood 0.9.Prior 先驗 P(D)P(D|flag 標示)Flags 標示聯合Defective 次品 藍/blue; good 良品 橙/orange; full 全寬 = 1

The flagged group includes both joint contributions; posterior is 0.5, rather than the likelihood 0.9.

Numerical data for the diagram; printable
StateFlag joint probabilityNo-flag joint probability
Defective / 次品0.090.01
Good / 良品0.090.81
Total / 合計0.180.82

Explain: Read both joint contributions; the denominator is all flags.

Transfer: Find a prior giving a half posterior and explain the zero-flag-probability boundary.

Try it. Leave your reasoning visible.

Use one hint at a time. A correction explains what changed, not just the final answer.

Examples 1–3: study a full demonstration; finish a solution from its first step; then choose a method independently before opening the solution. The remaining exercises may continue after class.

01 / Foundation#Worked example

In a class of 30, 12 play music and 5 of those play chess. Given music, find P(chess).

N=30; n(M)=12; n(C∩M)=5N=30;\ n(M)=12;\ n(C\cap M)=5
  • Select uniformly among the named people; the conditioning group is nonempty.
Skills and prerequisite lessons

Scope: JM01 / JM02 · This task uses elementary probability rules or polynomial calculus named in the JAE syllabus.

Working and explanation

BUILD THE REASONING

Hint 1
Conditioning restricts the denominator to the music group.
Hint 2
Start from this intermediate relation.
P(C∣M)=n(C∩M)/n(M)P(C|M)=n(C\cap M)/n(M)
Worked solution
  1. Conditioning restricts the denominator to the music group.

  2. Establish and simplify this mathematical relation.

    P(C∣M)=n(C∩M)/n(M)P(C|M)=n(C\cap M)/n(M)
  3. Establish and simplify this mathematical relation.

    P(C∣M)=5/12P(C|M)=5/12
  4. The whole-class denominator would answer a joint-probability question.

The requested value is 0.4166666666666667.

Checks and common pitfalls: The whole-class denominator would answer a joint-probability question.

Think first. Reveal a hint when the class is ready.

02 / Standard#Worked example

Select machine A with probability 0.4, otherwise B. Defect rates are 0.1 and 0.2. Find the defect probability.

P(A)=0.4; P(D∣A)=0.1; P(D∣B)=0.2P(A)=0.4;\ P(D|A)=0.1;\ P(D|B)=0.2

First step provided — complete the reasoning:Weight the two conditional rates by the selection probabilities.

  • Cases must form a disjoint exhaustive partition; a posterior ratio requires positive evidence probability.
Skills and prerequisite lessons

Scope: School extension · This task develops the school textbook skill beyond the explicitly listed JAE syllabus topics.

Working and explanation

BUILD THE REASONING

Hint 1
Weight the two conditional rates by the selection probabilities.
Hint 2
Start from this intermediate relation.
P(D)=0.4(0.1)+0.6(0.2)P(D)=0.4(0.1)+0.6(0.2)
Worked solution
  1. Weight the two conditional rates by the selection probabilities.

  2. Establish and simplify this mathematical relation.

    P(D)=0.4(0.1)+0.6(0.2)P(D)=0.4(0.1)+0.6(0.2)
  3. Establish and simplify this mathematical relation.

    P(D)=0.16P(D)=0.16
  4. An unweighted average ignores the unequal priors.

The requested value is 0.16.

Checks and common pitfalls: An unweighted average ignores the unequal priors.

Think first. Reveal a hint when the class is ready.

03 / Transfer#Worked example

A nonmedical screening process flags 90% of the 10% genuinely defective units and 10% of good units. Given a flag, find P(defective).

P(D)=0.1; P(F∣D)=0.9; P(F∣Dc)=0.1P(D)=0.1;\ P(F|D)=0.9;\ P(F|D^c)=0.1
  • Cases must form a disjoint exhaustive partition; a posterior ratio requires positive evidence probability.
Skills and prerequisite lessons

Scope: School extension · This task develops the school textbook skill beyond the explicitly listed JAE syllabus topics.

Working and explanation

BUILD THE REASONING

Hint 1
Create a two-branch joint-probability tree before reversing the condition.
Hint 2
Start from this intermediate relation.
P(D∩F)=0.09; P(F)=0.09+0.09=0.18P(D\cap F)=0.09;\ P(F)=0.09+0.09=0.18
Worked solution
  1. Create a two-branch joint-probability tree before reversing the condition.

  2. Establish and simplify this mathematical relation.

    P(D∩F)=0.09; P(F)=0.09+0.09=0.18P(D\cap F)=0.09;\ P(F)=0.09+0.09=0.18
  3. Establish and simplify this mathematical relation.

    P(D∣F)=0.09/0.18=0.5P(D|F)=0.09/0.18=0.5
  4. A 90% detection rate is not a 90% posterior probability.

The requested value is 0.5.

Checks and common pitfalls: A 90% detection rate is not a 90% posterior probability.

Think first. Reveal a hint when the class is ready.

04 / Foundation#Your turn

P(A∩B)=0.12 and P(B)=0.3. Find P(A|B).

P(A∩B)=0.12; P(B)=0.3P(A\cap B)=0.12;\ P(B)=0.3
  • The elementary conditional ratio requires positive conditioning probability; explicitly report when this fails.
Skills and prerequisite lessons

Scope: JM01 / JM02 · This task uses elementary probability rules or polynomial calculus named in the JAE syllabus.

Working and explanation

BUILD THE REASONING

Hint 1
Divide by the probability of the conditioning event.
Hint 2
Start from this intermediate relation.
P(A∣B)=P(A∩B)/P(B)P(A|B)=P(A\cap B)/P(B)
Worked solution
  1. Divide by the probability of the conditioning event.

  2. Establish and simplify this mathematical relation.

    P(A∣B)=P(A∩B)/P(B)P(A|B)=P(A\cap B)/P(B)
  3. Establish and simplify this mathematical relation.

    P(A∣B)=0.4P(A|B)=0.4
  4. Check the conditioning probability is positive.

The requested value is 0.4.

Checks and common pitfalls: Check the conditioning probability is positive.

Think first. Reveal a hint when the class is ready.

05 / Foundation#Your turn

P(A∩B)=0.12, P(A)=0.2. Find P(B|A).

P(A∩B)=0.12; P(A)=0.2P(A\cap B)=0.12;\ P(A)=0.2
  • The elementary conditional ratio requires positive conditioning probability; explicitly report when this fails.
Skills and prerequisite lessons

Scope: JM01 / JM02 · This task uses elementary probability rules or polynomial calculus named in the JAE syllabus.

Working and explanation

BUILD THE REASONING

Hint 1
The denominator changes when the condition is reversed.
Hint 2
Start from this intermediate relation.
P(B∣A)=0.12/0.2P(B|A)=0.12/0.2
Worked solution
  1. The denominator changes when the condition is reversed.

  2. Establish and simplify this mathematical relation.

    P(B∣A)=0.12/0.2P(B|A)=0.12/0.2
  3. Establish and simplify this mathematical relation.

    P(B∣A)=0.6P(B|A)=0.6
  4. Conditional probabilities need not be symmetric.

The requested value is 0.6.

Checks and common pitfalls: Conditional probabilities need not be symmetric.

Think first. Reveal a hint when the class is ready.

06 / Foundation#Your turn

A bag has 4 red and 3 blue. Given the first draw was red without replacement, find the second-blue probability.

R=4; B=3R=4;\ B=3
  • Draw uniformly from the remaining finite bag without replacement, except the explicitly compared replacement model.
Skills and prerequisite lessons

Scope: JM01 / JM02 · This task uses elementary probability rules or polynomial calculus named in the JAE syllabus.

Working and explanation

BUILD THE REASONING

Hint 1
Remove the observed red ball before counting.
Hint 2
Start from this intermediate relation.
Rremaining=3; Bremaining=3R_{remaining}=3;\ B_{remaining}=3
Worked solution
  1. Remove the observed red ball before counting.

  2. Establish and simplify this mathematical relation.

    Rremaining=3; Bremaining=3R_{remaining}=3;\ B_{remaining}=3
  3. Establish and simplify this mathematical relation.

    P(B2∣R1)=3/6=1/2P(B_2|R_1)=3/6=1/2
  4. The second denominator is 6 rather than 7.

The requested value is 0.5.

Checks and common pitfalls: The second denominator is 6 rather than 7.

Think first. Reveal a hint when the class is ready.

07 / Foundation#Your turn

Can P(A|B) be computed by the elementary ratio when P(B)=0?

P(B)=0P(B)=0
  • The elementary conditional ratio requires positive conditioning probability; explicitly report when this fails.
Skills and prerequisite lessons

Scope: JM01 / JM02 · This task uses elementary probability rules or polynomial calculus named in the JAE syllabus.

Working and explanation

BUILD THE REASONING

Hint 1
Inspect the denominator before division.
Hint 2
Start from this intermediate relation.
P(A∩B)=0P(A\cap B)=0
Worked solution
  1. Inspect the denominator before division.

  2. Establish and simplify this mathematical relation.

    P(A∩B)=0P(A\cap B)=0
  3. Establish and simplify this mathematical relation.

    P(A∣B)=0/0 is undefined by this formulaP(A|B)=0/0\text{ is undefined by this formula}
  4. Do not assign zero to an undefined conditional ratio.

No; the elementary ratio has a zero denominator.

Checks and common pitfalls: Do not assign zero to an undefined conditional ratio.

Reasoning checklist · self / teacher assessment
  • Inspect the denominator before division.
  • Give the intermediate relations and explain the conclusion with its restrictions.
  • Do not assign zero to an undefined conditional ratio.

Think first. Reveal a hint when the class is ready.

08 / Standard#Your turn

P(A)=0.4, P(B)=0.5, P(A∩B)=0.2. Are A and B independent?

P(A)=0.4; P(B)=0.5; P(A∩B)=0.2P(A)=0.4;\ P(B)=0.5;\ P(A\cap B)=0.2
  • Use P(A∩B)=P(A)P(B) as the independence criterion, including the stated overlap or disjointness.
Skills and prerequisite lessons

Scope: JM01 / JM02 · This task uses elementary probability rules or polynomial calculus named in the JAE syllabus.

Working and explanation

BUILD THE REASONING

Hint 1
Use the definition rather than the ability to occur together.
Hint 2
Start from this intermediate relation.
P(A)P(B)=0.4(0.5)=0.2P(A)P(B)=0.4(0.5)=0.2
Worked solution
  1. Use the definition rather than the ability to occur together.

  2. Establish and simplify this mathematical relation.

    P(A)P(B)=0.4(0.5)=0.2P(A)P(B)=0.4(0.5)=0.2
  3. Establish and simplify this mathematical relation.

    P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)
  4. Independent events can overlap.

Yes, because the intersection probability equals the product.

Checks and common pitfalls: Independent events can overlap.

Reasoning checklist · self / teacher assessment
  • Use the definition rather than the ability to occur together.
  • Give the intermediate relations and explain the conclusion with its restrictions.
  • Independent events can overlap.

Think first. Reveal a hint when the class is ready.

09 / Standard#Your turn

Can overlapping A and B be used directly as a two-case total-probability partition?

P(A∩B)>0P(A\cap B)>0
  • Cases must form a disjoint exhaustive partition. Evaluate conditional factors only for positive-probability cells; a zero-probability cell contributes zero through its joint probability.
Skills and prerequisite lessons

Scope: School extension · This task develops the school textbook skill beyond the explicitly listed JAE syllabus topics.

Working and explanation

BUILD THE REASONING

Hint 1
A partition must not count the same outcome twice.
Hint 2
Start from this intermediate relation.
Ω=A∪˙Ac\Omega=A\mathbin{\dot\cup}A^c
Worked solution
  1. A partition must not count the same outcome twice.

  2. Establish and simplify this mathematical relation.

    Ω=A∪˙Ac\Omega=A\mathbin{\dot\cup}A^c
  3. Establish and simplify this mathematical relation.

    P(F)=P(F∩A)+P(F∩Ac)P(F)=P(F\cap A)+P(F\cap A^c)
  4. Establish and simplify this mathematical relation.

    P(F∩C)=P(F∣C)P(C)if P(C)>0P(F\cap C)=P(F|C)P(C)\quad\text{if }P(C)>0
  5. Establish and simplify this mathematical relation.

    P(C)=0  ⟹  P(F∩C)=0P(C)=0\implies P(F\cap C)=0
  6. For a cell of probability zero, use the zero joint contribution rather than an undefined conditional. Overlapping case products can double-count outcomes.

No; first make a disjoint exhaustive partition.

Checks and common pitfalls: For a cell of probability zero, use the zero joint contribution rather than an undefined conditional. Overlapping case products can double-count outcomes.

Reasoning checklist · self / teacher assessment
  • A partition must not count the same outcome twice.
  • Give the intermediate relations and explain the conclusion with its restrictions.
  • For a cell of probability zero, use the zero joint contribution rather than an undefined conditional. Overlapping case products can double-count outcomes.

Think first. Reveal a hint when the class is ready.

10 / Standard#Your turn

With priors 0.4,0.6 and defect rates 0.1,0.2, find P(A|defect).

P(A)=0.4; P(D∣A)=0.1; P(D∣B)=0.2P(A)=0.4;\ P(D|A)=0.1;\ P(D|B)=0.2
  • Cases must form a disjoint exhaustive partition; a posterior ratio requires positive evidence probability.
Skills and prerequisite lessons

Scope: School extension · This task develops the school textbook skill beyond the explicitly listed JAE syllabus topics.

Working and explanation

BUILD THE REASONING

Hint 1
Divide A’s defective contribution by all defective contributions.
Hint 2
Start from this intermediate relation.
P(A∩D)=0.04; P(D)=0.16P(A\cap D)=0.04;\ P(D)=0.16
Worked solution
  1. Divide A’s defective contribution by all defective contributions.

  2. Establish and simplify this mathematical relation.

    P(A∩D)=0.04; P(D)=0.16P(A\cap D)=0.04;\ P(D)=0.16
  3. Establish and simplify this mathematical relation.

    P(A∣D)=0.04/0.16=0.25P(A|D)=0.04/0.16=0.25
  4. The prior 0.4 changes after observing a defect.

The requested value is 0.25.

Checks and common pitfalls: The prior 0.4 changes after observing a defect.

Think first. Reveal a hint when the class is ready.

11 / Standard#Your turn

Among 40 day pupils and 20 boarders, 10 and 12 respectively use the library. Given library use, find P(boarder).

n(D)=40; n(B)=20; n(L∩D)=10; n(L∩B)=12n(D)=40;\ n(B)=20;\ n(L\cap D)=10;\ n(L\cap B)=12
  • Select uniformly among the named people; the conditioning group is nonempty.
Skills and prerequisite lessons

Scope: JM01 / JM02 · This task uses elementary probability rules or polynomial calculus named in the JAE syllabus.

Working and explanation

BUILD THE REASONING

Hint 1
Keep only the library column of the two-way table.
Hint 2
Start from this intermediate relation.
n(L)=10+12=22n(L)=10+12=22
Worked solution
  1. Keep only the library column of the two-way table.

  2. Establish and simplify this mathematical relation.

    n(L)=10+12=22n(L)=10+12=22
  3. Establish and simplify this mathematical relation.

    P(B∣L)=12/22=6/11P(B|L)=12/22=6/11
  4. The conditioning group has 22 students, not all 60.

The requested value is 0.5454545454545454.

Checks and common pitfalls: The conditioning group has 22 students, not all 60.

Think first. Reveal a hint when the class is ready.

12 / Transfer#Your turn

Two bags are selected with equal probability. A has 3 red/1 blue and B has 1 red/3 blue. Given two red draws without replacement from the chosen bag, find P(A).

P(A)=P(B)=1/2; A:(3R,1B); B:(1R,3B)P(A)=P(B)=1/2;\ A:(3R,1B);\ B:(1R,3B)
  • Draw uniformly from the remaining finite bag without replacement, except the explicitly compared replacement model.
Skills and prerequisite lessons

Scope: School extension · This task develops the school textbook skill beyond the explicitly listed JAE syllabus topics.

Working and explanation

BUILD THE REASONING

Hint 1
Use the impossibility of two red draws from bag B.
Hint 2
Start from this intermediate relation.
P(RR∣A)=(3/4)(2/3)=1/2; P(RR∣B)=0P(RR|A)=(3/4)(2/3)=1/2;\ P(RR|B)=0
Worked solution
  1. Use the impossibility of two red draws from bag B.

  2. Establish and simplify this mathematical relation.

    P(RR∣A)=(3/4)(2/3)=1/2; P(RR∣B)=0P(RR|A)=(3/4)(2/3)=1/2;\ P(RR|B)=0
  3. Establish and simplify this mathematical relation.

    P(A∣RR)=[(1/2)(1/2)]/[(1/2)(1/2)]=1P(A|RR)=[(1/2)(1/2)]/[(1/2)(1/2)]=1
  4. Dependence of draws within a bag does not invalidate Bayes; use the correct likelihood.

The requested value is 1.

Checks and common pitfalls: Dependence of draws within a bag does not invalidate Bayes; use the correct likelihood.

Think first. Reveal a hint when the class is ready.

13 / Transfer#Your turn

A defective-unit flag has likelihoods 0.8 for defective and 0.2 for good. For which defective prior p is P(defective|flag)=1/2?

P(F∣D)=0.8; P(F∣Dc)=0.2P(F|D)=0.8;\ P(F|D^c)=0.2
  • Cases must form a disjoint exhaustive partition; a posterior ratio requires positive evidence probability.
Skills and prerequisite lessons

Scope: School extension · This task develops the school textbook skill beyond the explicitly listed JAE syllabus topics.

Working and explanation

BUILD THE REASONING

Hint 1
Equate the two joint contributions for a half posterior.
Hint 2
Start from this intermediate relation.
0.8p=0.2(1−p)0.8p=0.2(1-p)
Worked solution
  1. Equate the two joint contributions for a half posterior.

  2. Establish and simplify this mathematical relation.

    0.8p=0.2(1−p)0.8p=0.2(1-p)
  3. Establish and simplify this mathematical relation.

    p=0.2p=0.2
  4. The prior need not be one half when the likelihoods differ.

The requested value is 0.2.

Checks and common pitfalls: The prior need not be one half when the likelihoods differ.

Think first. Reveal a hint when the class is ready.

Focus on one question

End-of-lesson check and correction

Review your latest checked answers and explanations. A draft change requires a fresh check. Written work needs your self-assessment or a teacher’s review.

Enable JavaScript for a summary of your local work.

    Choose a foundation skill to revisit ↗

    Teacher preparation and assessment

    40-minute lesson

    MinutesFocusTeaching and student action
    5PredictPredict whether a 90% flagging rate guarantees a 90% defective probability.
    8Build the ideaSample response: among 100 units, 9 defective and 9 good units are flagged; posterior is one half.
    10Guided comparisonSample response: music is given, so 5/12 rather than 5/30.
    12Independent practice and discussionStudents annotate denominators and compare two-draw versus one-draw evidence.
    5Exit and next stepExit: state the given event, its positive probability and the disjoint contributions.

    Question sequence

    • Predict whether a 90% flagging rate guarantees a 90% defective probability.
    • Sample response: music is given, so 5/12 rather than 5/30.

    Board development

    • Change the denominator
      P(A∣B)=P(A∩B)/P(B)P(A|B)=P(A\cap B)/P(B)

    Expected correct and incorrect responses

    • Correct sample: 0.4
    • Anticipated wrong response: 0.16 — Retains the whole population after conditioning on a subgroup.
    • Anticipated wrong response: Yes: disjoint means independent. — Equates disjointness with independence.
    • Using the whole-population denominator after conditioning.
    • Equating likelihood with posterior probability.

    Follow-up questions

    • Follow-up: Restrict to the cycling group. Then explain why 0.16 fails.
    • Follow-up: Compare intersection and product. Then explain why Yes: disjoint means independent. fails.
    • Find a prior giving a half posterior and explain the zero-flag-probability boundary.

    Remediation

    • Sample response: among 100 units, 9 defective and 9 good units are flagged; posterior is one half.
    • Return to the first example, identify the missing condition, then solve one fresh task without viewing its solution.

    Exit check

    • Exit: state the given event, its positive probability and the disjoint contributions.

    Assessment checklist and sample responses

    • Representation and conditions
      Given music, the eligible group has 12, so probability is 5/12.
    • Connected mathematical reasoning
      The defective joint contribution is 0.09 and all flags total 0.18, so posterior is 1/2.
    • Interpretation and boundary check
      If all flag contributions vanish, P(flag)=0 and the elementary posterior is undefined.

    No sign-in. Work stays in this browser. Export before clearing browser data. Written reasoning is assessed with a checklist.

    Curriculum and source notes ↗