Permutations and Combinations Comprehensive Study Notes

Fundamental Principles of Permutations and Combinations

In the study of combinatorics, a permutation refers to an arrangement where the specific order of items is important. Conversely, a combination refers to a selection where order is not important. Two fundamental rules govern the calculation of these arrangements and selections based on logic. The first rule states that if the logical connective "And" (\cap) is used between events, the operations must be multiplied (×\times). The second rule states that if the logical connective "Or" (\cup) is used, the operations must be added (++).

Pathway Problems and Travel Scenarios

A specific case study involves a man traveling from Lucknow to Kanpur. If there are 3 distinct paths available from Lucknow to Kanpur, the total number of paths for a one-way trip is simply 33. If the man goes to Kanpur and returns back to Lucknow (a round trip), the logic applied is Lucknow to Kanpur "And" Kanpur to Lucknow. This results in 3×3=93 \times 3 = 9 total possible routes. However, if the man travels to Kanpur and returns back but does not follow the same path used initially, the calculation changes to Lucknow to Kanpur (33 routes available) and Kanpur to Lucknow (22 routes remaining), resulting in 3×2=63 \times 2 = 6 routes.

In a more complex scenario involving a trip from Lucknow to Agra via Kanpur, we assume there are 33 routes from Lucknow to Kanpur and 55 routes from Kanpur to Agra. To determine the number of ways to go from Lucknow to Agra, we multiply the paths: 3×5=153 \times 5 = 15 routes. For a complete round trip (Lucknow to Agra and back to Lucknow via Kanpur) using any path, the calculation is 3×5×5×3=2253 \times 5 \times 5 \times 3 = 225 routes. If the constraint is added that the man does not follow the same path again for any segment of the return trip, the number of ways is calculated as 3×5×4×2=1203 \times 5 \times 4 ​\times 2 = 120 routes. This is because after using one route from Lucknow to Kanpur, only 22 remain for the return, and after using one route from Kanpur to Agra, only 44 remain for the return.

Movie Theatre and Lock Combination Scenarios

Consider a movie theatre with 1010 doors. A "movie experience" is defined as entering the theatre and exiting the theatre. If a man can enter and come out through any door, there are 10×10=10010 \times 10 = 100 ways to watch the movie. If he is not allowed to exit through the same door he entered, the ways are reduced to 10×9=9010 \times 9 = 90. In a separate case where 1010 doors exist but 44 of those doors are actually walls (labeled as no exit), leaving only 66 functional exit doors, the number of ways to watch the movie is 10×6=6010 \times 6 = 60.

Regarding digital security, consider a lock requiring a 44-digit code where each digit can be any value from 00 to 99. Since there are 1010 possible digits for each of the four blocks, the total number of possible patterns is 10×10×10×10=104=10,00010 \times 10 \times 10 \times 10 = 10^{4} = 10,000. Because only one of these patterns is the correct code to open the lock, the maximum number of unsuccessful attempts a person could make before finding the correct one is 10,0001=9,99910,000 - 1 = 9,999.

Number Formation with Digits 1-9 and 0-9

When forming numbers, the availability of digits and the rules regarding repetition significantly alter the results. If digits available are 11 through 99 (99 total digits) and we wish to form a 44-digit number where repetition is allowed, each block has 99 possibilities, resulting in 9×9×9×9=6,5619 \times 9 \times 9 \times 9 = 6,561. If repetition is not allowed, the possibilities decrease for each subsequent block: 9×8×7×6=3,0249 \times 8 \times 7 \times 6 = 3,024.

When the digit 00 is included (making 1010 available digits), we must respect the rule that a 44-digit number cannot start with 00. If repetition is allowed, the first block has 99 possibilities (191-9), while the subsequent three blocks each have 1010 possibilities (090-9), resulting in 9×10×10×10=9,0009 \times 10 \times 10 \times 10 = 9,000. If repetition is not allowed, the first block has 99 possibilities (191-9). The second block also has 99 possibilities because 00 is now available but the digit used in the first block is not. Subsequent blocks have 88 and 77 possibilities, respectively, leading to 9×9×8×7=4,5369 \times 9 \times 8 \times 7 = 4,536.

Odd and Even Number Constraints

For problems involving odd numbers, it is essential to start filling the unit place first. To be odd, the unit place must contain one of the following: 1,3,5,7,1, 3, 5, 7, or 99. If digits 191-9 are available for a 44-digit odd number with repetition allowed, the unit place has 55 choices and the other three places have 99 choices each: 9×9×9×5=3,6459 \times 9 \times 9 \times 5 = 3,645. If repetition is not allowed, the unit place has 55 choices, the first block has 88 remaining choices, the second has 77, and the third has 66, leading to 8×7×6×5=1,6808 \times 7 \times 6 \times 5 = 1,680.

With digits 090-9, a 44-digit odd number with repetition allowed gives the unit place 55 choices, the first digit 99 choices (excluding 00), and middle digits 1010 choices each: 9×10×10×5=4,5009 \times 10 \times 10 \times 5 = 4,500. If repetition is not allowed for odd numbers using 090-9, we fill the unit place first (55 choices). The first digit then has 88 choices (it cannot be 00 and it cannot be the odd digit used at the end). The second and third slots have 88 and 77 remaining choices respectively: 8×8×7×5=2,2408 \times 8 \times 7 \times 5 = 2,240.

For even numbers using digits 090-9 where repetition is not allowed, the logic must be split into two cases because the digit 00 affects the restriction on the first block. Case 1 involves numbers ending in 00: the unit place has 11 choice (00), and the remaining three blocks have 99, 88, and 77 choices (9×8×7×1=5049 \times 8 \times 7 \times 1 = 504). Case 2 involves numbers ending in other even digits (2,4,6,82, 4, 6, 8): the unit place has 44 choices, the first block has 88 choices (cannot be 00 or the unit digit), and subsequent blocks have 88 and 77 choices (8×8×7×4=1,7928 \times 8 \times 7 \times 4 = 1,792). The total is the sum of both cases: 504+1,792=2,296504 + 1,792 = 2,296.

Divisibility Rules in Combinatorics

Divisibility by 55 requires the unit digit to be either 00 or 55. Using digits 090-9 without repetition, we again split the logic. If the number ends in 00, there are 9×8×7×1=5049 \times 8 \times 7 \times 1 = 504 ways. If the number ends in 55, the first digit has 88 choices (excluding 00 and 55), resulting in 8×8×7×1=4488 \times 8 \times 7 \times 1 = 448 ways. The total for a 44-digit number divisible by 55 is 504+448=952504 + 448 = 952.

Divisibility by 44 requires that the last two digits of the number be divisible by 44. For a 55-digit number using digits 1,2,3,4,51, 2, 3, 4, 5 without repetition, the valid pairs for the last two digits are {12,24,32,52}\{12, 24, 32, 52\}. For each pair, there are 3!3! ways to arrange the remaining three digits. Total ways: 3×2×1×4=243 \times 2 \times 1 \times 4 = 24. When digits 0,1,2,3,4,50, 1, 2, 3, 4, 5 are used, possible pairs are {04,12,20,24,32,40,52}\{04, 12, 20, 24, 32, 40, 52\}. We split this into pairs containing 00 ({04,20,40}\{04, 20, 40\}) and pairs without 00 ({12,24,32,52}\{12, 24, 32, 52\}). For pairs with 00, the remaining slots are 4×3×2×3=724 \times 3 \times 2 \times 3 = 72. For pairs without 00, the first digit cannot be 00, giving 3×3×2×4=723 \times 3 \times 2 \times 4 = 72. Total ways: 72+72=14472 + 72 = 144.

Inequality and Magnitude Constraints

To find integers greater than 5,0005,000 using digits {3,4,5,6,7}\{3, 4, 5, 6, 7\} without repetition, we consider both 44-digit and 55-digit numbers. For 44-digit numbers, the first digit must be 5,6,5, 6, or 77 (33 choices), while the remaining digits have 4,3,4, 3, and 22 choices: 3×4×3×2=723 \times 4 \times 3 \times 2 = 72. Every 55-digit number formed with these digits is inherently greater than 5,0005,000, totaling 5×4×3×2×1=1205 \times 4 \times 3 \times 2 ​\times 1 = 120. The combined total is 72+120=19272 + 120 = 192.

If the constraint is numbers greater than 5,6005,600 using the same digits, we analyze 44-digit numbers starting with 55 and those starting with 66 or 77. For those starting with 55, the second digit must be 66 or 77 (22 choices), totaling 1×2×3×2=121 \times 2 \times 3 \times 2 = 12. For those starting with 66 or 77 (22 choices), there are 2×4×3×2=482 \times 4 \times 3 \times 2 = 48 ways. Adding the 120120 possible 55-digit numbers, the grand total is 12+48+120=18012 + 48 + 120 = 180.