הסתברות מותנית
הוצג| English | משמעות |
|---|---|
| conditional probability/kənˈdɪʃənl ˌprɒbəˈbɪlɪti/ | הסתברות מותנעת |
| two-way table/tuː weɪ ˈteɪbl/ | טבלה דו-כיוונית |
| dependent/dɪˈpendənt/ | תלויים |
The detective's question
- You know someone studies French. What's the chance they also study German?
- This isn't the same as "what's the chance someone studies both?" — you've narrowed the group to just the French students.
- That's conditional probability 条件概率: the chance of $B$ given that $A$ has already happened.
How to read it
- $\text{P}(B \mid A)$ means "the probability of $B$ given $A$".
- Look only at the part that matches the condition — on a Venn diagram, two-way table 双向表, or tree.
In a class of $30$, $18$ study French. Of those $18$, $7$ also study German. $\text{P}(\text{German} \mid \text{French}) = \dfrac{7}{18}$.

On a tree diagram, multiply probabilities along the branches; here two reds give $\tfrac38\times\tfrac38=\tfrac{9}{64}$
הסתברות מותנית
P(A | B) = P(A ∩ B) ÷ P(B)
כאשר מאורע אחד משפיע על אחר, הסתברויות מותנות משתנות — והנוסחה של באייס הופכת אותן.
מ-18 סטודנטים צרפתים, 7 לומדים גם גרמנית. P(גרמנית | צרפתית) = 7/a. מהי a?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
בהינתן שהם צרפתים, הסך הכל לחלוקה בו הוא 18 הסטודנטים הצרפתים.
הסתברות מותנת היא ההסתברות של מאורע:
Difficulty 1/5 · 100 coins + a small bonus on first completion today
זו ההסתברות של B בהינתן שאירוע A התרחש.
מ-100 אנשים, 40 הן נשים; מתוכן, 10 שמאלניות. מהי P(שמאלנית | נשית) כמספר עשרוני?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
10/40 = 0.25.
The formula (Extended)
The denominator changes. In conditional probability, the total you divide by is only the group that meets the condition — not the whole population. This is the most common error.
P(B | A) = P(A and B) / P(______).
Difficulty 1/5 · 100 coins + a small bonus on first completion today
P(B|A) = P(A ∩ B) / P(A). המכנה הוא ההסתברות של התנאי.
On a two-way table
- To find $\text{P}(B \mid A)$: look at the row (or column) for $A$, and find the fraction that is also $B$.
- The row total is the denominator, not the grand total.
מ-20 סטודנטים, 12 אוהבים תה; מתוכם, 3 אוהבים גם קפה. P(קפה | תה) = 3/a. מהי a?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
בתנאי 12 שותהי התה, לכן a = 12.
Independent vs dependent 相依的
- If $\text{P}(B \mid A) = \text{P}(B)$, the events are independent — knowing $A$ happened doesn't change the chance of $B$.
- If they differ, the events are dependent.

Conditional probability restricts attention to the group matching the condition — like looking only inside one region of a Venn diagram.
אם P(B | A) = P(B), אז האירועים A ו-B הם בלתי תלויים.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
בלתי תלות פירושה שידע על התרחשות A אינו משנה את ההסתברות של B.
Condition on the smaller group
- Of 30 students, 18 study French and 7 of these study German. Given French, use $p=7/18$, not $7/30$; the condition selects only 18 students.
- Suppose 12 students in the full class study German. Then $P(G)=12/30=0.4$ differs from $P(G\mid F)=7/18$. The two events are not independent for these data.
מבין 18 תלמידי צרפתית, 9 לומדים גם גרמנית. מצא P(גרמנית | צרפתית).
Difficulty 2/5 · 140 coins + a small bonus on first completion today
הגבל את המכנה לתלמידי צרפתית: 9/18 = 0.5.
You've got it
- conditional probability $=$ chance of $B$ given $A$ already happened
- restrict your attention to just the group that meets the condition
- $\text{P}(\text{German} \mid \text{French}) = \dfrac{7}{18}$ (out of the French students only)