الإحصاء والاحتمالات والتوافيق
🇬🇧 Statistics & Probability ~10% · Permutations & combinations with restrictions · Conditional probability & Bayes' rule · Binomial distributions & expected value · Data dispersion, standard deviation & empirical normal rule
Data analysis, counting methods, and probability account for approximately 10% of the EST II Math Level 1 exam. Mastery requires distinguishing between ordered arrangements and unordered subsets, calculating probabilities across mutually exclusive and independent events, computing conditional probabilities, analyzing expected values and binomial distributions, and evaluating how linear transformations alter measures of central tendency and dispersion.
- Fundamental Counting Principle: If a task consists of k sequential stages with n_1, n_2, \dots, n_k possible outcomes, the total number of composite outcomes is \(N = n_1 \times n_2 \times \dots \times n_k\).
- Permutations (Order Matters): The number of ordered arrangements of \(r\) objects chosen from \(n\) distinct objects:
\[ _nP_r = \frac{n!}{(n-r)!} \]
For \(n\) objects where subsets of sizes \(n_1, n_2, \dots, n_k\) are identical: \(\frac{n!}{n_1! n_2! \dots n_k!}\). For \(n\) objects arranged in a circle: \((n-1)!\). - Combinations (Order Irrelevant): The number of unordered selections (subsets) of \(r\) items from \(n\) distinct items:
\[ \binom{n}{r} = _nC_r = \frac{n!}{r!(n-r)!}, \qquad \binom{n}{r} = \binom{n}{n-r} \] - Probability Axioms & Conditional Probability: For events \(A, B\) in sample space \(S\):
1. Addition Rule: \(P(A \cup B) = P(A) + P(B) - P(A \cap B)\). If mutually exclusive, \(P(A \cap B) = 0\).
2. Conditional Probability: \(P(A|B) = \frac{P(A \cap B)}{P(B)}\) for \(P(B) > 0\).
3. Independent Events: \(A\) and \(B\) are independent if and only if \(P(A \cap B) = P(A) \cdot P(B)\) (or equivalently \(P(A|B) = P(A)\)). - Data Dispersion & Linear Transformations: For a dataset with mean \(\mu\) and standard deviation \(\sigma\):
If every data value \(x_i\) undergoes the linear transformation \(y_i = a x_i + b\):
\[ \mu_y = a\mu_x + b, \qquad \sigma_y = |a|\sigma_x, \qquad \sigma_y^2 = a^2 \sigma_x^2 \]
Adding a constant \(b\) shifts the mean and median but leaves the range, interquartile range (IQR), and standard deviation completely unchanged.
Conditional Probability, Bayes' Theorem & Robust Summary Statistics: For any two events \(A\) and \(B\) with \(P(B) > 0\), conditional probability restricts the sample space to \(B\): \(P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}\). In descriptive statistics, the median and interquartile range (\(\text{IQR} = Q_3 - Q_1\)) are resistant to extreme outliers, whereas the mean \(\bar{x}\) and standard deviation \(s\) are pulled strongly in the direction of skewness.
| المعامل / المقياس | القيمة |
|---|
قارن الأصلية بيانات نقاط \(X\) (top row) مع transformed بيانات \(Y\) = aX + \(b\) (bottom row). إزاحة \(by b\) ينقل المتوسط الحسابي \(\mu_Y\) لكن يترك spread \(\sigma_Y\) unchanged; scaling بواسطة multiplies كلا!
- Binomial Probability Distribution: In \(n\) independent Bernoulli trials with constant success probability \(p\) and failure probability \(q = 1-p\):
The probability of achieving exactly \(k\) successes is:
\[ P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}, \qquad k \in \{0, 1, 2, \dots, n\} \]
Expected value and variance:
\[ E[X] = \mu = np, \qquad \operatorname{Var}(X) = \sigma^2 = np(1-p), \qquad \sigma = \sqrt{np(1-p)} \] - Standard Normal Distribution & Z-Score: Any normal variable \(X \sim \mathcal{N}(\mu, \sigma^2)\) is standardized via:
\[ z = \frac{x - \mu}{\sigma} \] - Empirical Rule (68–95–99.7% Rule): For any bell-shaped, normal distribution:
1. Approximately \(68.26\%\) of all observations fall within 1 standard deviation: \([\mu - \sigma, \mu + \sigma]\).
2. Approximately \(95.44\%\) of all observations fall within 2 standard deviations: \([\mu - 2\sigma, \mu + 2\sigma]\).
3. Approximately \(99.74\%\) of all observations fall within 3 standard deviations: \([\mu - 3\sigma, \mu + 3\sigma]\).
- Permutation vs. Combination: If order or role assignment matters (e.g. President/VP/Treasurer, race positions, arrangements in a line), use permutations \(_nP_r = \frac{n!}{(n-r)!}\). If selection order does not distinguish groups (e.g. committees, hand of cards, team rosters), use combinations \(\binom{n}{r} = \frac{n!}{r!(n-r)!}\).
- Mutually Exclusive vs. Independent Events: Two events cannot be both mutually exclusive and independent (unless one has probability 0)! Mutually exclusive means \(P(A \cap B) = 0\), so \(P(A \cup B) = P(A) + P(B)\). Independent means \(P(A \cap B) = P(A) \cdot P(B)\).
- Conditional Probability Denominator: In \(P(A|B) = \frac{P(A \cap B)}{P(B)}\), the conditioning event \(B\) becomes the new, restricted sample space in the denominator. Never divide by \(P(A)\) when conditioning on \(B\).
- Standard Deviation vs. Variance Under Transformations: Adding a constant to all data values leaves \(\sigma\) unchanged (dispersion is invariant under translations). Multiplying all values by \(c\) scales \(\sigma\) by \(|c|\) and scales variance \(\sigma^2\) by \(c^2\).
Why Bayes' Theorem & Principle of Inclusion-Exclusion Work: Any event \(B\) can be partitioned into disjoint intersections \(B = (B \cap A) \cup (B \cap A')\). By additivity of mutually exclusive events and the multiplication rule \(P(A \cap B) = P(B \mid A)P(A)\):
\[ P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{P(B \mid A)P(A)}{P(B \mid A)P(A) + P(B \mid A')P(A')} \]Similarly, in counting \(|A \cup B|\), summing \(|A| + |B|\) counts every element in \(A \cap B\) twice; subtracting \(|A \cap B|\) once restores exact cardinality: \(P(A \cup B) = P(A) + P(B) - P(A \cap B)\).
(a) In how many ways can the committee be formed if it must contain at least 2 computer science majors?
(b) In how many ways can the committee be formed if one specific computer scientist and one specific mathematician refuse to serve together on the same committee?
▸ عرض خطوات الحل بالتفصيل
- (a) Partition by number of CS majors:
The committee can have 2, 3, or 4 CS majors:- Case 1 (Exactly 2 CS, 2 Math):
\[ \binom{5}{2} \times \binom{6}{2} = 10 \times 15 = 150 \] - Case 2 (Exactly 3 CS, 1 Math):
\[ \binom{5}{3} \times \binom{6}{1} = 10 \times 6 = 60 \] - Case 3 (Exactly 4 CS, 0 Math):
\[ \binom{5}{4} \times \binom{6}{0} = 5 \times 1 = 5 \]
- Case 1 (Exactly 2 CS, 2 Math):
- (b) Use complementary counting for the feud:
Total unrestricted committees from all \(5 + 6 = 11\) people:
\[ \binom{11}{4} = \frac{11 \times 10 \times 9 \times 8}{4 \times 3 \times 2 \times 1} = 330 \]
Number of forbidden committees where both feuding members are selected simultaneously:
Both feuding members occupy 2 of the 4 spots; we must choose the remaining \(4 - 2 = 2\) members from the remaining \(11 - 2 = 9\) candidates:
\[ \binom{9}{2} = \frac{9 \times 8}{2} = 36 \]
Subtract the forbidden committees:
\[ N = 330 - 36 = \mathbf{294\text{ ways}} \]
| Test Result | Condition Present (D) | Condition Absent (D') | Total |
|---|---|---|---|
| Positive (+) | 36 | 14 | 50 |
| Negative (-) | 4 | 146 | 150 |
| Total | 40 | 160 | 200 |
(b) Are the events "Condition Present (D)" and "Tested Positive (+)" statistically independent? Prove your answer.
▸ عرض خطوات الحل بالتفصيل
- (a) Calculate conditional probability \(P(D|+)\):
Using Definition 8.1, the sample space restricts to the 50 patients who tested positive:
\[ P(D|+) = \frac{P(D \cap +)}{P(+)} = \frac{36 / 200}{50 / 200} = \frac{36}{50} = \mathbf{0.72\, (72\%)} \] - (b) Test for independence:
Two events are independent if and only if \(P(D|+) = P(D)\).
Compute marginal probability \(P(D)\):
\[ P(D) = \frac{40}{200} = 0.20\, (20\%) \]
Since \(P(D|+) = 0.72 \neq 0.20 = P(D)\), the events are not independent (they are strongly dependent).
(a) What percentage of test-takers score between 400 and 700?
(b) A school curve scales every student's raw score \(X\) using the linear transformation \(Y = 1.2 X + 50\). Determine the new mean \(\mu_Y\) and new standard deviation \(\sigma_Y\).
▸ عرض خطوات الحل بالتفصيل
- (a) Use Empirical Rule intervals:
Express score bounds as standard deviations from \(\mu = 500\):
Score 400: \(z_1 = \frac{400 - 500}{100} = -1\sigma\).
Score 700: \(z_2 = \frac{700 - 500}{100} = +2\sigma\).
Partition the area under the normal curve from \(\mu - \sigma\) to \(\mu + 2\sigma\):- From \(\mu - \sigma\) to \(\mu\): \(34.13\%\).
- From \(\mu\) to \(\mu + \sigma\): \(34.13\%\).
- From \(\mu + \sigma\) to \(\mu + 2\sigma\): \(13.59\%\).
\[ P(400 \le X \le 700) = 34.13\% + 34.13\% + 13.59\% = \mathbf{81.85\% \approx 81.9\%} \] - (b) Apply linear transformation rules:
For \(Y = aX + b\) with \(a = 1.2\) and \(b = 50\):
New mean:
\[ \mu_Y = 1.2 \mu_X + 50 = 1.2(500) + 50 = 600 + 50 = \mathbf{650} \]
New standard deviation (the additive constant 50 has zero effect):
\[ \sigma_Y = |a| \sigma_X = 1.2 \times 100 = \mathbf{120} \]
▸ عرض خطوات الحل بالتفصيل
From the bar chart, the number of students who prefer apples is 15. The number of students who prefer bananas is 10. The total number of students who prefer apples and bananas is the sum of these two values: 15 + 10 = 25.
| الخطأ الشائع لدى الطلاب | لماذا يفشل رياضياً | الطريقة الصحيحة المعتمدة في الاختبار |
|---|---|---|
| Using \(P(A \cap B) = 0\) when told \(A\) and \(B\) are independent | Confuses disjoint (mutually exclusive) events with statistically independent events. | For independent events, multiply probabilities: \(P(A \cap B) = P(A)\cdot P(B)\). |
| Dividing by the grand total \(N\) when computing \(P(A \mid B)\) from a table | Computes the joint probability \(P(A \cap B)\) instead of conditioning on subset \(B\). | Restrict the denominator strictly to the row/column total of the given condition \(B\). |
| Using permutations \({}^nP_r\) when selecting a committee with no distinct roles | Overcounts every group of size \(r\) by \(r!\) internal orderings. | Divide by \(r!\) to use combinations: \(\binom{n}{r} = \frac{n!}{r!(n-r)!}\). (الإحصاء والاحتمالات والتوافيق) |
Exam Strategy (Egyptian Scholastic Test (EST II — Math Level 1)): Whenever a probability problem involves "at least one" success across multiple trials, immediately use the Complement Rule: \(P(\text{at least one}) = 1 - P(\text{none})\). It turns a multi-case sum into a single calculation.
💡 Hint 1 of 3
💡 Hint 2 of 3
💡 Hint 3 of 3
Step 1: Compute intersection \(P(A \cap B)\): Using the conditional probability multiplication rule: \[ P(A \cap B) = P(A|B) \cdot P(B) = 0.40 \times 0.50 = 0.20. \]
Step 2: Apply the general addition rule: \[ P(A \cup B) = P(A) + P(B) - P(A \cap B) = 0.60 + 0.50 - 0.20 = \mathbf{0.90}. \]
Step 3: Test for independence: \(P(A|B) = 0.40\) while \(P(A) = 0.60\). Since \(P(A|B) eq P(A)\), events \(A\) and \(B\) are not independent.
💡 Hint 1 of 3
💡 Hint 2 of 3
💡 Hint 3 of 3
(a) Exactly 3 women: Choose 3 women from 8 and 2 men from 6: \[ \binom{8}{3} \times \binom{6}{2} = \frac{8 \times 7 \times 6}{6} \times \frac{6 \times 5}{2} = 56 \times 15 = \mathbf{840\text{ ways}}. \]
(b) Probability of at least 4 women:
- Total possible 5-delegate committees from all 14 people: \[ \binom{14}{5} = \frac{14 \times 13 \times 12 \times 11 \times 10}{5 \times 4 \times 3 \times 2 \times 1} = 2002. \]
- Case 1 (4 women, 1 man): \(\binom{8}{4}\binom{6}{1} = 70 \times 6 = 420\).
- Case 2 (5 women, 0 men): \(\binom{8}{5}\binom{6}{0} = 56 \times 1 = 56\).
- Total favorable committees: \(420 + 56 = 476\).
- Exact probability: \[ P(\ge 4\text{ women}) = \frac{476}{2002} = \mathbf{\frac{34}{143}} \approx 0.2378\, (23.8\%). \]
💡 Hint 1 of 3
💡 Hint 2 of 3
💡 Hint 3 of 3
Step 1: Compute transformed mean: For a linear transformation \(y = ax + b\), the mean transforms identically: \[ \bar{y} = 1.25\bar{x} - 10 = 1.25(72) - 10 = 90 - 10 = \mathbf{80}. \]
Step 2: Compute transformed standard deviation: The additive constant \(-10\) shifts the entire distribution without changing spread. Only the multiplicative factor scales dispersion: \[ s_y = |a| \cdot s_x = 1.25 \times 8 = \mathbf{10}. \]
💡 Hint 1 of 3
💡 Hint 2 of 3
💡 Hint 3 of 3
(a) Exactly 2 defective components: Apply the binomial probability formula \(P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}\) with \(n = 5\), \(k = 2\), \(p = 0.10\): \[ P(X = 2) = \binom{5}{2} (0.10)^2 (0.90)^3 = 10 \times 0.01 \times 0.729 = \mathbf{0.0729\, (7.29\%)}. \]
(b) At least 1 defective component: Use complementary probability: \[ P(X \ge 1) = 1 - P(X = 0) = 1 - \binom{5}{0}(0.10)^0(0.90)^5 = 1 - (1)(1)(0.59049) = 1 - 0.59049 = \mathbf{0.40951\, (40.95\%)}. \]
