permutation,combination & probability lec 1

Introduction and Course Overview

  • Instructor Introduction: Mohammad Ashraf, a professional in the NDk industry (Inspection Department) and instructor for the Fast Rapid Maths Crash Course. He has extensive experience teaching Mathematics for entry tests including ECAT, BCAT, NUST, PIEAS, GIK, and IBA.

  • Core Topic: Chapter 7: Permutation, Combination, and Probability.

  • Importance of the Topic:

    • High weightage in university entrance exams (Aptitude Tests).

    • Essential for preparation for forces, engineering universities, and especially IBA (where Probability is highly prioritized).

    • In a typical 25-question mathematics section of an entrance exam, at least 2 questions are usually from this chapter, similar to the importance of Integration and Derivatives.

Counting Techniques: The Fundamental Rule

  • Definition: Counting techniques refer to the methods used to count the number of ways a particular event can occur.

  • The Multiplicative Rule (Fundamental Rule):

    • If a first thing can be done in m1m_1 ways, a second thing in m2m_2 ways, a third thing in m3m_3 ways, and so on up to the nn-th thing in mnm_n ways, then the total number of ways to perform all these things together is the product of the individual ways.

    • Formula: Total Number of Ways=m1×m2×m3×⋯×mn\text{Total Number of Ways} = m_1 \times m_2 \times m_3 \times \dots \times m_n

  • Example 1: Travelers and Hotels

    • Scenario: 3 travelers arrive in a town where there are 4 hotels. Each traveler wants to stay in a different hotel.

    • Calculation:

      1. The first traveler arrives and has 4 choices of hotels. m1=4m_1 = 4

      2. The second traveler enters. Since one hotel is occupied, they have 3 remaining choices. m2=3m_2 = 3

      3. The third traveler arrives last and has 2 remaining choices. m3=2m_3 = 2

    • Total Ways: 4×3×2=244 \times 3 \times 2 = 24

Digit Formation and Constraints

  • 3-Digit Numbers from Digits {2,4,6,8,9}\{2, 4, 6, 8, 9\}:

    • Scenario A: Repetition is NOT Allowed

      1. Hundred's Place: 5 choices (5 ways5 \, \text{ways}).

      2. Ten's Place: 4 choices remaining (4 ways4 \, \text{ways}).

      3. Unit's Place: 3 choices remaining (3 ways3 \, \text{ways}).

      • Total: 5×4×3=605 \times 4 \times 3 = 60

    • Scenario B: Repetition IS Allowed

      1. Hundred's Place: 5 choices.

      2. Ten's Place: 5 choices (since we can reuse digits).

      3. Unit's Place: 5 choices.

      • Total: 5×5×5=1255 \times 5 \times 5 = 125

  • 4-Digit Numbers with Zero Constraint from Digits {2,3,5,0}\{2, 3, 5, 0\}:

    • Rule of Zero: A number cannot start with zero if it is to maintain the specified digit count. For a 4-digit number, the Thousand's place cannot be 00. If zero is at the start (03520352), it becomes a 3-digit number (352352).

    • Scenario A: Repetition NOT Allowed

      1. Thousand's Place: 3 choices (2,3,or 52, 3, \text{or } 5 — zero excluded). m1=3m_1 = 3

      2. Hundred's Place: 3 choices (the remaining 2 non-zero digits + the zero digit). m2=3m_2 = 3

      3. Ten's Place: 2 choices remaining. m3=2m_3 = 2

      4. Unit's Place: 1 choice remaining. m4=1m_4 = 1

      • Total: 3×3×2×1=183 \times 3 \times 2 \times 1 = 18

    • Scenario B: Repetition Allowed

      1. Thousand's Place: 3 choices (zero excluded).

      2. Hundred's Place: 4 choices (all digits available).

      3. Ten's Place: 4 choices.

      4. Unit's Place: 4 choices.

      • Total: 3×4×4×4=1923 \times 4 \times 4 \times 4 = 192

Permutation: All Possible Arrangements

  • Core Concept: Permutation refers to the arrangement of objects in a particular order. Any sort of arrangement (seating, clothes, digits, letters) involves permutations.

  • Rule 1: Distinct Objects, No Repetition, Full Set Arrangement

    • Formula: nPn=n!nPn = n!

    • Example: Arranging letters of the word "CAT".

      • Letters are C, A, T (n=3n=3).

      • Arrangement: 3!=3×2×1=6 ways3! = 3 \times 2 \times 1 = 6\, \text{ways}.

  • Rule 2: Distinct Objects, No Repetition, Partial Set Arrangement

    • Formula: nPr=n!(n−r)!nPr = \frac{n!}{(n-r)!}

    • Condition: r≤nr \le n.

    • Example: Finding permutations of 4 objects taken 2 at a time.

      • 4P2=4!(4−2)!=242=124P2 = \frac{4!}{(4-2)!} = \frac{24}{2} = 12

  • Rule 3: Different Objects with Repetition Allowed

    • Formula: nrn^r

    • Example: 2-digit numbers formed from digits {1,3,5,7,9}\{1, 3, 5, 7, 9\} (5 digits) where digits can be repeated.

      • n=5n = 5, r=2r = 2.

      • Total: 52=255^2 = 25

  • Rule 4: Permutation of Objects not all Distinct (Identical Objects)

    • Formula: P=n!n1!n2!…nk!P = \frac{n!}{n_1! n_2! \dots n_k!}

    • Example (BOOK): Total letters n=4n = 4. O repeats twice (n1=2n_1 = 2).

      • Permutation: 4!2!=12\frac{4!}{2!} = 12

    • Example (PAKISTAN): Total letters n=8n = 8. A repeats twice (n1=2n_1 = 2).

      • Permutation: 8!2!=20160\frac{8!}{2!} = 20160

Circular and Specialty Permutations

  • Circular Permutation (Round Table Seating):

    • Formula: (n−1)!(n-1)!

    • Example: Seating 6 people at a round table.

      • (6−1)!=5!=120 ways(6-1)! = 5! = 120\, \text{ways}.

  • Necklace / Beads Permutation:

    • Concept: A necklace is essentially half of a circle because it can be flipped (front and back view are related).

    • Formula: (n−1)!2\frac{(n-1)!}{2}

    • Example: Arranging 6 different colored beads in a necklace.

      • (6−1)!2=1202=60 ways\frac{(6-1)!}{2} = \frac{120}{2} = 60\, \text{ways} .

Combination: All Possible Selections

  • Core Concept: Combination refers to selection regardless of order.

  • Formula: nCr=(nr)=n!r!(n−r)!nCr = \binom{n}{r} = \frac{n!}{r!(n-r)!}

  • Key Results to Remember:

    • nCn=1nCn = 1

    • nC0=1nC0 = 1

    • nPn=n!nPn = n!

    • nP1=nnP1 = n

    • 0!=10! = 1 (Crucial: 0!0! is never 00; it is always 11).

  • Example 1: Student Committee

    • Selecting a committee of 3 students from 4 available students.

    • 4C3=4!3!(4−3)!=44C3 = \frac{4!}{3!(4-3)!} = 4

  • Example 2: Committees with Specific Constraints

    • Scenario: Form a committee of 5 members from 8 Men and 4 Women. Constraint: One particular woman must always be included (due to a "recommendation/sifarish").

    • Logic: Since one specific person is guaranteed to be in, the pool of candidates decreases, and the required number of selections decreases.

    • Total residents: 12→1112 \rightarrow 11 remaining.

    • Required slots: 5→45 \rightarrow 4 remaining.

    • Calculation: 11C4=11!4!(11−4)!=33011C4 = \frac{11!}{4!(11-4)!} = 330

Probability: Basics and Dice Problems

  • Definition: Probability is the measure of the "chances" an event will happen.

  • Formula: P(E)=Number of Favorable Outcomes n(E)Total Number of Sample Space Outcomes n(S)P(E) = \frac{\text{Number of Favorable Outcomes } n(E)}{\text{Total Number of Sample Space Outcomes } n(S)}

  • Single Die (n=6n = 6):

    • Sample Space: {1,2,3,4,5,6}\{1, 2, 3, 4, 5, 6\}

    • Example (Number < 1): No such outcome exists in a standard die. Probability = 00.

    • Example (Prime Number): Prime numbers are {2,3,5}\{2, 3, 5\}. Probability = 36=12\frac{3}{6} = \frac{1}{2}.

  • Double Dice (n=36n = 36):

    • Outcomes are pairs: (1,1),(1,2)…(6,6)(1,1), (1,2) \dots (6,6).

    • Same Face / Absolute Difference is 0 / Doublets: Outcomes are (1,1),(2,2),(3,3),(4,4),(5,5),(6,6)(1,1), (2,2), (3,3), (4,4), (5,5), (6,6).

      • Count = 6. Probability = 636=16\frac{6}{36} = \frac{1}{6}.

Coin Toss Probability

  • Formulas for Sample Space:

    • 2 coins: 22=42^2 = 4

    • 3 coins: 23=82^3 = 8

  • 3-Coin Sample Space (n=8n=8):     {HHH,HHT,HTH,THH,HTT,THT,TTH,TTT}\{HHH, HHT, HTH, THH, HTT, THT, TTH, TTT\}

  • Probability Scenarios (3 Coins):

    • Less than 3 Heads: This includes all outcomes except HHHHHH. Favorable outcomes = 7. Probability = 78\frac{7}{8}.

    • At Least One Tail: "At least" means minimum one, but can be more. Only HHHHHH has zero tails. Favorable outcomes = 7. Probability = 78\frac{7}{8}.

    • At Most 3 Heads: "At most" means maximum 3, but can be less (0, 1, 2, or 3). All 8 outcomes have 3 or fewer heads. Probability = 88=1\frac{8}{8} = 1.

Addition Law of Probability

  • Identifiers: Keywords "OR" or "EITHER/OR".

  • Case 1: Mutually Exclusive (Events cannot happen together)

    • P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

  • Case 2: Non-Mutually Exclusive (Events have an intersection)

    • P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

  • Example (Single Die): Probability of getting an Even number OR a Prime number.

    • Even (A): {2,4,6}→P(A)=36\{2, 4, 6\} \rightarrow P(A) = \frac{3}{6}

    • Prime (B): {2,3,5}→P(B)=36\{2, 3, 5\} \rightarrow P(B) = \frac{3}{6}

    • Intersection (Even AND Prime): {2}→P(A∩B)=16\{2\} \rightarrow P(A \cap B) = \frac{1}{6}

    • Calculation: 36+36−16=56\frac{3}{6} + \frac{3}{6} - \frac{1}{6} = \frac{5}{6}

  • Example (Number Theory Definitions):

    • Prime Number: Numbers with exactly two factors (1 and itself). e.g., {2,3,5,7,11,13,… }\{2, 3, 5, 7, 11, 13, \dots\}

    • Composite Number: Non-prime numbers excluding 1. e.g., {4,6,8,9,10,… }\{4, 6, 8, 9, 10, \dots\}

    • Note on "1": The number 1 is NEITHER prime NOR composite.

Deck of Playing Cards Structure

  • Total Cards: 5252

  • Suits (4 types, 13 cards each):

    • Hearts: Red color.

    • Diamonds: Red color.

    • Clubs: Black color.

    • Spades: Black color.

  • Color Distribution:

    • Total Red Cards = 2626 (Hearts + Diamonds).

    • Total Black Cards = 2626 (Clubs + Spades).

  • Denominations in Each Suit:

    • King, Queen, Jack (Picture/Face Cards).

    • Ace (AA), 10,9,8,7,6,5,4,3,210, 9, 8, 7, 6, 5, 4, 3, 2.

  • Face Cards (Picture Cards):

    • Each suit has 3 face cards (King, Queen, Jack).

    • Total face cards in a deck = 3×4=123 \times 4 = 12.

  • Individual Counts:

    • Total Kings = 44.

    • Total Queens = 44.

    • Total Jacks = 44.

    • Total Aces = 44.