⚡ 0606 Topic 5 — Permutations & CombinationsCore STEM · Factorial algebra n! · Permutations ⁿPᵣ (arrangements where order matters) · Combinations ⁿCᵣ (selections where order does not matter) · Restrictions: items grouped together or separated · Team and committee selection problems
Combinatorial principles governing selections, orderings, and arrangements with constraints. A crucial foundation for probability, discrete mathematics, and advanced statistics.
Permutation الصيغة
{}^nP_r = fraction n! over (n-r)!nPr=(n−r)!n! (order matters) (التباديل والتوافيق)
Combination الصيغة
{}^nC_r = fraction n! over r!(n-r)!nCr=r!(n−r)!n! (order does not matter)
Together Rule (التباديل والتوافيق)
Treat grouped items as 1 single block, then multiply by internal block arrangements.
Apart Rule (التباديل والتوافيق)
Place unrestricted items first, then insert restricted items into spaces (gaps).
● الفهم المفاهيمي العميق — التباديل والتوافيق
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)\) ومبدأ العد الأساسي في التباديل والتوافيق.
لاحظ Pascal التماثل nCr = nC\((n-r)\) عبر \(r = 0\)..n و see كيف ترتيب multiplies التوافيق \(by r!\) إلى produce nPr.
تماثل معاملات التوافيق ذات الحدين \(\binom{5}{k} = \binom{5}{5-k}\) في مثلث باسكال ضمن التباديل والتوافيق. (5)
◆ لماذا تعمل هذه القاعدة — الاشتقاق الرياضي (التباديل والتوافيق)
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)\):
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 5.A — Arrangements with Constraints
المسألة. A group of 4 boys and 3 girls are to sit in a row of 7 chairs. Find the number of possible arrangements if: (a) All 3 girls must sit together. (b) No two girls may sit next to each other.
▸ عرض خطوات الحل بالتفصيل
(a) Girls together: Treat the 3 girls as 1 composite block \( G \). We now have 4 boys + 1 block = 5 entities to arrange: \( 5! = 120 \). Within the block, the 3 girls can be arranged in \( 3! = 6 \) ways. Total arrangements = \( 5! \times 3! = 120 \times 6 = 720 \).
(b) No two girls adjacent: First arrange the 4 boys in a row: \( 4! = 24 \) ways. This creates 5 available gaps (including ends): \( \_ \; B \; \_ \; B \; \_ \; B \; \_ \; B \; \_ \). We must choose 3 of these 5 gaps for the 3 girls and arrange them: \( {}^5P_3 = 5 \times 4 \times 3 = 60 \). Total arrangements = \( 4! \times {}^5P_3 = 24 \times 60 = 1,440 \). Answer: (a) 720, (b) 1,440.
Worked Example \(B\) — Permutations & Combinations (Medium Application)
المسألة. A committee of 5 members is to be selected from a group consisting of \( n \) men and 6 women, where \( n \ge 4 \).
Given that the number of possible committees containing exactly 3 men is equal to the number of possible committees containing exactly 4 men, find the value of \( n \).
▸ عرض خطوات الحل بالتفصيل
To form a committee of 5 members:
1. **Committees with exactly 3 men:**
Since there are 5 members in total, the committee must contain 3 men and \( 5 - 3 = 2 \) women.
\[
\text{Number of ways} = \binom{n}{3} \times \binom{6}{2} = \binom{n}{3} \times \frac{6 \times 5}{2} = 15\binom{n}{3}
\]
2. **Committees with exactly 4 men:**
The committee must contain 4 men and \( 5 - 4 = 1 \) woman.
\[
\text{Number of ways} = \binom{n}{4} \times \binom{6}{1} = 6\binom{n}{4}
\]
3. **Equating the two expressions:**
\[
15\binom{n}{3} = 6\binom{n}{4}
\]
Divide both sides by 3:
\[
5\binom{n}{3} = 2\binom{n}{4}
\]
Using the relation \( \binom{n}{4} = \frac{n - 3}{4}\binom{n}{3} \):
\[
5\binom{n}{3} = 2 \times \frac{n - 3}{4}\binom{n}{3} = \frac{n - 3}{2}\binom{n}{3}
\]
Since \( n \ge 4 \), \( \binom{n}{3} \neq 0 \), so we can divide both sides by \( \binom{n}{3} \):
\[
5 = \frac{n - 3}{2} \implies 10 = n - 3 \implies n = 13
\]
Worked Example \(C\) — Permutations & Combinations (Hard Application)
المسألة. Six-digit numbers are formed using digits chosen from the set \(\{1, 2, 3, 4, 5, 6, 7, 8\}\), with no digit repeated in any number.
Find the number of different six-digit odd numbers that can be formed such that the digits \(2\) and \(4\) are not adjacent.
▸ عرض خطوات الحل بالتفصيل
We use complementary counting: \(\text{Number of valid arrangements} = \text{Total odd 6-digit numbers} - \text{Odd 6-digit numbers where } 2 \text{ and } 4 \text{ are adjacent}\).
**Step 1: Total number of 6-digit odd numbers**
- For the number to be odd, the last digit (units place) must be chosen from the odd digits \(\{1, 3, 5, 7\}\), giving \(4\) choices.
- The remaining \(5\) positions are filled by selecting and arranging \(5\) digits from the remaining \(7\) digits in the set:
\[
P(7, 5) = 7 \times 6 \times 5 \times 4 \times 3 = 2520
\]
- Total odd 6-digit numbers \(= 4 \times 2520 = 10080\).
**Step 2: Number of 6-digit odd numbers where \(2\) and \(4\) are adjacent**
- Treat the pair of digits \(2\) and \(4\) as a single block \(B\), which can be ordered as \((2, 4)\) or \((4, 2)\) (\(2\) internal arrangements).
- Since the number must be odd, the units digit must be odd (\(4\) choices from \(\{1, 3, 5, 7\}\)). Because both \(2\) and \(4\) are even, the block \(B\) cannot occupy the final position.
- Thus, the block \(B\) must occupy two adjacent positions entirely within the first \(5\) digits. The possible adjacent pairs for \(B\) are positions \((1, 2)\), \((2, 3)\), \((3, 4)\), and \((4, 5)\), giving \(4\) possible positions.
- The remaining \(3\) unfilled positions among the first \(5\) places are filled from the remaining \(8 - 1 - 2 = 5\) available digits:
\[
P(5, 3) = 5 \times 4 \times 3 = 60
\]
- Number of odd numbers with \(2\) and \(4\) adjacent:
\[
4 \text{ (choices for units digit)} \times 4 \text{ (positions for block } B) \times 2 \text{ (internal orders of } B) \times 60 = 1920
\]
**Step 3: Subtract adjacent cases from the total**
\[
10080 - 1920 = 8160
\]
Worked Example \(D\) — Permutations & Combinations (Easy Application)
المسألة. Given that
\[
{}^{n}\mathrm{P}_{3} = 8\,{}^{n}\mathrm{C}_{2},
\]
find the value of the integer \( n \), where \( n \ge 3 \).
▸ عرض خطوات الحل بالتفصيل
By definition of permutations and combinations:
\[
{}^{n}\mathrm{P}_{3} = \frac{n!}{(n-3)!} = n(n-1)(n-2)
\]
and
\[
{}^{n}\mathrm{C}_{2} = \frac{n!}{2!(n-2)!} = \frac{n(n-1)}{2}.
\]
Substitute these expressions into the given equation:
\[
n(n-1)(n-2) = 8 \left(\frac{n(n-1)}{2}\right) = 4n(n-1).
\]
Since \( n \ge 3 \), \( n(n-1) \neq 0 \). Dividing both sides by \( n(n-1) \) gives:
\[
n - 2 = 4 \implies n = 6.
\]
Common error:
Omitting the factor of \( 2! \) in the denominator of \( {}^{n}\mathrm{C}_{2} \) leads to \( n - 2 = 8 \implies n = 10 \).
⚠️ أخطاء شائعة في الاختبار — التباديل والتوافيق
1. Confusing Mutually Exclusive with Independent Events: On Cambridge IGCSE Additional Mathematics (0606), if \(A\) and \(B\) have positive probabilities and are mutually exclusive (\(P(A \cap B) = 0\)), they can never be independent (where \(P(A \cap B) = P(A)P(B) > 0\)).
2. Wrong Denominator in Two-Way Table Conditional Probability: In "find the probability that a student who passed is a junior," the denominator is the total number of students who passed, not the grand total.
تشخيص الأخطاء — مقارنة الخطأ الشائع بالطريقة الصحيحة (التباديل والتوافيق)
الخطأ الشائع للطالب
السبب الرياضي للخطأ
الطريقة الصحيحة المعتمدة
Using \(P(A \cap B) = 0\) when told \(A\) and \(B\) are independent
يؤدي إلى فقدان جذور صحيحة أو إدخال جذور دخيلة لا تحقق المعادلة الأصلية.
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.
اقسم بواسطة \(r!\) إلى استخدم التوافيق: \(\binom{n}{r} = \frac{n!}{r!(n-r)!}\).
▲ استراتيجية الحل السريع والتحقق — التباديل والتوافيق
Exam Strategy (Cambridge IGCSE Additional Mathematics (0606)): 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.
Worked Example \(E\) — Permutations & Combinations (Hard Application)
المسألة. Two parallel lines, \( L_1 \) and \( L_2 \), have \( n \) and \( n + 2 \) distinct points marked on them respectively, where \( n \) is an integer with \( n \ge 2 \).
Triangles are formed by choosing 3 of these points as vertices such that they are not collinear. Quadrilaterals are formed by choosing 4 of these points as vertices such that no three are collinear.
Given that the ratio of the number of quadrilaterals to the number of triangles that can be formed is \( 6 : 5 \), find the total number of triangles that can be formed.
▸ عرض خطوات الحل بالتفصيل
1. **Determine the number of triangles, \( T \):**
Three points form a triangle if and only if they are not all on the same straight line.
- Case 1: 1 point from \( L_1 \) and 2 points from \( L_2 \):
\[
\binom{n}{1} \binom{n+2}{2} = n \cdot \frac{(n+2)(n+1)}{2}
\]
- Case 2: 2 points from \( L_1 \) and 1 point from \( L_2 \):
\[
\binom{n}{2} \binom{n+2}{1} = \frac{n(n-1)}{2} \cdot (n+2)
\]
Summing both cases:
\[
T = \frac{n(n+2)}{2} \left[ (n+1) + (n-1) \right] = \frac{n(n+2)}{2} (2n) = n^2(n+2)
\]
2. **Determine the number of quadrilaterals, \( Q \):**
To ensure no three vertices are collinear, exactly 2 points must be chosen from \( L_1 \) and 2 points from \( L_2 \):
\[
Q = \binom{n}{2} \binom{n+2}{2} = \frac{n(n-1)}{2} \cdot \frac{(n+2)(n+1)}{2} = \frac{n(n-1)(n+1)(n+2)}{4}
\]
3. **Use the given ratio to find \( n \):**
\[
\frac{Q}{T} = \frac{\frac{n(n-1)(n+1)(n+2)}{4}}{n^2(n+2)} = \frac{(n-1)(n+1)}{4n} = \frac{n^2 - 1}{4n}
\]
Setting this equal to \( \frac{6}{5} \):
\[
\frac{n^2 - 1}{4n} = \frac{6}{5} \implies 5(n^2 - 1) = 24n \implies 5n^2 - 24n - 5 = 0
\]
Factoring the quadratic:
\[
(5n + 1)(n - 5) = 0
\]
Since \( n \) must be a positive integer, \( n = 5 \).
4. **Calculate the total number of triangles:**
\[
T = 5^2(5 + 2) = 25 \times 7 = 175
\]
[Practice 1 · Medium] A group of \( n \) students, which includes Ali and Priya, are to be arranged in a straight line for a photograph. The number of different arrangements in which Ali and Priya are not standing next to each other is \( 3600 \). Find the value of the integer \( n \).
💡 Hint 1 of 3
We can find the number of arrangements where Ali and Priya do not stand next to each other using the complementary method or the insertion (gap) method.
💡 Hint 2 of 3
Method 1: Complementary Counting The total number of unrestricted arrangements of the \( n \) students in a straight line is \( n! \).
We can find the number of arrangements where Ali and Priya do not stand next to each other using the complementary method or the gap method.
Method 1: Complementary Counting 1. Total unrestricted arrangements of \(n\) students: \(n!\). 2. Arrangements with Ali and Priya together: treat them as a single block, giving \((n - 1)!\) arrangements of blocks and \(2! = 2\) internal orders, so \(2(n - 1)!\). 3. Separating them leaves: \[n! - 2(n - 1)! = n(n - 1)! - 2(n - 1)! = (n - 2)(n - 1)!\]
Method 2: Gap Method Arrange the other \(n - 2\) students in \((n - 2)!\) ways, creating \(n - 1\) gaps. Choosing 2 ordered gaps gives \({}^{n-1}\mathrm{P}_2 = (n - 1)(n - 2)\) ways, so total \(= (n - 2)(n - 1)!\).
Common Trap: Forgetting that Ali and Priya can swap places inside their block gives \((n - 1)(n - 1)!\), which has no integer solution equal to \(3600\).
[Practice 2 · Hard] In the expansion of \( \left(1 + \frac{x}{3}\right)^n \), the coefficient of \( x^2 \) is twice the coefficient of \( x \). Given \( n > 0 \), what is the value of \( n \)?
💡 Hint 1 of 3
Coeff of \( x \) is \( \frac{n}{3} \).
💡 Hint 2 of 3
Coeff of \( x^2 \) is \( \frac{n(n-1)}{2(9)} \).
💡 Hint 3 of 3
Given \(\frac{n(n-1)}{2\cdot 9} = 2\left(\frac{n}{3}\right) \implies \frac{n-1}{2\cdot 3} = 2 \implies n - 1 = 4(3) = 12\).
Coeff of \( x \) is \( \frac{n}{3} \). Coeff of \( x^2 \) is \( \frac{n(n-1)}{2(9)} \). Given \( \frac{n(n-1)}{2\cdot 9} = 2\left(\frac{n}{3}\right) \implies \frac{n-1}{2\cdot 3} = 2 \implies n - 1 = 4(3) = 12 \implies n = 13 \).
[Practice 3 · Easy] Given that \({}^n\text{P}_2 = \dbinom{n}{3}\), where \(n\) is an integer such that \(n \ge 3\), find the value of \(n\).
💡 Hint 1 of 3
Using the algebraic definitions of permutations and combinations: \({}^n\text{P}_2 = \frac{n!}{(n-2)!} = n(n-1)\).
💡 Hint 2 of 3
And \(\binom{n}{3} = \frac{n!}{3!(n-3)!} = \frac{n(n-1)(n-2)}{3!} = \frac{n(n-1)(n-2)}{6}\) Setting them equal gives: \(n(n-1) = \frac{n(n-1)(n-2)}{6}\) Since \(n \ge 3\), \(n(n-1) e 0\). Dividing both sides by \(n(n-1)\): \(1 = \frac{n-2}{6}\).
💡 Hint 3 of 3
Multiplying by \(6\): \(6 = n - 2\).
Using the algebraic definitions of permutations and combinations:
\[
{}^n\text{P}_2 = \frac{n!}{(n-2)!} = n(n-1)
\]
and
\[
\binom{n}{3} = \frac{n!}{3!(n-3)!} = \frac{n(n-1)(n-2)}{3!} = \frac{n(n-1)(n-2)}{6}
\]
Setting them equal gives:
\[
n(n-1) = \frac{n(n-1)(n-2)}{6}
\]
Since \(n \ge 3\), \(n(n-1)
e 0\). Dividing both sides by \(n(n-1)\):
\[
1 = \frac{n-2}{6}
\]
Multiplying by \(6\):
\[
6 = n - 2 \implies n = 8
\]
[Practice 4 · Medium] Solve the exponential equation \( 2^{x+6} = 5^x \), giving \( x \) in terms of common logarithms.
💡 Hint 1 of 3
Take natural logs of both sides: \((x + 6)\ln 2 = x\ln 5\).
💡 Hint 2 of 3
Apply the next algebraic step: \(x\ln 2 + 6\ln 2 = x\ln 5\).
💡 Hint 3 of 3
Use the simplified form: \(x = \frac{6\ln 2}{\ln 5 - \ln 2}\).