Functions: injections, surjections, bijections - Discrete Math
- Let and consider all functions such that for all . How many of these functions are bijective? Answer: All such functions are bijective, and there are exactly 10 of them in total A function satisfying for all is called an involution. We need to prove that every involution on a finite set is bijective. For injectivity: if , then . For surjectivity: given any , we have , so , meaning is the image of . Thus every involution is bijective. Now we count involutions on . An involution partitions the set into fixed points (where ) and 2-cycles (where with ). Possible structures: (1) All 4 fixed points: 1 way. (2) 2 fixed points, 1 two-cycle: ways to choose the 2-cycle. (3) 0 fixed points, 2 two-cycles: ways. Total: involutions. Choice B gives the wrong count. Choices C and D incorrectly suggest some involutions aren't bijective.
- Let be defined by . Which property does satisfy? Answer: is bijective because it maps non-negative integers to even integers and negative integers to odd integers Let's analyze both properties. For injectivity: if , then and even. If , then and odd (since is even). The ranges don't overlap: non-negative even integers vs. negative odd integers. Within each piece, the functions and are strictly increasing, so no collisions occur. Thus is injective. For surjectivity: every non-negative even integer equals where . Every negative odd integer can be written as where , so it equals . Every positive odd integer equals where . Thus is surjective. Choice A is wrong about surjectivity and the range. Choice B incorrectly claims , but and . Choice D incorrectly suggests the ranges overlap.
- Let be defined by where . Which statement about the range of is correct? Answer: The range has exactly elements, and is neither injective nor surjective on its full domain Since , we can write and where . Then . The range of consists of all values . Since , as runs through , takes all values . Therefore, takes values . This gives exactly distinct values. For injectivity: means , so . This means , so , giving . Since , we need . For with , we can have , so is not injective. Since , is not surjective. Choice A incorrectly claims injectivity.
- Let be defined by . Analyzing the properties of , which conclusion is correct? Answer: is surjective but not injective, since achieves every value in but for all When analyzing whether a function is injective (one-to-one) or surjective (onto), you need to examine how inputs map to outputs and whether every possible output is achieved. Let's check if is surjective by finding its range. On , ranges from to . On , ranges from values approaching down to . So achieves every value in , making it surjective. For injectivity, notice that is not one-to-one because different inputs can produce the same output. For example, and . The pattern holds generally, confirming the function is not injective. Choice A is wrong because is surjective—it does achieve the value 1 at . Choice C is wrong because continuity and mapping a compact set to itself doesn't guarantee bijectivity; the function must also be injective. Choice D is wrong because is surjective—it does achieve its maximum value of 1 and every other value in . Study tip: For piecewise functions, check injectivity by looking for symmetries or repeated values, and check surjectivity by carefully finding the range of each piece. The horizontal line test is your friend for visualizing injectivity.
- A function satisfies the property that for any , if , then . Additionally, for any prime and . Which statement about is correct? Answer: is not injective because , and it is not surjective since some integers like 14 are not in the range This function is Euler's totient function . Let's check specific values: , , and since . So is not injective. For surjectivity, the totient function is known to not be surjective - for example, no positive integer satisfies . Choice A incorrectly claims injectivity. Choice B incorrectly claims surjectivity. Choice D incorrectly claims surjectivity.
- Let be defined by . Consider the restriction where . Which statement correctly describes the relationship between the injectivity and surjectivity of and ? Answer: is bijective and is surjective but not injective, since is strictly increasing while When analyzing functions for injectivity and surjectivity, you need to examine how inputs map to outputs and whether the mapping covers the entire codomain without repetition. First, let's analyze . For , we have . For , we have . This means when and when . The function is strictly increasing: as increases, increases without bound in both directions, mapping onto with no repeated outputs. Therefore, is bijective. Now for . Since for and for , we get for and for . Thus for all . Since every non-negative real number has a square root, is surjective onto . However, is not injective because . Answer choice A incorrectly claims is injective. Answer choice C wrongly states is not surjective. Answer choice D incorrectly claims is bijective when it's clearly not injective. Strategy tip: When dealing with absolute value compositions, always check both positive and negative inputs separately, and remember that absolute values typically destroy injectivity by making .
- Define by . To show that is bijective, which of the following correctly identifies both the inverse function and the key step in proving surjectivity? Answer: The inverse is , and surjectivity follows from solving for any When proving a function is bijective, you need to establish both injectivity (one-to-one) and surjectivity (onto). For rational functions like this one, finding the inverse function is often the most efficient approach since it simultaneously proves both properties. To find the inverse of , start with and solve for . Cross-multiplying gives , which expands to . Rearranging: , so , yielding . Therefore, . For surjectivity, you must show that for every , there exists some such that . The key step is demonstrating that the equation has a solution for any , which we just showed: . Option A has the wrong inverse function ( instead of ). Option B also gives an incorrect inverse (). Option C has the correct inverse but incorrectly identifies the surjectivity approach—limits don't prove surjectivity directly. Study tip: When proving bijection for rational functions, always find the inverse algebraically by solving for . This inverse both proves the function is bijective and gives you the explicit formula you need.
- Consider the function defined by . Which statement correctly describes the properties of ? Answer: is bijective because its matrix representation has determinant 3, making it invertible as a linear transformation When you encounter a linear function from to , the key insight is that its injectivity and surjectivity properties are completely determined by whether its matrix representation is invertible. The function can be written as matrix multiplication: where . The determinant is . Since the determinant is non-zero, the matrix is invertible, which means is bijective (both injective and surjective). Looking at the wrong answers: Choice A incorrectly claims is injective but not surjective. While it correctly notes the positive determinant, it misses that a non-zero determinant guarantees both properties, not just injectivity. Choice B states is surjective but not injective with non-unique solutions. This contradicts the invertible matrix having exactly one solution for each output. Choice C claims is neither injective nor surjective with determinant zero. This is factually wrong—we calculated the determinant as 3, not 0. Choice D correctly identifies that the non-zero determinant (specifically 3) makes the linear transformation invertible, ensuring bijectivity. Study tip: For linear transformations between spaces of equal dimension, always compute the determinant first. Non-zero determinant means bijective; zero determinant means neither injective nor surjective. This single calculation tells you everything about the function's properties.
- Consider the function defined by where if and if . Here denotes the power set. Which property does have? Answer: is bijective, since it establishes a one-to-one correspondence between subsets of and binary strings of length 3 The function maps each subset to its characteristic vector. For injectivity: if , then there exists such that and (or vice versa), so and differ in the -th coordinate. For surjectivity: given any , take ; then . Since , the bijection can also be seen by counting. Choice A incorrectly claims not all bit strings correspond to subsets. Choice B incorrectly claims multiple subsets can yield the same bit string. Choice D incorrectly states the cardinalities are different.
- Consider the function that maps each subset to its characteristic function , where if and if . Which property does possess? Answer: is bijective, establishing a one-to-one correspondence between subsets of and binary sequences When analyzing functions between sets, you need to determine two key properties: injectivity (one-to-one) and surjectivity (onto). For characteristic functions, this connection between subsets and binary sequences is fundamental in discrete mathematics. The function is bijective because it establishes a perfect one-to-one correspondence. To see why, consider that each subset produces a unique binary sequence: for any natural number , either (giving ) or (giving ). This makes injective—different subsets must produce different characteristic functions. Conversely, every possible binary sequence corresponds to exactly one subset: . This makes surjective. Option A incorrectly assumes the mapping only works for finite subsets, but characteristic functions handle infinite subsets perfectly well—like the subset of even numbers producing the sequence . Option B falsely claims multiple subsets can share the same characteristic function, which is impossible since the characteristic function completely determines which elements belong to the subset. Option C incorrectly suggests fundamental incompatibility between sets and functions, missing that this is precisely what characteristic functions elegantly resolve. Remember: characteristic functions create natural bijections between subsets and binary sequences. This bijection is a cornerstone result showing these seemingly different mathematical objects are essentially equivalent.
- Let and consider functions . If satisfies the condition that for all , which statement about must be true? Answer: must be bijective, since the condition implies is its own inverse function When you encounter a function satisfying for all elements in its domain, you're looking at a function that is its own inverse. This condition is called an involution, and it has powerful implications for the function's properties. The key insight is that if holds for every in the domain, then (the identity function). This means has a left inverse (itself) and a right inverse (also itself). For functions between finite sets of the same size, having both a left and right inverse guarantees the function is bijective. To see why must be injective: if for some , then applying again gives , which means by our condition—a contradiction. To see why must be surjective: for any , we have , so is in the range of (specifically, ). Answer choice A incorrectly suggests the condition is too weak to determine 's properties. Answer choice B wrongly claims prevents self-mapping (elements can map to themselves in involutions). Answer choice C has the injectivity and surjectivity backwards in terms of what "may not" hold. Answer choice D correctly identifies that must be bijective since it serves as its own inverse. Remember: when , the function is automatically bijective on finite domains of equal size.
- Let be a finite set with , and let denote the set of all injective functions from to . If we randomly select a function and then randomly select a distinct function , what is the probability that is also injective? Answer: , because the composition of any two injective functions is always injective, regardless of the domain and codomain Since is finite with , every injective function is automatically bijective (an injective function from a finite set to itself must be surjective). Similarly, every is bijective. The composition of two bijective functions is always bijective, hence injective. This is true regardless of which specific bijections and we choose, as long as they're both in . Therefore, for any choice of distinct , the composition is guaranteed to be injective (in fact, bijective). The probability is 1. Choice B incorrectly suggests some compositions might not be injective. Choice C gives an arbitrary small probability. Choice D provides a complex expression that doesn't apply to this situation where all compositions are guaranteed to be injective.
- Let be defined by . Which statement about is correct? Answer: is surjective but not injective, making it neither bijective nor one-to-one To check injectivity, we examine if implies . Since , we have at . This creates local extrema: (local max) and (local min). Since has both a local maximum and minimum, there exist distinct values that map to the same output, so is not injective. However, as , respectively, and is continuous, so by the Intermediate Value Theorem, is surjective. Choice A is wrong because is not always positive. Choice B correctly identifies why is not injective but doesn't address surjectivity. Choice D is wrong because being cubic doesn't guarantee bijectivity.
- Let and . Consider the function defined by . What can be concluded about ? Answer: is injective but not surjective, since it preserves distinctness but maps the unit disk to only part of the unit square The function is a linear transformation (translation and scaling). Linear transformations are injective, so if , then . For surjectivity, note that is the closed unit disk (), so . Thus maps to , which is a disk inside , not all of . So is not surjective. Choice B reverses the properties. Choice C incorrectly claims bijection. Choice D is wrong - the function is well-defined everywhere.
- Define by . Which statement about and its inverse is correct? Answer: is bijective with inverse , and the domain exclusions correspond to the codomain exclusions When you encounter a function between restricted domains, you need to verify three things: injectivity (one-to-one), surjectivity (onto), and find the correct inverse formula. To find the inverse of , start with and solve for . Cross-multiplying gives , so . Rearranging: , which factors as . Therefore , making . Notice the beautiful symmetry: excludes from its domain (where the denominator ), while excludes from its domain (where ). This isn't coincidental—the domain exclusion of corresponds exactly to the codomain exclusion , and vice versa. You can verify bijectivity by checking that maps onto and that the inverse relationship holds. Choice A has the wrong inverse formula (missing the factor of 2). Choice B has an incorrect inverse and misunderstands the domain-codomain relationship. Choice C incorrectly claims the function isn't bijective—while asymptotes exist, they don't prevent bijectivity between the specified sets. Study tip: For rational functions, the domain exclusions of a function become the codomain exclusions of its inverse, and vice versa. Always check this correspondence when verifying inverse functions.
- Let be defined by . Consider the restriction where . Which statement about is correct? Answer: is injective but not surjective, since is strictly increasing on but its range is First, find critical points: . So at . For , , so is strictly increasing on , making it injective. Since and is increasing with , the range of is , not all of , so is not surjective. Choice B is wrong because is injective. Choice C is wrong because is not surjective onto . Choice D is wrong because is injective.
- Let and . What are , , and ? Answer: , , and , since injectivity and surjectivity are equivalent for finite sets of equal size For functions between finite sets of the same size, injectivity and surjectivity are equivalent to bijectivity. Since , an injective function from to must also be surjective (if three distinct inputs map to three distinct outputs, all outputs must be used). Similarly, a surjective function must be injective (if all three outputs are achieved by three inputs, no two inputs can map to the same output). Therefore, = the set of all bijections from to . The number of bijections is the number of permutations of 3 elements, which is . So . Choice B incorrectly calculates (this would be , but not all functions are injective). Choice C incorrectly calculates . Choice D gives completely wrong values, including an impossible intersection size larger than either individual set.
- Consider the function defined by , , , , and . How many elements must be removed from the domain to make injective while maintaining surjectivity? Answer: Exactly 1 element, and there are 2 different ways to choose which element Currently is surjective (every element in codomain is hit) but not injective because . To make it injective, we must eliminate this collision by removing either 2 or 5 from the domain. If we remove 2, we get with , which is bijective. If we remove 5, we get with , which is also bijective. Removing any other single element (1, 3, or 4) would eliminate a unique image and destroy surjectivity. So exactly 1 element must be removed, with exactly 2 choices. Choice B gives wrong count of ways. Choice C suggests removing 2 elements, but this would make , preventing surjectivity. Choice D is incorrect as we showed two valid solutions exist.