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

توزيع ذات الحدين والتوزيع الهندسي

📌 Binomial Distribution S1  ·  X\sim B(n,p)  ·  P(X=r)=\binom{n}{r}p^r(1-p)^{n-r}  ·  Mean \(np\)  ·  Variance \(np(1-p)\)

Conditions

Fixed number of trials \(n\); each trial has two outcomes (success/failure); constant probability \(p\); trials independent. Then \(X\sim B(n,p)\).

Probability Formula

\(P(X=r)=\dbinom{n}{r}p^r(1-p)^{n-r}\) for \(r=0,1,2,\ldots,n\).

Mean and Variance

\(E(X)=np\), \(\text{Var}(X)=np(1-p)\), \(\sigma=\sqrt{np(1-p)}\).

Cumulative Probabilities

Use tables or calculator: \(P(X\leq r)\). Note: \(P(X\geq r)=1-P(X\leq r-1)\).

Normal Approximation

If \(n\) large and \(p\) close to 0.5: \(X\approx N(np,\,np(1-p))\) with continuity correction.

Finding Unknown n or p

Set up equations using given probabilities and solve. May require trial and error or logarithms for \(n\).

▲ توزيع ذي الحدين — Reference
If \(X\sim B(n,p)\): \(n\) independent trials, each with probability \(p\) of success. \(P(X=r)=\dbinom{n}{r}p^r(1-p)^{n-r}\). Mean: \(E(X)=np\). Variance: \(\text{Var}(X)=np(1-p)\). Use the binomial distribution when: fixed \(n\), trials independent, constant \(p\), only 2 outcomes (success/failure).
● الحدس المفاهيمي العميق — توزيع ذي الحدين

Probabilistic Normalization & Moment Structure: Every probability model is governed by total probability conservation: \(\sum_x P(X=x) = 1\) for discrete random variables and \(\int_{-\infty}^{\infty} f(x)\,dx = 1\) (with \(f(x) \ge 0\)) for continuous density functions. Expected value \(\mathbb{E}[X]\) acts as a linear operator (\(\mathbb{E}[aX + bY] = a\mathbb{E}[X] + b\mathbb{E}[Y]\)), whereas variance scales quadratically and adds for independent variables: \(\operatorname{Var}(aX \pm bY) = a^2\operatorname{Var}(X) + b^2\operatorname{Var}(Y)\).

أعمدة دالة الكتلة الاحتمالية المنفصلة عبر القيم الصحيحة في توزيع ذات الحدين والتوزيع الهندسي. \(P(X = k)\) ، \(100\%\) ، \(k\)
⊙ المختبر التفاعلي · توزيع ذي الحدين \(X \sim B(n, p)\) ودالة الكتلة الاحتمالية
تفاعلي
Modal الاحتمال\({}_{8}C_{3} = 56\)
Expectation \(E(X)\) = np (توزيع ذات الحدين والتوزيع الهندسي)\(\mu = 3.20\)
التباين \(\text{Var}(X) = npq\)\(\sigma = 1.39\)

Inspect discrete احتمال أعمدة \(P(X = r)\) = nCr·\(p^{r} \cdot q^{n-r}\) لـ a Binomial متغير عشوائي \(X\) ~ \(B(n, p)\).

\(P(X=r)\)
\(\binom{n}{r}p^r(1-p)^{n-r}\)
المتوسط الحسابي
\(np\)
التباين
\(np(1-p)\)
Conditions (توزيع ذات الحدين والتوزيع الهندسي)
Fixed \(n\), independent, الثابت \(p\)
تمثيل بياني بالأعمدة لمقارنة القيم والتكرارات عبر الفئات في توزيع ذات الحدين والتوزيع الهندسي. \(X \sim B(5, 0.4)\) ، \(r = 0, 1, 2, 3, 4, 5\)
⚠ أخطاء شائعة ومصائد الاختبار
Inequality bounds for discrete distributions: Unlike continuous variables, strict inequalities make a critical difference:
• \(P(X \ge r) = 1 - P(X \le r - 1)\) (NOT \(1 - P(X \le r)\))
• \(P(X > r) = 1 - P(X \le r)\)
• \(P(X < r) = P(X \le r - 1)\).

'At least one' complement shortcut: \(P(X \ge 1) = 1 - P(X = 0) = 1 - (1-p)^n\). Always look for this time-saving identity in exam questions.

Four binomial conditions: Cambridge exam questions frequently ask you to state assumptions justifying the binomial model: (1) Fixed number of trials \(n\), (2) Constant probability of success \(p\), (3) Independent trials, (4) Exactly two mutually exclusive outcomes (success/failure).
◆ لماذا تعمل هذه الطريقة رياضياً — First-Principles اشتقاق (توزيع ذي الحدين)

Why Variance Scales as \(a^2\) and Independent Variances Always Add: By definition, \(\operatorname{Var}(Y) = \mathbb{E}[(Y - \mu_Y)^2]\). For \(Y = aX - bW\) with independent \(X, W\), subtracting its mean \(\mu_Y = a\mu_X - b\mu_W\) gives:

\[ \operatorname{Var}(aX - bW) = \mathbb{E}\!\left[(a(X - \mu_X) - b(W - \mu_W))^2\right] = a^2\mathbb{E}[(X-\mu_X)^2] - 2ab\,\operatorname{Cov}(X,W) + b^2\mathbb{E}[(W-\mu_W)^2] \]

Because independence implies \(\operatorname{Cov}(X, W) = 0\), the cross term vanishes and \((-b)^2 = +b^2\), proving \(\operatorname{Var}(aX - bW) = a^2\operatorname{Var}(X) + b^2\operatorname{Var}(W)\). Uncertainty compounds whether random variables are added or subtracted.

مثال محلول 1 — Exact الاحتمال
المسألة. \(X\sim B(8,0.3)\). أوجد (a) \(P(X=3)\), (b) \(P(X\leq1)\).
▸ عرض خطوات الحل بالتفصيل

(a) \(P(X=3)=\binom{8}{3}(0.3)^3(0.7)^5=56\times0.027\times0.16807\approx0.2541\).

(b) \(P(X=0)=(0.7)^8\approx0.0576\); \(P(X=1)=8(0.3)(0.7)^7\approx0.1977\). \(P(X\leq1)\approx0.2553\).

Worked example 2 — Finding \(n\) from mean
المسألة. The mean of \(X\sim B(n,0.4)\) is 6. Find \(n\) and the الانحراف المعياري.
▸ عرض خطوات الحل بالتفصيل
\[np=6\Rightarrow n=15.\quad\sigma=\sqrt{15\times0.4\times0.6}=\sqrt{3.6}\approx1.90.\]
مثال محلول \(C\) — توزيع ذي الحدين (Medium Application)
المسألة. A factory produces light bulbs. The probability that a randomly selected light bulb is defective is \(p\). The number of defective light bulbs in a random sample of \(n\) bulbs follows a binomial distribution \(X \sim B(n, p)\). It is known that the mean number of defective bulbs in a sample of \(n=25\) is \(2\). \\ (i) Calculate the value of \(p\). \\ (ii) For a sample of \(n=50\) bulbs, calculate the probability of finding exactly \(k\) defective bulbs, where \(k\) is the smallest integer such that \(P(X \le k) > 0.9\). \\ (iii) If a sample of \(n=50\) bulbs is taken, find the smallest value of \(n'\) such that the probability of observing at least one defective bulb is greater than \(0.999\).
▸ عرض خطوات الحل بالتفصيل

Part (i): For a binomial distribution \(X \sim B(n, p)\), the mean is given by \(E(X) = np\). \\ We are given \(n=25\) and \(E(X)=2\). \\ So, \(25p = 2\), which gives \(p = \frac{2}{25} = 0.08\). \\ Part (ii): Now, \(n=50\) and \(p=0.08\). The number of defective bulbs follows \(X \sim B(50, 0.08)\). \\ We need to find the smallest integer \(k\) such that \(P(X \le k) > 0.9\). \\ We can use a binomial cumulative distribution table or a calculator. \\ Let's calculate a few values: \(P(X \le 3) = P(X=0) + P(X=1) + P(X=2) + P(X=3)\) Using a binomial CDF calculator or table for \(B(50, 0.08)\): \\ \(P(X \le 3) \approx 0.4503 \) \(P(X \le 4) \approx 0.6333 \) \(P(X \le 5) \approx 0.7918 \) \(P(X \le 6) \approx 0.8941 \) \(P(X \le 7) \approx 0.9575 \) The smallest integer \(k\) for which \(P(X \le k) > 0.9\) is \(k=7\). \\ Part (iii): We have \(n=50\) and \(p=0.08\). We want to find the smallest value of \(n'\) such that the probability of observing at least one defective bulb is greater than \(0.999\). \\ The probability of observing at least one defective bulb is \(P(X \ge 1) = 1 - P(X=0)\). \\ For a binomial distribution, \(P(X=0) = \binom{n'}{0} p^0 (1-p)^{n'} = (1-p)^{n'}\). \\ So we need \(1 - (1-p)^{n'} > 0.999\). \\ Substituting \(p=0.08\), we get \(1 - (0.92)^{n'} > 0.999\). \\ This means \((0.92)^{n'} < 1 - 0.999 = 0.001\). \\ Taking the natural logarithm of both sides: \(n' \ln(0.92) < \ln(0.001)\). \\ Since \(\ln(0.92)\) is negative, we must reverse the inequality sign when dividing: \(n' > \frac{\ln(0.001)}{\ln(0.92)}\). \\ \(n' > \frac{-6.907755...}{-0.083381...}\) \(n' > 82.847...\) The smallest integer value of \(n'\) is \(83\). \\ The question asks for the smallest value of \(n'\) for a sample of size \(n=50\). This part of the question seems to imply a re-sampling or a different scenario for \(n'\). Assuming \(n'\) refers to the sample size for a new calculation of the probability of at least one defective bulb.

مثال محلول \(D\) — توزيع ذي الحدين (Hard Application)
المسألة. A fair coin is tossed 3 times. Let X be the number of heads obtained. What is the probability that X = 2?
▸ عرض خطوات الحل بالتفصيل

This is a binomial distribution scenario. The number of trials is \(n=3\) (the number of coin tosses). The probability of success (getting a head) in a single trial is \(p = \frac{1}{2}\), and the probability of failure (getting a tail) is \(q = 1-p = \frac{1}{2}\). We want to find the probability of getting exactly \(k=2\) heads. The binomial probability formula is \(P(X=k) = \binom{n}{k} p^k q^{n-k}\). Substituting the values: \(P(X=2) = \binom{3}{2} (\frac{1}{2})^2 (\frac{1}{2})^{3-2}\) \(P(X=2) = \binom{3}{2} (\frac{1}{2})^2 (\frac{1}{2})^1\) First, calculate the binomial coefficient \(\binom{3}{2}\). This represents the number of ways to choose 2 heads from 3 tosses: \(\binom{3}{2} = \frac{3!}{2!(3-2)!} = \frac{3!}{2!1!} = \frac{3 \times 2 \times 1}{(2 \times 1) \times 1} = 3\). Now, substitute this back into the probability formula: \(P(X=2) = 3 \times (\frac{1}{4}) \times (\frac{1}{2})\) \(P(X=2) = 3 \times \frac{1}{8}\) \(P(X=2) = \frac{3}{8}\). Alternatively, we can list all possible outcomes for 3 coin tosses (H for heads, T for tails): HHH, HHT, HTH, THH, HTT, THT, TTH, TTT. There are \(2^3 = 8\) total possible outcomes. The outcomes with exactly 2 heads are: HHT, HTH, THH. There are 3 such outcomes. Therefore, the probability of getting exactly 2 heads is \(\frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}} = \frac{3}{8}\).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Binomial Distribution)
الخطأ الشائع لدى الطلابلماذا يفشل رياضياًالطريقة الصحيحة المعتمدة في الاختبار
Writing \(\operatorname{Var}(X - Y) = \sigma_X^2 - \sigma_Y^2\) (توزيع ذات الحدين والتوزيع الهندسي)Produces smaller or even negative variance for the difference of independent variables.Always add variances of independent variables: \(\sigma_{X-Y}^2 = \sigma_X^2 + \sigma_Y^2\).
Using \(\sigma / n\) instead of \(\sigma / \sqrt{n}\) for \(\bar{X}\) (توزيع ذات الحدين والتوزيع الهندسي)Confuses the variance of the sample mean \(\sigma^2/n\) with its standard error.Take the square root: \(\text{SE}(\bar{X}) = \sigma / \sqrt{n}\).
Accepting \(H_0\) with certainty when \(p > \alpha\)Absence of sufficient evidence against \(H_0\) does not prove \(H_0\) is true.Write in context: "There is insufficient evidence at the \(\alpha\) level to reject \(H_0\)."
▲ استراتيجية إدارة الوقت والتحقق في الاختبار — توزيع ذي الحدين

Exam Marking Tip (Cambridge International AS Level (9709 Paper 1 / Paper 4 / Paper 5)): Always state the distribution parameters explicitly (e.g., \(X \sim \operatorname{N}(\mu, \sigma^2)\) or \(\bar{X} \sim \operatorname{N}(\mu, \sigma^2/n)\)) and sketch a quick shaded bell curve before standardizing to \(z = \dfrac{x - \mu}{\sigma}\). This secures the method mark even if a rounding slip occurs later.

A fair coin is tossed 10 times. Find the probability of getting (a) exactly 6 heads, (b) fewer than 3 heads.
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(\binom{10}{6}(0.5)^{10} = 210\times\tfrac{1}{1024}\) لتبسيط الخطوة.
💡 Hint 2 of 3
(b): \(P(X\leq2) = P(0)+P(1)+P(2)\). عوّض بالقيم وبسّط العبارة: \(P(X\leq2) = \tfrac{1+10+45}{1024}\).
💡 Hint 3 of 3
احسب القيمة النهائية من العبارة: \(\tfrac{1+10+45}{1024}\).
خطوات الحل التفصيلية: (a) \(\binom{10}{6}(0.5)^{10}=210\times\tfrac{1}{1024}\approx0.2051\). (b) \(P(X\leq2)=P(0)+P(1)+P(2)=\tfrac{1+10+45}{1024}=\tfrac{56}{1024}\approx0.0547\).
In a manufacturing batch, 5% of components are defective. A sample of 12 components is inspected. Find the probability that at least 2 components are defective.
💡 Hint 1 of 3
ليكن \(X \sim B(12, 0.05)\).
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(P(X \ge 2) = 1 - [P(X = 0) + P(X = 1)]\) ، \(P(X = 0) = (0.95)^{12} \approx 0.5404\) ، \(P(X = 1) = 12(0.05)(0.95)^{11}\) لتبسيط الخطوة.
💡 Hint 3 of 3
وعليه، \(P(X \ge 2) = 1 - (0.5404 + 0.3413) = 1 - 0.8817\) (3 s.f.).
ليكن \(X \sim B(12, 0.05)\). We need \(P(X \ge 2) = 1 - [P(X = 0) + P(X = 1)]\). \(P(X = 0) = (0.95)^{12} \approx 0.5404\). \(P(X = 1) = 12(0.05)(0.95)^{11} \approx 0.3413\). وعليه، \(P(X \ge 2) = 1 - (0.5404 + 0.3413) = 1 - 0.8817 = 0.118\) (3 s.f.).
[Practice 3 · Easy] Simplify \( \sqrt{99} \), giving your answer in the form \( a\sqrt{b} \) with \(b\) as small as possible.
💡 Hint 1 of 3
Solve \(\sqrt{99}\) over the specified interval using reference angles and quadrant symmetry.
💡 Hint 2 of 3
أعد كتابة العلاقة وبسّطها للحصول على: \(99=3^2\times 11\).
💡 Hint 3 of 3
Count the total number of distinct solutions that lie within the given domain.
خطوات الحل التفصيلية: \(99=3^2\times 11\), so \(\sqrt{99}=\sqrt{3^2\times11}=3\sqrt{11}\).
[Practice 4 · Medium] Express \( x^2+10x-8 \) in the form \( (x+p)^2+q \).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(10\) ، \(5\) لتبسيط الخطوة.
💡 Hint 2 of 3
So: \(x^2+10x-8\). Rewrite and عوّض: \(x^2+10x-8 = (x+5)^2-25-8\).
💡 Hint 3 of 3
Evaluate \((x+5)^2-25-8\) to obtain the final answer.
خطوات الحل التفصيلية: Half of \(10\) is \(5\), so \(x^2+10x-8=(x+5)^2-25-8=(x+5)^2-33\).

توزيع ذات الحدين والتوزيع الهندسي — مسألة مهيكلة من 8 درجات

8 نقاط الآلة الحاسبة مسموحة
في موضوع توزيع ذات الحدين والتوزيع الهندسي، لتكن الدالة الخطية \(f(x) = 3x + 5\) على \(x \ge 0\) والدالة التربيعية المساعدة \(g(x) = x^2 - 6x + 5\).
  1. (a)2 نقطة
    أوجد القيمة الابتدائية \(f(0)\) والميل \(f'(x)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يحسب f(0) ومعامل الميل (1 نقطة)
    • [A1] يحصل على f(0) = 5 والميل = 3 (1 نقطة)
  2. (b)3 نقطة
    حدّد إحداثيي الرأس \((h, k)\) والقيمة الصغرى للدالة \(g(x)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يجد محور التماثل x = 3 (2 نقطة)
    • [A1] يحسب القيمة الصغرى -4 (1 نقطة)
  3. (c)3 نقطة
    احسب متوسط معدل تغيّر \(g(x)\) على الفترة من \(x = 0\) إلى \(x = 5\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يطبّق قانون متوسط معدل التغيّر (2 نقطة)
    • [A1] يبسّط الناتج إلى -1 (1 نقطة)
الحل الكامل التفصيلي
(أ) \(f(0)=5\) والميل \(3\). (ب) بإكمال المربع ينتج الرأس \((3, -4)\). (ج) متوسط معدل التغيّر يساوي \(-1\).
A factory produces light bulbs. The probability that a randomly selected light bulb is defective is \(p\). The number of defective light bulbs in a random sample of \(n\) bulbs follows a binomial distribution \(X \sim B(n, p)\). It is known that the mean number of defective bulbs in a sample of \(n=25\) is \(2\). \\ (i) Calculate the value of \(p\). \\ (ii) For a sample of \(n=50\) bulbs, calculate the probability of finding exactly \(k\) defective bulbs, where \(k\) is the smallest integer such that \(P(X \le k) > 0.9\). \\ (iii) If a sample of \(n=50\) bulbs is taken, find the smallest value of \(n'\) such that the probability of observing at least one defective bulb is greater than \(0.999\).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(X \sim B(n, p)\) ، \(E(X) = np\) لتبسيط الخطوة.
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(n=25\) ، \(E(X)=2\) ، \(25p = 2\) ، \(p = \frac{2}{25}\) لتبسيط الخطوة.
💡 Hint 3 of 3
The question asks for the smallest value of \(n'\) for a sample of size \(n=50\). This part of the question seems to imply a re-sampling or a different scenario for \(n'\). Assuming \(n'\) refers to the sample size for a new calculation of the probability of at least one defective bulb.
Part (i): For a binomial distribution \(X \sim B(n, p)\), the mean is given by \(E(X) = np\). \\ We are given \(n=25\) and \(E(X)=2\). \\ So, \(25p = 2\), which gives \(p = \frac{2}{25} = 0.08\). \\ Part (ii): Now, \(n=50\) and \(p=0.08\). The number of defective bulbs follows \(X \sim B(50, 0.08)\). \\ We need to find the smallest integer \(k\) such that \(P(X \le k) > 0.9\). \\ We can use a binomial cumulative distribution table or a calculator. \\ Let's calculate a few values: \(P(X \le 3) = P(X=0) + P(X=1) + P(X=2) + P(X=3)\) Using a binomial CDF calculator or table for \(B(50, 0.08)\): \\ \(P(X \le 3) \approx 0.4503 \) \(P(X \le 4) \approx 0.6333 \) \(P(X \le 5) \approx 0.7918 \) \(P(X \le 6) \approx 0.8941 \) \(P(X \le 7) \approx 0.9575 \) The smallest integer \(k\) for which \(P(X \le k) > 0.9\) is \(k=7\). \\ Part (iii): We have \(n=50\) and \(p=0.08\). We want to find the smallest value of \(n'\) such that the probability of observing at least one defective bulb is greater than \(0.999\). \\ The probability of observing at least one defective bulb is \(P(X \ge 1) = 1 - P(X=0)\). \\ For a binomial distribution, \(P(X=0) = \binom{n'}{0} p^0 (1-p)^{n'} = (1-p)^{n'}\). \\ So we need \(1 - (1-p)^{n'} > 0.999\). \\ Substituting \(p=0.08\), we get \(1 - (0.92)^{n'} > 0.999\). \\ This means \((0.92)^{n'} < 1 - 0.999 = 0.001\). \\ Taking the natural logarithm of both sides: \(n' \ln(0.92) < \ln(0.001)\). \\ Since \(\ln(0.92)\) is negative, we must reverse the inequality sign when dividing: \(n' > \frac{\ln(0.001)}{\ln(0.92)}\). \\ \(n' > \frac{-6.907755...}{-0.083381...}\) \(n' > 82.847...\) The smallest integer value of \(n'\) is \(83\). \\ The question asks for the smallest value of \(n'\) for a sample of size \(n=50\). This part of the question seems to imply a re-sampling or a different scenario for \(n'\). Assuming \(n'\) refers to the sample size for a new calculation of the probability of at least one defective bulb.
📝 اختبار الفصل