ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalGE-167Permutations Combinati…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    GE-167

    Discrete Structures

    Progress0 / 67 done
    Topics67
    1Propositional and Predicate Logic
    2Logical Operators3Translations Between Symbolic Expressions and Formal English Expression4Logical Equivalences
    5Quantifiers6Nested Quantification7Equivalences in Predicate Logic8Translations Between Symbolic Forms and Formal English
    9Proof Methods and Strategies10Direct Proof11Proof by Contraposition12Proof by Induction13Proof by Implication14Existence Proof15Uniqueness Proofs16Trivial Proofs17Vacuous Proofs
    18Notations and Set Operations19Venn Diagrams20Countable and Uncountable Sets
    21Equivalence Relations and Partitions22Partial Orderings23Recurrence Relations51Reflexive, Symmetric, Transitive, and Antisymmetric52Equivalence Relations and Equivalence Classes53Partial Orders
    24Injective, Surjective, Bijective25Special Types of Functions26Function Composition27Inverse Functions28Recursive Functions29Compositions
    30Sequences and Series
    31Inclusion and Exclusion Principle32Pigeonhole Principle33Permutations and Combinations46Product Rule and Sum Rule47Principle of Inclusion-Exclusion48Binomial Coefficients49Pascal's Identity and Pascal’s Triangle50Binomial Theorem
    34Division Theorem35Modular Arithmetic36LCM and GCD37Euclidean and Extended Euclidean Method38Finding Solutions to Congruence
    39Fundamental Theorem of Arithmetic40Characterizations of Primes41Mersenne Primes
    42Weak Induction43Strong Induction
    44Formulation of Recurrences45Closed Formulas
    54Terminologies55Elements of Graph Theory56Planar Graphs57Graph Coloring58Euler Graph59Hamiltonian Path60Rooted Trees61Graph Traversals62Handshaking Lemma and Corollary63Special Families of Graphs64Graph Isomorphism65Planarity in Graphs66Eulerian and Hamiltonian Graphs67Trees in Graph Theory
    11 min read
    Topic 33 of 67
    Topic Study Note Illustration
    33

    Permutations and Combinations

    Permutations and combinations are fundamental concepts in combinatorics, which is the branch of mathematics focused on counting, arrangement, and selection. They are used to solve problems involving...

    Permutations and Combinations

    Permutations and combinations are fundamental concepts in combinatorics, which is the branch of mathematics focused on counting, arrangement, and selection. They are used to solve problems involving the arrangement and selection of objects.

    1. Permutations

    A permutation is an arrangement of objects in a specific order. When the order of the objects matters, we use permutations. The number of permutations of a set of objects depends on the total number of objects and whether or not repetition is allowed.

    a. Permutations of nnn distinct objects

    The number of ways to arrange nnn distinct objects in a sequence is called the factorial of nnn, denoted as n!n!n!.

    The formula for n!n!n! is:

    n!=n×(n−1)×(n−2)×⋯×2×1n! = n \times (n-1) \times (n-2) \times \cdots \times 2 \times 1n!=n×(n−1)×(n−2)×⋯×2×1

    For example:

    • 3!=3×2×1=63! = 3 \times 2 \times 1 = 63!=3×2×1=6
    • 5!=5×4×3×2×1=1205! = 5 \times 4 \times 3 \times 2 \times 1 = 1205!=5×4×3×2×1=120

    b. Permutations of rrr objects from nnn distinct objects (without repetition)

    If we want to arrange rrr objects out of nnn distinct objects, the number of permutations is given by:

    P(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n - r)!}P(n,r)=(n−r)!n!​

    Where:

    • P(n,r)P(n, r)P(n,r) is the number of ways to arrange rrr objects from nnn distinct objects,
    • n!n!n! is the factorial of nnn,
    • (n−r)!(n - r)!(n−r)! accounts for the unused objects.

    Example: How many ways can you arrange 3 objects out of 5 distinct objects?

    P(5,3)=5!(5−3)!=5!2!=5×4×3×2!2!=5×4×3=60P(5, 3) = \frac{5!}{(5 - 3)!} = \frac{5!}{2!} = \frac{5 \times 4 \times 3 \times 2!}{2!} = 5 \times 4 \times 3 = 60P(5,3)=(5−3)!5!​=2!5!​=2!5×4×3×2!​=5×4×3=60

    So, there are 60 ways to arrange 3 objects from 5 distinct objects.

    c. Permutations with repetition

    If repetition is allowed, the number of ways to arrange rrr objects from nnn distinct objects is:

    Pwith repetition=nrP_{\text{with repetition}} = n^rPwith repetition​=nr

    Where:

    • nrn^rnr represents the number of ways to choose each object from nnn options rrr times.

    Example: How many ways can you form a 3-digit number if repetition of digits is allowed and the digits range from 0 to 9?

    Pwith repetition=103=1000P_{\text{with repetition}} = 10^3 = 1000Pwith repetition​=103=1000

    So, there are 1000 possible 3-digit numbers.


    2. Combinations

    A combination is a selection of objects where the order does not matter. When the order is irrelevant, we use combinations to count the number of ways to choose rrr objects from nnn distinct objects.

    a. Combinations of rrr objects from nnn distinct objects

    The number of ways to choose rrr objects from nnn distinct objects (without regard to order) is given by the binomial coefficient:

    C(n,r)=n!r!(n−r)!C(n, r) = \frac{n!}{r!(n - r)!}C(n,r)=r!(n−r)!n!​

    Where:

    • C(n,r)C(n, r)C(n,r) is the number of combinations,
    • n!n!n! is the factorial of nnn,
    • r!r!r! is the factorial of rrr,
    • (n−r)!(n - r)!(n−r)! accounts for the unused objects.

    This formula counts the ways to choose rrr objects from nnn objects without considering the order of selection.

    Example: How many ways can you choose 3 objects from a set of 5 distinct objects?

    C(5,3)=5!3!(5−3)!=5!3!2!=5×4×3!3!×2!=5×42×1=10C(5, 3) = \frac{5!}{3!(5 - 3)!} = \frac{5!}{3!2!} = \frac{5 \times 4 \times 3!}{3! \times 2!} = \frac{5 \times 4}{2 \times 1} = 10C(5,3)=3!(5−3)!5!​=3!2!5!​=3!×2!5×4×3!​=2×15×4​=10

    So, there are 10 ways to choose 3 objects from 5 distinct objects.

    b. Combinations with repetition (multiset combinations)

    If repetition of elements is allowed, the formula for combinations changes. The number of ways to choose rrr objects from nnn distinct objects, where repetition is allowed, is given by:

    Cwith repetition(n,r)=(n+r−1)!r!(n−1)!C_{\text{with repetition}}(n, r) = \frac{(n + r - 1)!}{r!(n - 1)!}Cwith repetition​(n,r)=r!(n−1)!(n+r−1)!​

    This is sometimes called the "stars and bars" formula, and it's used when you want to count the number of ways to distribute rrr identical objects into nnn distinct bins.

    Example: How many ways can you choose 3 objects (with repetition allowed) from 5 distinct objects?

    Cwith repetition(5,3)=(5+3−1)!3!(5−1)!=7!3!4!=7×6×53×2×1=35C_{\text{with repetition}}(5, 3) = \frac{(5 + 3 - 1)!}{3!(5 - 1)!} = \frac{7!}{3!4!} = \frac{7 \times 6 \times 5}{3 \times 2 \times 1} = 35Cwith repetition​(5,3)=3!(5−1)!(5+3−1)!​=3!4!7!​=3×2×17×6×5​=35

    So, there are 35 ways to choose 3 objects from 5 distinct objects if repetition is allowed.


    3. Important Properties and Formulas

    • Factorial properties:

      • 0!=10! = 10!=1
      • n!=n×(n−1)!n! = n \times (n - 1)!n!=n×(n−1)!
    • Symmetry property of combinations:

      C(n,r)=C(n,n−r)C(n, r) = C(n, n - r)C(n,r)=C(n,n−r)

      This means that choosing rrr objects from nnn objects is the same as choosing the remaining n−rn - rn−r objects.

    • Pascal's Triangle: The binomial coefficients C(n,r)C(n, r)C(n,r) can be arranged in a triangular array, known as Pascal's Triangle, where each number is the sum of the two directly above it:

      C(n,r)=C(n−1,r−1)+C(n−1,r)C(n, r) = C(n - 1, r - 1) + C(n - 1, r)C(n,r)=C(n−1,r−1)+C(n−1,r)

      Pascal’s Triangle is helpful for quick reference and also for expanding binomials.

    • Binomial Theorem: The binomial theorem gives the expansion of (x+y)n(x + y)^n(x+y)n:

      (x+y)n=∑r=0nC(n,r)xn−ryr(x + y)^n = \sum_{r=0}^{n} C(n, r) x^{n-r} y^r(x+y)n=r=0∑n​C(n,r)xn−ryr

      This uses combinations to find the coefficients in the expansion.


    4. Applications of Permutations and Combinations

    1. Counting arrangements: Permutations are used to count how many ways objects can be arranged in order. This is useful in problems where order matters, such as seating arrangements, scheduling, and password generation.

    2. Selecting groups: Combinations are used to count how many ways you can select a group of objects from a larger set, where the order does not matter. This is useful in problems like choosing committees, team selections, and lottery numbers.

    3. Probability: Permutations and combinations are essential in probability theory. For example, they are used to calculate the probability of certain events in games of chance, like drawing cards from a deck or rolling dice.

    4. Optimization problems: In optimization and game theory, permutations and combinations are used to find the best arrangement or selection out of many possibilities.

    5. Discrete structures: In computer science, especially in algorithms and data structures, permutations and combinations are applied in areas such as hashing, cryptography, and network design.


    5. Conclusion

    Permutations and combinations are core concepts in combinatorics, providing methods to count the number of ways objects can be arranged or selected. Permutations are used when the order of selection matters, while combinations are used when the order is not important. These concepts have broad applications in various fields, including mathematics, computer science, probability, and optimization. Mastery of these techniques is essential for solving counting problems efficiently.

    ← Previous topic 32
    Pigeonhole Principle
    Next topic 34 →
    Integers and Divisibility: Division Theorem

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    11mremaining
    1.9kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Discrete Structures