Injective Functions Without Fixed Points: A To B

by Andrew McMorgan 49 views

Hey guys! Today, we're diving deep into a super cool problem from the world of discrete mathematics, specifically focusing on functions and a little something called derangements. We've got a set A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\} and another set B={1,2,3,4,5,6}B = \{1, 2, 3, 4, 5, 6\}. Our mission, should we choose to accept it, is to figure out the exact number of injective functions from AA to BB that also have a special condition: no fixed points. What does that mean, you ask? Well, an injective function, also known as a one-to-one function, means that each element in set AA maps to a unique element in set BB. No two elements in AA can point to the same element in BB. And the 'no fixed points' part? That means for every element xx in set AA, the function ff doesn't map it to itself, so f(x)≠xf(x) \neq x. This is where the idea of derangements starts to peek its head in, though it's not a direct application because our sets aren't the same size. Let's break this down, step by step, and unravel this mathematical puzzle.

First off, let's get our bearings. We're looking for injective functions, which is a key property. The total number of functions from AA to BB is ∣B∣∣A∣=65|B|^{|A|} = 6^5. However, we need injective functions. For an injective function f:AoBf: A o B, the first element f(1)f(1) can be any of the 6 elements in BB. Then, f(2)f(2) can be any of the remaining 5 elements in BB (since it must be different from f(1)f(1)). Continuing this, f(3)f(3) has 4 choices, f(4)f(4) has 3 choices, and f(5)f(5) has 2 choices. So, the total number of injective functions from AA to BB is P(6,5)=6imes5imes4imes3imes2=720P(6, 5) = 6 imes 5 imes 4 imes 3 imes 2 = 720. This is our starting pool of functions. Now, we need to apply the 'no fixed points' condition. A fixed point occurs when f(x)=xf(x) = x. Since the domain AA and codomain BB are not identical, a fixed point can only occur for elements that are present in both sets. In our case, the elements that can potentially be fixed points are those in the intersection of AA and BB, which is AA itself (since AextisasubsetofBA ext{ is a subset of } B). So, we are concerned about f(1)=1,f(2)=2,f(3)=3,f(4)=4,f(5)=5f(1)=1, f(2)=2, f(3)=3, f(4)=4, f(5)=5. The element 66 in BB cannot be a fixed point because 6otinA6 otin A. This problem requires us to use the principle of inclusion-exclusion. We start with the total number of injective functions and then subtract those that have at least one fixed point, add back those with at least two fixed points, and so on.

Let's use the principle of inclusion-exclusion, which is a powerful technique for counting problems like this. Our universe U\mathcal{U} is the set of all injective functions from AA to BB. We know |ell{U}| = P(6, 5) = 720. Let PiP_i be the property that f(i)=if(i) = i for i∈Ai \in A. We want to find the number of injective functions that have none of these properties. Using the inclusion-exclusion principle, this number is given by:

N = |ell{U}| - igsum_{i \in A} |A_i| + igsum_{i < j \in A} |A_i \cap A_j| - igsum_{i < j < k \in A} |A_i \cap A_j \cap A_k| + igsum_{i < j < k < l \in A} |A_i \cap A_j \cap A_k \cap A_l| - |A_1 \cap A_2 \cap A_3 \cap A_4 \cap A_5|

where AiA_i is the set of injective functions where f(i)=if(i) = i. Let's calculate the terms.

Term 1: |ell{U}| = P(6, 5) = 720.

Term 2: igsum_{i \in A} |A_i|. This is the sum of the number of injective functions with at least one fixed point. Consider A1A_1, where f(1)=1f(1)=1. Since ff must be injective, the remaining 4 elements of AA (i.e., 2,3,4,52, 3, 4, 5) must map to the remaining 5 elements of BB (i.e., 2,3,4,5,62, 3, 4, 5, 6) injectively. The number of ways to do this is P(5,4)=5imes4imes3imes2=120P(5, 4) = 5 imes 4 imes 3 imes 2 = 120. Since there are 5 elements in AA that could be fixed points, and each case is symmetric, the sum is inom{5}{1} imes P(5, 4) = 5 imes 120 = 600.

Term 3: igsum_{i < j \in A} |A_i \cap A_j|. This is the sum of the number of injective functions with at least two fixed points. Consider A1extandA2A_1 ext{ and } A_2, where f(1)=1f(1)=1 and f(2)=2f(2)=2. The remaining 3 elements of AA (i.e., 3,4,53, 4, 5) must map to the remaining 4 elements of BB (i.e., 3,4,5,63, 4, 5, 6) injectively. The number of ways to do this is P(4,3)=4imes3imes2=24P(4, 3) = 4 imes 3 imes 2 = 24. There are inom{5}{2} pairs of fixed points. So, the sum is inom{5}{2} imes P(4, 3) = 10 imes 24 = 240.

Term 4: igsum_{i < j < k \in A} |A_i \cap A_j \cap A_k|. This is the sum of the number of injective functions with at least three fixed points. Consider A1,A2,extandA3A_1, A_2, ext{ and } A_3, where f(1)=1,f(2)=2,f(3)=3f(1)=1, f(2)=2, f(3)=3. The remaining 2 elements of AA (i.e., 4,54, 5) must map to the remaining 3 elements of BB (i.e., 4,5,64, 5, 6) injectively. The number of ways to do this is P(3,2)=3imes2=6P(3, 2) = 3 imes 2 = 6. There are inom{5}{3} triplets of fixed points. So, the sum is inom{5}{3} imes P(3, 2) = 10 imes 6 = 60.

Term 5: igsum_{i < j < k < l \in A} |A_i \cap A_j \cap A_k \cap A_l|. This is the sum of the number of injective functions with at least four fixed points. Consider A1,A2,A3,extandA4A_1, A_2, A_3, ext{ and } A_4, where f(1)=1,f(2)=2,f(3)=3,f(4)=4f(1)=1, f(2)=2, f(3)=3, f(4)=4. The remaining 1 element of AA (i.e., 55) must map to the remaining 2 elements of BB (i.e., 5,65, 6) injectively. The number of ways to do this is P(2,1)=2P(2, 1) = 2. There are inom{5}{4} quadruplets of fixed points. So, the sum is inom{5}{4} imes P(2, 1) = 5 imes 2 = 10.

Term 6: ∣A1∩A2∩A3∩A4∩A5∣|A_1 \cap A_2 \cap A_3 \cap A_4 \cap A_5|. This is the number of injective functions with all five fixed points. f(1)=1,f(2)=2,f(3)=3,f(4)=4,f(5)=5f(1)=1, f(2)=2, f(3)=3, f(4)=4, f(5)=5. The remaining 0 elements of AA must map to the remaining 1 element of BB (i.e., 66) injectively. The number of ways to do this is P(1,0)=1P(1, 0) = 1. There is inom{5}{5} quintuplet of fixed points. So, the term is inom{5}{5} imes P(1, 0) = 1 imes 1 = 1.

Now, let's plug these values back into the inclusion-exclusion formula:

N=720−600+240−60+10−1N = 720 - 600 + 240 - 60 + 10 - 1 N=120+240−60+10−1N = 120 + 240 - 60 + 10 - 1 N=360−60+10−1N = 360 - 60 + 10 - 1 N=300+10−1N = 300 + 10 - 1 N=310−1N = 310 - 1 N=309N = 309

So, there are 309 injective functions from A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\} to B={1,2,3,4,5,6}B = \{1, 2, 3, 4, 5, 6\} such that f(x)≠xf(x) \neq x for all x∈Ax \in A. Pretty neat, right? This method, the principle of inclusion-exclusion, is a lifesaver for these kinds of counting problems where you need to exclude certain conditions. It might seem a bit involved with all the combinations and permutations, but once you break it down term by term, it becomes quite manageable. It's a fundamental tool in combinatorics and super useful for solving complex counting scenarios. Keep practicing these, and you'll be a counting whiz in no time!

Understanding the 'No Fixed Points' Condition

The concept of 'no fixed points' is crucial here, and it's closely related to derangements. A derangement is a permutation of the elements of a set, such that no element appears in its original position. For instance, if we were permuting the set A={1,2,3}A = \{1, 2, 3\}, a derangement would be a rearrangement like 2,3,12, 3, 1 or 3,1,23, 1, 2. In these rearrangements, 11 is not in the first position, 22 is not in the second, and 33 is not in the third. The number of derangements of nn elements is often denoted by !n!n or DnD_n. The formula for derangements is !n = n! igsum_{k=0}^{n} rac{(-1)^k}{k!}.

However, our problem isn't a pure derangement problem because the domain (AA) and the codomain (BB) are different sets, and importantly, the codomain is larger. If AA and BB were the same size, say A=B={1,2,3,4,5}A = B = \{1, 2, 3, 4, 5\}, and we were looking for injective functions f:AoBf: A o B with no fixed points, then we would be looking for the number of derangements of AA, which is !5!5. In that case, ff would have to be a permutation of AA, and the condition f(x)≠xf(x) \neq x for all x∈Ax \in A would directly define a derangement.

In our case, A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\} and B={1,2,3,4,5,6}B = \{1, 2, 3, 4, 5, 6\}. The condition f(x)≠xf(x) \neq x only applies to the elements in AA. An element x∈Ax \in A can only be a fixed point if xx is also an element of BB. Since AA is a subset of BB, all elements 1,2,3,4,51, 2, 3, 4, 5 are candidates for fixed points. The element 6∈B6 \in B cannot be a fixed point because there is no x∈Ax \in A such that f(x)=6f(x) = 6 and x=6x=6. The inclusion-exclusion principle elegantly handles this by starting with all possible injective functions and systematically subtracting those that violate the 'no fixed points' rule. The structure of the calculation reflects how we're dealing with subsets of AA that are fixed points. For example, when we consider functions where f(1)=1f(1)=1, we're essentially fixing one element. Then, the remaining elements of AA need to be mapped injectively to the remaining available elements in BB. The size of the available elements in BB is ∣B∣−1=6−1=5|B|-1 = 6-1=5. So, we need to find injective mappings from the remaining 4 elements of AA to these 5 elements of BB, which is P(5,4)P(5, 4). This logic extends to considering two, three, or more fixed points, where the available pool of elements in BB shrinks accordingly. The beauty of inclusion-exclusion is that it accounts for overcounting and undercounting that would arise from a simpler approach. It ensures that each function is counted exactly once according to whether it satisfies the condition or not.

Why Inclusion-Exclusion is the Go-To Method

So, why did we resort to the inclusion-exclusion principle? Couldn't there be a simpler way? Well, for problems involving 'at least one' or 'none' conditions, inclusion-exclusion is often the most direct and robust method, especially when the conditions are complex or overlapping. Imagine trying to count the functions with no fixed points directly. You'd have to consider f(1)eq1f(1) eq 1, and f(2)eq2f(2) eq 2, and f(3)eq3f(3) eq 3, and so on, simultaneously. This gets complicated quickly because the choices for one element's mapping are dependent on the choices for others, not just for injectivity but also for the 'no fixed point' rule.

For example, if we try to map f(1)f(1) first: it can be any element in BB except 11. So there are 5 choices. Then for f(2)f(2), it can be any element in BB except 22 and it must be different from f(1)f(1). This dependency makes direct counting very tricky. The number of available options for f(2)f(2) changes depending on whether f(1)f(1) was 22 (which is disallowed anyway) or some other number. It's a combinatorial minefield!

Inclusion-exclusion flips the problem around. Instead of directly counting what we want (no fixed points), we count the complement: functions with fixed points. We start with the total number of injective functions. Then, we subtract the number of functions with at least one fixed point. But wait, functions with two fixed points were subtracted twice (once for each fixed point), so we add them back. Functions with three fixed points were subtracted three times and added back three times, so they are now counted zero times – we need to subtract them. This back-and-forth continues until we've accounted for all possibilities. The structure of the terms in the inclusion-exclusion formula naturally handles the overlapping conditions (multiple fixed points).

igsum_{i \in A} |A_i| counts functions with f(1)=1f(1)=1 OR f(2)=2f(2)=2 OR ... igsum_{i < j \in A} |A_i \cap A_j| subtracts functions with f(1)=1f(1)=1 AND f(2)=2f(2)=2 OR f(1)=1f(1)=1 AND f(3)=3f(3)=3 OR ...

Each term inom{n}{k} P(|B|-k, |A|-k) represents the number of ways to choose kk fixed points and then map the remaining ∣A∣−k|A|-k elements of AA injectively into the remaining ∣B∣−k|B|-k elements of BB. This systematic approach ensures that every injective function is correctly classified based on its fixed points, and by the end of the summation, we are left with precisely the count of functions that have zero fixed points.

This method is a cornerstone of combinatorics and is essential for tackling problems that involve counting objects that satisfy certain properties, especially when those properties can coexist. It's a bit like untangling a knot by carefully loosening and tightening different parts until the whole thing is resolved. And the result, 309, is the precise number of injective functions from our set AA to BB that steer clear of having any element map to itself. Pretty cool, huh?