Fundamental Principles of Permutations and Combinations

Fundamental Principle of Counting

The Fundamental Principle of Counting (FPC) is used to determine the number of ways an event can occur without physically listing every possibility. It consists of two primary rules: the Principle of Multiplication and the Principle of Addition.

Fundamental Principle of Multiplication (Product Rule)

If there are two jobs J1J_1 and J2J_2 such that J1J_1 can be completed in mm ways, and when it has been completed in any of these mm ways, the second job J2J_2 can be completed in nn ways, then the two jobs in succession can be completed in m×nm \times n ways.

  • Explanation: For each of the mm ways to perform the first job, there are nn ways to perform the second. Totaling these results in m×nm \times n.

  • Illustration: In a class with 1010 boys and 88 girls, if a teacher selects one boy and one girl to represent the class, the selection can be made in 10×8=8010 \times 8 = 80 ways.

  • Extension: This principle extends to any finite number of jobs.

Fundamental Principle of Addition (Sum Rule)

If there are two jobs J1J_1 and J2J_2 such that J1J_1 can be performed independently in mm ways and J2J_2 can be performed independently in nn ways, then either of the two jobs (J1J_1 or J2J_2) can be performed in m+nm + n ways.

  • Illustration: In a class with 1010 boys and 88 girls, if a teacher selects either a boy or a girl to represent the class, the selection can be made in 10+8=1810 + 8 = 18 ways.

Comparison of Principles

  • Principle of Multiplication: A job is decomposed into sub-jobs that are unconnected; the full job is performed only when each sub-job is completed.

  • Principle of Addition: There are multiple independent jobs, and the goal is to perform exactly one of them.

Practical Models and Counting Procedures

Basic Counting Models

  • Town Travel (Model - I): To travel from Town 1 (T1T_1) to Town 3 (T3T_3) via Town 2 (T2T_2), if there are 33 ways from T1T_1 to T2T_2 and 22 ways from T2T_2 to T3T_3, the total ways are 3×2=63 \times 2 = 6.

  • Cinema Hall (Model - II):

    • Entering and leaving by a different door (total 55 doors): 5×4=205 \times 4 = 20 ways.

    • Entering and leaving by any door: 5×5=255 \times 5 = 25 ways.

Steps to Solve Counting Problems

  1. Identify the independent events involved.

  2. Find the number of ways to perform each event.

  3. Multiply these values to determine the total number of ways for all events to occur.

Factorial Notation and Special Results

Definition of Factorial

The continued product of the first nn natural numbers is called "n factorial" and is denoted as n!n! or n\lfloor n.

  • n!=1×2×3××(n1)×nn! = 1 \times 2 \times 3 \times \dots \times (n-1) \times n

  • 3!=1×2×3=63! = 1 \times 2 \times 3 = 6

  • 4!=4×3×2×1=244! = 4 \times 3 \times 2 \times 1 = 24

  • 5!=1205! = 120

  • 6!=7206! = 720

  • 7!=50407! = 5040

  • Special Result: 0!=10! = 1

Solved Factorial Equations

  • Example 1: Find nn if (n+1)!=12×(n1)!(n+1)! = 12 \times (n-1)!

    • (n+1)(n)(n1)!=12×(n1)!(n+1)(n)(n-1)! = 12 \times (n-1)!

    • n2+n12=0n^2 + n - 12 = 0

    • (n+4)(n3)=0(n+4)(n-3) = 0

    • n=3n = 3 (n4n \neq -4 as nn must be a natural number).

  • Example 2: Find nn if (n+2)!=2550×n!(n+2)! = 2550 \times n!

    • (n+2)(n+1)=2550(n+2)(n+1) = 2550

    • n2+3n2548=0n^2 + 3n - 2548 = 0

    • (n+52)(n49)=0(n+52)(n-49) = 0

    • n=49n = 49 (n=52n = -52 is rejected).

  • Proof: (2n)!=2n×n!×[135(2n1)](2n)! = 2^n \times n! \times [1 \cdot 3 \cdot 5 \cdot \dots \cdot (2n-1)]

    • Expanding (2n)!(2n)! and factoring out 22 from every even term (nn terms total) yields the desired result.

Permutations

Permutation refers to the arrangement of items in a definite order. Order is critical in permutations.

Basic Theorems of Permutation

  • Arrangement of nn distinct objects taken all at a time:

    • Symbolized as: nPn=P(n,n)=n!^nP_n = P(n, n) = n!

    • Example: Arranging the 1010 letters of the word "GANESHPURI" results in 10!10! words.

  • Arrangement of nn distinct objects taken rr at a time (0 \le r < n):

    • Formula: nPr=P(n,r)=n!(nr)!^nP_r = P(n, r) = \frac{n!}{(n-r)!}

    • Example: 55 people in 33 chairs: 5P3=5×4×3=60^5P_3 = 5 \times 4 \times 3 = 60.

Constrained Permutations

  • Avoiding Adjacency: Arranging 1010 exam papers so the easiest and toughest never come together.

    • Total arrangements: 10!10!

    • Arrangements with easiest and toughest together: treat them as one object (99 objects total) arranged in 9!×2!9! \times 2! ways.

    • Result: 10!(9!×2!)=8×9!10! - (9! \times 2!) = 8 \times 9!

  • Row/Box Occupancy: Arranging the letters of "PERSON" (66 letters) in 88 boxes such that no row (assuming two rows of 44) remains empty.

    • Total ways: 8P6^8P_6

    • Ways with row 1 empty: 6!6!

    • Ways with row 2 empty: 6!6!

    • Result: 8P6(6!+6!)=18720^8P_6 - (6! + 6!) = 18720.

Permutation of Alike Objects

If there are nn objects where pp are alike of one kind, qq are alike of another, and rr are alike of a third kind, the total permutations taken all at a time is:

n!p!q!r!\frac{n!}{p! q! r!}

  • IITJEE: 22 I's, 22 E's. Ways: 6!2!2!=180\frac{6!}{2! 2!} = 180.

  • ASSASSINATION: 44 S's, 33 A's, 22 N's, 22 I's. Ways: 13!4!3!2!2!\frac{13!}{4! 3! 2! 2!}.

  • AMERICA: 22 A's. Ways: 7!2!\frac{7!}{2!}.

Digit and Rank Problems

Natural Number Formation

Problems often involve forming numbers without repetition:

  • One digit: 99 numbers (191-9).

  • Two digits: 9×9=819 \times 9 = 81.

  • Three digits: 9×9×8=6489 \times 9 \times 8 = 648.

  • Total numbers from 11 to 10001000 with no repeats: 9+81+648=7389 + 81 + 648 = 738.

Dictionary Rank

The rank is the position of a specific word when all possible permutations are listed alphabetically.

  • Rank of "TOUGH":

    • Alphabetical order: G, H, O, T, U

    • Words starting with G, H, O: 3×4!=723 \times 4! = 72

    • Words starting with TG, TH: 2×3!=122 \times 3! = 12

    • Words starting with TOG, TOH: 2×2!=42 \times 2! = 4

    • Next word is TOUGH (+1+1).

    • Total Rank: 72+12+4+1=8972 + 12 + 4 + 1 = 89.

  • Rank of "CRICKET":

    • Alphabetical order: C, C, E, I, K, R, T

    • Words starting with C (excluding those targeting CR): The required rank is 531531.

Combinations

Combinations refer to the selection or collection of items where information regarding the order of occurrence is not important.

Fundamental Theorems

  • Number of selections of nn distinct things taken rr at a time:

    • Formula: nCr=C(n,r)=(nr)=n!r!(nr)!^nC_r = C(n, r) = \binom{n}{r} = \frac{n!}{r!(n-r)!}

Properties of Combinations

  1. nC0=1^nC_0 = 1

  2. nCn=1^nC_n = 1

  3. nCnr=nCr^nC_{n-r} = ^nC_r

  4. If nCx=nCy^nC_x = ^nC_y, then x=yx = y or x+y=nx + y = n

  5. Relationship with Permutation: nPr=nCr×r!^nP_r = ^nC_r \times r!

  6. Pascal's Identity: nCr+nCr+1=n+1Cr+1^nC_r + ^nC_{r+1} = ^{n+1}C_{r+1}

Constrained Selections

  • Items Always Included: Selecting rr things from nn where pp particular things must be included: npCrp^{n-p}C_{r-p}.

    • Example: Selecting 1111 players from 1515 where 22 specific players are always included: 13C9^{13}C_9.

  • Items Always Excluded: Selecting rr things from nn where pp particular things must be excluded: npCr^{n-p}C_r.

    • Example: Selection of 66 books from 1111 if 22 specific books are never chosen: 9C6^9C_6.

Total Selections (Free Selections)

Case 1: Selection from Distinct Objects

Selecting at least one object from nn distinct objects:

nC1+nC2++nCn=2n1^nC_1 + ^nC_2 + \dots + ^nC_n = 2^n - 1

  • Application: Given 55 green, 44 blue, and 33 red dyes (all distinct), the number of ways to choose at least one green and one blue dye is (251)(241)(23)=31×15×8=3720(2^5 - 1)(2^4 - 1)(2^3) = 31 \times 15 \times 8 = 3720.

Case 2: Selection from Identical Objects

  • Number of ways to select rr objects from nn identical objects is 11.

  • Number of ways to select at least one object from nn identical objects is nn.

  • At least one selection from types of alike objects (a1,a2ana_1, a_2 \dots a_n): (a1+1)(a2+1)(an+1)1(a_1+1)(a_2+1)\dots(a_n+1) - 1.

  • At least one selection from alike objects and kk distinct objects: (a1+1)(a2+1)(an+1)2k1(a_1+1)(a_2+1)\dots(a_n+1)2^k - 1.

Distribution of Alike Objects (Beggar’s Method)

Type 1: Non-negative Integral Solutions

The total number of ways to distribute nn identical items among pp persons (where each person can receive any number including zero) is:

n+p1Cp1=(n+p1)!(p1)!n!^{n+p-1}C_{p-1} = \frac{(n+p-1)!}{(p-1)! n!}

  • Example: Distributing 3030 mangoes among 55 people: 30+51C51=34C4^{30+5-1}C_{5-1} = ^{34}C_4.

  • Homogeneous Expressions: The number of terms in (x1+x2++xn)m(x_1 + x_2 + \dots + x_n)^m is m+n1Cn1^{m+n-1}C_{n-1}.

Type 2: Positive Integral Solutions

The total number of ways to distribute nn identical items among pp persons such that each receives at least one item is:

n1Cp1^{n-1}C_{p-1}

  • Example: Distributing 77 identical computers to 33 people so each gets at least one: 71C31=6C2^{7-1}C_{3-1} = ^6C_2.

  • Equation Application: Natural solutions for x+y+z=102x + y + z = 102:

    • Subtracting 11 from each variable yields X+Y+Z=99X + Y + Z = 99.

    • Ways: 99+31C31=101C2^{99+3-1}C_{3-1} = ^{101}C_2.

Skill Up Solutions

  • Skill Up 1: 192192 integers.

  • Skill Up 2: 1555215552 numbers.

  • Skill Up 3: mnm^n ways.

  • Skill Up 4: nmn^m ways.

  • Skill Up 5: Evaluate for n=5,r=2n=5, r=2: 1010.

  • Skill Up 6: Find xx given 18!+19!=x10!\frac{1}{8!} + \frac{1}{9!} = \frac{x}{10!}: 100100.

  • Skill Up 7: If nP4:nP5=1:2^nP_4 : ^nP_5 = 1 : 2, then n=6n = 6.

  • Skill Up 8: If 12Pr=1320^{12}P_r = 1320, then r=3r = 3.

  • Skill Up 9: 4digit4 digit even numbers from 0,1,2,3,4,5,60, 1, 2, 3, 4, 5, 6: 420420.

  • Skill Up 10: Numbers < 1000 from 1,2,3,4,5,61, 2, 3, 4, 5, 6: 156156.

  • Skill Up 11:

    • BANANA: 6060

    • ALLAHABAD: 75607560

    • INDEPENDENCE: 16632001663200

  • Skill Up 12: Row reads same backwards and forwards (55 A's, 66 B's): 1010 ways.

  • Skill Up 13: 1010 letters, 55 letter words, at least one repeat: 6976069760.

  • Skill Up 14: 66 friends, 33 servants: 36=7293^6 = 729 ways.

  • Skill Up 15: Numbers > 10^6 from 23342032334203: 360360.

  • Skill Up 16: Rank of "VARUN": 100100.

  • Skill Up 17: Rank of "GOOGLE": 8888th.

  • Skill Up 18: r=3r = 3.

  • Skill Up 19: 2525 students.

  • Skill Up 20: n=6n = 6.

  • Skill Up 21: 840840 words.

  • Skill Up 22: 37203720 combinations.

  • Skill Up 23: 315315 ways.

  • Skill Up 24: 12C3^{12}C_3.

  • Skill Up 25: 4637646376

  • Skill Up 26: 3535 ways.

Answer Keys for Assignments

DPP - 01

  • Level - 1: 1(c), 2(b), 3(b), 4(a), 5(a), 6(c)

  • Level - 2: 1(a), 2(c)

DPP - 02

  • Level - 1: 1(a), 2(a), 3(d), 4(a), 5(a), 6(d), 7(b), 8(a), 9(a), 10(b), 11(c)

  • Level - 2: 1(c), 2(c), 3(a), 4(b), 5(d), 6(b), 7(a)

DPP - 03

  • Level - 1: 1(b), 2(a), 3(a), 4(b), 5(c), 6(c), 7(b), 8(c)

  • Level - 2: 1(d), 2(c), 3(a), 4(d), 5(b)

DPP - 04

  • Level - 1: 1(c), 2(d), 3(c), 4(d), 5(a), 6(c)

  • Level - 2: 1(a), 2(d), 3(c)

Mains Assignment Subjective

  • Level - 1: 2(249900), 3(999), 4(246), 5(3000), 6(72), 7(161280), 8(236th), 9(20), 10(196), 11(84 ways), 12(n+5C5^{n+5}C_5), 13(30), 14(946)

  • Level - 2: 1(87380), 2(i: 10878, ii: 5586), 3(17280)

Mains Assignment Objective

1(b), 2(b), 3(c), 4(c), 5(c), 6(a), 7(c), 8(c), 9(c), 10(c), 11(a), 12(d), 13(d), 14(d), 15(c), 16(d), 17(a), 18(c), 19(a), 20(b), 21(b), 22(b), 23(c), 24(a), 25(c), 26(c), 27(c), 28(d), 29(d), 30(b), 31(b), 32(b), 33(d), 34(c), 35(c), 36(a), 37(b), 38(b), 39(b), 40(d), 41(a), 42(d), 43(d), 44(c)