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

التباديل والتوافيق ومبدأ العد

📌 Permutations & Combinations S1  ·  Factorial  ·  ^nP_r  ·  ^nC_r  ·  Arrangements with identical items or restrictions

Factorial

\(n! = n\times(n-1)\times\cdot s\times2\times1\). Convention: \(0!=1\).

Permutations

Ordered arrangements: \(^nP_r=\dfrac{n!}{(n-r)!}\). Order matters. \(n\) objects in a line: \(n!\) ways.

Combinations

Unordered selections: \(^nC_r=\dbinom{n}{r}=\dfrac{n!}{r!(n-r)!}\). Order does not matter.

Restrictions

Always together: treat as one unit, then \((n-1)!\times r!\). Never together: total − (always together).

Circular Arrangements

\((n-1)!\) ways to arrange \(n\) objects in a circle (one position is fixed).

Identical Objects

Arrangements of \(n\) objects with repeats: \(\dfrac{n!}{a!\,b!\,c!\cdot s}\)

▲ Permutations & Combinations — Reference
Permutation (order matters): \(^nP_r=\dfrac{n!}{(n-r)!}\). Combination (order does not matter): \(^nC_r=\dbinom{n}{r}=\dfrac{n!}{r!\,(n-r)!}\). Arrangements with identical items: divide by the factorial of each repeated item. With restrictions: fix the restricted items first, then arrange the rest.
● الحدس المفاهيمي العميق — Permutations و Combinations

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.

شجرة العد التتابعي لتوضيح التباديل المرتبة \(P(n, r)\) ومبدأ العد الأساسي في التباديل والتوافيق ومبدأ العد.
⊙ المختبر التفاعلي · مختبر التوافيق \(nCr\) والتباديل \(nPr\)
تفاعلي
Unordered Teams nCr (التباديل والتوافيق ومبدأ العد)\({}_{6}C_{3} = 20\)
Ordered Lineups nPr (التباديل والتوافيق ومبدأ العد)\({}_{6}P_{3} = 120\)
Ratio nPr / nCr = \(r!\) (التباديل والتوافيق ومبدأ العد)\({}_{6}C_{3} = 20\)

قارن unordered selections nCr = \(n!\) / (\(r!(n-r)\)!) مقابل ordered التباديل nPr = \(n! / (n-r)\)!.

Permutation (التباديل والتوافيق ومبدأ العد)
\(^nP_r=\dfrac{n!}{(n-r)!}\)
Combination (التباديل والتوافيق ومبدأ العد)
\(^nC_r=\dfrac{n!}{r!(n-r)!}\)
Identical items (التباديل والتوافيق ومبدأ العد)
\(\dfrac{n!}{a!\,b!\cdot s}\)
Fix & arrange (التباديل والتوافيق ومبدأ العد)
Fix restricted → count rest
تمثيل بياني بالأعمدة لمقارنة القيم والتكرارات عبر الفئات في التباديل والتوافيق ومبدأ العد. \(\binom{6}{r}\) ، \(r = 0, 1, \ldots, 6\) ، \(r = 3\)
⚠ أخطاء شائعة ومصائد الاختبار
Permutation vs Combination: If order or role matters (e.g. President and Vice President, line order, distinct positions), use permutations \(^nP_r\). If order does not matter (e.g. selecting a committee of 3 students), use combinations \(^nC_r\).

Identical items vs Distinct slots: Arranging \(n\) objects where some are identical requires dividing by each repeat count: \(\frac{n!}{p!\,q!\cdot s}\).

'Together' vs 'Separated': For items that must stay together, glue them as a single super-element and arrange \((n - k + 1)!\), then multiply by \(k!\) for internal order. For items that must NEVER be adjacent, arrange the unrestricted items first, creating slots \(\underline{\quad}\star\underline{\quad}\star\dots\), and choose slot positions.
◆ Why It Works — First-Principles Derivation (Permutations & Combinations)

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 1 — Combinations with restrictions
المسألة. A committee of 4 is chosen from 5 men and 6 women. Find the number of ways if the committee must contain at least 2 women.
▸ عرض خطوات الحل بالتفصيل

Exactly 2W: \(\binom{6}{2}\binom{5}{2}=15\times10=150\). Exactly 3W: \(\binom{6}{3}\binom{5}{1}=20\times5=100\). Exactly 4W: \(\binom{6}{4}\binom{5}{0}=15\). Total: \(265\).

مثال محلول 2 — Arrangements of letters
المسألة. How many different arrangements are there of the letters of the word BANANA?
▸ عرض خطوات الحل بالتفصيل

6 letters; N appears 2 times, A appears 3 times: \(\dfrac{6!}{3!\,2!}=\dfrac{720}{12}=60\).

Worked Example \(C\) — Permutations & Combinations (Hard Application)
المسألة. An arithmetic sequence has first term \( 6 \) and common difference \( -5 \). Find \( n \) such that \( S_n=-657 \).
▸ عرض خطوات الحل بالتفصيل

Using \( S_n=\tfrac{n}{2}(2a+(n-1)d) \) with \( S_{18}=-657 \), solving gives \( n=18 \).

Worked Example \(D\) — Permutations & Combinations (Easy Application)
المسألة. A committee of 3 people is to be selected from a group of 5 people. The number of ways to form this committee is given by the combination formula \(^nC_r = \frac{n!}{r!(n-r)!}\). How many different committees can be formed?
▸ عرض خطوات الحل بالتفصيل

The problem requires us to find the number of combinations of selecting 3 people from a group of 5. This is a direct application of the combination formula \(^nC_r\), where \(n\) is the total number of items to choose from, and \(r\) is the number of items to choose. In this case, \(n=5\) and \(r=3\). Using the formula: \(^5C_3 = \frac{5!}{3!(5-3)!} = \frac{5!}{3!2!} = \frac{5 \times 4 \times 3!}{3! \times (2 \times 1)} = \frac{5 \times 4}{2} = \frac{20}{2} = 10\). Therefore, there are 10 different committees that can be formed. The calculation \(5 \times 4 \times 3 = 60\) represents the number of permutations (where order matters), not combinations. \(^5C_3\) calculation is correct.

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

Exam Strategy (Cambridge International AS Level (9709 Paper 1 / Paper 4 / Paper 5)): 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.

In how many ways can 5 people be seated in a row if two particular people (A and B) must not sit next to each other?
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(=5!=120\) لتبسيط الخطوة.
💡 Hint 2 of 3
Cases حيث A &.
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \(4!\times2\) لتبسيط الخطوة.
Total \(=5!=120\). Cases where A & B are adjacent: treat AB as a block → \(4!\times2=48\). Answer: \(120-48=72\).
Find the number of ways to arrange the 7 letters in the word SUCCESS.
💡 Hint 1 of 3
The word SUCCESS has 7 letters with 3 S's, 2 C's, 1 U, and 1 E.
💡 Hint 2 of 3
The number of distinct permutations is: \(\frac{7!}{3!\,2!} = \frac{5040}{6 \times 2}\). Substitute and simplify: \(\frac{7!}{3!\,2!} = \frac{5040}{12}\).
💡 Hint 3 of 3
احسب القيمة النهائية من العبارة: \(\frac{5040}{12}\).
The word SUCCESS has 7 letters with 3 S's, 2 C's, 1 U, and 1 E. The number of distinct permutations is \(\frac{7!}{3!\,2!} = \frac{5040}{6 \times 2} = \frac{5040}{12} = 420\).
[Practice 3 · Medium] Functions \(f(x)=2x+3\) and \(g(x)=x^2-1\).
(a) Find \(f^{-1}(x)\).
(b) Find \(gf(x)\).
(c) Solve \(gf(x)=3\).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(f^{-1}(x)=\dfrac{x-3}{2}\) لتبسيط الخطوة.
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(gf(x)=4x^2+12x+8\) لتبسيط الخطوة.
💡 Hint 3 of 3
Substitute the simplified values from the previous step to complete the calculation.
خطوات الحل التفصيلية: (a) \(f^{-1}(x)=\dfrac{x-3}{2}\).
(b) \(gf(x)=4x^2+12x+8\).
(c) \(x=-\tfrac{1}{2}\text{ or }x=-\tfrac{5}{2}\).
[Practice 4 · Hard] احسب قيمة \(\displaystyle\int_{-2}^{4} \left(3x^{2}-3x-1\right)\,dx\).
💡 Hint 1 of 3
ابدأ بكتابة العلاقة الأساسية: \(\displaystyle\int \left(3x^{2}-3x-1\right)dx=x^{3}-3/2x^{2}-x\).
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(-2\) ، \(4\) ، \(\left[x^{3}-3/2x^{2}-x\right]_{-2}^{4}\) لتبسيط الخطوة.
💡 Hint 3 of 3
Evaluate \(\left[x^{3}-3/2x^{2}-x\right]_{-2}^{4}\) step by step to obtain the final answer.
خطوات الحل التفصيلية: \(\displaystyle\int \left(3x^{2}-3x-1\right)dx=x^{3}-3/2x^{2}-x\). Evaluating from \(-2\) to \(4\): \(\left[x^{3}-3/2x^{2}-x\right]_{-2}^{4}=48\)

التباديل والتوافيق ومبدأ العد — مسألة مهيكلة من 8 درجات

8 نقاط الآلة الحاسبة مسموحة
في موضوع التباديل والتوافيق ومبدأ العد، لتكن الدالة الخطية \(f(x) = 5x + 3\) على \(x \ge 0\) والدالة التربيعية المساعدة \(g(x) = x^2 - 10x + 3\).
  1. (a)2 نقطة
    أوجد القيمة الابتدائية \(f(0)\) والميل \(f'(x)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يحسب f(0) ومعامل الميل (1 نقطة)
    • [A1] يحصل على f(0) = 3 والميل = 5 (1 نقطة)
  2. (b)3 نقطة
    حدّد إحداثيي الرأس \((h, k)\) والقيمة الصغرى للدالة \(g(x)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يجد محور التماثل x = 5 (2 نقطة)
    • [A1] يحسب القيمة الصغرى -22 (1 نقطة)
  3. (c)3 نقطة
    احسب متوسط معدل تغيّر \(g(x)\) على الفترة من \(x = 0\) إلى \(x = 7\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يطبّق قانون متوسط معدل التغيّر (2 نقطة)
    • [A1] يبسّط الناتج إلى -3 (1 نقطة)
الحل الكامل التفصيلي
(أ) \(f(0)=3\) والميل \(5\). (ب) بإكمال المربع ينتج الرأس \((5, -22)\). (ج) متوسط معدل التغيّر يساوي \(-3\).
🔗 انظر أيضًا: Binomial Distribution
A committee of 3 people is to be selected from a group of 5 people. The number of ways to form this committee is given by the combination formula \(^nC_r = \frac{n!}{r!(n-r)!}\). How many different committees can be formed?
💡 Hint 1 of 3
The problem requires us to find the number of combinations of selecting 3 people from a group of 5. This is a direct application of the combination formula \(^nC_r\), where \(n\) is the total number of items to choose from, and \(r\) is the number of items to choose. In this case, \(n=5\) and \(r=3\).
💡 Hint 2 of 3
باستخدام formula: \(^5C_3 = \frac{5!}{3!(5-3)!} = \frac{5!}{3!2!} = \frac{5 \times 4 \times 3!}{3! \times (2 \times 1)} = \frac{5 \times 4}{2} = \frac{20}{2}\).
💡 Hint 3 of 3
Therefore, there are 10 different committees that can be formed. The calculation \(5 \times 4 \times 3 = 60\) represents the number of permutations (where order matters), not combinations. \(^5C_3\) calculation is correct.
The problem requires us to find the number of combinations of selecting 3 people from a group of 5. This is a direct application of the combination formula \(^nC_r\), where \(n\) is the total number of items to choose from, and \(r\) is the number of items to choose. In this case, \(n=5\) and \(r=3\). Using the formula: \(^5C_3 = \frac{5!}{3!(5-3)!} = \frac{5!}{3!2!} = \frac{5 \times 4 \times 3!}{3! \times (2 \times 1)} = \frac{5 \times 4}{2} = \frac{20}{2} = 10\). Therefore, there are 10 different committees that can be formed. The calculation \(5 \times 4 \times 3 = 60\) represents the number of permutations (where order matters), not combinations. \(^5C_3\) calculation is correct.
📝 اختبار الفصل