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" () is used between events, the operations must be multiplied (). The second rule states that if the logical connective "Or" () 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 . 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 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 ( routes available) and Kanpur to Lucknow ( routes remaining), resulting in routes.
In a more complex scenario involving a trip from Lucknow to Agra via Kanpur, we assume there are routes from Lucknow to Kanpur and routes from Kanpur to Agra. To determine the number of ways to go from Lucknow to Agra, we multiply the paths: routes. For a complete round trip (Lucknow to Agra and back to Lucknow via Kanpur) using any path, the calculation is 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 routes. This is because after using one route from Lucknow to Kanpur, only remain for the return, and after using one route from Kanpur to Agra, only remain for the return.
Movie Theatre and Lock Combination Scenarios
Consider a movie theatre with 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 ways to watch the movie. If he is not allowed to exit through the same door he entered, the ways are reduced to . In a separate case where doors exist but of those doors are actually walls (labeled as no exit), leaving only functional exit doors, the number of ways to watch the movie is .
Regarding digital security, consider a lock requiring a -digit code where each digit can be any value from to . Since there are possible digits for each of the four blocks, the total number of possible patterns is . 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 .
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 through ( total digits) and we wish to form a -digit number where repetition is allowed, each block has possibilities, resulting in . If repetition is not allowed, the possibilities decrease for each subsequent block: .
When the digit is included (making available digits), we must respect the rule that a -digit number cannot start with . If repetition is allowed, the first block has possibilities (), while the subsequent three blocks each have possibilities (), resulting in . If repetition is not allowed, the first block has possibilities (). The second block also has possibilities because is now available but the digit used in the first block is not. Subsequent blocks have and possibilities, respectively, leading to .
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: or . If digits are available for a -digit odd number with repetition allowed, the unit place has choices and the other three places have choices each: . If repetition is not allowed, the unit place has choices, the first block has remaining choices, the second has , and the third has , leading to .
With digits , a -digit odd number with repetition allowed gives the unit place choices, the first digit choices (excluding ), and middle digits choices each: . If repetition is not allowed for odd numbers using , we fill the unit place first ( choices). The first digit then has choices (it cannot be and it cannot be the odd digit used at the end). The second and third slots have and remaining choices respectively: .
For even numbers using digits where repetition is not allowed, the logic must be split into two cases because the digit affects the restriction on the first block. Case 1 involves numbers ending in : the unit place has choice (), and the remaining three blocks have , , and choices (). Case 2 involves numbers ending in other even digits (): the unit place has choices, the first block has choices (cannot be or the unit digit), and subsequent blocks have and choices (). The total is the sum of both cases: .
Divisibility Rules in Combinatorics
Divisibility by requires the unit digit to be either or . Using digits without repetition, we again split the logic. If the number ends in , there are ways. If the number ends in , the first digit has choices (excluding and ), resulting in ways. The total for a -digit number divisible by is .
Divisibility by requires that the last two digits of the number be divisible by . For a -digit number using digits without repetition, the valid pairs for the last two digits are . For each pair, there are ways to arrange the remaining three digits. Total ways: . When digits are used, possible pairs are . We split this into pairs containing () and pairs without (). For pairs with , the remaining slots are . For pairs without , the first digit cannot be , giving . Total ways: .
Inequality and Magnitude Constraints
To find integers greater than using digits without repetition, we consider both -digit and -digit numbers. For -digit numbers, the first digit must be or ( choices), while the remaining digits have and choices: . Every -digit number formed with these digits is inherently greater than , totaling . The combined total is .
If the constraint is numbers greater than using the same digits, we analyze -digit numbers starting with and those starting with or . For those starting with , the second digit must be or ( choices), totaling . For those starting with or ( choices), there are ways. Adding the possible -digit numbers, the grand total is .