Functions: injections, surjections, bijections - Discrete Math

  1. Let A={1,2,3,4}A = \{1, 2, 3, 4\} and consider all functions f:A→Af: A \to A such that f(f(x))=xf(f(x)) = x for all x∈Ax \in A. How many of these functions are bijective?
    Answer: All such functions are bijective, and there are exactly 10 of them in total A function ff satisfying f(f(x))=xf(f(x)) = x for all xx is called an involution. We need to prove that every involution on a finite set is bijective. For injectivity: if f(a)=f(b)f(a) = f(b), then a=f(f(a))=f(f(b))=ba = f(f(a)) = f(f(b)) = b. For surjectivity: given any y∈Ay \in A, we have f(f(y))=yf(f(y)) = y, so y=f(f(y))y = f(f(y)), meaning yy is the image of f(y)f(y). Thus every involution is bijective. Now we count involutions on {1,2,3,4}\{1,2,3,4\}. An involution partitions the set into fixed points (where f(x)=xf(x) = x) and 2-cycles (where f(x)=y,f(y)=xf(x) = y, f(y) = x with x≠yx \neq y). Possible structures: (1) All 4 fixed points: 1 way. (2) 2 fixed points, 1 two-cycle: (42)=6\binom{4}{2} = 6 ways to choose the 2-cycle. (3) 0 fixed points, 2 two-cycles: 12!(42)(22)=6⋅12=3\frac{1}{2!}\binom{4}{2}\binom{2}{2} = \frac{6 \cdot 1}{2} = 3 ways. Total: 1+6+3=101 + 6 + 3 = 10 involutions. Choice B gives the wrong count. Choices C and D incorrectly suggest some involutions aren't bijective.
  2. Let h:Z→Zh: \mathbb{Z} \to \mathbb{Z} be defined by h(n)={2nif n≥02n+1if n<0h(n) = \begin{cases} 2n & \text{if } n \geq 0 \\ 2n + 1 & \text{if } n < 0 \end{cases}. Which property does hh satisfy?
    Answer: hh 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 n≥0n \geq 0, then h(n)=2n≥0h(n) = 2n \geq 0 and even. If n<0n < 0, then h(n)=2n+1<1h(n) = 2n + 1 < 1 and odd (since 2n2n is even). The ranges don't overlap: non-negative even integers vs. negative odd integers. Within each piece, the functions n↦2nn \mapsto 2n and n↦2n+1n \mapsto 2n+1 are strictly increasing, so no collisions occur. Thus hh is injective. For surjectivity: every non-negative even integer 2k2k equals h(k)h(k) where k≥0k \geq 0. Every negative odd integer 2k+1<02k+1 < 0 can be written as 2k+12k+1 where k<0k < 0, so it equals h(k)h(k). Every positive odd integer 2k+1>02k+1 > 0 equals h(k)h(k) where k=−2k+1−12<0k = -\frac{2k+1-1}{2} < 0. Thus hh is surjective. Choice A is wrong about surjectivity and the range. Choice B incorrectly claims h(0)=h(−1)h(0) = h(-1), but h(0)=0h(0) = 0 and h(−1)=−1h(-1) = -1. Choice D incorrectly suggests the ranges overlap.
  3. Let f:{0,1,2,…,n−1}→{0,1,2,…,n−1}f: \{0,1,2,\ldots,n-1\} \to \{0,1,2,\ldots,n-1\} be defined by f(x)=ax mod nf(x) = ax \bmod n where gcd⁡(a,n)=d>1\gcd(a,n) = d > 1. Which statement about the range of ff is correct?
    Answer: The range has exactly nd\frac{n}{d} elements, and ff is neither injective nor surjective on its full domain Since gcd⁡(a,n)=d>1\gcd(a,n) = d > 1, we can write a=da′a = da' and n=dn′n = dn' where gcd⁡(a′,n′)=1\gcd(a',n') = 1. Then f(x)=ax mod n=da′x mod dn′f(x) = ax \bmod n = da'x \bmod dn'. The range of ff consists of all values {da′x mod dn′:x=0,1,…,n−1}\{da'x \bmod dn' : x = 0,1,\ldots,n-1\}. Since gcd⁡(a′,n′)=1\gcd(a',n') = 1, as xx runs through {0,1,…,n′−1}\{0,1,\ldots,n'-1\}, a′x mod n′a'x \bmod n' takes all values {0,1,…,n′−1}\{0,1,\ldots,n'-1\}. Therefore, da′x mod dn′da'x \bmod dn' takes values {0,d,2d,…,(n′−1)d}={kd:k=0,1,…,n′−1}\{0,d,2d,\ldots,(n'-1)d\} = \{kd : k = 0,1,\ldots,n'-1\}. This gives exactly n′=ndn' = \frac{n}{d} distinct values. For injectivity: f(x1)=f(x2)f(x_1) = f(x_2) means ax1≡ax2(modn)ax_1 \equiv ax_2 \pmod{n}, so a(x1−x2)≡0(modn)a(x_1-x_2) \equiv 0 \pmod{n}. This means n∣a(x1−x2)n | a(x_1-x_2), so dn′∣da′(x1−x2)dn' | da'(x_1-x_2), giving n′∣a′(x1−x2)n' | a'(x_1-x_2). Since gcd⁡(a′,n′)=1\gcd(a',n') = 1, we need n′∣(x1−x2)n' | (x_1-x_2). For x1,x2∈{0,1,…,n−1}x_1,x_2 \in \{0,1,\ldots,n-1\} with x1≠x2x_1 \neq x_2, we can have ∣x1−x2∣=n′<n|x_1-x_2| = n' < n, so ff is not injective. Since ∣range∣=nd<n|\text{range}| = \frac{n}{d} < n, ff is not surjective. Choice A incorrectly claims injectivity.
  4. Let h:[0,1]→[0,1]h: [0,1] \to [0,1] be defined by h(x)={2xif 0≤x≤122−2xif 12<x≤1h(x) = \begin{cases} 2x & \text{if } 0 \leq x \leq \frac{1}{2} \\ 2-2x & \text{if } \frac{1}{2} < x \leq 1 \end{cases}. Analyzing the properties of hh, which conclusion is correct?
    Answer: hh is surjective but not injective, since hh achieves every value in [0,1][0,1] but h(x)=h(1−x)h(x) = h(1-x) for all xx 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 hh is surjective by finding its range. On [0,12][0, \frac{1}{2}], h(x)=2xh(x) = 2x ranges from h(0)=0h(0) = 0 to h(12)=1h(\frac{1}{2}) = 1. On (12,1](\frac{1}{2}, 1], h(x)=2−2xh(x) = 2-2x ranges from values approaching h(12)=1h(\frac{1}{2}) = 1 down to h(1)=0h(1) = 0. So hh achieves every value in [0,1][0,1], making it surjective. For injectivity, notice that hh is not one-to-one because different inputs can produce the same output. For example, h(14)=2⋅14=12h(\frac{1}{4}) = 2 \cdot \frac{1}{4} = \frac{1}{2} and h(34)=2−2⋅34=12h(\frac{3}{4}) = 2 - 2 \cdot \frac{3}{4} = \frac{1}{2}. The pattern h(x)=h(1−x)h(x) = h(1-x) holds generally, confirming the function is not injective. Choice A is wrong because hh is surjective—it does achieve the value 1 at x=12x = \frac{1}{2}. 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 hh is surjective—it does achieve its maximum value of 1 and every other value in [0,1][0,1]. 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.
  5. A function ϕ:N→N\phi: \mathbb{N} \to \mathbb{N} satisfies the property that for any m,n∈Nm, n \in \mathbb{N}, if gcd⁡(m,n)=1\gcd(m,n) = 1, then ϕ(mn)=ϕ(m)ϕ(n)\phi(mn) = \phi(m)\phi(n). Additionally, ϕ(pk)=pk−1(p−1)\phi(p^k) = p^{k-1}(p-1) for any prime pp and k≥1k \geq 1. Which statement about ϕ\phi is correct?
    Answer: ϕ\phi is not injective because ϕ(3)=ϕ(4)=ϕ(6)=2\phi(3) = \phi(4) = \phi(6) = 2, and it is not surjective since some integers like 14 are not in the range This function is Euler's totient function ϕ(n)\phi(n). Let's check specific values: ϕ(3)=31−1(3−1)=1⋅2=2\phi(3) = 3^{1-1}(3-1) = 1 \cdot 2 = 2, ϕ(4)=ϕ(22)=22−1(2−1)=2⋅1=2\phi(4) = \phi(2^2) = 2^{2-1}(2-1) = 2 \cdot 1 = 2, and ϕ(6)=ϕ(2⋅3)=ϕ(2)ϕ(3)=1⋅2=2\phi(6) = \phi(2 \cdot 3) = \phi(2)\phi(3) = 1 \cdot 2 = 2 since ϕ(2)=21−1(2−1)=1\phi(2) = 2^{1-1}(2-1) = 1. So ϕ\phi is not injective. For surjectivity, the totient function is known to not be surjective - for example, no positive integer nn satisfies ϕ(n)=14\phi(n) = 14. Choice A incorrectly claims injectivity. Choice B incorrectly claims surjectivity. Choice D incorrectly claims surjectivity.
  6. Let f:R→Rf: \mathbb{R} \to \mathbb{R} be defined by f(x)=x∣x∣f(x) = x|x|. Consider the restriction g:R→[0,∞)g: \mathbb{R} \to [0,\infty) where g(x)=∣f(x)∣g(x) = |f(x)|. Which statement correctly describes the relationship between the injectivity and surjectivity of ff and gg?
    Answer: ff is bijective and gg is surjective but not injective, since f(x)=x∣x∣f(x) = x|x| is strictly increasing while g(±x)=x2g(±x) = x^2 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 f(x)=x∣x∣f(x) = x|x|. For x≥0x \geq 0, we have f(x)=x⋅x=x2f(x) = x \cdot x = x^2. For x<0x < 0, we have f(x)=x⋅(−x)=−x2f(x) = x \cdot (-x) = -x^2. This means f(x)=x2f(x) = x^2 when x≥0x \geq 0 and f(x)=−x2f(x) = -x^2 when x<0x < 0. The function ff is strictly increasing: as xx increases, f(x)f(x) increases without bound in both directions, mapping R\mathbb{R} onto R\mathbb{R} with no repeated outputs. Therefore, ff is bijective. Now for g(x)=∣f(x)∣g(x) = |f(x)|. Since f(x)=x2f(x) = x^2 for x≥0x \geq 0 and f(x)=−x2f(x) = -x^2 for x<0x < 0, we get g(x)=∣x2∣=x2g(x) = |x^2| = x^2 for x≥0x \geq 0 and g(x)=∣−x2∣=x2g(x) = |-x^2| = x^2 for x<0x < 0. Thus g(x)=x2g(x) = x^2 for all x∈Rx \in \mathbb{R}. Since every non-negative real number has a square root, gg is surjective onto [0,∞)[0,\infty). However, gg is not injective because g(2)=g(−2)=4g(2) = g(-2) = 4. Answer choice A incorrectly claims gg is injective. Answer choice C wrongly states gg is not surjective. Answer choice D incorrectly claims gg 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 f(x)=f(−x)f(x) = f(-x).
  7. Define g:R∖{1}→R∖{2}g: \mathbb{R} \setminus \{1\} \to \mathbb{R} \setminus \{2\} by g(x)=2xx−1g(x) = \frac{2x}{x-1}. To show that gg is bijective, which of the following correctly identifies both the inverse function and the key step in proving surjectivity?
    Answer: The inverse is g−1(y)=yy−2g^{-1}(y) = \frac{y}{y-2}, and surjectivity follows from solving y=2xx−1y = \frac{2x}{x-1} for any y≠2y \neq 2 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 g(x)=2xx−1g(x) = \frac{2x}{x-1}, start with y=2xx−1y = \frac{2x}{x-1} and solve for xx. Cross-multiplying gives y(x−1)=2xy(x-1) = 2x, which expands to yx−y=2xyx - y = 2x. Rearranging: yx−2x=yyx - 2x = y, so x(y−2)=yx(y-2) = y, yielding x=yy−2x = \frac{y}{y-2}. Therefore, g−1(y)=yy−2g^{-1}(y) = \frac{y}{y-2}. For surjectivity, you must show that for every y∈R∖{2}y \in \mathbb{R} \setminus \{2\}, there exists some x∈R∖{1}x \in \mathbb{R} \setminus \{1\} such that g(x)=yg(x) = y. The key step is demonstrating that the equation y=2xx−1y = \frac{2x}{x-1} has a solution for any y≠2y \neq 2, which we just showed: x=yy−2x = \frac{y}{y-2}. Option A has the wrong inverse function (y+1y−2\frac{y+1}{y-2} instead of yy−2\frac{y}{y-2}). Option B also gives an incorrect inverse (y+2y−2\frac{y+2}{y-2}). 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 y=f(x)y = f(x) for xx. This inverse both proves the function is bijective and gives you the explicit formula you need.
  8. Consider the function F:R2→R2F: \mathbb{R}^2 \to \mathbb{R}^2 defined by F(x,y)=(2x−y,x+y)F(x,y) = (2x - y, x + y). Which statement correctly describes the properties of FF?
    Answer: FF is bijective because its matrix representation has determinant 3, making it invertible as a linear transformation When you encounter a linear function from R2\mathbb{R}^2 to R2\mathbb{R}^2, the key insight is that its injectivity and surjectivity properties are completely determined by whether its matrix representation is invertible. The function F(x,y)=(2x−y,x+y)F(x,y) = (2x - y, x + y) can be written as matrix multiplication: F(v)=AvF(\mathbf{v}) = A\mathbf{v} where A=(2−111)A = \begin{pmatrix} 2 & -1 \\ 1 & 1 \end{pmatrix}. The determinant is det⁡(A)=2(1)−(−1)(1)=2+1=3\det(A) = 2(1) - (-1)(1) = 2 + 1 = 3. Since the determinant is non-zero, the matrix is invertible, which means FF is bijective (both injective and surjective). Looking at the wrong answers: Choice A incorrectly claims FF 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 FF is surjective but not injective with non-unique solutions. This contradicts the invertible matrix having exactly one solution for each output. Choice C claims FF 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.
  9. Consider the function ϕ:P({1,2,3})→{0,1}3\phi: \mathcal{P}(\{1,2,3\}) \to \{0,1\}^3 defined by ϕ(S)=(x1,x2,x3)\phi(S) = (x_1, x_2, x_3) where xi=1x_i = 1 if i∈Si \in S and xi=0x_i = 0 if i∉Si \notin S. Here P({1,2,3})\mathcal{P}(\{1,2,3\}) denotes the power set. Which property does ϕ\phi have?
    Answer: ϕ\phi is bijective, since it establishes a one-to-one correspondence between subsets of {1,2,3}\{1,2,3\} and binary strings of length 3 The function ϕ\phi maps each subset S⊆{1,2,3}S \subseteq \{1,2,3\} to its characteristic vector. For injectivity: if S≠TS \neq T, then there exists ii such that i∈Si \in S and i∉Ti \notin T (or vice versa), so ϕ(S)\phi(S) and ϕ(T)\phi(T) differ in the ii-th coordinate. For surjectivity: given any (x1,x2,x3)∈{0,1}3(x_1,x_2,x_3) \in \{0,1\}^3, take S={i:xi=1}S = \{i : x_i = 1\}; then ϕ(S)=(x1,x2,x3)\phi(S) = (x_1,x_2,x_3). Since ∣P({1,2,3})∣=23=8=∣{0,1}3∣|\mathcal{P}(\{1,2,3\})| = 2^3 = 8 = |\{0,1\}^3|, 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.
  10. Consider the function Φ:P(N)→{0,1}N\Phi: \mathcal{P}(\mathbb{N}) \to \{0,1\}^\mathbb{N} that maps each subset S⊆NS \subseteq \mathbb{N} to its characteristic function χS\chi_S, where χS(n)=1\chi_S(n) = 1 if n∈Sn \in S and χS(n)=0\chi_S(n) = 0 if n∉Sn \notin S. Which property does Φ\Phi possess?
    Answer: Φ\Phi is bijective, establishing a one-to-one correspondence between subsets of N\mathbb{N} 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 Φ\Phi is bijective because it establishes a perfect one-to-one correspondence. To see why, consider that each subset S⊆NS \subseteq \mathbb{N} produces a unique binary sequence: for any natural number nn, either n∈Sn \in S (giving χS(n)=1\chi_S(n) = 1) or n∉Sn \notin S (giving χS(n)=0\chi_S(n) = 0). This makes Φ\Phi injective—different subsets must produce different characteristic functions. Conversely, every possible binary sequence f:N→{0,1}f: \mathbb{N} \to \{0,1\} corresponds to exactly one subset: S={n∈N:f(n)=1}S = \{n \in \mathbb{N} : f(n) = 1\}. This makes Φ\Phi 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 (0,1,0,1,0,1,…)(0,1,0,1,0,1,\ldots). 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.
  11. Let A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\} and consider functions f:A→Af: A \to A. If ff satisfies the condition that f(f(x))=xf(f(x)) = x for all x∈Ax \in A, which statement about ff must be true?
    Answer: ff must be bijective, since the condition f∘f=idAf \circ f = \text{id}_A implies ff is its own inverse function When you encounter a function satisfying f(f(x))=xf(f(x)) = x 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 f(f(x))=xf(f(x)) = x holds for every xx in the domain, then f∘f=idAf \circ f = \text{id}_A (the identity function). This means ff 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 ff must be injective: if f(a)=f(b)f(a) = f(b) for some a≠ba \neq b, then applying ff again gives f(f(a))=f(f(b))f(f(a)) = f(f(b)), which means a=ba = b by our condition—a contradiction. To see why ff must be surjective: for any y∈Ay \in A, we have y=f(f(y))y = f(f(y)), so yy is in the range of ff (specifically, y=f(f(y))y = f(f(y))). Answer choice A incorrectly suggests the condition is too weak to determine ff's properties. Answer choice B wrongly claims ff 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 ff must be bijective since it serves as its own inverse. Remember: when f∘f=idf \circ f = \text{id}, the function ff is automatically bijective on finite domains of equal size.
  12. Let AA be a finite set with ∣A∣=n|A| = n, and let Inj(A,A)\text{Inj}(A,A) denote the set of all injective functions from AA to AA. If we randomly select a function f∈Inj(A,A)f \in \text{Inj}(A,A) and then randomly select a distinct function g∈Inj(A,A)g \in \text{Inj}(A,A), what is the probability that g∘fg \circ f is also injective?
    Answer: 11, because the composition of any two injective functions is always injective, regardless of the domain and codomain Since AA is finite with ∣A∣=n|A| = n, every injective function f:A→Af: A \to A is automatically bijective (an injective function from a finite set to itself must be surjective). Similarly, every g∈Inj(A,A)g \in \text{Inj}(A,A) is bijective. The composition of two bijective functions is always bijective, hence injective. This is true regardless of which specific bijections ff and gg we choose, as long as they're both in Inj(A,A)\text{Inj}(A,A). Therefore, for any choice of distinct f,g∈Inj(A,A)f, g \in \text{Inj}(A,A), the composition g∘fg \circ f 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.
  13. Let f:R→Rf: \mathbb{R} \to \mathbb{R} be defined by f(x)=x3−3x+2f(x) = x^3 - 3x + 2. Which statement about ff is correct?
    Answer: ff is surjective but not injective, making it neither bijective nor one-to-one To check injectivity, we examine if f(x1)=f(x2)f(x_1) = f(x_2) implies x1=x2x_1 = x_2. Since f′(x)=3x2−3=3(x2−1)f'(x) = 3x^2 - 3 = 3(x^2 - 1), we have f′(x)=0f'(x) = 0 at x=±1x = \pm 1. This creates local extrema: f(−1)=4f(-1) = 4 (local max) and f(1)=0f(1) = 0 (local min). Since ff has both a local maximum and minimum, there exist distinct values that map to the same output, so ff is not injective. However, as x→±∞x \to \pm\infty, f(x)→±∞f(x) \to \pm\infty respectively, and ff is continuous, so by the Intermediate Value Theorem, ff is surjective. Choice A is wrong because f′(x)f'(x) is not always positive. Choice B correctly identifies why ff is not injective but doesn't address surjectivity. Choice D is wrong because being cubic doesn't guarantee bijectivity.
  14. Let S={(x,y)∈R2:x2+y2≤1}S = \{(x,y) \in \mathbb{R}^2 : x^2 + y^2 \leq 1\} and T={(x,y)∈R2:0≤x≤1,0≤y≤1}T = \{(x,y) \in \mathbb{R}^2 : 0 \leq x \leq 1, 0 \leq y \leq 1\}. Consider the function f:S→Tf: S \to T defined by f(x,y)=(x+12,y+12)f(x,y) = \left(\frac{x+1}{2}, \frac{y+1}{2}\right). What can be concluded about ff?
    Answer: ff is injective but not surjective, since it preserves distinctness but maps the unit disk to only part of the unit square The function f(x,y)=(x+12,y+12)f(x,y) = \left(\frac{x+1}{2}, \frac{y+1}{2}\right) is a linear transformation (translation and scaling). Linear transformations are injective, so if (x1,y1)≠(x2,y2)(x_1,y_1) \neq (x_2,y_2), then f(x1,y1)≠f(x2,y2)f(x_1,y_1) \neq f(x_2,y_2). For surjectivity, note that SS is the closed unit disk (x2+y2≤1x^2 + y^2 \leq 1), so −1≤x,y≤1-1 \leq x,y \leq 1. Thus ff maps SS to {(u,v):0≤u,v≤1,(2u−1)2+(2v−1)2≤1}\{(u,v) : 0 \leq u,v \leq 1, (2u-1)^2 + (2v-1)^2 \leq 1\}, which is a disk inside TT, not all of TT. So ff is not surjective. Choice B reverses the properties. Choice C incorrectly claims bijection. Choice D is wrong - the function is well-defined everywhere.
  15. Define ψ:R∖{1}→R∖{2}\psi: \mathbb{R} \setminus \{1\} \to \mathbb{R} \setminus \{2\} by ψ(x)=2xx−1\psi(x) = \frac{2x}{x-1}. Which statement about ψ\psi and its inverse is correct?
    Answer: ψ\psi is bijective with inverse ψ−1(y)=yy−2\psi^{-1}(y) = \frac{y}{y-2}, 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 ψ(x)=2xx−1\psi(x) = \frac{2x}{x-1}, start with y=2xx−1y = \frac{2x}{x-1} and solve for xx. Cross-multiplying gives y(x−1)=2xy(x-1) = 2x, so yx−y=2xyx - y = 2x. Rearranging: yx−2x=yyx - 2x = y, which factors as x(y−2)=yx(y-2) = y. Therefore x=yy−2x = \frac{y}{y-2}, making ψ−1(y)=yy−2\psi^{-1}(y) = \frac{y}{y-2}. Notice the beautiful symmetry: ψ\psi excludes x=1x = 1 from its domain (where the denominator x−1=0x-1 = 0), while ψ−1\psi^{-1} excludes y=2y = 2 from its domain (where y−2=0y-2 = 0). This isn't coincidental—the domain exclusion of ψ\psi corresponds exactly to the codomain exclusion {2}\{2\}, and vice versa. You can verify bijectivity by checking that ψ\psi maps R∖{1}\mathbb{R} \setminus \{1\} onto R∖{2}\mathbb{R} \setminus \{2\} and that the inverse relationship holds. Choice A has the wrong inverse formula (missing the factor of 2). Choice B has an incorrect inverse 2yy−2\frac{2y}{y-2} 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.
  16. Let f:R→Rf: \mathbb{R} \to \mathbb{R} be defined by f(x)=x3−3x+2f(x) = x^3 - 3x + 2. Consider the restriction g:[1,∞)→Rg: [1, \infty) \to \mathbb{R} where g(x)=f(x)g(x) = f(x). Which statement about gg is correct?
    Answer: gg is injective but not surjective, since gg is strictly increasing on [1,∞)[1, \infty) but its range is [0,∞)[0, \infty) First, find critical points: f′(x)=3x2−3=3(x2−1)=3(x−1)(x+1)f'(x) = 3x^2 - 3 = 3(x^2 - 1) = 3(x-1)(x+1). So f′(x)=0f'(x) = 0 at x=±1x = \pm 1. For x>1x > 1, f′(x)>0f'(x) > 0, so gg is strictly increasing on [1,∞)[1, \infty), making it injective. Since g(1)=1−3+2=0g(1) = 1 - 3 + 2 = 0 and gg is increasing with lim⁡x→∞g(x)=∞\lim_{x \to \infty} g(x) = \infty, the range of gg is [0,∞)[0, \infty), not all of R\mathbb{R}, so gg is not surjective. Choice B is wrong because gg is injective. Choice C is wrong because gg is not surjective onto R\mathbb{R}. Choice D is wrong because gg is injective.
  17. Let F={f:{1,2,3}→{1,2,3}:f is injective}\mathcal{F} = \{f: \{1,2,3\} \to \{1,2,3\} : f \text{ is injective}\} and G={g:{1,2,3}→{1,2,3}:g is surjective}\mathcal{G} = \{g: \{1,2,3\} \to \{1,2,3\} : g \text{ is surjective}\}. What are ∣F∣|\mathcal{F}|, ∣G∣|\mathcal{G}|, and ∣F∩G∣|\mathcal{F} \cap \mathcal{G}|?
    Answer: ∣F∣=6|\mathcal{F}| = 6, ∣G∣=6|\mathcal{G}| = 6, and ∣F∩G∣=6|\mathcal{F} \cap \mathcal{G}| = 6, 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 ∣{1,2,3}∣=∣{1,2,3}∣=3|\{1,2,3\}| = |\{1,2,3\}| = 3, an injective function from {1,2,3}\{1,2,3\} to {1,2,3}\{1,2,3\} 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, F=G=F∩G\mathcal{F} = \mathcal{G} = \mathcal{F} \cap \mathcal{G} = the set of all bijections from {1,2,3}\{1,2,3\} to {1,2,3}\{1,2,3\}. The number of bijections is the number of permutations of 3 elements, which is 3!=63! = 6. So ∣F∣=∣G∣=∣F∩G∣=6|\mathcal{F}| = |\mathcal{G}| = |\mathcal{F} \cap \mathcal{G}| = 6. Choice B incorrectly calculates ∣F∣=9|\mathcal{F}| = 9 (this would be 323^2, but not all functions are injective). Choice C incorrectly calculates ∣G∣=9|\mathcal{G}| = 9. Choice D gives completely wrong values, including an impossible intersection size larger than either individual set.
  18. Consider the function g:{1,2,3,4,5}→{a,b,c,d}g: \{1, 2, 3, 4, 5\} \to \{a, b, c, d\} defined by g(1)=ag(1) = a, g(2)=bg(2) = b, g(3)=cg(3) = c, g(4)=dg(4) = d, and g(5)=bg(5) = b. How many elements must be removed from the domain to make gg injective while maintaining surjectivity?
    Answer: Exactly 1 element, and there are 2 different ways to choose which element Currently gg is surjective (every element in codomain is hit) but not injective because g(2)=g(5)=bg(2) = g(5) = b. To make it injective, we must eliminate this collision by removing either 2 or 5 from the domain. If we remove 2, we get g:{1,3,4,5}→{a,b,c,d}g: \{1,3,4,5\} \to \{a,b,c,d\} with g(1)=a,g(3)=c,g(4)=d,g(5)=bg(1)=a, g(3)=c, g(4)=d, g(5)=b, which is bijective. If we remove 5, we get g:{1,2,3,4}→{a,b,c,d}g: \{1,2,3,4\} \to \{a,b,c,d\} with g(1)=a,g(2)=b,g(3)=c,g(4)=dg(1)=a, g(2)=b, g(3)=c, g(4)=d, 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 ∣domain∣<∣codomain∣|\text{domain}| < |\text{codomain}|, preventing surjectivity. Choice D is incorrect as we showed two valid solutions exist.

Start this quiz