12.2 Permutations, Combinations, Binomial Expansion & Probability (Olasılık)

Key Takeaways

  • Use Permutations P(n, r) = n! / (n - r)! when order matters (arranging, seating, ranking) and Combinations C(n, r) = n! / (r!(n - r)!) when order does not matter (choosing committees, subsets, chords, or triangles).

  • Circular permutations of n distinct objects around a table equal (n - 1)!, while arrangements on a flip-symmetric keyring equal (n - 1)! / 2; permutations of n items with repetitions n_1, n_2, ..., n_k equal n! / (n_1! * n_2! * ... * n_k!).

  • From n points in a plane where k are collinear on a line d, the number of distinct triangles is C(n, 3) - C(k, 3) and the number of distinct lines is C(n, 2) - C(k, 2) + 1.

  • In the binomial expansion of (ax^p + by^q)^n, there are n + 1 terms and the general term is T_{r+1} = C(n, r) * (ax^p)^{n-r} * (by^q)^r; find the constant term (sabit terim) by setting the net exponent of x to 0, never by substituting x = 0 when reciprocal powers appear.

  • For probability, P(A U B) = P(A) + P(B) - P(A n B), independent events satisfy P(A n B) = P(A)P(B), conditional probability is P(A | B) = P(A n B) / P(B), and 'at least one' problems are fastest via 1 - P(none).

Last updated: October 2026

12.2 Permutations, Combinations, Binomial Expansion & Probability (Olasılık)


1. Permutations (Permütasyon — Order Matters)

Fundamental Counting Principle & Linear Permutations

  • Addition Rule (Toplama Yoluyla Sayma): If disjoint tasks AA and BB can be done in mm and nn ways respectively, choosing one task OR (veya) the other can be done in m+nm + n ways.
  • Multiplication Rule (Çarpma Yoluyla Sayma): If sequential stages AA and BB can be done in mm and nn ways, performing AA AND (ve) BB together can be done in m⋅nm \cdot n ways.
  • Linear Permutations (Sıralama): The number of ordered arrangements of rr items chosen from nn distinct items is:
P(n,r)=n!(n−r)!=n(n−1)(n−2)⋯(n−r+1)⏟r factors,P(n,n)=n!P(n, r) = \frac{n!}{(n - r)!} = \underbrace{n(n - 1)(n - 2)\cdots(n - r + 1)}_{r \text{ factors}}, \qquad P(n, n) = n!

(Recall 0!=10! = 1 and 1!=11! = 1.)

Block-Glue Method (Paketleme Yöntemi) vs. Gap-Insertion Method

  • Items that MUST stay together (Yan Yana Olma Koşulu): Tie the kk items that must be adjacent into 1 single super-block (paket). If there are mm other free items, first arrange the (m+1)(m + 1) units in (m+1)!(m + 1)! ways, then multiply by k!k! for the internal rearrangements inside the block:
Total Ways=(m+1)!⋅k!\text{Total Ways} = (m + 1)! \cdot k!
  • Items that MUST NOT be adjacent (Yan Yana Olmama Koşulu): When only 2 items must stay apart, subtract the glued cases from total arrangements: n!−(n−1)!⋅2!n! - (n-1)! \cdot 2!. When 3 or more items of one group (BB) cannot be adjacent, do not subtract from the total! Instead, use the gap-insertion method (boşluk yöntemi): first seat the mm unrestricted items (AA) in m!m! ways, creating m+1m + 1 gaps (_ A _ A _ ... _ A _), then choose and order the kk restricted items into those m+1m + 1 gaps in P(m+1,k)P(m + 1, k) ways.

Circular Permutations (Dairesel Permütasyon)

  • Around a Round Table (Yuvarlak Masa): Rotating everyone by one seat produces the same relative arrangement, so fix 1 person as a reference landmark and permute the remaining n−1n - 1 people:
Pcircle(n)=(n−1)!P_{\text{circle}}(n) = (n - 1)!
  • On a Flip-Symmetric Keyring (Maskotlu / Maskotsuz Anahtarlık): A plain circular keyring without a fixed clasp can be flipped over in 3D space, making clockwise and counterclockwise orders identical:
Pkeyring(n)=(n−1)!2(n≥3)P_{\text{keyring}}(n) = \frac{(n - 1)!}{2} \quad (n \ge 3)

Permutations with Repetition (Tekrarlı Permütasyon)

The number of distinct permutations of nn objects where n1n_1 are identical of type 1, n2n_2 are identical of type 2, ..., and nkn_k are identical of type kk (n1+n2+⋯+nk=nn_1 + n_2 + \dots + n_k = n) is:

n!n1!⋅n2!⋯nk!\frac{n!}{n_1! \cdot n_2! \cdots n_k!}
  • Leading-Zero Digit Rule: When forming an nn-digit number using all nn given digits where the digit 00 appears n0n_0 times, 00 cannot occupy the leftmost place. Multiply the total repeated permutation count by the fraction of non-zero digits:
Valid n-digit numbers=n!n1!⋅n2!⋯nk!⋅n−n0n\text{Valid } n\text{-digit numbers} = \frac{n!}{n_1! \cdot n_2! \cdots n_k!} \cdot \frac{n - n_0}{n}
  • Grid Shortest Paths: Walking on a rectangular grid from corner AA to corner BB using RR steps Right and UU steps Up is a repeated permutation of RR identical R's and UU identical U's: (R+U)!R!⋅U!=(R+UR)\frac{(R + U)!}{R! \cdot U!} = \binom{R + U}{R}.

2. Combinations (Kombinasyon — Selection Without Order) & Binomial Theorem

Core Combination Identities

The number of ways to select an unordered subset of rr elements from nn elements is:

C(n,r)=(nr)=n!r!(n−r)!C(n, r) = \binom{n}{r} = \frac{n!}{r!(n - r)!}
  • Symmetry Rule: (nr)=(nn−r)\binom{n}{r} = \binom{n}{n - r}. Consequently, if (nx)=(ny)\binom{n}{x} = \binom{n}{y}, then either x=yx = y or x+y=nx + y = n.
  • Pascal's Identity: (nr)+(nr+1)=(n+1r+1)\binom{n}{r} + \binom{n}{r + 1} = \binom{n + 1}{r + 1}.
  • Total Subsets Sum: (n0)+(n1)+(n2)+⋯+(nn)=2n\binom{n}{0} + \binom{n}{1} + \binom{n}{2} + \dots + \binom{n}{n} = 2^n.

Geometric Counting with Combinations

Given nn points in a plane:

  • If no three points are collinear (e.g., nn points on a circle), they determine (n2)\binom{n}{2} distinct lines and (n3)\binom{n}{3} triangles. The count (n4)\binom{n}{4} of convex quadrilaterals additionally requires the points to be in convex position, as with distinct points on a circle.
  • If kk of the nn points are collinear on a single line dd (and the other n−kn - k are in general position), any 3 points chosen solely from line dd fail to form a triangle. Subtract the degenerate cases:
Number of Triangles=(n3)−(k3),Number of Distinct Lines=(n2)−(k2)+1\text{Number of Triangles} = \binom{n}{3} - \binom{k}{3}, \qquad \text{Number of Distinct Lines} = \binom{n}{2} - \binom{k}{2} + 1
  • Parallelograms from Parallel Lines: A grid of mm parallel horizontal lines intersecting nn parallel slanted lines forms (m2)⋅(n2)\binom{m}{2} \cdot \binom{n}{2} parallelograms.

Binomial Theorem (Binom Açılımı)

For the expansion of (axp+byq)n(ax^p + by^q)^n:

  • There are n+1n+1 indexed terms before collecting like powers; distinct nonzero terms require nondegenerate coefficients and exponents.
  • Sum of coefficients (Katsayılar Toplamı): Substitute x=1,y=1x = 1, y = 1 to get (a+b)n(a + b)^n.
  • General (r+1)(r + 1)-th Term Formula:
Tr+1=(nr)(axp)n−r(byq)rT_{r+1} = \binom{n}{r} (ax^p)^{n-r} (by^q)^r
  • Constant Term (Sabit Terim) Trap: For a polynomial expression, the constant term is found by setting x=0x = 0. However, in rational binomials such as (2x2−1x)n\left(2x^2 - \frac{1}{x}\right)^n, substituting x=0x = 0 causes division by zero! Instead, write the general term Tr+1T_{r+1}, combine the powers of xx into xp(n−r)+qrx^{p(n-r) + qr}, and solve p(n−r)+qr=0p(n - r) + qr = 0 for rr.

3. Probability (Olasılık)

For an experiment with sample space EE (örnek uzay) of equally likely outcomes and an event AA (olay):

P(A)=s(A)s(E)=Desired Outcomes (I˙stenen Durum)All Possible Outcomes (Tu¨m Durum),0≤P(A)≤1P(A) = \frac{s(A)}{s(E)} = \frac{\text{Desired Outcomes (İstenen Durum)}}{\text{All Possible Outcomes (Tüm Durum)}}, \qquad 0 \le P(A) \le 1
  • Complement Rule (Tümleyen): P(A′)=1−P(A)P(A') = 1 - P(A). Whenever a problem asks for the probability of "at least one (en az bir)", compute 1−P(none)1 - P(\text{none}).
  • Union Rule (Birleşim): P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B). If AA and BB are mutually exclusive (ayrık olaylar), P(A∩B)=0P(A \cap B) = 0.
  • Independent Events (Bağımsız Olaylar): Two events that do not affect each other satisfy P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B).
  • Conditional Probability (Koşullu Olasılık): The probability of AA given that BB has already occurred ("... bilindiğine göre") restricts the denominator to BB:
P(A∣B)=P(A∩B)P(B)=s(A∩B)s(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{s(A \cap B)}{s(B)}

Summary Reference Table

ScenarioFormulaKey Condition
Linear PermutationP(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n-r)!}Order matters (seating, codes, rankings)
Circular / KeyringTable: (n−1)!(n-1)! \quad Keyring: (n−1)!2\frac{(n-1)!}{2}Keyring can be flipped in 3D
Repeated Permutationn!n1!n2!⋯nk!⋅n−n0n\frac{n!}{n_1! n_2! \cdots n_k!} \cdot \frac{n - n_0}{n}Include n−n0n\frac{n-n_0}{n} when n0n_0 zeros cannot lead
Combination(nr)=n!r!(n−r)!\binom{n}{r} = \frac{n!}{r!(n-r)!}Order does NOT matter (committees, geometry)
Collinear Triangles(n3)−(k3)\binom{n}{3} - \binom{k}{3}kk of the nn points lie on the same line
Binomial TermTr+1=(nr)(axp)n−r(byq)rT_{r+1} = \binom{n}{r}(ax^p)^{n-r}(by^q)^rConstant term: net exponent of xx equals 00
Conditional ProbabilityP(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}Trigger phrase: "... olduğu bilindiğine göre"

Worked Examples

Worked Example 1: Repeated Permutation with Leading Zeros & Binomial Constant Term

Problem:

  1. How many distinct 66-digit numbers can be formed using all the digits of 202440202440?
  2. Find the constant term (sabit terim) in the expansion of (2x2−1x)6\left(2x^2 - \frac{1}{x}\right)^6.

Step-by-Step Solution:

  1. The 66 digits are {2,0,2,4,4,0}\{2, 0, 2, 4, 4, 0\}: the digit 22 repeats 22 times, 44 repeats 22 times, and 00 repeats 22 times (n=6,n0=2n = 6, n_0 = 2). Using the repeated permutation formula with the leading-zero fraction 6−26=46\frac{6 - 2}{6} = \frac{4}{6}:
Count=6!2!⋅2!⋅2!⋅46=7208⋅23=90⋅23=60\text{Count} = \frac{6!}{2! \cdot 2! \cdot 2!} \cdot \frac{4}{6} = \frac{720}{8} \cdot \frac{2}{3} = 90 \cdot \frac{2}{3} = 60
  1. Write the general (r+1)(r + 1)-th term of (2x2−x−1)6\left(2x^2 - x^{-1}\right)^6:
Tr+1=(6r)(2x2)6−r(−x−1)r=(6r)26−r(−1)rx12−2r−r=(6r)26−r(−1)rx12−3rT_{r+1} = \binom{6}{r} (2x^2)^{6-r} (-x^{-1})^r = \binom{6}{r} 2^{6-r} (-1)^r x^{12 - 2r - r} = \binom{6}{r} 2^{6-r} (-1)^r x^{12 - 3r}

Set the exponent of xx equal to 00: 12−3r=0  ⟹  r=412 - 3r = 0 \implies r = 4. Substitute r=4r = 4:

Constant Term=(64)⋅26−4⋅(−1)4=15⋅4⋅1=60\text{Constant Term} = \binom{6}{4} \cdot 2^{6-4} \cdot (-1)^4 = 15 \cdot 4 \cdot 1 = 60

Worked Example 2: Geometric Combinations & Conditional Probability

Problem:

  1. In a plane, 99 points are given such that 44 of them lie on a straight line dd, and the remaining 55 points lie on a circle (with no other collinear triples). How many triangles can be formed using these 99 points as vertices?
  2. Two fair dice are rolled and it is known that the sum of the top faces is 88. What is the probability that at least one of the dice shows a 33?

Step-by-Step Solution:

  1. Choosing any 33 points out of 99 gives (93)\binom{9}{3} triples, while choosing 33 collinear points from line dd gives (43)\binom{4}{3} degenerate triples:
Triangles=(93)−(43)=9⋅8⋅73⋅2⋅1−4=84−4=80\text{Triangles} = \binom{9}{3} - \binom{4}{3} = \frac{9 \cdot 8 \cdot 7}{3 \cdot 2 \cdot 1} - 4 = 84 - 4 = 80
  1. Let BB be the given condition that the sum of the two dice is 88: B={(2,6),(3,5),(4,4),(5,3),(6,2)}B = \{(2,6), (3,5), (4,4), (5,3), (6,2)\}, so s(B)=5s(B) = 5. Let AA be the event that at least one die is a 33. Then A∩B={(3,5),(5,3)}A \cap B = \{(3,5), (5,3)\}, so s(A∩B)=2s(A \cap B) = 2. Thus:
P(A∣B)=s(A∩B)s(B)=25P(A \mid B) = \frac{s(A \cap B)}{s(B)} = \frac{2}{5}

Conditional probability requires P(B)>0P(B)>0. The circular counts assume distinct objects and that rotations are equivalent; labelled fixed seats change the count. A flip-symmetric keyring additionally identifies reversed cyclic orders and uses the displayed halving formula for n≥3n\ge3.

Review the Method

For probability, P(A U B) = P(A) + P(B) - P(A n B), independent events satisfy P(A n B) = P(A)P(B), conditional probability is P(A | B) = P(A n B) / P(B), and 'at least one' problems are fastest via 1 - P(none).

Test Your Knowledge

A group of 4 teachers and 3 students will sit around a circular table of 7 seats. In how many different ways can they be seated if all 3 students must sit next to each other?

A

72

B

144

C

288

D

720

Test Your Knowledge

A committee of 4 people is to be selected from 5 doctors and 4 nurses. How many different committees of 4 contain at least 1 doctor and at least 1 nurse?

A

100

B

115

C

126

D

120

Test Your Knowledge

In the binomial expansion of (x^3 - 2/x^2)^5, what is the coefficient of the x^5 term?

A

40

B

-40

C

80

D

-80

Test Your Knowledge

Bag A contains 3 red and 2 white balls, and Bag B contains 2 red and 4 white balls. One ball is drawn at random from Bag A and placed into Bag B without looking at its color; then one ball is drawn from Bag B. What is the probability that the ball drawn from Bag B is red?

A

2/5

B

11/30

C

13/35

D

3/7

Sections you finish are checked off in the contents.