New
✓ تم التحقق من المنهج الرسميمعايير الجودة والصرامة ↗
8

الإحصاء والاحتمالات والتوافيق

🇬🇧 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.

Definition 8.1 — Permutations, Combinations, Probability Laws, and Data Dispersion
Fundamental principles of combinatorics, probability, and descriptive statistics:
  • 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.

مخطط فن لتوضيح تقاطع واتحاد المجموعات والاحتمالات في الإحصاء والاحتمالات والتوافيق. \(|A \cap B| = 12\) ، \(|(A \cup B)'| = 4\) (15, 16)
⊙ مستكشف · التحويل الخطي للبيانات \(Y = aX + b\): المتوسط والانحراف المعياري
تفاعلي
Transformed Mean \(\mu_Y = a \cdot \mu_X + b\) (الإحصاء والاحتمالات والتوافيق)\(\mu_Y = 2.00\)
Transformed Std Dev \(\sigma_Y = |a| \cdot \sigma_X\) (الإحصاء والاحتمالات والتوافيق)\(\sigma_Y = 2.25\)
Transformed المدىSpan = 6.00

قارن الأصلية بيانات نقاط \(X\) (top row) مع transformed بيانات \(Y\) = aX + \(b\) (bottom row). إزاحة \(by b\) ينقل المتوسط الحسابي \(\mu_Y\) لكن يترك spread \(\sigma_Y\) unchanged; scaling بواسطة multiplies كلا!

Permutations (الإحصاء والاحتمالات والتوافيق)
\( _nP_r=\dfrac{n!}{(n-r)!} \)
Combinations (الإحصاء والاحتمالات والتوافيق)
\( \binom{n}{r}=\dfrac{n!}{r!(n-r)!} \)
Conditional Prob (الإحصاء والاحتمالات والتوافيق)
\( P(A|B)=\dfrac{P(A\cap B)}{P(B)} \)
Data Transformation (الإحصاء والاحتمالات والتوافيق)
\( \sigma_{\text{new}} = |a|\sigma_{\text{old}} \)
Theorem 8.1 — Binomial Distribution, Normal Distribution \(Z\)-Scores, and Empirical Rule
Probability distributions and standardized statistical models:
  • 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]\).
منحنى التوزيع الطبيعي المعياري والمساحة المظللة تحت المنحنى في الإحصاء والاحتمالات والتوافيق. \(\mu = 100\) ، \(\sigma = 15\) ، \([85, 115]\) ، \([70, 130]\) ، \([55, 145]\) (68.2, 95.4, 99.7)
▲ EST II Math Traps & Pitfalls — Statistics, Probability & Counting Methods
  • 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\).
◆ لماذا تعمل هذه الطريقة رياضياً — First-Principles اشتقاق (الإحصاء & الاحتمال)

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)\).

Worked Example 8.A — Combinations with Group Restrictions & Complementary Counting
المسألة. A committee of 4 members is to be selected from a department containing 5 computer science majors and 6 mathematics majors.
(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?
▸ عرض خطوات الحل بالتفصيل

  1. (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 \]
    Total valid committees: \[ N = 150 + 60 + 5 = \mathbf{215\text{ ways}} \]
  2. (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}} \]
Worked Example 8.B — Conditional Probability & Independence Verification
المسألة. A medical clinic tests 200 patients for a respiratory condition. The joint frequency table is given as follows:
Test ResultCondition Present (D)Condition Absent (D')Total
Positive (+)361450
Negative (-)4146150
Total40160200
(a) Find the probability that a randomly chosen patient has the condition given that they tested positive, \(P(D|+)\).
(b) Are the events "Condition Present (D)" and "Tested Positive (+)" statistically independent? Prove your answer.
▸ عرض خطوات الحل بالتفصيل

  1. (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\%)} \]
  2. (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).
Worked Example 8.C — Normal Distribution Empirical Rule & Linear Transformations of Data
المسألة. A standardized math test has scores normally distributed with mean \(\mu = 500\) and standard deviation \(\sigma = 100\).
(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\).
▸ عرض خطوات الحل بالتفصيل

  1. (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\%\).
    Summing these regions:
    \[ P(400 \le X \le 700) = 34.13\% + 34.13\% + 13.59\% = \mathbf{81.85\% \approx 81.9\%} \]
  2. (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} \]
مثال محلول \(D\) — الإحصاء & الاحتمال (Hard Application)
المسألة. The following bar chart shows the number of students who prefer different fruits. What is the total number of students who prefer apples and bananas?
▸ عرض خطوات الحل بالتفصيل

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.

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Statistics & Probability)
الخطأ الشائع لدى الطلابلماذا يفشل رياضياًالطريقة الصحيحة المعتمدة في الاختبار
Using \(P(A \cap B) = 0\) when told \(A\) and \(B\) are independentConfuses 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 tableComputes 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 rolesOvercounts 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.

Events \(A\) and \(B\) satisfy \(P(A)=0.60\), \(P(B)=0.50\), and conditional probability \(P(A|B)=0.40\). Determine \(P(A \cup B)\) and state whether \(A\) and \(B\) are independent.
💡 Hint 1 of 3
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\).
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(P(A \cup B) = P(A) + P(B) - P(A \cap B) = 0.60 + 0.50 - 0.20 = \mathbf{0.90}\) لتبسيط الخطوة.
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \(P(A|B) = 0.40\) ، \(P(A) = 0.60\) ، \(P(A|B) eq P(A)\) ، \(A\) ، \(B\) لتبسيط الخطوة.

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.

A delegation of 5 delegates is chosen from 6 men and 8 women. (a) In how many ways can the delegation be selected if it must contain exactly 3 women? (b) What is the exact probability that the delegation contains at least 4 women?
💡 Hint 1 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}}\).
💡 Hint 2 of 3
(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}\).
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \(P(\ge 4\text{ women}) = \frac{476}{2002} = \mathbf{\frac{34}{143}}\) لتبسيط الخطوة.

(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\%). \]
A dataset of 40 exam scores has mean \(\bar{x} = 72\) and sample standard deviation \(s = 8\). The instructor rescales all scores using \(y_i = 1.25 x_i - 10\). What are the mean and standard deviation of the rescaled scores?
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(y = ax + b\) ، \(\bar{y} = 1.25\bar{x} - 10 = 1.25(72) - 10 = 90 - 10 = \mathbf{80}\) لتبسيط الخطوة.
💡 Hint 2 of 3
Compute transformed standard deviation: The additive constant \(-10\) shifts the entire distribution without changing spread.
💡 Hint 3 of 3
Only the multiplicative factor scales dispersion: \(s_y = |a| \cdot s_x = 1.25 \times 8\).

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}. \]

A quality control inspector tests components that each have an independent 10% defect rate (\(p = 0.10\)). If a random batch of 5 components is tested: (a) Find the probability that exactly 2 components are defective. (b) Find the probability that at least 1 component is defective.
💡 Hint 1 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\%)}\).
💡 Hint 2 of 3
(b) At least 1 defective component: Use complementary probability: \(P(X \ge 1) = 1 - P(X = 0)\). Substitute and simplify: \(P(X \ge 1) = 1 - \binom{5}{0}(0.10)^0(0.90)^5\).
💡 Hint 3 of 3
احسب القيمة النهائية من العبارة: \(1 - 0.59049\).

(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\%)}. \]

The bar chart below shows the number of students who chose different sports as their favorite. What is the total number of students surveyed?
💡 Hint 1 of 3
To find the total number of students surveyed, we need to sum the number of students for each sport.
💡 Hint 2 of 3
From the bar chart: - Soccer: 20 students - Basketball: 15 students - Tennis: 10 students - Swimming: 25 students Total students = 20 + 15 + 10 + 25 = 70.
💡 Hint 3 of 3
Therefore, the total number of students surveyed is 70.
To find the total number of students surveyed, we need to sum the number of students for each sport. From the bar chart: - Soccer: 20 students - Basketball: 15 students - Tennis: 10 students - Swimming: 25 students Total students = 20 + 15 + 10 + 25 = 70 Therefore, the total number of students surveyed is 70.
📝 اختبار الفصل