Learning Objectives

Terminology:

·       Permutation, factorial (n!n!)

·       kk-permutation of nn elements (AnkA_n^k)

·       kk-combination of nn elements (CnkC_n^k)

·       Handheld calculator computation of combinatorics

Knowledge and Skills:

·       Understand the essence of permutations, arrangements, and combinations, and distinguish clearly between them (with or without order).

·       Compute the number of permutations Pn=n!P_n = n!, arrangements Ank=n!(n−k)!A_n^k = \frac{n!}{(n-k)!}, and combinations Cnk=n!(n−k)!k!C_n^k = \frac{n!}{(n-k)!k!}.

·       Use handheld calculators proficiently to compute permutations, arrangements, and combinations.

·       Apply permutations, arrangements, and combinations to solve real-world combinatorial counting problems (lining up, selecting groups, forming soccer squads).

Permutations

a) Definition of a Permutation

Definition: Let AA be a set consisting of nn elements (n≥1n \ge 1). Each ordered arrangement of all nn elements of AA is called a permutation of these nn elements.

b) Formula for Permutations and Factorials

Formula for the Number of Permutations: The number of permutations of a set of nn elements, denoted by PnP_n, is given by the product of the first nn positive integers: Pn=n(n−1)(n−2)…2⋅1=n!P_n = n(n - 1)(n - 2) \dots 2 \cdot 1 = n! where n!n! is read as ”nn factorial”. Convention: 0!=10! = 1.

c) Illustrative Examples and Practice on Permutations

Example 1: Using the digits 6,7,86, 7, 8, and 99, how many 4-digit natural numbers with distinct digits can be formed?

Solution for Example 1: • Each ordered arrangement of the four given digits to form a 4-digit number with distinct digits is a permutation of 4 elements. • Thus, the number of such 4-digit numbers is: P4=4!=4⋅3⋅2⋅1=24 (numbers).P_4 = 4! = 4 \cdot 3 \cdot 2 \cdot 1 = 24\text{ (numbers).}

Practice 1: In an athletic competition involving 6 runners across 6 running lanes, how many ways can the athletes be assigned to the lanes?

Solution for Practice 1: • Each assignment of 6 runners to 6 distinct lanes (one person per lane) is a permutation of 6 elements. • The number of arrangement ways is: P6=6!=720P_6 = 6! = 720 ways.

Arrangements

a) Definition of an Arrangement

Definition: Let AA be a set of nn elements and let kk be an integer such that 1≤k≤n1 \le k \le n. Each ordered arrangement of kk elements chosen from the nn elements of AA is called an arrangement of nn elements taken kk at a time (or a kk-permutation of nn elements).

b) Formula for the Number of Arrangements

Computation Formula: The number of kk-permutations of nn elements (1≤k≤n1 \le k \le n), denoted by AnkA_n^k, is computed by the formula: Ank=n(n−1)(n−2)…(n−k+1)=n!(n−k)!A_n^k = n(n - 1)(n - 2) \dots (n - k + 1) = \frac{n!}{(n - k)!} Remark: Every permutation of nn elements is also an arrangement of nn elements taken nn at a time, hence Pn=AnnP_n = A_n^n.

c) Illustrative Examples and Practice on Arrangements

Example 2: A class has 30 students. The teacher needs to sequentially select 4 students to plant 4 different trees. How many selection ways are available?

Solution for Example 2: • Each sequential selection of 4 students out of 30 to plant 4 distinct trees (accounting for assigned tree order) is a 44-permutation of 3030 elements. • The number of ways is: A_304=30!(30−4)!=30!26!=30⋅29⋅28⋅27=657,720 (ways).A\_{30}^4 = \frac{30!}{(30 - 4)!} = \frac{30!}{26!} = 30 \cdot 29 \cdot 28 \cdot 27 = 657\\,720\text{ (ways).}

Practice 2: In a horse race with 12 competing horses, interest lies only in the top three finishing positions: 1st, 2nd, and 3rd place. How many possible outcomes can occur?

Solution for Practice 2: • Each outcome specifying 1st, 2nd, and 3rd place winners among 12 horses is a 33-permutation of 1212 elements. • The number of possible outcomes is: A_123=12!9!=12⋅11⋅10=1,320 (outcomes).A\_{12}^3 = \frac{12!}{9!} = 12 \cdot 11 \cdot 10 = 1\\,320\text{ (outcomes).}

Combinations

a) Definition of a Combination

Definition: Let AA be a set of nn elements and let kk be an integer such that 0≤k≤n0 \le k \le n. Each subset consisting of kk elements chosen from AA is called a combination of nn elements taken kk at a time (or a kk-combination). Distinction between Arrangements and Combinations: An arrangement involves ordered selection, whereas a combination involves selection without regard to order.

b) Formula for the Number of Combinations

Computation Formula: The number of kk-combinations of nn elements (0≤k≤n0 \le k \le n), denoted by CnkC_n^k, is computed by the formula: Cnk=Ankk!=n!(n−k)!k!C_n^k = \frac{A_n^k}{k!} = \frac{n!}{(n - k)! k!} Conventions: Cn0=1C_n^0 = 1, Cnn=1C_n^n = 1.

c) Illustrative Examples and Practice on Combinations

Example 3: Seven students want to play Ludo (Parchisi), but each game accommodates only 4 players. How many ways can 4 students be chosen from the 7 students to participate in a game?

Solution for Example 3: • Each selection of 4 students out of 7 (without positional distinction) is a 44-combination of 77 elements. • The number of ways is: C74=7!(7−4)!4!=7!3!4!=7⋅6⋅53⋅2⋅1=35 (ways).C_7^4 = \frac{7!}{(7 - 4)!4!} = \frac{7!}{3!4!} = \frac{7 \cdot 6 \cdot 5}{3 \cdot 2 \cdot 1} = 35\text{ (ways).}

Practice 3: A physics exam question bank contains 20 theoretical questions and 40 numerical exercises. An exam is compiled by selecting 2 theoretical questions and 3 numerical exercises. How many ways can an exam paper of 5 questions be formed according to this rule?

Solution for Practice 3: • Stage 1 (Selecting 2 theoretical questions from 20): There are C_202C\_{20}^2 ways. • Stage 2 (Selecting 3 numerical exercises from 40): There are C_403C\_{40}^3 ways. • By the multiplication rule, the total number of ways to compile the exam paper is: C_202⋅C_403=20⋅192⋅40⋅39⋅383⋅2⋅1=190⋅9,880=1,877,200 (exam papers).C\_{20}^2 \cdot C\_{40}^3 = \frac{20 \cdot 19}{2} \cdot \frac{40 \cdot 39 \cdot 38}{3 \cdot 2 \cdot 1} = 190 \cdot 9\\,880 = 1\\,877\\,200\text{ (exam papers).}

Applications of Permutations, Arrangements, and Combinations in Counting Problems

a) Comprehensive Real-World Problems

Example 4: Hung plans to visit Hung Temple, Ninh Binh, Ha Long, Son Tay, and Bat Trang from Hanoi (total 5 locations), visiting exactly one location per day and returning to Hanoi each night. a) How many travel itineraries are there to visit all 5 locations in sequence? b) If Hung has only 3 days to visit 3 out of the 5 locations, how many itinerary arrangements can he make?

Solution for Example 4: • a) Visiting all 5 locations in sequence is a permutation of 5 elements. The number of itinerary arrangements is: P5=5!=120 (ways).P_5 = 5! = 120\text{ (ways).} • b) Visiting 3 locations out of 5 with daily chronological order is a 33-permutation of 55 elements. The number of arrangements is: A53=5!(5−3)!=5!2!=60 (ways).A_5^3 = \frac{5!}{(5 - 3)!} = \frac{5!}{2!} = 60\text{ (ways).}

Example 5 (National Football Team Lineup): The match roster contains 23 players (3 goalkeepers, 7 defenders, 8 midfielders, and 5 forwards). The coach selects a 3-4-3 formation (3 defenders, 4 midfielders, 3 forwards, and 1 goalkeeper). Assuming the goalkeeper position is predetermined, how many distinct team lineups must an opponent analyze by considering all possibilities?

Solution for Example 5: • Since the goalkeeper position is fixed, selecting the remaining 10 outfield players across positions consists of 3 independent stages:   1. Selecting 3 defenders out of 7: C73=35C_7^3 = 35 ways.   2. Selecting 4 midfielders out of 8: C84=70C_8^4 = 70 ways.   3. Selecting 3 forwards out of 5: C53=10C_5^3 = 10 ways. • By the multiplication rule, the total number of possible lineups to analyze is: C73⋅C84⋅C53=35⋅70⋅10=24,500 (lineups).C_7^3 \cdot C_8^4 \cdot C_5^3 = 35 \cdot 70 \cdot 10 = 24\\,500\text{ (lineups).}

b) Handheld Calculator Usage

Handheld Calculator Guide (CASIO / VINACAS): • Calculating Factorial (n!n!): Enter number nn, press `SHIFT`, then press the key corresponding to `x!`. • Calculating Arrangements (AnkA_n^k): Enter number nn, press `SHIFT` and `nPr`, enter kk, then press `=`. (Example for A_152A\_{15}^2: press `15` `SHIFT` `nPr` `2` `=`). • Calculating Combinations (CnkC_n^k): Enter number nn, press `SHIFT` and `nCr`, enter kk, then press `=`. (Example for C_205C\_{20}^5: press `20` `SHIFT` `nCr` `5` `=`).

Applications and Exercises

a) Real-World Applications

Application (Club Board Selection): A student club has 20 members. a) How many ways can 6 members be chosen to form the executive board? b) How many ways can a President, a Vice President, and 4 other members be chosen to form the executive board?

Solution for Application: • a) Choosing 6 members out of 20 without positional distinction is a 66-combination of 2020 elements: C_206=20!14!⋅6!=38,760 (ways).C\_{20}^6 = \frac{20!}{14! \cdot 6!} = 38\\,760\text{ (ways).} • b) Assigning executive roles consists of sequential stages:   + Stage 1 (Select 1 President from 20 students): C_201=20C\_{20}^1 = 20 ways.   + Stage 2 (Select 1 Vice President from 19 remaining students): C_191=19C\_{19}^1 = 19 ways.   + Stage 3 (Select 4 other members from 18 remaining students): C_184=3,060C\_{18}^4 = 3\\,060 ways.   By the multiplication rule, the total number of ways is: 20⋅19⋅3,060=1,162,80020 \cdot 19 \cdot 3\\,060 = 1\\,162\\,800 ways (alternatively computed as A_202⋅C_184=380⋅3,060=1,162,800A\_{20}^2 \cdot C\_{18}^4 = 380 \cdot 3\\,060 = 1\\,162\\,800).

b) Detailed Section Exercises

Exercise 8.6: An artist needs to display 10 distinct art paintings in a horizontal row. How many ways can the artist arrange the paintings?

Solution for Exercise 8.6: • Arranging 10 distinct paintings in a row is a permutation of 10 items. • The number of arrangement ways is: P_10=10!=3,628,800P\_{10} = 10! = 3\\,628\\,800 ways.

Exercise 8.7: Using the digits 0,1,2,3,40, 1, 2, 3, 4, how many 3-digit natural numbers with distinct digits can be formed?

Solution for Exercise 8.7: • Let the number be abc‾\overline{abc} with a,b,c∈0;1;2;3;4a, b, c \in \\{0; 1; 2; 3; 4\\}, a≠0a \ne 0, and all digits distinct.   + Digit aa: 4 choices (1,2,3,41, 2, 3, 4).   + Digit bb: 4 choices (any digit except aa).   + Digit cc: 3 choices (any digit except aa and bb). • By the multiplication rule, the total number of such 3-digit numbers is: 4⋅4⋅3=484 \cdot 4 \cdot 3 = 48 numbers.

Exercise 8.8: How many ways are there to choose a subset of two positive integers less than 100? How about a subset of three positive integers less than 100?

Solution for Exercise 8.8: • The set of positive integers less than 100 is 1,2,…,99\\{1, 2, \dots, 99\\}, containing 99 elements (n=99n = 99). • Number of ways to choose a subset of 2 numbers: C_992=99⋅982=4,851C\_{99}^2 = \frac{99 \cdot 98}{2} = 4\text{,}851 ways. • Number of ways to choose a subset of 3 numbers: C_993=99⋅98⋅976=156,849C\_{99}^3 = \frac{99 \cdot 98 \cdot 97}{6} = 156\text{,}849 ways.

Exercise 8.9: Ha has 5 blue marbles and 7 red marbles. How many ways can Ha choose exactly 2 marbles of different colors?

Solution for Exercise 8.9: • Choosing 2 marbles of different colors means choosing 1 blue marble and 1 red marble. • Number of ways to choose 1 blue marble from 5: C51=5C_5^1 = 5. • Number of ways to choose 1 red marble from 7: C71=7C_7^1 = 7. • By the multiplication rule, the total number of ways to choose 2 differently colored marbles is: 5⋅7=355 \cdot 7 = 35 ways.

Exercise 8.10: A chess club has 10 male members and 7 female members. The coach wishes to select 4 members to compete in a chess tournament. a) How many ways can 4 male members be chosen? b) How many ways can 4 members be chosen without gender restriction? c) How many ways can 4 members be chosen such that exactly 2 are male and 2 are female?

Solution for Exercise 8.10: • a) Selecting 4 male members out of 10: C_104=10⋅9⋅8⋅724=210C\_{10}^4 = \frac{10 \cdot 9 \cdot 8 \cdot 7}{24} = 210 ways. • b) Selecting 4 members out of the total 17 members without restriction: C_174=17⋅16⋅15⋅1424=2,380C\_{17}^4 = \frac{17 \cdot 16 \cdot 15 \cdot 14}{24} = 2\text{,}380 ways. • c) Selecting 2 male members from 10 (C_102=45C\_{10}^2 = 45) and 2 female members from 7 (C72=21C_7^2 = 21):   Total ways: C_102⋅C72=45⋅21=945C\_{10}^2 \cdot C_7^2 = 45 \cdot 21 = 945 ways.

Exercise 8.11: How many natural numbers divisible by 5 are there such that each number has four distinct digits?

Solution for Exercise 8.11: • Let the 4-digit number be abcd‾\overline{abcd} with a≠0a \ne 0, and all four digits distinct, with abcd‾⋮5\overline{abcd} \vdots 5. • Since the number is divisible by 5, the last digit dd must be either 0 or 5. We examine 2 cases:   + Case 1: d=0d = 0.     - Digit aa: 9 choices (1−91-9).     - Digit bb: 8 choices (any digit except aa and 0).     - Digit cc: 7 choices.     Number of such numbers: 9⋅8⋅7⋅1=5049 \cdot 8 \cdot 7 \cdot 1 = 504.   + Case 2: d=5d = 5.     - Digit aa: 8 choices (1−91-9 except 5).     - Digit bb: 8 choices (0−90-9 except aa and 5).     - Digit cc: 7 choices.     Number of such numbers: 8⋅8⋅7⋅1=4488 \cdot 8 \cdot 7 \cdot 1 = 448. • By the addition rule, the total number of 4-digit numbers with distinct digits divisible by 5 is: 504+448=952 numbers.504 + 448 = 952\text{ numbers.}.