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

المتغيرات العشوائية المتقطعة والتوقع الرياضي

📌 Discrete Random Variables S1  ·  Probability distribution table  ·  E(X)  ·  Var(X)  ·  Linear transforms \(E(aX+b)\)

Probability Distribution

Table of \(x\) values and corresponding \(P(X=x)\). Must satisfy: \(\sum P(X=x)=1\) and \(P(X=x)\geq0\).

Expectation

\(E(X)=\sum x\cdot P(X=x)=\mu\). Also \(E(aX+b)=aE(X)+b\).

Variance

\(\text{Var}(X)=E(X^2)-[E(X)]^2\) where \(E(X^2)=\sum x^2P(X=x)\). Also \(\text{Var}(aX+b)=a^2\text{Var}(X)\).

Standard Deviation

\(\sigma=\sqrt{\text{Var}(X)}\). Measures spread around the mean.

Uniform Distribution

Each value equally likely. If \(X\) takes values \(1,2,\ldots,n\): \(E(X)=\dfrac{n+1}{2}\), \(\text{Var}(X)=\dfrac{n^2-1}{12}\).

Combined Variables

\(E(X+Y)=E(X)+E(Y)\). If independent: \(\text{Var}(X+Y)=\text{Var}(X)+\text{Var}(Y)\).

▲ Discrete Random Variables — Reference
A discrete random variable \(X\) has a probability distribution with \(\sum P(X=x)=1\). Expectation: \(E(X)=\sum x\,P(X=x)\). Variance: \(\text{Var}(X)=E(X^2)-[E(X)]^2\) where \(E(X^2)=\sum x^2 P(X=x)\). For linear transforms: \(E(aX+b)=aE(X)+b\); \(\text{Var}(aX+b)=a^2\text{Var}(X)\).
● الحدس المفاهيمي العميق — Discrete Random المتغيرات

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

القطع المكافئ \(f(x) = (x - 2)^2 - 3\) برأسه \(V(2, -3)\) وتقاطعه مع المستقيم \(g(x) = x - 1\) في المتغيرات العشوائية المتقطعة والتوقع الرياضي.
⊙ المختبر التفاعلي · جدول التوزيع الاحتمالي للمتغير العشوائي المتقطع، \(E(X)\) والتباين \(\text{Var}(X)\)
تفاعلي
Expectation \(\mu = \Sigma x \cdot P(X=x)\) (المتغيرات العشوائية المتقطعة والتوقع الرياضي)\(E(X) = 3.10\)
Variance \(\sigma^{2} = \Sigma x^{2}\)P \(-\mu^{2}\) (المتغيرات العشوائية المتقطعة والتوقع الرياضي)\(\text{Var}(X) = 1.99\)
Normalization \(\Sigma P(X=x)\) (المتغيرات العشوائية المتقطعة والتوقع الرياضي)\(\Sigma P = 1.000\)

رأسي احتمال spikes عند \(X\) ∈ {1، 2، 3، 4، 5} دائماً مجموع إلى 1.00. كهرماني مثلث درجات المركز-من-mass balance نقطة \(E(X)\).

E(X) (المتغيرات العشوائية المتقطعة والتوقع الرياضي)
\(\sum x\,P(X=x)\)
Var(X) (المتغيرات العشوائية المتقطعة والتوقع الرياضي)
\(E(X^2)-[E(X)]^2\)
E(aX+b) (المتغيرات العشوائية المتقطعة والتوقع الرياضي)
\(aE(X)+b\)
Var(aX+b) (المتغيرات العشوائية المتقطعة والتوقع الرياضي)
\(a^2\text{Var}(X)\)
تمثيل بياني بالأعمدة لمقارنة القيم والتكرارات عبر الفئات في المتغيرات العشوائية المتقطعة والتوقع الرياضي. \(X\) ، \(\{1, 2, 3, 4\}\) ، \(\sum P(X=x) = 1.0\)
⚠ أخطاء شائعة ومصائد الاختبار
Variance formula trap: Remember \(\text{Var}(X) = E(X^2) - [E(X)]^2\). Do not forget to square \(E(X)\), and do not compute \(E(X^2) - E(X)\).

Linear coding of variance: \(\text{Var}(aX + b) = a^2 \text{Var}(X)\). Notice that the constant \(b\) is eliminated completely, and a negative multiplier \(a\) becomes positive due to squaring (e.g. \(\text{Var}(5 - 2X) = (-2)^2 \text{Var}(X) = 4\text{Var}(X)\)).

Sum of probabilities: The total probability MUST sum to 1: \(\sum P(X = x) = 1\). Always verify this condition first when solving for unknown parameters \(p\) or \(k\).
◆ Why It Works — First-Principles Derivation (Discrete Random Variables)

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 — Finding \(E(X)\) and \(\text{Var}(X)\)
المسألة. A biased die shows: \(P(1)=0.1,P(2)=0.2,P(3)=0.3,P(4)=0.3,P(5)=0.1\). Find \(E(X)\) and \(\text{Var}(X)\).
▸ عرض خطوات الحل بالتفصيل
\[E(X)=0.1(1)+0.2(2)+0.3(3)+0.3(4)+0.1(5)=0.1+0.4+0.9+1.2+0.5=3.1.\]\[E(X^2)=0.1(1)+0.2(4)+0.3(9)+0.3(16)+0.1(25)=0.1+0.8+2.7+4.8+2.5=10.9.\]\[\text{Var}(X)=10.9-3.1^2=10.9-9.61=1.29.\]
مثال محلول 2 — Unknown الاحتمال
المسألة. \(X\) takes values 0, 1, 2 with \(P(X=0)=k\), \(P(X=1)=2k\), \(P(X=2)=3k\). Find \(k\) and \(E(X)\).
▸ عرض خطوات الحل بالتفصيل
\[k+2k+3k=1\Rightarrow k=\tfrac{1}{6}.\quad E(X)=0\cdot\tfrac{1}{6}+1\cdot\tfrac{2}{6}+2\cdot\tfrac{3}{6}=\tfrac{8}{6}=\tfrac{4}{3}.\]
Worked Example \(C\) — Discrete Random Variables (Medium Application)
المسألة. A DRV \(X\) has \(P(X=1)=0.3,\;P(X=2)=0.5,\;P(X=3)=0.2\). فإن \(E(X)\) يساوي:
▸ عرض خطوات الحل بالتفصيل

Step-by-Step الحل: \(E(X)=1(0.3)+2(0.5)+3(0.2)=0.3+1+0.6=1.9\)

Worked Example \(D\) — Discrete Random Variables (Hard Application)
المسألة. Solve the inequality \( x^2+6x>0 \).
▸ عرض خطوات الحل بالتفصيل

The quadratic factorises as \( (x+6)x \) with roots \(-6\) and \(0\); since the parabola opens upward, the expression is > 0 outside the roots, giving \( x<-6 \text{ or } x>0 \).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Discrete Random Variables)
الخطأ الشائع لدى الطلابلماذا يفشل رياضياًالطريقة الصحيحة المعتمدة في الاختبار
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\)."
▲ استراتيجية إدارة الوقت والتحقق في الاختبار — Discrete Random المتغيرات

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.

\(E(X)=3\) and \(\text{Var}(X)=2\). أوجد \(E(3X-1)\) and \(\text{Var}(3X-1)\).
💡 Hint 1 of 3
ابدأ بكتابة العلاقة الأساسية: \(E(3X-1) = 3(3)-1\).
💡 Hint 2 of 3
Start with the expression: \(\text{Var}(3X-1)\). Rewrite and substitute: \(\text{Var}(3X-1) = 9\times2\).
💡 Hint 3 of 3
Evaluate \(9\times2\) to obtain the final answer.
خطوات الحل التفصيلية: \(E(3X-1)=3(3)-1=8\). \(\text{Var}(3X-1)=9\times2=18\).
A discrete random variable \(Y\) has \(E(Y) = 5\) and \(\text{Var}(Y) = 4\). Calculate \(E(Y^2)\) and \(\text{Var}(10 - 3Y)\).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(\text{Var}(Y) = E(Y^2) - [E(Y)]^2\) ، \(E(Y^2) = \text{Var}(Y) + [E(Y)]^2 = 4 + 5^2 = 4 + 25\) لتبسيط الخطوة.
💡 Hint 2 of 3
For the linear transformation: \(\text{Var}(10 - 3Y) = (-3)^2 \text{Var}(Y)\). عوّض بالقيم وبسّط العبارة: \(\text{Var}(10 - 3Y) = 9 \times 4\).
💡 Hint 3 of 3
احسب القيمة النهائية من العبارة: \(9 \times 4\).
Using \(\text{Var}(Y) = E(Y^2) - [E(Y)]^2\), we get \(E(Y^2) = \text{Var}(Y) + [E(Y)]^2 = 4 + 5^2 = 4 + 25 = 29\). For the linear transformation: \(\text{Var}(10 - 3Y) = (-3)^2 \text{Var}(Y) = 9 \times 4 = 36\).
[Practice 3 · Easy] A discrete random variable, \(X\), can take the values 1, 2, 3, 4, and 5. The probability distribution of \(X\) is given by \(P(X=x) = kx\) for \(x \in \{1, 2, 3, 4, 5\}\), where \(k\) is a constant. Find the value of \(k\).
💡 Hint 1 of 3
The sum of probabilities for all possible values of a discrete random variable must equal 1. Therefore, \(\sum_{x=1}^5 P(X=x) = 1\).
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(P(X=x) = kx\) ، \(P(X=1) = k(1) = k\) ، \(P(X=2) = k(2) = 2k\) ، \(P(X=3) = k(3) = 3k\) ، \(P(X=4) = k(4) = 4k\) ، \(P(X=5) = k(5) = 5k\) ، \(k + 2k + 3k + 4k + 5k = 1\) ، \(15k = 1\) ، \(k = \frac{1}{15}\) لتبسيط الخطوة.
💡 Hint 3 of 3
وبالتالي، the value of \(k\) is \(\frac{1}{15}\).
The sum of probabilities for all possible values of a discrete random variable must equal 1. Therefore, \(\sum_{x=1}^5 P(X=x) = 1\). Given \(P(X=x) = kx\), we have: \(P(X=1) = k(1) = k\) \(P(X=2) = k(2) = 2k\) \(P(X=3) = k(3) = 3k\) \(P(X=4) = k(4) = 4k\) \(P(X=5) = k(5) = 5k\) Summing these probabilities: \(k + 2k + 3k + 4k + 5k = 1\) \(15k = 1\) \(k = \frac{1}{15}\) Therefore, the value of \(k\) is \(\frac{1}{15}\).
[Practice 4 · Medium] Solve the simultaneous equations \( 4x+4y=16 \) and \( 3x-3y=-36 \).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(4x+4y=16\) لتبسيط الخطوة.
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(x=-4\) ، \(y\) لتبسيط الخطوة.
💡 Hint 3 of 3
Apply this step to \(y\) and simplify to determine the final result.
Solving simultaneously (elimination or substitution) gives \(x=-4\), \(y=8\).

المتغيرات العشوائية المتقطعة والتوقع الرياضي — مسألة مهيكلة من 8 درجات

8 نقاط بدون آلة حاسبة
في موضوع المتغيرات العشوائية المتقطعة والتوقع الرياضي، لتكن الدالة الخطية \(f(x) = 2x + 4\) على \(x \ge 0\) والدالة التربيعية المساعدة \(g(x) = x^2 - 4x + 4\).
  1. (a)2 نقطة
    أوجد القيمة الابتدائية \(f(0)\) والميل \(f'(x)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يحسب f(0) ومعامل الميل (1 نقطة)
    • [A1] يحصل على f(0) = 4 والميل = 2 (1 نقطة)
  2. (b)3 نقطة
    حدّد إحداثيي الرأس \((h, k)\) والقيمة الصغرى للدالة \(g(x)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يجد محور التماثل x = 2 (2 نقطة)
    • [A1] يحسب القيمة الصغرى 0 (1 نقطة)
  3. (c)3 نقطة
    احسب متوسط معدل تغيّر \(g(x)\) على الفترة من \(x = 0\) إلى \(x = 4\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يطبّق قانون متوسط معدل التغيّر (2 نقطة)
    • [A1] يبسّط الناتج إلى 0 (1 نقطة)
الحل الكامل التفصيلي
(أ) \(f(0)=4\) والميل \(2\). (ب) بإكمال المربع ينتج الرأس \((2, 0)\). (ج) متوسط معدل التغيّر يساوي \(0\).
🔗 انظر أيضًا: Binomial Distribution · A2 Continuous RVs
A discrete random variable, \(X\), can take the values 1, 2, 3, 4, and 5. The probability distribution of \(X\) is given by \(P(X=x) = kx\) for \(x \in \{1, 2, 3, 4, 5\}\), where \(k\) is a constant. Find the value of \(k\).
💡 Hint 1 of 3
The sum of probabilities for all possible values of a discrete random variable must equal 1. Therefore, \(\sum_{x=1}^5 P(X=x) = 1\).
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(P(X=x) = kx\) ، \(P(X=1) = k(1) = k\) ، \(P(X=2) = k(2) = 2k\) ، \(P(X=3) = k(3) = 3k\) ، \(P(X=4) = k(4) = 4k\) ، \(P(X=5) = k(5) = 5k\) ، \(k + 2k + 3k + 4k + 5k = 1\) ، \(15k = 1\) ، \(k = \frac{1}{15}\) لتبسيط الخطوة.
💡 Hint 3 of 3
وبالتالي، the value of \(k\) is \(\frac{1}{15}\).
**Mark Scheme (CAIE / Edexcel Grading Steps):** - **Step 1 (Method & Formulation):** Identify the required geometric/algebraic relationship from the diagram and substitute the given values. - **Step 2 (Derivation & Calculation):** The sum of probabilities for all possible values of a discrete random variable must equal 1. Therefore, \(\sum_{x=1}^5 P(X=x) = 1\). Given \(P(X=x) = kx\), we have: \(P(X=1) = k(1) = k\) \(P(X=2) = k(2) = 2k\) \(P(X=3) = k(3) = 3k\) \(P(X=4) = k(4) = 4k\) \(P(X=5) = k(5) = 5k\) Summing these probabilities: \(k + 2k + 3k + 4k + 5k = 1\) \(15k = 1\) \(k = \frac{1}{15}\) Therefore, the value of \(k\) is \(\frac{1}{15}\). - **Step 3 (Final Accuracy):** Verified exact result: \(\frac{1}{15}\).
📝 اختبار الفصل